File Coverage

blib/lib/Paws/GameLift/GameSessionPlacement.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::GameLift::GameSessionPlacement;
2 1     1   370 use Moose;
  1         4  
  1         6  
3             has EndTime => (is => 'ro', isa => 'Str');
4             has GameProperties => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::GameProperty]');
5             has GameSessionArn => (is => 'ro', isa => 'Str');
6             has GameSessionData => (is => 'ro', isa => 'Str');
7             has GameSessionId => (is => 'ro', isa => 'Str');
8             has GameSessionName => (is => 'ro', isa => 'Str');
9             has GameSessionQueueName => (is => 'ro', isa => 'Str');
10             has GameSessionRegion => (is => 'ro', isa => 'Str');
11             has IpAddress => (is => 'ro', isa => 'Str');
12             has MaximumPlayerSessionCount => (is => 'ro', isa => 'Int');
13             has PlacedPlayerSessions => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::PlacedPlayerSession]');
14             has PlacementId => (is => 'ro', isa => 'Str');
15             has PlayerLatencies => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::PlayerLatency]');
16             has Port => (is => 'ro', isa => 'Int');
17             has StartTime => (is => 'ro', isa => 'Str');
18             has Status => (is => 'ro', isa => 'Str');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::GameLift::GameSessionPlacement
26              
27             =head1 USAGE
28              
29             This class represents one of two things:
30              
31             =head3 Arguments in a call to a service
32              
33             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34             Each attribute should be used as a named argument in the calls that expect this type of object.
35              
36             As an example, if Att1 is expected to be a Paws::GameLift::GameSessionPlacement object:
37              
38             $service_obj->Method(Att1 => { EndTime => $value, ..., Status => $value });
39              
40             =head3 Results returned from an API call
41              
42             Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::GameSessionPlacement object:
43              
44             $result = $service_obj->Method(...);
45             $result->Att1->EndTime
46              
47             =head1 DESCRIPTION
48              
49             Object that describes a StartGameSessionPlacement request. This object
50             includes the full details of the original request plus the current
51             status and start/end time stamps.
52              
53             Game session placement-related operations include:
54              
55             =over
56              
57             =item *
58              
59             StartGameSessionPlacement
60              
61             =item *
62              
63             DescribeGameSessionPlacement
64              
65             =item *
66              
67             StopGameSessionPlacement
68              
69             =back
70              
71              
72             =head1 ATTRIBUTES
73              
74              
75             =head2 EndTime => Str
76              
77             Time stamp indicating when this request was completed, canceled, or
78             timed out.
79              
80              
81             =head2 GameProperties => ArrayRef[L<Paws::GameLift::GameProperty>]
82              
83             Set of developer-defined properties for a game session, formatted as a
84             set of type:value pairs. These properties are included in the
85             GameSession object, which is passed to the game server with a request
86             to start a new game session (see Start a Game Session).
87              
88              
89             =head2 GameSessionArn => Str
90              
91             Identifier for the game session created by this placement request. This
92             value is set once the new game session is placed (placement status is
93             C<FULFILLED>). This identifier is unique across all regions. You can
94             use this value as a C<GameSessionId> value as needed.
95              
96              
97             =head2 GameSessionData => Str
98              
99             Set of developer-defined game session properties, formatted as a single
100             string value. This data is included in the GameSession object, which is
101             passed to the game server with a request to start a new game session
102             (see Start a Game Session).
103              
104              
105             =head2 GameSessionId => Str
106              
107             Unique identifier for the game session. This value is set once the new
108             game session is placed (placement status is C<FULFILLED>).
109              
110              
111             =head2 GameSessionName => Str
112              
113             Descriptive label that is associated with a game session. Session names
114             do not need to be unique.
115              
116              
117             =head2 GameSessionQueueName => Str
118              
119             Descriptive label that is associated with game session queue. Queue
120             names must be unique within each region.
121              
122              
123             =head2 GameSessionRegion => Str
124              
125             Name of the region where the game session created by this placement
126             request is running. This value is set once the new game session is
127             placed (placement status is C<FULFILLED>).
128              
129              
130             =head2 IpAddress => Str
131              
132             IP address of the game session. To connect to a Amazon GameLift game
133             server, an app needs both the IP address and port number. This value is
134             set once the new game session is placed (placement status is
135             C<FULFILLED>).
136              
137              
138             =head2 MaximumPlayerSessionCount => Int
139              
140             Maximum number of players that can be connected simultaneously to the
141             game session.
142              
143              
144             =head2 PlacedPlayerSessions => ArrayRef[L<Paws::GameLift::PlacedPlayerSession>]
145              
146             Collection of information on player sessions created in response to the
147             game session placement request. These player sessions are created only
148             once a new game session is successfully placed (placement status is
149             C<FULFILLED>). This information includes the player ID (as provided in
150             the placement request) and the corresponding player session ID.
151             Retrieve full player sessions by calling DescribePlayerSessions with
152             the player session ID.
153              
154              
155             =head2 PlacementId => Str
156              
157             Unique identifier for a game session placement.
158              
159              
160             =head2 PlayerLatencies => ArrayRef[L<Paws::GameLift::PlayerLatency>]
161              
162             Set of values, expressed in milliseconds, indicating the amount of
163             latency that a player experiences when connected to AWS regions.
164              
165              
166             =head2 Port => Int
167              
168             Port number for the game session. To connect to a Amazon GameLift game
169             server, an app needs both the IP address and port number. This value is
170             set once the new game session is placed (placement status is
171             C<FULFILLED>).
172              
173              
174             =head2 StartTime => Str
175              
176             Time stamp indicating when this request was placed in the queue. Format
177             is a number expressed in Unix time as milliseconds (for example
178             "1469498468.057").
179              
180              
181             =head2 Status => Str
182              
183             Current status of the game session placement request.
184              
185             =over
186              
187             =item *
188              
189             B<PENDING> -- The placement request is currently in the queue waiting
190             to be processed.
191              
192             =item *
193              
194             B<FULFILLED> -- A new game session and player sessions (if requested)
195             have been successfully created. Values for I<GameSessionArn> and
196             I<GameSessionRegion> are available.
197              
198             =item *
199              
200             B<CANCELLED> -- The placement request was canceled with a call to
201             StopGameSessionPlacement.
202              
203             =item *
204              
205             B<TIMED_OUT> -- A new game session was not successfully created before
206             the time limit expired. You can resubmit the placement request as
207             needed.
208              
209             =back
210              
211              
212              
213              
214             =head1 SEE ALSO
215              
216             This class forms part of L<Paws>, describing an object used in L<Paws::GameLift>
217              
218             =head1 BUGS and CONTRIBUTIONS
219              
220             The source code is located here: https://github.com/pplu/aws-sdk-perl
221              
222             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
223              
224             =cut
225