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