line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::GameLift::UpdateGameSession; |
3
|
1
|
|
|
1
|
|
344
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
has GameSessionId => (is => 'ro', isa => 'Str', required => 1); |
5
|
|
|
|
|
|
|
has MaximumPlayerSessionCount => (is => 'ro', isa => 'Int'); |
6
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has PlayerSessionCreationPolicy => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has ProtectionPolicy => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
5501
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateGameSession'); |
13
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::UpdateGameSessionOutput'); |
14
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
### main pod documentation begin ### |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Paws::GameLift::UpdateGameSession - Arguments for method UpdateGameSession on Paws::GameLift |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UpdateGameSession on the |
26
|
|
|
|
|
|
|
Amazon GameLift service. Use the attributes of this class |
27
|
|
|
|
|
|
|
as arguments to method UpdateGameSession. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateGameSession. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
As an example: |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
$service_obj->UpdateGameSession(Att1 => $value1, Att2 => $value2, ...); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
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. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 B<REQUIRED> GameSessionId => Str |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Unique identifier for the game session to update. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head2 MaximumPlayerSessionCount => Int |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Maximum number of players that can be connected simultaneously to the |
49
|
|
|
|
|
|
|
game session. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 Name => Str |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Descriptive label that is associated with a game session. Session names |
56
|
|
|
|
|
|
|
do not need to be unique. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 PlayerSessionCreationPolicy => Str |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Policy determining whether or not the game session accepts new players. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Valid values are: C<"ACCEPT_ALL">, C<"DENY_ALL"> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 ProtectionPolicy => Str |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Game session protection policy to apply to this game session only. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=over |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
B<NoProtection> -- The game session can be terminated during a |
75
|
|
|
|
|
|
|
scale-down event. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item * |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
B<FullProtection> -- If the game session is in an C<ACTIVE> status, it |
80
|
|
|
|
|
|
|
cannot be terminated during a scale-down event. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=back |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Valid values are: C<"NoProtection">, C<"FullProtection"> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 SEE ALSO |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UpdateGameSession in L<Paws::GameLift> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|