File Coverage

blib/lib/Paws/GameLift/CreateGameSessionQueue.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::GameLift::CreateGameSessionQueue;
3 1     1   573 use Moose;
  1         4  
  1         9  
4             has Destinations => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::GameSessionQueueDestination]');
5             has Name => (is => 'ro', isa => 'Str', required => 1);
6             has PlayerLatencyPolicies => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::PlayerLatencyPolicy]');
7             has TimeoutInSeconds => (is => 'ro', isa => 'Int');
8              
9 1     1   8558 use MooseX::ClassAttribute;
  1         5  
  1         10  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateGameSessionQueue');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::CreateGameSessionQueueOutput');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::GameLift::CreateGameSessionQueue - Arguments for method CreateGameSessionQueue on Paws::GameLift
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CreateGameSessionQueue on the
25             Amazon GameLift service. Use the attributes of this class
26             as arguments to method CreateGameSessionQueue.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGameSessionQueue.
29              
30             As an example:
31              
32             $service_obj->CreateGameSessionQueue(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Destinations => ArrayRef[L<Paws::GameLift::GameSessionQueueDestination>]
40              
41             List of fleets that can be used to fulfill game session placement
42             requests in the queue. Fleets are identified by either a fleet ARN or a
43             fleet alias ARN. Destinations are listed in default preference order.
44              
45              
46              
47             =head2 B<REQUIRED> Name => Str
48              
49             Descriptive label that is associated with game session queue. Queue
50             names must be unique within each region.
51              
52              
53              
54             =head2 PlayerLatencyPolicies => ArrayRef[L<Paws::GameLift::PlayerLatencyPolicy>]
55              
56             Collection of latency policies to apply when processing game sessions
57             placement requests with player latency information. Multiple policies
58             are evaluated in order of the maximum latency value, starting with the
59             lowest latency values. With just one policy, it is enforced at the
60             start of the game session placement for the duration period. With
61             multiple policies, each policy is enforced consecutively for its
62             duration period. For example, a queue might enforce a 60-second policy
63             followed by a 120-second policy, and then no policy for the remainder
64             of the placement. A player latency policy must set a value for
65             MaximumIndividualPlayerLatencyMilliseconds; if none is set, this API
66             requests will fail.
67              
68              
69              
70             =head2 TimeoutInSeconds => Int
71              
72             Maximum time, in seconds, that a new game session placement request
73             remains in the queue. When a request exceeds this time, the game
74             session placement changes to a C<TIMED_OUT> status.
75              
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, documenting arguments for method CreateGameSessionQueue in L<Paws::GameLift>
82              
83             =head1 BUGS and CONTRIBUTIONS
84              
85             The source code is located here: https://github.com/pplu/aws-sdk-perl
86              
87             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
88              
89             =cut
90