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

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