line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::GameLift::StartGameSessionPlacement; |
3
|
1
|
|
|
1
|
|
583
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
4
|
|
|
|
|
|
|
has DesiredPlayerSessions => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::DesiredPlayerSession]'); |
5
|
|
|
|
|
|
|
has GameProperties => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::GameProperty]'); |
6
|
|
|
|
|
|
|
has GameSessionName => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has GameSessionQueueName => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
has MaximumPlayerSessionCount => (is => 'ro', isa => 'Int', required => 1); |
9
|
|
|
|
|
|
|
has PlacementId => (is => 'ro', isa => 'Str', required => 1); |
10
|
|
|
|
|
|
|
has PlayerLatencies => (is => 'ro', isa => 'ArrayRef[Paws::GameLift::PlayerLatency]'); |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
9938
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
14
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartGameSessionPlacement'); |
15
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::StartGameSessionPlacementOutput'); |
16
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
### main pod documentation begin ### |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Paws::GameLift::StartGameSessionPlacement - Arguments for method StartGameSessionPlacement on Paws::GameLift |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This class represents the parameters used for calling the method StartGameSessionPlacement on the |
28
|
|
|
|
|
|
|
Amazon GameLift service. Use the attributes of this class |
29
|
|
|
|
|
|
|
as arguments to method StartGameSessionPlacement. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartGameSessionPlacement. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
As an example: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->StartGameSessionPlacement(Att1 => $value1, Att2 => $value2, ...); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
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. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 DesiredPlayerSessions => ArrayRef[L<Paws::GameLift::DesiredPlayerSession>] |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Set of information on each player to create a player session for. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 GameProperties => ArrayRef[L<Paws::GameLift::GameProperty>] |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Set of developer-defined properties for a game session. These |
51
|
|
|
|
|
|
|
properties are passed to the server process hosting the game session. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 GameSessionName => Str |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Descriptive label that is associated with a game session. Session names |
58
|
|
|
|
|
|
|
do not need to be unique. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 B<REQUIRED> GameSessionQueueName => Str |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Name of the queue to use to place the new game session. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 B<REQUIRED> MaximumPlayerSessionCount => Int |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Maximum number of players that can be connected simultaneously to the |
71
|
|
|
|
|
|
|
game session. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 B<REQUIRED> PlacementId => Str |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Unique identifier to assign to the new game session placement. This |
78
|
|
|
|
|
|
|
value is developer-defined. The value must be unique across all regions |
79
|
|
|
|
|
|
|
and cannot be reused unless you are resubmitting a canceled or |
80
|
|
|
|
|
|
|
timed-out placement request. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 PlayerLatencies => ArrayRef[L<Paws::GameLift::PlayerLatency>] |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Set of values, expressed in milliseconds, indicating the amount of |
87
|
|
|
|
|
|
|
latency that players are experiencing when connected to AWS regions. |
88
|
|
|
|
|
|
|
This information is used to try to place the new game session where it |
89
|
|
|
|
|
|
|
can offer the best possible gameplay experience for the players. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 SEE ALSO |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method StartGameSessionPlacement in L<Paws::GameLift> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
105
|
|
|
|
|
|
|
|