File Coverage

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