File Coverage

blib/lib/Paws/GameLift/FleetCapacity.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::FleetCapacity;
2 1     1   309 use Moose;
  1         2  
  1         6  
3             has FleetId => (is => 'ro', isa => 'Str');
4             has InstanceCounts => (is => 'ro', isa => 'Paws::GameLift::EC2InstanceCounts');
5             has InstanceType => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::GameLift::FleetCapacity
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::GameLift::FleetCapacity object:
24              
25             $service_obj->Method(Att1 => { FleetId => $value, ..., InstanceType => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::FleetCapacity object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->FleetId
33              
34             =head1 DESCRIPTION
35              
36             Information about the fleet's capacity. Fleet capacity is measured in
37             EC2 instances. By default, new fleets have a capacity of one instance,
38             but can be updated as needed. The maximum number of instances for a
39             fleet is determined by the fleet's instance type.
40              
41             Fleet-related operations include:
42              
43             =over
44              
45             =item *
46              
47             CreateFleet
48              
49             =item *
50              
51             ListFleets
52              
53             =item *
54              
55             Describe fleets:
56              
57             =over
58              
59             =item *
60              
61             DescribeFleetAttributes
62              
63             =item *
64              
65             DescribeFleetPortSettings
66              
67             =item *
68              
69             DescribeFleetUtilization
70              
71             =item *
72              
73             DescribeRuntimeConfiguration
74              
75             =item *
76              
77             DescribeFleetEvents
78              
79             =back
80              
81             =item *
82              
83             Update fleets:
84              
85             =over
86              
87             =item *
88              
89             UpdateFleetAttributes
90              
91             =item *
92              
93             UpdateFleetCapacity
94              
95             =item *
96              
97             UpdateFleetPortSettings
98              
99             =item *
100              
101             UpdateRuntimeConfiguration
102              
103             =back
104              
105             =item *
106              
107             Manage fleet capacity:
108              
109             =over
110              
111             =item *
112              
113             DescribeFleetCapacity
114              
115             =item *
116              
117             UpdateFleetCapacity
118              
119             =item *
120              
121             PutScalingPolicy (automatic scaling)
122              
123             =item *
124              
125             DescribeScalingPolicies (automatic scaling)
126              
127             =item *
128              
129             DeleteScalingPolicy (automatic scaling)
130              
131             =item *
132              
133             DescribeEC2InstanceLimits
134              
135             =back
136              
137             =item *
138              
139             DeleteFleet
140              
141             =back
142              
143              
144             =head1 ATTRIBUTES
145              
146              
147             =head2 FleetId => Str
148              
149             Unique identifier for a fleet.
150              
151              
152             =head2 InstanceCounts => L<Paws::GameLift::EC2InstanceCounts>
153              
154             Current status of fleet capacity.
155              
156              
157             =head2 InstanceType => Str
158              
159             Name of an EC2 instance type that is supported in Amazon GameLift. A
160             fleet instance type determines the computing resources of each instance
161             in the fleet, including CPU, memory, storage, and networking capacity.
162             Amazon GameLift supports the following EC2 instance types. See Amazon
163             EC2 Instance Types for detailed descriptions.
164              
165              
166              
167             =head1 SEE ALSO
168              
169             This class forms part of L<Paws>, describing an object used in L<Paws::GameLift>
170              
171             =head1 BUGS and CONTRIBUTIONS
172              
173             The source code is located here: https://github.com/pplu/aws-sdk-perl
174              
175             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
176              
177             =cut
178