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