line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::GameLift::SearchGameSessions; |
3
|
1
|
|
|
1
|
|
552
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has AliasId => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has FilterExpression => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has FleetId => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has Limit => (is => 'ro', isa => 'Int'); |
8
|
|
|
|
|
|
|
has NextToken => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has SortExpression => (is => 'ro', isa => 'Str'); |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
7483
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
14
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'SearchGameSessions'); |
14
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::SearchGameSessionsOutput'); |
15
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
### main pod documentation begin ### |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Paws::GameLift::SearchGameSessions - Arguments for method SearchGameSessions on Paws::GameLift |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This class represents the parameters used for calling the method SearchGameSessions on the |
27
|
|
|
|
|
|
|
Amazon GameLift service. Use the attributes of this class |
28
|
|
|
|
|
|
|
as arguments to method SearchGameSessions. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchGameSessions. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
As an example: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$service_obj->SearchGameSessions(Att1 => $value1, Att2 => $value2, ...); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
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. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 AliasId => Str |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Unique identifier for an alias associated with the fleet to search for |
44
|
|
|
|
|
|
|
active game sessions. Each request must reference either a fleet ID or |
45
|
|
|
|
|
|
|
alias ID, but not both. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 FilterExpression => Str |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
String containing the search criteria for the session search. If no |
52
|
|
|
|
|
|
|
filter expression is included, the request returns results for all game |
53
|
|
|
|
|
|
|
sessions in the fleet that are in C<ACTIVE> status. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
A filter expression can contain one or multiple conditions. Each |
56
|
|
|
|
|
|
|
condition consists of the following: |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=over |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
B<Operand> -- Name of a game session attribute. Valid values are |
63
|
|
|
|
|
|
|
C<gameSessionName>, C<gameSessionId>, C<creationTimeMillis>, |
64
|
|
|
|
|
|
|
C<playerSessionCount>, C<maximumSessions>, |
65
|
|
|
|
|
|
|
C<hasAvailablePlayerSessions>. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
B<Comparator> -- Valid comparators are: C<=>, C<E<lt>E<gt>>, C<E<lt>>, |
70
|
|
|
|
|
|
|
C<E<gt>>, C<E<lt>=>, C<E<gt>=>. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
B<Value> -- Value to be searched for. Values can be numbers, boolean |
75
|
|
|
|
|
|
|
values (true/false) or strings. String values are case sensitive, |
76
|
|
|
|
|
|
|
enclosed in single quotes. Special characters must be escaped. Boolean |
77
|
|
|
|
|
|
|
and string values can only be used with the comparators C<=> and |
78
|
|
|
|
|
|
|
C<E<lt>E<gt>>. For example, the following filter expression searches on |
79
|
|
|
|
|
|
|
C<gameSessionName>: "C<FilterExpression": "gameSessionName = 'Matt\\'s |
80
|
|
|
|
|
|
|
Awesome Game 1'">. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=back |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
To chain multiple conditions in a single expression, use the logical |
85
|
|
|
|
|
|
|
keywords C<AND>, C<OR>, and C<NOT> and parentheses as needed. For |
86
|
|
|
|
|
|
|
example: C<x AND y AND NOT z>, C<NOT (x OR y)>. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Session search evaluates conditions from left to right using the |
89
|
|
|
|
|
|
|
following precedence rules: |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=over |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=item 1. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
C<=>, C<E<lt>E<gt>>, C<E<lt>>, C<E<gt>>, C<E<lt>=>, C<E<gt>=> |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=item 2. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Parentheses |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=item 3. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
NOT |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=item 4. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
AND |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=item 5. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
OR |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=back |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
For example, this filter expression retrieves game sessions hosting at |
116
|
|
|
|
|
|
|
least ten players that have an open player slot: |
117
|
|
|
|
|
|
|
C<"maximumSessionsE<gt>=10 AND hasAvailablePlayerSessions=true">. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 FleetId => Str |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Unique identifier for a fleet to search for active game sessions. Each |
124
|
|
|
|
|
|
|
request must reference either a fleet ID or alias ID, but not both. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head2 Limit => Int |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Maximum number of results to return. Use this parameter with |
131
|
|
|
|
|
|
|
C<NextToken> to get results as a set of sequential pages. The maximum |
132
|
|
|
|
|
|
|
number of results returned is 20, even if this value is not set or is |
133
|
|
|
|
|
|
|
set higher than 20. |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 NextToken => Str |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Token that indicates the start of the next sequential page of results. |
140
|
|
|
|
|
|
|
Use the token that is returned with a previous call to this action. To |
141
|
|
|
|
|
|
|
specify the start of the result set, do not specify a value. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 SortExpression => Str |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
Instructions on how to sort the search results. If no sort expression |
148
|
|
|
|
|
|
|
is included, the request returns results in random order. A sort |
149
|
|
|
|
|
|
|
expression consists of the following elements: |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=over |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=item * |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
B<Operand> -- Name of a game session attribute. Valid values are |
156
|
|
|
|
|
|
|
C<gameSessionName>, C<gameSessionId>, C<creationTimeMillis>, |
157
|
|
|
|
|
|
|
C<playerSessionCount>, C<maximumSessions>, |
158
|
|
|
|
|
|
|
C<hasAvailablePlayerSessions>. |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=item * |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
B<Order> -- Valid sort orders are C<ASC> (ascending) and C<DESC> |
163
|
|
|
|
|
|
|
(descending). |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=back |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
For example, this sort expression returns the oldest active sessions |
168
|
|
|
|
|
|
|
first: C<"SortExpression": "creationTimeMillis ASC">. Results with a |
169
|
|
|
|
|
|
|
null value for the sort operand are returned at the end of the list. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head1 SEE ALSO |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method SearchGameSessions in L<Paws::GameLift> |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=cut |
185
|
|
|
|
|
|
|
|