blib/lib/Paws/ApplicationAutoScaling/ScalingActivity.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ApplicationAutoScaling::ScalingActivity;
3 use Moose;
4 has ActivityId => (is => 'ro', isa => 'Str', required => 1);
5 has Cause => (is => 'ro', isa => 'Str', required => 1);
6 has Description => (is => 'ro', isa => 'Str', required => 1);
7 has Details => (is => 'ro', isa => 'Str');
8 has EndTime => (is => 'ro', isa => 'Str');
9 has ResourceId => (is => 'ro', isa => 'Str', required => 1);
10 has ScalableDimension => (is => 'ro', isa => 'Str', required => 1);
11 has ServiceNamespace => (is => 'ro', isa => 'Str', required => 1);
12 has StartTime => (is => 'ro', isa => 'Str', required => 1);
13 has StatusCode => (is => 'ro', isa => 'Str', required => 1);
14 has StatusMessage => (is => 'ro', isa => 'Str');
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::ApplicationAutoScaling::ScalingActivity
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::ApplicationAutoScaling::ScalingActivity object:
34  
35 $service_obj->Method(Att1 => { ActivityId => $value, ..., StatusMessage => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::ApplicationAutoScaling::ScalingActivity object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->ActivityId
43  
44 =head1 DESCRIPTION
45  
46 Represents a scaling activity.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 B<REQUIRED> ActivityId => Str
52  
53 The unique identifier of the scaling activity.
54  
55  
56 =head2 B<REQUIRED> Cause => Str
57  
58 A simple description of what caused the scaling activity to happen.
59  
60  
61 =head2 B<REQUIRED> Description => Str
62  
63 A simple description of what action the scaling activity intends to
64 accomplish.
65  
66  
67 =head2 Details => Str
68  
69 The details about the scaling activity.
70  
71  
72 =head2 EndTime => Str
73  
74 The Unix timestamp for when the scaling activity ended.
75  
76  
77 =head2 B<REQUIRED> ResourceId => Str
78  
79 The identifier of the resource associated with the scaling activity.
80 This string consists of the resource type and unique identifier.
81  
82 =over
83  
84 =item *
85  
86 ECS service - The resource type is C<service> and the unique identifier
87 is the cluster name and service name. Example:
88 C<service/default/sample-webapp>.
89  
90 =item *
91  
92 Spot Fleet request - The resource type is C<spot-fleet-request> and the
93 unique identifier is the Spot Fleet request ID. Example:
94 C<spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE>.
95  
96 =item *
97  
98 EMR cluster - The resource type is C<instancegroup> and the unique
99 identifier is the cluster ID and instance group ID. Example:
100 C<instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0>.
101  
102 =item *
103  
104 AppStream 2.0 fleet - The resource type is C<fleet> and the unique
105 identifier is the fleet name. Example: C<fleet/sample-fleet>.
106  
107 =item *
108  
109 DynamoDB table - The resource type is C<table> and the unique
110 identifier is the table name. Example: C<table/my-table>.
111  
112 =item *
113  
114 DynamoDB global secondary index - The resource type is C<index> and the
115 unique identifier is the index name. Example:
116 C<table/my-table/index/my-table-index>.
117  
118 =item *
119  
120 Aurora DB cluster - The resource type is C<cluster> and the unique
121 identifier is the cluster name. Example: C<cluster:my-db-cluster>.
122  
123 =item *
124  
125 Amazon SageMaker endpoint variant - The resource type is C<variant> and
126 the unique identifier is the resource ID. Example:
127 C<endpoint/my-end-point/variant/KMeansClustering>.
128  
129 =item *
130  
131 Custom resources are not supported with a resource type. This parameter
132 must specify the C<OutputValue> from the CloudFormation template stack
133 used to access the resources. The unique identifier is defined by the
134 service provider. More information is available in our GitHub
135 repository (https://github.com/aws/aws-auto-scaling-custom-resource).
136  
137 =item *
138  
139 Amazon Comprehend document classification endpoint - The resource type
140 and unique identifier are specified using the endpoint ARN. Example:
141 C<arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE>.
142  
143 =item *
144  
145 Amazon Comprehend entity recognizer endpoint - The resource type and
146 unique identifier are specified using the endpoint ARN. Example:
147 C<arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE>.
148  
149 =item *
150  
151 Lambda provisioned concurrency - The resource type is C<function> and
152 the unique identifier is the function name with a function version or
153 alias name suffix that is not C<$LATEST>. Example:
154 C<function:my-function:prod> or C<function:my-function:1>.
155  
156 =item *
157  
158 Amazon Keyspaces table - The resource type is C<table> and the unique
159 identifier is the table name. Example:
160 C<keyspace/mykeyspace/table/mytable>.
161  
162 =item *
163  
164 Amazon MSK cluster - The resource type and unique identifier are
165 specified using the cluster ARN. Example:
166 C<arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5>.
167  
168 =back
169  
170  
171  
172 =head2 B<REQUIRED> ScalableDimension => Str
173  
174 The scalable dimension. This string consists of the service namespace,
175 resource type, and scaling property.
176  
177 =over
178  
179 =item *
180  
181 C<ecs:service:DesiredCount> - The desired task count of an ECS service.
182  
183 =item *
184  
185 C<ec2:spot-fleet-request:TargetCapacity> - The target capacity of a
186 Spot Fleet request.
187  
188 =item *
189  
190 C<elasticmapreduce:instancegroup:InstanceCount> - The instance count of
191 an EMR Instance Group.
192  
193 =item *
194  
195 C<appstream:fleet:DesiredCapacity> - The desired capacity of an
196 AppStream 2.0 fleet.
197  
198 =item *
199  
200 C<dynamodb:table:ReadCapacityUnits> - The provisioned read capacity for
201 a DynamoDB table.
202  
203 =item *
204  
205 C<dynamodb:table:WriteCapacityUnits> - The provisioned write capacity
206 for a DynamoDB table.
207  
208 =item *
209  
210 C<dynamodb:index:ReadCapacityUnits> - The provisioned read capacity for
211 a DynamoDB global secondary index.
212  
213 =item *
214  
215 C<dynamodb:index:WriteCapacityUnits> - The provisioned write capacity
216 for a DynamoDB global secondary index.
217  
218 =item *
219  
220 C<rds:cluster:ReadReplicaCount> - The count of Aurora Replicas in an
221 Aurora DB cluster. Available for Aurora MySQL-compatible edition and
222 Aurora PostgreSQL-compatible edition.
223  
224 =item *
225  
226 C<sagemaker:variant:DesiredInstanceCount> - The number of EC2 instances
227 for an Amazon SageMaker model endpoint variant.
228  
229 =item *
230  
231 C<custom-resource:ResourceType:Property> - The scalable dimension for a
232 custom resource provided by your own application or service.
233  
234 =item *
235  
236 C<comprehend:document-classifier-endpoint:DesiredInferenceUnits> - The
237 number of inference units for an Amazon Comprehend document
238 classification endpoint.
239  
240 =item *
241  
242 C<comprehend:entity-recognizer-endpoint:DesiredInferenceUnits> - The
243 number of inference units for an Amazon Comprehend entity recognizer
244 endpoint.
245  
246 =item *
247  
248 C<lambda:function:ProvisionedConcurrency> - The provisioned concurrency
249 for a Lambda function.
250  
251 =item *
252  
253 C<cassandra:table:ReadCapacityUnits> - The provisioned read capacity
254 for an Amazon Keyspaces table.
255  
256 =item *
257  
258 C<cassandra:table:WriteCapacityUnits> - The provisioned write capacity
259 for an Amazon Keyspaces table.
260  
261 =item *
262  
263 C<kafka:broker-storage:VolumeSize> - The provisioned volume size (in
264 GiB) for brokers in an Amazon MSK cluster.
265  
266 =back
267  
268  
269  
270 =head2 B<REQUIRED> ServiceNamespace => Str
271  
272 The namespace of the AWS service that provides the resource, or a
273 C<custom-resource>.
274  
275  
276 =head2 B<REQUIRED> StartTime => Str
277  
278 The Unix timestamp for when the scaling activity began.
279  
280  
281 =head2 B<REQUIRED> StatusCode => Str
282  
283 Indicates the status of the scaling activity.
284  
285  
286 =head2 StatusMessage => Str
287  
288 A simple message about the current status of the scaling activity.
289  
290  
291  
292 =head1 SEE ALSO
293  
294 This class forms part of L<Paws>, describing an object used in L<Paws::ApplicationAutoScaling>
295  
296 =head1 BUGS and CONTRIBUTIONS
297  
298 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
299  
300 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
301  
302 =cut
303