File Coverage

blib/lib/Paws/GameLift/UpdateGameSessionQueue.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::UpdateGameSessionQueue;
3 1     1   511 use Moose;
  1         4  
  1         7  
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   6899 use MooseX::ClassAttribute;
  1         3  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateGameSessionQueue');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::UpdateGameSessionQueueOutput');
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::UpdateGameSessionQueue - Arguments for method UpdateGameSessionQueue on Paws::GameLift
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method UpdateGameSessionQueue on the
25             Amazon GameLift service. Use the attributes of this class
26             as arguments to method UpdateGameSessionQueue.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateGameSessionQueue.
29              
30             As an example:
31              
32             $service_obj->UpdateGameSessionQueue(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             When updating this list, provide a complete list of destinations.
45              
46              
47              
48             =head2 B<REQUIRED> Name => Str
49              
50             Descriptive label that is associated with queue. Queue names must be
51             unique within each region.
52              
53              
54              
55             =head2 PlayerLatencyPolicies => ArrayRef[L<Paws::GameLift::PlayerLatencyPolicy>]
56              
57             Collection of latency policies to apply when processing game sessions
58             placement requests with player latency information. Multiple policies
59             are evaluated in order of the maximum latency value, starting with the
60             lowest latency values. With just one policy, it is enforced at the
61             start of the game session placement for the duration period. With
62             multiple policies, each policy is enforced consecutively for its
63             duration period. For example, a queue might enforce a 60-second policy
64             followed by a 120-second policy, and then no policy for the remainder
65             of the placement. When updating policies, provide a complete collection
66             of policies.
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 TIMED_OUT status.
75              
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, documenting arguments for method UpdateGameSessionQueue 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