NAME
Paws::GameLift::CreateGameSessionQueue - Arguments for method CreateGameSessionQueue on Paws::GameLift
DESCRIPTION
This class represents the parameters used for calling the method CreateGameSessionQueue on the Amazon GameLift service. Use the attributes of this class as arguments to method CreateGameSessionQueue.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGameSessionQueue.
SYNOPSIS
my $gamelift = Paws->service('GameLift');
my $CreateGameSessionQueueOutput = $gamelift->CreateGameSessionQueue(
Name => 'MyGameSessionQueueName',
Destinations => [
{
DestinationArn => 'MyArnStringModel', # min: 1, max: 256; OPTIONAL
},
...
], # OPTIONAL
PlayerLatencyPolicies => [
{
MaximumIndividualPlayerLatencyMilliseconds => 1, # OPTIONAL
PolicyDurationSeconds => 1, # OPTIONAL
},
...
], # OPTIONAL
TimeoutInSeconds => 1, # OPTIONAL
);
# Results:
my $GameSessionQueue = $CreateGameSessionQueueOutput->GameSessionQueue;
# Returns a L<Paws::GameLift::CreateGameSessionQueueOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/gamelift/CreateGameSessionQueue
ATTRIBUTES
Destinations => ArrayRef[Paws::GameLift::GameSessionQueueDestination]
List of fleets that can be used to fulfill game session placement requests in the queue. Fleets are identified by either a fleet ARN or a fleet alias ARN. Destinations are listed in default preference order.
REQUIRED Name => Str
Descriptive label that is associated with game session queue. Queue names must be unique within each region.
PlayerLatencyPolicies => ArrayRef[Paws::GameLift::PlayerLatencyPolicy]
Collection of latency policies to apply when processing game sessions placement requests with player latency information. Multiple policies are evaluated in order of the maximum latency value, starting with the lowest latency values. With just one policy, it is enforced at the start of the game session placement for the duration period. With multiple policies, each policy is enforced consecutively for its duration period. For example, a queue might enforce a 60-second policy followed by a 120-second policy, and then no policy for the remainder of the placement. A player latency policy must set a value for MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API requests will fail.
TimeoutInSeconds => Int
Maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateGameSessionQueue in Paws::GameLift
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues