File Coverage

blib/lib/Paws/GameLift/FleetAttributes.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::FleetAttributes;
2 1     1   535 use Moose;
  1         3  
  1         8  
3             has BuildId => (is => 'ro', isa => 'Str');
4             has CreationTime => (is => 'ro', isa => 'Str');
5             has Description => (is => 'ro', isa => 'Str');
6             has FleetArn => (is => 'ro', isa => 'Str');
7             has FleetId => (is => 'ro', isa => 'Str');
8             has LogPaths => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9             has MetricGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10             has Name => (is => 'ro', isa => 'Str');
11             has NewGameSessionProtectionPolicy => (is => 'ro', isa => 'Str');
12             has OperatingSystem => (is => 'ro', isa => 'Str');
13             has ResourceCreationLimitPolicy => (is => 'ro', isa => 'Paws::GameLift::ResourceCreationLimitPolicy');
14             has ServerLaunchParameters => (is => 'ro', isa => 'Str');
15             has ServerLaunchPath => (is => 'ro', isa => 'Str');
16             has Status => (is => 'ro', isa => 'Str');
17             has TerminationTime => (is => 'ro', isa => 'Str');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::GameLift::FleetAttributes
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::FleetAttributes object:
36              
37             $service_obj->Method(Att1 => { BuildId => $value, ..., TerminationTime => $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::FleetAttributes object:
42              
43             $result = $service_obj->Method(...);
44             $result->Att1->BuildId
45              
46             =head1 DESCRIPTION
47              
48             General properties describing a fleet.
49              
50             Fleet-related operations include:
51              
52             =over
53              
54             =item *
55              
56             CreateFleet
57              
58             =item *
59              
60             ListFleets
61              
62             =item *
63              
64             Describe fleets:
65              
66             =over
67              
68             =item *
69              
70             DescribeFleetAttributes
71              
72             =item *
73              
74             DescribeFleetPortSettings
75              
76             =item *
77              
78             DescribeFleetUtilization
79              
80             =item *
81              
82             DescribeRuntimeConfiguration
83              
84             =item *
85              
86             DescribeFleetEvents
87              
88             =back
89              
90             =item *
91              
92             Update fleets:
93              
94             =over
95              
96             =item *
97              
98             UpdateFleetAttributes
99              
100             =item *
101              
102             UpdateFleetCapacity
103              
104             =item *
105              
106             UpdateFleetPortSettings
107              
108             =item *
109              
110             UpdateRuntimeConfiguration
111              
112             =back
113              
114             =item *
115              
116             Manage fleet capacity:
117              
118             =over
119              
120             =item *
121              
122             DescribeFleetCapacity
123              
124             =item *
125              
126             UpdateFleetCapacity
127              
128             =item *
129              
130             PutScalingPolicy (automatic scaling)
131              
132             =item *
133              
134             DescribeScalingPolicies (automatic scaling)
135              
136             =item *
137              
138             DeleteScalingPolicy (automatic scaling)
139              
140             =item *
141              
142             DescribeEC2InstanceLimits
143              
144             =back
145              
146             =item *
147              
148             DeleteFleet
149              
150             =back
151              
152              
153             =head1 ATTRIBUTES
154              
155              
156             =head2 BuildId => Str
157              
158             Unique identifier for a build.
159              
160              
161             =head2 CreationTime => Str
162              
163             Time stamp indicating when this data object was created. Format is a
164             number expressed in Unix time as milliseconds (for example
165             "1469498468.057").
166              
167              
168             =head2 Description => Str
169              
170             Human-readable description of the fleet.
171              
172              
173             =head2 FleetArn => Str
174              
175             Identifier for a fleet that is unique across all regions.
176              
177              
178             =head2 FleetId => Str
179              
180             Unique identifier for a fleet.
181              
182              
183             =head2 LogPaths => ArrayRef[Str|Undef]
184              
185             Location of default log files. When a server process is shut down,
186             Amazon GameLift captures and stores any log files in this location.
187             These logs are in addition to game session logs; see more on game
188             session logs in the Amazon GameLift Developer Guide. If no default log
189             path for a fleet is specified, Amazon GameLift automatically uploads
190             logs that are stored on each instance at C<C:\game\logs> (for Windows)
191             or C</local/game/logs> (for Linux). Use the Amazon GameLift console to
192             access stored logs.
193              
194              
195             =head2 MetricGroups => ArrayRef[Str|Undef]
196              
197             Names of metric groups that this fleet is included in. In Amazon
198             CloudWatch, you can view metrics for an individual fleet or aggregated
199             metrics for fleets that are in a fleet metric group. A fleet can be
200             included in only one metric group at a time.
201              
202              
203             =head2 Name => Str
204              
205             Descriptive label that is associated with a fleet. Fleet names do not
206             need to be unique.
207              
208              
209             =head2 NewGameSessionProtectionPolicy => Str
210              
211             Type of game session protection to set for all new instances started in
212             the fleet.
213              
214             =over
215              
216             =item *
217              
218             B<NoProtection> E<ndash> The game session can be terminated during a
219             scale-down event.
220              
221             =item *
222              
223             B<FullProtection> E<ndash> If the game session is in an C<ACTIVE>
224             status, it cannot be terminated during a scale-down event.
225              
226             =back
227              
228              
229              
230             =head2 OperatingSystem => Str
231              
232             Operating system of the fleet's computing resources. A fleet's
233             operating system depends on the OS specified for the build that is
234             deployed on this fleet.
235              
236              
237             =head2 ResourceCreationLimitPolicy => L<Paws::GameLift::ResourceCreationLimitPolicy>
238              
239             Fleet policy to limit the number of game sessions an individual player
240             can create over a span of time.
241              
242              
243             =head2 ServerLaunchParameters => Str
244              
245             Game server launch parameters specified for fleets created before
246             2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets
247             created after this date are specified in the fleet's
248             RuntimeConfiguration.
249              
250              
251             =head2 ServerLaunchPath => Str
252              
253             Path to a game server executable in the fleet's build, specified for
254             fleets created before 2016-08-04 (or AWS SDK v. 0.12.16). Server launch
255             paths for fleets created after this date are specified in the fleet's
256             RuntimeConfiguration.
257              
258              
259             =head2 Status => Str
260              
261             Current status of the fleet.
262              
263             Possible fleet statuses include the following:
264              
265             =over
266              
267             =item *
268              
269             B<NEW> E<ndash> A new fleet has been defined and desired instances is
270             set to 1.
271              
272             =item *
273              
274             B<DOWNLOADING/VALIDATING/BUILDING/ACTIVATING> E<ndash> Amazon GameLift
275             is setting up the new fleet, creating new instances with the game build
276             and starting server processes.
277              
278             =item *
279              
280             B<ACTIVE> E<ndash> Hosts can now accept game sessions.
281              
282             =item *
283              
284             B<ERROR> E<ndash> An error occurred when downloading, validating,
285             building, or activating the fleet.
286              
287             =item *
288              
289             B<DELETING> E<ndash> Hosts are responding to a delete fleet request.
290              
291             =item *
292              
293             B<TERMINATED> E<ndash> The fleet no longer exists.
294              
295             =back
296              
297              
298              
299             =head2 TerminationTime => Str
300              
301             Time stamp indicating when this data object was terminated. Format is a
302             number expressed in Unix time as milliseconds (for example
303             "1469498468.057").
304              
305              
306              
307             =head1 SEE ALSO
308              
309             This class forms part of L<Paws>, describing an object used in L<Paws::GameLift>
310              
311             =head1 BUGS and CONTRIBUTIONS
312              
313             The source code is located here: https://github.com/pplu/aws-sdk-perl
314              
315             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
316              
317             =cut
318