File Coverage

blib/lib/Paws/ApplicationAutoScaling/DescribeScalingActivities.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ApplicationAutoScaling::DescribeScalingActivities;
3 1     1   460 use Moose;
  1         4  
  1         10  
4             has MaxResults => (is => 'ro', isa => 'Int');
5             has NextToken => (is => 'ro', isa => 'Str');
6             has ResourceId => (is => 'ro', isa => 'Str');
7             has ScalableDimension => (is => 'ro', isa => 'Str');
8             has ServiceNamespace => (is => 'ro', isa => 'Str', required => 1);
9              
10 1     1   6015 use MooseX::ClassAttribute;
  1         2  
  1         10  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScalingActivities');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationAutoScaling::DescribeScalingActivitiesResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::ApplicationAutoScaling::DescribeScalingActivities - Arguments for method DescribeScalingActivities on Paws::ApplicationAutoScaling
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribeScalingActivities on the
26             Application Auto Scaling service. Use the attributes of this class
27             as arguments to method DescribeScalingActivities.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeScalingActivities.
30              
31             As an example:
32              
33             $service_obj->DescribeScalingActivities(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 MaxResults => Int
41              
42             The maximum number of scalable target results. This value can be
43             between 1 and 50. The default value is 50.
44              
45             If this parameter is used, the operation returns up to C<MaxResults>
46             results at a time, along with a C<NextToken> value. To get the next set
47             of results, include the C<NextToken> value in a subsequent call. If
48             this parameter is not used, the operation returns up to 50 results and
49             a C<NextToken> value, if applicable.
50              
51              
52              
53             =head2 NextToken => Str
54              
55             The token for the next set of results.
56              
57              
58              
59             =head2 ResourceId => Str
60              
61             The identifier of the resource associated with the scaling activity.
62             This string consists of the resource type and unique identifier. If you
63             specify a scalable dimension, you must also specify a resource ID.
64              
65             =over
66              
67             =item *
68              
69             ECS service - The resource type is C<service> and the unique identifier
70             is the cluster name and service name. Example:
71             C<service/default/sample-webapp>.
72              
73             =item *
74              
75             Spot fleet request - The resource type is C<spot-fleet-request> and the
76             unique identifier is the Spot fleet request ID. Example:
77             C<spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE>.
78              
79             =item *
80              
81             EMR cluster - The resource type is C<instancegroup> and the unique
82             identifier is the cluster ID and instance group ID. Example:
83             C<instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0>.
84              
85             =item *
86              
87             AppStream 2.0 fleet - The resource type is C<fleet> and the unique
88             identifier is the fleet name. Example: C<fleet/sample-fleet>.
89              
90             =item *
91              
92             DynamoDB table - The resource type is C<table> and the unique
93             identifier is the resource ID. Example: C<table/my-table>.
94              
95             =item *
96              
97             DynamoDB global secondary index - The resource type is C<index> and the
98             unique identifier is the resource ID. Example:
99             C<table/my-table/index/my-table-index>.
100              
101             =back
102              
103              
104              
105              
106             =head2 ScalableDimension => Str
107              
108             The scalable dimension. This string consists of the service namespace,
109             resource type, and scaling property. If you specify a scalable
110             dimension, you must also specify a resource ID.
111              
112             =over
113              
114             =item *
115              
116             C<ecs:service:DesiredCount> - The desired task count of an ECS service.
117              
118             =item *
119              
120             C<ec2:spot-fleet-request:TargetCapacity> - The target capacity of a
121             Spot fleet request.
122              
123             =item *
124              
125             C<elasticmapreduce:instancegroup:InstanceCount> - The instance count of
126             an EMR Instance Group.
127              
128             =item *
129              
130             C<appstream:fleet:DesiredCapacity> - The desired capacity of an
131             AppStream 2.0 fleet.
132              
133             =item *
134              
135             C<dynamodb:table:ReadCapacityUnits> - The provisioned read capacity for
136             a DynamoDB table.
137              
138             =item *
139              
140             C<dynamodb:table:WriteCapacityUnits> - The provisioned write capacity
141             for a DynamoDB table.
142              
143             =item *
144              
145             C<dynamodb:index:ReadCapacityUnits> - The provisioned read capacity for
146             a DynamoDB global secondary index.
147              
148             =item *
149              
150             C<dynamodb:index:WriteCapacityUnits> - The provisioned write capacity
151             for a DynamoDB global secondary index.
152              
153             =back
154              
155              
156             Valid values are: C<"ecs:service:DesiredCount">, C<"ec2:spot-fleet-request:TargetCapacity">, C<"elasticmapreduce:instancegroup:InstanceCount">, C<"appstream:fleet:DesiredCapacity">, C<"dynamodb:table:ReadCapacityUnits">, C<"dynamodb:table:WriteCapacityUnits">, C<"dynamodb:index:ReadCapacityUnits">, C<"dynamodb:index:WriteCapacityUnits">
157              
158             =head2 B<REQUIRED> ServiceNamespace => Str
159              
160             The namespace of the AWS service. For more information, see AWS Service
161             Namespaces in the I<Amazon Web Services General Reference>.
162              
163             Valid values are: C<"ecs">, C<"elasticmapreduce">, C<"ec2">, C<"appstream">, C<"dynamodb">
164              
165              
166             =head1 SEE ALSO
167              
168             This class forms part of L<Paws>, documenting arguments for method DescribeScalingActivities in L<Paws::ApplicationAutoScaling>
169              
170             =head1 BUGS and CONTRIBUTIONS
171              
172             The source code is located here: https://github.com/pplu/aws-sdk-perl
173              
174             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
175              
176             =cut
177