| 1 | package Paws::AutoScaling; | ||||||||||
| 2 | 4 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 26 | ▶ | sub service { 'autoscaling' } | ||||||||
|
Subroutine
service: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 4 | 3 | ▶ | sub signing_name { 'autoscaling' } | ||||||||
|
Subroutine
signing_name: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 5 | 3 | ▶ | sub version { '2011-01-01' } | ||||||||
|
Subroutine
version: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 6 | 6 | ▶ | sub flattened_arrays { 0 } | ||||||||
|
Subroutine
flattened_arrays: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 7 | 4 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | |||||||||
| 8 | 26 | ▶ | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 26 | { base => 'rand', type => 'exponential', growth_factor => 2 } | |||||||||
| 10 | 4 | }); | |||||||||
| 11 | 26 | ▶ | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 26 | ] }); | |||||||||
| 13 | |||||||||||
| 14 | 4 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::QueryCaller'; | |||||||||
| 15 | |||||||||||
| 16 | |||||||||||
| 17 | 1 | ▶ | sub AttachInstances { | ||||||||
|
Subroutine
AttachInstances: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 18 | 1 | my $self = shift; | |||||||||
| 19 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::AttachInstances', @_); | |||||||||
| 20 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 21 | } | ||||||||||
| 22 | 0 | ▶ | sub AttachLoadBalancers { | ||||||||
|
Subroutine
AttachLoadBalancers: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 23 | 0 | my $self = shift; | |||||||||
| 24 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::AttachLoadBalancers', @_); | |||||||||
| 25 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 26 | } | ||||||||||
| 27 | 0 | ▶ | sub AttachLoadBalancerTargetGroups { | ||||||||
|
Subroutine
AttachLoadBalancerTargetGroups: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 28 | 0 | my $self = shift; | |||||||||
| 29 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::AttachLoadBalancerTargetGroups', @_); | |||||||||
| 30 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 31 | } | ||||||||||
| 32 | 0 | ▶ | sub BatchDeleteScheduledAction { | ||||||||
|
Subroutine
BatchDeleteScheduledAction: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 33 | 0 | my $self = shift; | |||||||||
| 34 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::BatchDeleteScheduledAction', @_); | |||||||||
| 35 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 36 | } | ||||||||||
| 37 | 0 | ▶ | sub BatchPutScheduledUpdateGroupAction { | ||||||||
|
Subroutine
BatchPutScheduledUpdateGroupAction: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 38 | 0 | my $self = shift; | |||||||||
| 39 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::BatchPutScheduledUpdateGroupAction', @_); | |||||||||
| 40 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 41 | } | ||||||||||
| 42 | 0 | ▶ | sub CancelInstanceRefresh { | ||||||||
|
Subroutine
CancelInstanceRefresh: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 43 | 0 | my $self = shift; | |||||||||
| 44 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::CancelInstanceRefresh', @_); | |||||||||
| 45 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 46 | } | ||||||||||
| 47 | 0 | ▶ | sub CompleteLifecycleAction { | ||||||||
|
Subroutine
CompleteLifecycleAction: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 48 | 0 | my $self = shift; | |||||||||
| 49 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::CompleteLifecycleAction', @_); | |||||||||
| 50 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 51 | } | ||||||||||
| 52 | 1 | ▶ | sub CreateAutoScalingGroup { | ||||||||
|
Subroutine
CreateAutoScalingGroup: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 53 | 1 | my $self = shift; | |||||||||
| 54 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::CreateAutoScalingGroup', @_); | |||||||||
| 55 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 56 | } | ||||||||||
| 57 | 0 | ▶ | sub CreateLaunchConfiguration { | ||||||||
|
Subroutine
CreateLaunchConfiguration: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 58 | 0 | my $self = shift; | |||||||||
| 59 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::CreateLaunchConfiguration', @_); | |||||||||
| 60 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 61 | } | ||||||||||
| 62 | 0 | ▶ | sub CreateOrUpdateTags { | ||||||||
|
Subroutine
CreateOrUpdateTags: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 63 | 0 | my $self = shift; | |||||||||
| 64 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::CreateOrUpdateTags', @_); | |||||||||
| 65 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 66 | } | ||||||||||
| 67 | 0 | ▶ | sub DeleteAutoScalingGroup { | ||||||||
|
Subroutine
DeleteAutoScalingGroup: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 68 | 0 | my $self = shift; | |||||||||
| 69 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteAutoScalingGroup', @_); | |||||||||
| 70 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 71 | } | ||||||||||
| 72 | 0 | ▶ | sub DeleteLaunchConfiguration { | ||||||||
|
Subroutine
DeleteLaunchConfiguration: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 73 | 0 | my $self = shift; | |||||||||
| 74 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteLaunchConfiguration', @_); | |||||||||
| 75 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 76 | } | ||||||||||
| 77 | 0 | ▶ | sub DeleteLifecycleHook { | ||||||||
|
Subroutine
DeleteLifecycleHook: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 78 | 0 | my $self = shift; | |||||||||
| 79 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteLifecycleHook', @_); | |||||||||
| 80 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 81 | } | ||||||||||
| 82 | 0 | ▶ | sub DeleteNotificationConfiguration { | ||||||||
|
Subroutine
DeleteNotificationConfiguration: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 83 | 0 | my $self = shift; | |||||||||
| 84 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteNotificationConfiguration', @_); | |||||||||
| 85 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 86 | } | ||||||||||
| 87 | 0 | ▶ | sub DeletePolicy { | ||||||||
|
Subroutine
DeletePolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 88 | 0 | my $self = shift; | |||||||||
| 89 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeletePolicy', @_); | |||||||||
| 90 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 91 | } | ||||||||||
| 92 | 0 | ▶ | sub DeleteScheduledAction { | ||||||||
|
Subroutine
DeleteScheduledAction: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 93 | 0 | my $self = shift; | |||||||||
| 94 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteScheduledAction', @_); | |||||||||
| 95 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 96 | } | ||||||||||
| 97 | 0 | ▶ | sub DeleteTags { | ||||||||
|
Subroutine
DeleteTags: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 98 | 0 | my $self = shift; | |||||||||
| 99 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteTags', @_); | |||||||||
| 100 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 101 | } | ||||||||||
| 102 | 0 | ▶ | sub DeleteWarmPool { | ||||||||
|
Subroutine
DeleteWarmPool: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 103 | 0 | my $self = shift; | |||||||||
| 104 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DeleteWarmPool', @_); | |||||||||
| 105 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 106 | } | ||||||||||
| 107 | 0 | ▶ | sub DescribeAccountLimits { | ||||||||
|
Subroutine
DescribeAccountLimits: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 108 | 0 | my $self = shift; | |||||||||
| 109 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeAccountLimits', @_); | |||||||||
| 110 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 111 | } | ||||||||||
| 112 | 1 | ▶ | sub DescribeAdjustmentTypes { | ||||||||
|
Subroutine
DescribeAdjustmentTypes: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 113 | 1 | my $self = shift; | |||||||||
| 114 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeAdjustmentTypes', @_); | |||||||||
| 115 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 116 | } | ||||||||||
| 117 | 2 | ▶ | sub DescribeAutoScalingGroups { | ||||||||
|
Subroutine
DescribeAutoScalingGroups: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 118 | 2 | my $self = shift; | |||||||||
| 119 | 2 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeAutoScalingGroups', @_); | |||||||||
| 120 | 2 | return $self->caller->do_call($self, $call_object); | |||||||||
| 121 | } | ||||||||||
| 122 | 1 | ▶ | sub DescribeAutoScalingInstances { | ||||||||
|
Subroutine
DescribeAutoScalingInstances: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 123 | 1 | my $self = shift; | |||||||||
| 124 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeAutoScalingInstances', @_); | |||||||||
| 125 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 126 | } | ||||||||||
| 127 | 1 | ▶ | sub DescribeAutoScalingNotificationTypes { | ||||||||
|
Subroutine
DescribeAutoScalingNotificationTypes: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 128 | 1 | my $self = shift; | |||||||||
| 129 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeAutoScalingNotificationTypes', @_); | |||||||||
| 130 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 131 | } | ||||||||||
| 132 | 0 | ▶ | sub DescribeInstanceRefreshes { | ||||||||
|
Subroutine
DescribeInstanceRefreshes: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 133 | 0 | my $self = shift; | |||||||||
| 134 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeInstanceRefreshes', @_); | |||||||||
| 135 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 136 | } | ||||||||||
| 137 | 1 | ▶ | sub DescribeLaunchConfigurations { | ||||||||
|
Subroutine
DescribeLaunchConfigurations: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 138 | 1 | my $self = shift; | |||||||||
| 139 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeLaunchConfigurations', @_); | |||||||||
| 140 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 141 | } | ||||||||||
| 142 | 0 | ▶ | sub DescribeLifecycleHooks { | ||||||||
|
Subroutine
DescribeLifecycleHooks: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 143 | 0 | my $self = shift; | |||||||||
| 144 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeLifecycleHooks', @_); | |||||||||
| 145 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 146 | } | ||||||||||
| 147 | 0 | ▶ | sub DescribeLifecycleHookTypes { | ||||||||
|
Subroutine
DescribeLifecycleHookTypes: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 148 | 0 | my $self = shift; | |||||||||
| 149 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeLifecycleHookTypes', @_); | |||||||||
| 150 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 151 | } | ||||||||||
| 152 | 0 | ▶ | sub DescribeLoadBalancers { | ||||||||
|
Subroutine
DescribeLoadBalancers: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 153 | 0 | my $self = shift; | |||||||||
| 154 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeLoadBalancers', @_); | |||||||||
| 155 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 156 | } | ||||||||||
| 157 | 0 | ▶ | sub DescribeLoadBalancerTargetGroups { | ||||||||
|
Subroutine
DescribeLoadBalancerTargetGroups: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 158 | 0 | my $self = shift; | |||||||||
| 159 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeLoadBalancerTargetGroups', @_); | |||||||||
| 160 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 161 | } | ||||||||||
| 162 | 1 | ▶ | sub DescribeMetricCollectionTypes { | ||||||||
|
Subroutine
DescribeMetricCollectionTypes: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 163 | 1 | my $self = shift; | |||||||||
| 164 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeMetricCollectionTypes', @_); | |||||||||
| 165 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 166 | } | ||||||||||
| 167 | 1 | ▶ | sub DescribeNotificationConfigurations { | ||||||||
|
Subroutine
DescribeNotificationConfigurations: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 168 | 1 | my $self = shift; | |||||||||
| 169 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeNotificationConfigurations', @_); | |||||||||
| 170 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 171 | } | ||||||||||
| 172 | 1 | ▶ | sub DescribePolicies { | ||||||||
|
Subroutine
DescribePolicies: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 173 | 1 | my $self = shift; | |||||||||
| 174 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribePolicies', @_); | |||||||||
| 175 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 176 | } | ||||||||||
| 177 | 2 | ▶ | sub DescribeScalingActivities { | ||||||||
|
Subroutine
DescribeScalingActivities: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 178 | 2 | my $self = shift; | |||||||||
| 179 | 2 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeScalingActivities', @_); | |||||||||
| 180 | 2 | return $self->caller->do_call($self, $call_object); | |||||||||
| 181 | } | ||||||||||
| 182 | 1 | ▶ | sub DescribeScalingProcessTypes { | ||||||||
|
Subroutine
DescribeScalingProcessTypes: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 183 | 1 | my $self = shift; | |||||||||
| 184 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeScalingProcessTypes', @_); | |||||||||
| 185 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 186 | } | ||||||||||
| 187 | 1 | ▶ | sub DescribeScheduledActions { | ||||||||
|
Subroutine
DescribeScheduledActions: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 188 | 1 | my $self = shift; | |||||||||
| 189 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeScheduledActions', @_); | |||||||||
| 190 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 191 | } | ||||||||||
| 192 | 1 | ▶ | sub DescribeTags { | ||||||||
|
Subroutine
DescribeTags: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 193 | 1 | my $self = shift; | |||||||||
| 194 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeTags', @_); | |||||||||
| 195 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 196 | } | ||||||||||
| 197 | 1 | ▶ | sub DescribeTerminationPolicyTypes { | ||||||||
|
Subroutine
DescribeTerminationPolicyTypes: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 198 | 1 | my $self = shift; | |||||||||
| 199 | 1 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeTerminationPolicyTypes', @_); | |||||||||
| 200 | 1 | return $self->caller->do_call($self, $call_object); | |||||||||
| 201 | } | ||||||||||
| 202 | 0 | ▶ | sub DescribeWarmPool { | ||||||||
|
Subroutine
DescribeWarmPool: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 203 | 0 | my $self = shift; | |||||||||
| 204 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DescribeWarmPool', @_); | |||||||||
| 205 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 206 | } | ||||||||||
| 207 | 0 | ▶ | sub DetachInstances { | ||||||||
|
Subroutine
DetachInstances: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 208 | 0 | my $self = shift; | |||||||||
| 209 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DetachInstances', @_); | |||||||||
| 210 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 211 | } | ||||||||||
| 212 | 0 | ▶ | sub DetachLoadBalancers { | ||||||||
|
Subroutine
DetachLoadBalancers: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 213 | 0 | my $self = shift; | |||||||||
| 214 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DetachLoadBalancers', @_); | |||||||||
| 215 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 216 | } | ||||||||||
| 217 | 0 | ▶ | sub DetachLoadBalancerTargetGroups { | ||||||||
|
Subroutine
DetachLoadBalancerTargetGroups: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 218 | 0 | my $self = shift; | |||||||||
| 219 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DetachLoadBalancerTargetGroups', @_); | |||||||||
| 220 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 221 | } | ||||||||||
| 222 | 0 | ▶ | sub DisableMetricsCollection { | ||||||||
|
Subroutine
DisableMetricsCollection: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 223 | 0 | my $self = shift; | |||||||||
| 224 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::DisableMetricsCollection', @_); | |||||||||
| 225 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 226 | } | ||||||||||
| 227 | 0 | ▶ | sub EnableMetricsCollection { | ||||||||
|
Subroutine
EnableMetricsCollection: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 228 | 0 | my $self = shift; | |||||||||
| 229 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::EnableMetricsCollection', @_); | |||||||||
| 230 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 231 | } | ||||||||||
| 232 | 0 | ▶ | sub EnterStandby { | ||||||||
|
Subroutine
EnterStandby: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 233 | 0 | my $self = shift; | |||||||||
| 234 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::EnterStandby', @_); | |||||||||
| 235 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 236 | } | ||||||||||
| 237 | 0 | ▶ | sub ExecutePolicy { | ||||||||
|
Subroutine
ExecutePolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 238 | 0 | my $self = shift; | |||||||||
| 239 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::ExecutePolicy', @_); | |||||||||
| 240 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 241 | } | ||||||||||
| 242 | 0 | ▶ | sub ExitStandby { | ||||||||
|
Subroutine
ExitStandby: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 243 | 0 | my $self = shift; | |||||||||
| 244 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::ExitStandby', @_); | |||||||||
| 245 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 246 | } | ||||||||||
| 247 | 0 | ▶ | sub GetPredictiveScalingForecast { | ||||||||
|
Subroutine
GetPredictiveScalingForecast: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 248 | 0 | my $self = shift; | |||||||||
| 249 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::GetPredictiveScalingForecast', @_); | |||||||||
| 250 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 251 | } | ||||||||||
| 252 | 0 | ▶ | sub PutLifecycleHook { | ||||||||
|
Subroutine
PutLifecycleHook: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 253 | 0 | my $self = shift; | |||||||||
| 254 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::PutLifecycleHook', @_); | |||||||||
| 255 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 256 | } | ||||||||||
| 257 | 0 | ▶ | sub PutNotificationConfiguration { | ||||||||
|
Subroutine
PutNotificationConfiguration: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 258 | 0 | my $self = shift; | |||||||||
| 259 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::PutNotificationConfiguration', @_); | |||||||||
| 260 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 261 | } | ||||||||||
| 262 | 0 | ▶ | sub PutScalingPolicy { | ||||||||
|
Subroutine
PutScalingPolicy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 263 | 0 | my $self = shift; | |||||||||
| 264 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::PutScalingPolicy', @_); | |||||||||
| 265 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 266 | } | ||||||||||
| 267 | 0 | ▶ | sub PutScheduledUpdateGroupAction { | ||||||||
|
Subroutine
PutScheduledUpdateGroupAction: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 268 | 0 | my $self = shift; | |||||||||
| 269 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::PutScheduledUpdateGroupAction', @_); | |||||||||
| 270 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 271 | } | ||||||||||
| 272 | 0 | ▶ | sub PutWarmPool { | ||||||||
|
Subroutine
PutWarmPool: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 273 | 0 | my $self = shift; | |||||||||
| 274 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::PutWarmPool', @_); | |||||||||
| 275 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 276 | } | ||||||||||
| 277 | 0 | ▶ | sub RecordLifecycleActionHeartbeat { | ||||||||
|
Subroutine
RecordLifecycleActionHeartbeat: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 278 | 0 | my $self = shift; | |||||||||
| 279 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::RecordLifecycleActionHeartbeat', @_); | |||||||||
| 280 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 281 | } | ||||||||||
| 282 | 0 | ▶ | sub ResumeProcesses { | ||||||||
|
Subroutine
ResumeProcesses: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 283 | 0 | my $self = shift; | |||||||||
| 284 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::ResumeProcesses', @_); | |||||||||
| 285 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 286 | } | ||||||||||
| 287 | 0 | ▶ | sub SetDesiredCapacity { | ||||||||
|
Subroutine
SetDesiredCapacity: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 288 | 0 | my $self = shift; | |||||||||
| 289 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::SetDesiredCapacity', @_); | |||||||||
| 290 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 291 | } | ||||||||||
| 292 | 0 | ▶ | sub SetInstanceHealth { | ||||||||
|
Subroutine
SetInstanceHealth: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 293 | 0 | my $self = shift; | |||||||||
| 294 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::SetInstanceHealth', @_); | |||||||||
| 295 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 296 | } | ||||||||||
| 297 | 0 | ▶ | sub SetInstanceProtection { | ||||||||
|
Subroutine
SetInstanceProtection: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 298 | 0 | my $self = shift; | |||||||||
| 299 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::SetInstanceProtection', @_); | |||||||||
| 300 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 301 | } | ||||||||||
| 302 | 0 | ▶ | sub StartInstanceRefresh { | ||||||||
|
Subroutine
StartInstanceRefresh: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 303 | 0 | my $self = shift; | |||||||||
| 304 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::StartInstanceRefresh', @_); | |||||||||
| 305 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 306 | } | ||||||||||
| 307 | 0 | ▶ | sub SuspendProcesses { | ||||||||
|
Subroutine
SuspendProcesses: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 308 | 0 | my $self = shift; | |||||||||
| 309 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::SuspendProcesses', @_); | |||||||||
| 310 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 311 | } | ||||||||||
| 312 | 0 | ▶ | sub TerminateInstanceInAutoScalingGroup { | ||||||||
|
Subroutine
TerminateInstanceInAutoScalingGroup: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 313 | 0 | my $self = shift; | |||||||||
| 314 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::TerminateInstanceInAutoScalingGroup', @_); | |||||||||
| 315 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 316 | } | ||||||||||
| 317 | 0 | ▶ | sub UpdateAutoScalingGroup { | ||||||||
|
Subroutine
UpdateAutoScalingGroup: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 318 | 0 | my $self = shift; | |||||||||
| 319 | 0 | my $call_object = $self->new_with_coercions('Paws::AutoScaling::UpdateAutoScalingGroup', @_); | |||||||||
| 320 | 0 | return $self->caller->do_call($self, $call_object); | |||||||||
| 321 | } | ||||||||||
| 322 | |||||||||||
| 323 | 0 | ▶ | sub DescribeAllAutoScalingGroups { | ||||||||
|
Subroutine
DescribeAllAutoScalingGroups: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 324 | 0 | my $self = shift; | |||||||||
| 325 | |||||||||||
| 326 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 327 | 0 | my $result = $self->DescribeAutoScalingGroups(@_); | |||||||||
| 328 | 0 | my $next_result = $result; | |||||||||
| 329 | |||||||||||
| 330 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 331 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 332 | 0 | $next_result = $self->DescribeAutoScalingGroups(@_, NextToken => $next_result->NextToken); | |||||||||
| 333 | 0 | push @{ $result->AutoScalingGroups }, @{ $next_result->AutoScalingGroups }; | |||||||||
| 334 | } | ||||||||||
| 335 | 0 | return $result; | |||||||||
| 336 | } else { | ||||||||||
| 337 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 338 | 0 | $callback->($_ => 'AutoScalingGroups') foreach (@{ $result->AutoScalingGroups }); | |||||||||
| 339 | 0 | $result = $self->DescribeAutoScalingGroups(@_, NextToken => $result->NextToken); | |||||||||
| 340 | } | ||||||||||
| 341 | 0 | $callback->($_ => 'AutoScalingGroups') foreach (@{ $result->AutoScalingGroups }); | |||||||||
| 342 | } | ||||||||||
| 343 | |||||||||||
| 344 | return undef | ||||||||||
| 345 | 0 | } | |||||||||
| 346 | 0 | ▶ | sub DescribeAllAutoScalingInstances { | ||||||||
|
Subroutine
DescribeAllAutoScalingInstances: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 347 | 0 | my $self = shift; | |||||||||
| 348 | |||||||||||
| 349 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 350 | 0 | my $result = $self->DescribeAutoScalingInstances(@_); | |||||||||
| 351 | 0 | my $next_result = $result; | |||||||||
| 352 | |||||||||||
| 353 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 354 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 355 | 0 | $next_result = $self->DescribeAutoScalingInstances(@_, NextToken => $next_result->NextToken); | |||||||||
| 356 | 0 | push @{ $result->AutoScalingInstances }, @{ $next_result->AutoScalingInstances }; | |||||||||
| 357 | } | ||||||||||
| 358 | 0 | return $result; | |||||||||
| 359 | } else { | ||||||||||
| 360 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 361 | 0 | $callback->($_ => 'AutoScalingInstances') foreach (@{ $result->AutoScalingInstances }); | |||||||||
| 362 | 0 | $result = $self->DescribeAutoScalingInstances(@_, NextToken => $result->NextToken); | |||||||||
| 363 | } | ||||||||||
| 364 | 0 | $callback->($_ => 'AutoScalingInstances') foreach (@{ $result->AutoScalingInstances }); | |||||||||
| 365 | } | ||||||||||
| 366 | |||||||||||
| 367 | return undef | ||||||||||
| 368 | 0 | } | |||||||||
| 369 | 0 | ▶ | sub DescribeAllLaunchConfigurations { | ||||||||
|
Subroutine
DescribeAllLaunchConfigurations: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 370 | 0 | my $self = shift; | |||||||||
| 371 | |||||||||||
| 372 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 373 | 0 | my $result = $self->DescribeLaunchConfigurations(@_); | |||||||||
| 374 | 0 | my $next_result = $result; | |||||||||
| 375 | |||||||||||
| 376 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 377 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 378 | 0 | $next_result = $self->DescribeLaunchConfigurations(@_, NextToken => $next_result->NextToken); | |||||||||
| 379 | 0 | push @{ $result->LaunchConfigurations }, @{ $next_result->LaunchConfigurations }; | |||||||||
| 380 | } | ||||||||||
| 381 | 0 | return $result; | |||||||||
| 382 | } else { | ||||||||||
| 383 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 384 | 0 | $callback->($_ => 'LaunchConfigurations') foreach (@{ $result->LaunchConfigurations }); | |||||||||
| 385 | 0 | $result = $self->DescribeLaunchConfigurations(@_, NextToken => $result->NextToken); | |||||||||
| 386 | } | ||||||||||
| 387 | 0 | $callback->($_ => 'LaunchConfigurations') foreach (@{ $result->LaunchConfigurations }); | |||||||||
| 388 | } | ||||||||||
| 389 | |||||||||||
| 390 | return undef | ||||||||||
| 391 | 0 | } | |||||||||
| 392 | 0 | ▶ | sub DescribeAllLoadBalancers { | ||||||||
|
Subroutine
DescribeAllLoadBalancers: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 393 | 0 | my $self = shift; | |||||||||
| 394 | |||||||||||
| 395 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 396 | 0 | my $result = $self->DescribeLoadBalancers(@_); | |||||||||
| 397 | 0 | my $next_result = $result; | |||||||||
| 398 | |||||||||||
| 399 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 400 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 401 | 0 | $next_result = $self->DescribeLoadBalancers(@_, NextToken => $next_result->NextToken); | |||||||||
| 402 | 0 | push @{ $result->LoadBalancers }, @{ $next_result->LoadBalancers }; | |||||||||
| 403 | } | ||||||||||
| 404 | 0 | return $result; | |||||||||
| 405 | } else { | ||||||||||
| 406 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 407 | 0 | $callback->($_ => 'LoadBalancers') foreach (@{ $result->LoadBalancers }); | |||||||||
| 408 | 0 | $result = $self->DescribeLoadBalancers(@_, NextToken => $result->NextToken); | |||||||||
| 409 | } | ||||||||||
| 410 | 0 | $callback->($_ => 'LoadBalancers') foreach (@{ $result->LoadBalancers }); | |||||||||
| 411 | } | ||||||||||
| 412 | |||||||||||
| 413 | return undef | ||||||||||
| 414 | 0 | } | |||||||||
| 415 | 0 | ▶ | sub DescribeAllLoadBalancerTargetGroups { | ||||||||
|
Subroutine
DescribeAllLoadBalancerTargetGroups: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 416 | 0 | my $self = shift; | |||||||||
| 417 | |||||||||||
| 418 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 419 | 0 | my $result = $self->DescribeLoadBalancerTargetGroups(@_); | |||||||||
| 420 | 0 | my $next_result = $result; | |||||||||
| 421 | |||||||||||
| 422 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 423 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 424 | 0 | $next_result = $self->DescribeLoadBalancerTargetGroups(@_, NextToken => $next_result->NextToken); | |||||||||
| 425 | 0 | push @{ $result->LoadBalancerTargetGroups }, @{ $next_result->LoadBalancerTargetGroups }; | |||||||||
| 426 | } | ||||||||||
| 427 | 0 | return $result; | |||||||||
| 428 | } else { | ||||||||||
| 429 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 430 | 0 | $callback->($_ => 'LoadBalancerTargetGroups') foreach (@{ $result->LoadBalancerTargetGroups }); | |||||||||
| 431 | 0 | $result = $self->DescribeLoadBalancerTargetGroups(@_, NextToken => $result->NextToken); | |||||||||
| 432 | } | ||||||||||
| 433 | 0 | $callback->($_ => 'LoadBalancerTargetGroups') foreach (@{ $result->LoadBalancerTargetGroups }); | |||||||||
| 434 | } | ||||||||||
| 435 | |||||||||||
| 436 | return undef | ||||||||||
| 437 | 0 | } | |||||||||
| 438 | 0 | ▶ | sub DescribeAllNotificationConfigurations { | ||||||||
|
Subroutine
DescribeAllNotificationConfigurations: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 439 | 0 | my $self = shift; | |||||||||
| 440 | |||||||||||
| 441 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 442 | 0 | my $result = $self->DescribeNotificationConfigurations(@_); | |||||||||
| 443 | 0 | my $next_result = $result; | |||||||||
| 444 | |||||||||||
| 445 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 446 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 447 | 0 | $next_result = $self->DescribeNotificationConfigurations(@_, NextToken => $next_result->NextToken); | |||||||||
| 448 | 0 | push @{ $result->NotificationConfigurations }, @{ $next_result->NotificationConfigurations }; | |||||||||
| 449 | } | ||||||||||
| 450 | 0 | return $result; | |||||||||
| 451 | } else { | ||||||||||
| 452 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 453 | 0 | $callback->($_ => 'NotificationConfigurations') foreach (@{ $result->NotificationConfigurations }); | |||||||||
| 454 | 0 | $result = $self->DescribeNotificationConfigurations(@_, NextToken => $result->NextToken); | |||||||||
| 455 | } | ||||||||||
| 456 | 0 | $callback->($_ => 'NotificationConfigurations') foreach (@{ $result->NotificationConfigurations }); | |||||||||
| 457 | } | ||||||||||
| 458 | |||||||||||
| 459 | return undef | ||||||||||
| 460 | 0 | } | |||||||||
| 461 | 0 | ▶ | sub DescribeAllPolicies { | ||||||||
|
Subroutine
DescribeAllPolicies: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 462 | 0 | my $self = shift; | |||||||||
| 463 | |||||||||||
| 464 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 465 | 0 | my $result = $self->DescribePolicies(@_); | |||||||||
| 466 | 0 | my $next_result = $result; | |||||||||
| 467 | |||||||||||
| 468 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 469 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 470 | 0 | $next_result = $self->DescribePolicies(@_, NextToken => $next_result->NextToken); | |||||||||
| 471 | 0 | push @{ $result->ScalingPolicies }, @{ $next_result->ScalingPolicies }; | |||||||||
| 472 | } | ||||||||||
| 473 | 0 | return $result; | |||||||||
| 474 | } else { | ||||||||||
| 475 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 476 | 0 | $callback->($_ => 'ScalingPolicies') foreach (@{ $result->ScalingPolicies }); | |||||||||
| 477 | 0 | $result = $self->DescribePolicies(@_, NextToken => $result->NextToken); | |||||||||
| 478 | } | ||||||||||
| 479 | 0 | $callback->($_ => 'ScalingPolicies') foreach (@{ $result->ScalingPolicies }); | |||||||||
| 480 | } | ||||||||||
| 481 | |||||||||||
| 482 | return undef | ||||||||||
| 483 | 0 | } | |||||||||
| 484 | 0 | ▶ | sub DescribeAllScalingActivities { | ||||||||
|
Subroutine
DescribeAllScalingActivities: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 485 | 0 | my $self = shift; | |||||||||
| 486 | |||||||||||
| 487 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 488 | 0 | my $result = $self->DescribeScalingActivities(@_); | |||||||||
| 489 | 0 | my $next_result = $result; | |||||||||
| 490 | |||||||||||
| 491 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 492 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 493 | 0 | $next_result = $self->DescribeScalingActivities(@_, NextToken => $next_result->NextToken); | |||||||||
| 494 | 0 | push @{ $result->Activities }, @{ $next_result->Activities }; | |||||||||
| 495 | } | ||||||||||
| 496 | 0 | return $result; | |||||||||
| 497 | } else { | ||||||||||
| 498 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 499 | 0 | $callback->($_ => 'Activities') foreach (@{ $result->Activities }); | |||||||||
| 500 | 0 | $result = $self->DescribeScalingActivities(@_, NextToken => $result->NextToken); | |||||||||
| 501 | } | ||||||||||
| 502 | 0 | $callback->($_ => 'Activities') foreach (@{ $result->Activities }); | |||||||||
| 503 | } | ||||||||||
| 504 | |||||||||||
| 505 | return undef | ||||||||||
| 506 | 0 | } | |||||||||
| 507 | 0 | ▶ | sub DescribeAllScheduledActions { | ||||||||
|
Subroutine
DescribeAllScheduledActions: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 508 | 0 | my $self = shift; | |||||||||
| 509 | |||||||||||
| 510 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 511 | 0 | my $result = $self->DescribeScheduledActions(@_); | |||||||||
| 512 | 0 | my $next_result = $result; | |||||||||
| 513 | |||||||||||
| 514 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 515 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 516 | 0 | $next_result = $self->DescribeScheduledActions(@_, NextToken => $next_result->NextToken); | |||||||||
| 517 | 0 | push @{ $result->ScheduledUpdateGroupActions }, @{ $next_result->ScheduledUpdateGroupActions }; | |||||||||
| 518 | } | ||||||||||
| 519 | 0 | return $result; | |||||||||
| 520 | } else { | ||||||||||
| 521 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 522 | 0 | $callback->($_ => 'ScheduledUpdateGroupActions') foreach (@{ $result->ScheduledUpdateGroupActions }); | |||||||||
| 523 | 0 | $result = $self->DescribeScheduledActions(@_, NextToken => $result->NextToken); | |||||||||
| 524 | } | ||||||||||
| 525 | 0 | $callback->($_ => 'ScheduledUpdateGroupActions') foreach (@{ $result->ScheduledUpdateGroupActions }); | |||||||||
| 526 | } | ||||||||||
| 527 | |||||||||||
| 528 | return undef | ||||||||||
| 529 | 0 | } | |||||||||
| 530 | 0 | ▶ | sub DescribeAllTags { | ||||||||
|
Subroutine
DescribeAllTags: not called CC=7 SCAR=40.3
Pod
documented
| |||||||||||
| 531 | 0 | my $self = shift; | |||||||||
| 532 | |||||||||||
| 533 | 0 | ▶ | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 534 | 0 | my $result = $self->DescribeTags(@_); | |||||||||
| 535 | 0 | my $next_result = $result; | |||||||||
| 536 | |||||||||||
| 537 | 0 | ▶ | if (not defined $callback) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 538 | 0 | ▶ | while ($next_result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 539 | 0 | $next_result = $self->DescribeTags(@_, NextToken => $next_result->NextToken); | |||||||||
| 540 | 0 | push @{ $result->Tags }, @{ $next_result->Tags }; | |||||||||
| 541 | } | ||||||||||
| 542 | 0 | return $result; | |||||||||
| 543 | } else { | ||||||||||
| 544 | 0 | ▶ | while ($result->NextToken) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 545 | 0 | $callback->($_ => 'Tags') foreach (@{ $result->Tags }); | |||||||||
| 546 | 0 | $result = $self->DescribeTags(@_, NextToken => $result->NextToken); | |||||||||
| 547 | } | ||||||||||
| 548 | 0 | $callback->($_ => 'Tags') foreach (@{ $result->Tags }); | |||||||||
| 549 | } | ||||||||||
| 550 | |||||||||||
| 551 | return undef | ||||||||||
| 552 | 0 | } | |||||||||
| 553 | |||||||||||
| 554 | |||||||||||
| 555 | 0 | ▶ | sub operations { qw/AttachInstances AttachLoadBalancers AttachLoadBalancerTargetGroups BatchDeleteScheduledAction BatchPutScheduledUpdateGroupAction CancelInstanceRefresh CompleteLifecycleAction CreateAutoScalingGroup CreateLaunchConfiguration CreateOrUpdateTags DeleteAutoScalingGroup DeleteLaunchConfiguration DeleteLifecycleHook DeleteNotificationConfiguration DeletePolicy DeleteScheduledAction DeleteTags DeleteWarmPool DescribeAccountLimits DescribeAdjustmentTypes DescribeAutoScalingGroups DescribeAutoScalingInstances DescribeAutoScalingNotificationTypes DescribeInstanceRefreshes DescribeLaunchConfigurations DescribeLifecycleHooks DescribeLifecycleHookTypes DescribeLoadBalancers DescribeLoadBalancerTargetGroups DescribeMetricCollectionTypes DescribeNotificationConfigurations DescribePolicies DescribeScalingActivities DescribeScalingProcessTypes DescribeScheduledActions DescribeTags DescribeTerminationPolicyTypes DescribeWarmPool DetachInstances DetachLoadBalancers DetachLoadBalancerTargetGroups DisableMetricsCollection EnableMetricsCollection EnterStandby ExecutePolicy ExitStandby GetPredictiveScalingForecast PutLifecycleHook PutNotificationConfiguration PutScalingPolicy PutScheduledUpdateGroupAction PutWarmPool RecordLifecycleActionHeartbeat ResumeProcesses SetDesiredCapacity SetInstanceHealth SetInstanceProtection StartInstanceRefresh SuspendProcesses TerminateInstanceInAutoScalingGroup UpdateAutoScalingGroup / } | ||||||||
|
Subroutine
operations: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 556 | |||||||||||
| 557 | 4 | 1; | |||||||||
| 558 | |||||||||||
| 559 | ### main pod documentation begin ### | ||||||||||
| 560 | |||||||||||
| 561 | =head1 NAME | ||||||||||
| 562 | |||||||||||
| 563 | Paws::AutoScaling - Perl Interface to AWS Auto Scaling | ||||||||||
| 564 | |||||||||||
| 565 | =head1 SYNOPSIS | ||||||||||
| 566 | |||||||||||
| 567 | use Paws; | ||||||||||
| 568 | |||||||||||
| 569 | my $obj = Paws->service('AutoScaling'); | ||||||||||
| 570 | my $res = $obj->Method( | ||||||||||
| 571 | Arg1 => $val1, | ||||||||||
| 572 | Arg2 => [ 'V1', 'V2' ], | ||||||||||
| 573 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||||||||||
| 574 | # of the arguments type | ||||||||||
| 575 | Arg3 => { Att1 => 'Val1' }, | ||||||||||
| 576 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||||||||||
| 577 | # the constructor of the arguments type | ||||||||||
| 578 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||||||||||
| 579 | ); | ||||||||||
| 580 | |||||||||||
| 581 | =head1 DESCRIPTION | ||||||||||
| 582 | |||||||||||
| 583 | Amazon EC2 Auto Scaling | ||||||||||
| 584 | |||||||||||
| 585 | Amazon EC2 Auto Scaling is designed to automatically launch or | ||||||||||
| 586 | terminate EC2 instances based on user-defined scaling policies, | ||||||||||
| 587 | scheduled actions, and health checks. | ||||||||||
| 588 | |||||||||||
| 589 | For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 | ||||||||||
| 590 | Auto Scaling User Guide | ||||||||||
| 591 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html). | ||||||||||
| 592 | For information about granting IAM users required permissions for calls | ||||||||||
| 593 | to Amazon EC2 Auto Scaling, see Granting IAM users required permissions | ||||||||||
| 594 | for Amazon EC2 Auto Scaling resources | ||||||||||
| 595 | (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/ec2-auto-scaling-api-permissions.html) | ||||||||||
| 596 | in the I<Amazon EC2 Auto Scaling API Reference>. | ||||||||||
| 597 | |||||||||||
| 598 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01> | ||||||||||
| 599 | |||||||||||
| 600 | |||||||||||
| 601 | =head1 METHODS | ||||||||||
| 602 | |||||||||||
| 603 | =head2 AttachInstances | ||||||||||
| 604 | |||||||||||
| 605 | =over | ||||||||||
| 606 | |||||||||||
| 607 | =item AutoScalingGroupName => Str | ||||||||||
| 608 | |||||||||||
| 609 | =item [InstanceIds => ArrayRef[Str|Undef]] | ||||||||||
| 610 | |||||||||||
| 611 | |||||||||||
| 612 | =back | ||||||||||
| 613 | |||||||||||
| 614 | Each argument is described in detail in: L<Paws::AutoScaling::AttachInstances> | ||||||||||
| 615 | |||||||||||
| 616 | Returns: nothing | ||||||||||
| 617 | |||||||||||
| 618 | Attaches one or more EC2 instances to the specified Auto Scaling group. | ||||||||||
| 619 | |||||||||||
| 620 | When you attach instances, Amazon EC2 Auto Scaling increases the | ||||||||||
| 621 | desired capacity of the group by the number of instances being | ||||||||||
| 622 | attached. If the number of instances being attached plus the desired | ||||||||||
| 623 | capacity of the group exceeds the maximum size of the group, the | ||||||||||
| 624 | operation fails. | ||||||||||
| 625 | |||||||||||
| 626 | If there is a Classic Load Balancer attached to your Auto Scaling | ||||||||||
| 627 | group, the instances are also registered with the load balancer. If | ||||||||||
| 628 | there are target groups attached to your Auto Scaling group, the | ||||||||||
| 629 | instances are also registered with the target groups. | ||||||||||
| 630 | |||||||||||
| 631 | For more information, see Attach EC2 instances to your Auto Scaling | ||||||||||
| 632 | group | ||||||||||
| 633 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html) | ||||||||||
| 634 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 635 | |||||||||||
| 636 | |||||||||||
| 637 | =head2 AttachLoadBalancers | ||||||||||
| 638 | |||||||||||
| 639 | =over | ||||||||||
| 640 | |||||||||||
| 641 | =item AutoScalingGroupName => Str | ||||||||||
| 642 | |||||||||||
| 643 | =item LoadBalancerNames => ArrayRef[Str|Undef] | ||||||||||
| 644 | |||||||||||
| 645 | |||||||||||
| 646 | =back | ||||||||||
| 647 | |||||||||||
| 648 | Each argument is described in detail in: L<Paws::AutoScaling::AttachLoadBalancers> | ||||||||||
| 649 | |||||||||||
| 650 | Returns: a L<Paws::AutoScaling::AttachLoadBalancersResultType> instance | ||||||||||
| 651 | |||||||||||
| 652 | To attach an Application Load Balancer, Network Load Balancer, or | ||||||||||
| 653 | Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API | ||||||||||
| 654 | operation instead. | ||||||||||
| 655 | |||||||||||
| 656 | Attaches one or more Classic Load Balancers to the specified Auto | ||||||||||
| 657 | Scaling group. Amazon EC2 Auto Scaling registers the running instances | ||||||||||
| 658 | with these Classic Load Balancers. | ||||||||||
| 659 | |||||||||||
| 660 | To describe the load balancers for an Auto Scaling group, call the | ||||||||||
| 661 | DescribeLoadBalancers API. To detach the load balancer from the Auto | ||||||||||
| 662 | Scaling group, call the DetachLoadBalancers API. | ||||||||||
| 663 | |||||||||||
| 664 | For more information, see Elastic Load Balancing and Amazon EC2 Auto | ||||||||||
| 665 | Scaling | ||||||||||
| 666 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) | ||||||||||
| 667 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 668 | |||||||||||
| 669 | |||||||||||
| 670 | =head2 AttachLoadBalancerTargetGroups | ||||||||||
| 671 | |||||||||||
| 672 | =over | ||||||||||
| 673 | |||||||||||
| 674 | =item AutoScalingGroupName => Str | ||||||||||
| 675 | |||||||||||
| 676 | =item TargetGroupARNs => ArrayRef[Str|Undef] | ||||||||||
| 677 | |||||||||||
| 678 | |||||||||||
| 679 | =back | ||||||||||
| 680 | |||||||||||
| 681 | Each argument is described in detail in: L<Paws::AutoScaling::AttachLoadBalancerTargetGroups> | ||||||||||
| 682 | |||||||||||
| 683 | Returns: a L<Paws::AutoScaling::AttachLoadBalancerTargetGroupsResultType> instance | ||||||||||
| 684 | |||||||||||
| 685 | Attaches one or more target groups to the specified Auto Scaling group. | ||||||||||
| 686 | |||||||||||
| 687 | This operation is used with the following load balancer types: | ||||||||||
| 688 | |||||||||||
| 689 | =over | ||||||||||
| 690 | |||||||||||
| 691 | =item * | ||||||||||
| 692 | |||||||||||
| 693 | Application Load Balancer - Operates at the application layer (layer 7) | ||||||||||
| 694 | and supports HTTP and HTTPS. | ||||||||||
| 695 | |||||||||||
| 696 | =item * | ||||||||||
| 697 | |||||||||||
| 698 | Network Load Balancer - Operates at the transport layer (layer 4) and | ||||||||||
| 699 | supports TCP, TLS, and UDP. | ||||||||||
| 700 | |||||||||||
| 701 | =item * | ||||||||||
| 702 | |||||||||||
| 703 | Gateway Load Balancer - Operates at the network layer (layer 3). | ||||||||||
| 704 | |||||||||||
| 705 | =back | ||||||||||
| 706 | |||||||||||
| 707 | To describe the target groups for an Auto Scaling group, call the | ||||||||||
| 708 | DescribeLoadBalancerTargetGroups API. To detach the target group from | ||||||||||
| 709 | the Auto Scaling group, call the DetachLoadBalancerTargetGroups API. | ||||||||||
| 710 | |||||||||||
| 711 | For more information, see Elastic Load Balancing and Amazon EC2 Auto | ||||||||||
| 712 | Scaling | ||||||||||
| 713 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) | ||||||||||
| 714 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 715 | |||||||||||
| 716 | |||||||||||
| 717 | =head2 BatchDeleteScheduledAction | ||||||||||
| 718 | |||||||||||
| 719 | =over | ||||||||||
| 720 | |||||||||||
| 721 | =item AutoScalingGroupName => Str | ||||||||||
| 722 | |||||||||||
| 723 | =item ScheduledActionNames => ArrayRef[Str|Undef] | ||||||||||
| 724 | |||||||||||
| 725 | |||||||||||
| 726 | =back | ||||||||||
| 727 | |||||||||||
| 728 | Each argument is described in detail in: L<Paws::AutoScaling::BatchDeleteScheduledAction> | ||||||||||
| 729 | |||||||||||
| 730 | Returns: a L<Paws::AutoScaling::BatchDeleteScheduledActionAnswer> instance | ||||||||||
| 731 | |||||||||||
| 732 | Deletes one or more scheduled actions for the specified Auto Scaling | ||||||||||
| 733 | group. | ||||||||||
| 734 | |||||||||||
| 735 | |||||||||||
| 736 | =head2 BatchPutScheduledUpdateGroupAction | ||||||||||
| 737 | |||||||||||
| 738 | =over | ||||||||||
| 739 | |||||||||||
| 740 | =item AutoScalingGroupName => Str | ||||||||||
| 741 | |||||||||||
| 742 | =item ScheduledUpdateGroupActions => ArrayRef[L<Paws::AutoScaling::ScheduledUpdateGroupActionRequest>] | ||||||||||
| 743 | |||||||||||
| 744 | |||||||||||
| 745 | =back | ||||||||||
| 746 | |||||||||||
| 747 | Each argument is described in detail in: L<Paws::AutoScaling::BatchPutScheduledUpdateGroupAction> | ||||||||||
| 748 | |||||||||||
| 749 | Returns: a L<Paws::AutoScaling::BatchPutScheduledUpdateGroupActionAnswer> instance | ||||||||||
| 750 | |||||||||||
| 751 | Creates or updates one or more scheduled scaling actions for an Auto | ||||||||||
| 752 | Scaling group. | ||||||||||
| 753 | |||||||||||
| 754 | |||||||||||
| 755 | =head2 CancelInstanceRefresh | ||||||||||
| 756 | |||||||||||
| 757 | =over | ||||||||||
| 758 | |||||||||||
| 759 | =item AutoScalingGroupName => Str | ||||||||||
| 760 | |||||||||||
| 761 | |||||||||||
| 762 | =back | ||||||||||
| 763 | |||||||||||
| 764 | Each argument is described in detail in: L<Paws::AutoScaling::CancelInstanceRefresh> | ||||||||||
| 765 | |||||||||||
| 766 | Returns: a L<Paws::AutoScaling::CancelInstanceRefreshAnswer> instance | ||||||||||
| 767 | |||||||||||
| 768 | Cancels an instance refresh operation in progress. Cancellation does | ||||||||||
| 769 | not roll back any replacements that have already been completed, but it | ||||||||||
| 770 | prevents new replacements from being started. | ||||||||||
| 771 | |||||||||||
| 772 | This operation is part of the instance refresh feature | ||||||||||
| 773 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) | ||||||||||
| 774 | in Amazon EC2 Auto Scaling, which helps you update instances in your | ||||||||||
| 775 | Auto Scaling group after you make configuration changes. | ||||||||||
| 776 | |||||||||||
| 777 | |||||||||||
| 778 | =head2 CompleteLifecycleAction | ||||||||||
| 779 | |||||||||||
| 780 | =over | ||||||||||
| 781 | |||||||||||
| 782 | =item AutoScalingGroupName => Str | ||||||||||
| 783 | |||||||||||
| 784 | =item LifecycleActionResult => Str | ||||||||||
| 785 | |||||||||||
| 786 | =item LifecycleHookName => Str | ||||||||||
| 787 | |||||||||||
| 788 | =item [InstanceId => Str] | ||||||||||
| 789 | |||||||||||
| 790 | =item [LifecycleActionToken => Str] | ||||||||||
| 791 | |||||||||||
| 792 | |||||||||||
| 793 | =back | ||||||||||
| 794 | |||||||||||
| 795 | Each argument is described in detail in: L<Paws::AutoScaling::CompleteLifecycleAction> | ||||||||||
| 796 | |||||||||||
| 797 | Returns: a L<Paws::AutoScaling::CompleteLifecycleActionAnswer> instance | ||||||||||
| 798 | |||||||||||
| 799 | Completes the lifecycle action for the specified token or instance with | ||||||||||
| 800 | the specified result. | ||||||||||
| 801 | |||||||||||
| 802 | This step is a part of the procedure for adding a lifecycle hook to an | ||||||||||
| 803 | Auto Scaling group: | ||||||||||
| 804 | |||||||||||
| 805 | =over | ||||||||||
| 806 | |||||||||||
| 807 | =item 1. | ||||||||||
| 808 | |||||||||||
| 809 | (Optional) Create a Lambda function and a rule that allows CloudWatch | ||||||||||
| 810 | Events to invoke your Lambda function when Amazon EC2 Auto Scaling | ||||||||||
| 811 | launches or terminates instances. | ||||||||||
| 812 | |||||||||||
| 813 | =item 2. | ||||||||||
| 814 | |||||||||||
| 815 | (Optional) Create a notification target and an IAM role. The target can | ||||||||||
| 816 | be either an Amazon SQS queue or an Amazon SNS topic. The role allows | ||||||||||
| 817 | Amazon EC2 Auto Scaling to publish lifecycle notifications to the | ||||||||||
| 818 | target. | ||||||||||
| 819 | |||||||||||
| 820 | =item 3. | ||||||||||
| 821 | |||||||||||
| 822 | Create the lifecycle hook. Specify whether the hook is used when the | ||||||||||
| 823 | instances launch or terminate. | ||||||||||
| 824 | |||||||||||
| 825 | =item 4. | ||||||||||
| 826 | |||||||||||
| 827 | If you need more time, record the lifecycle action heartbeat to keep | ||||||||||
| 828 | the instance in a pending state. | ||||||||||
| 829 | |||||||||||
| 830 | =item 5. | ||||||||||
| 831 | |||||||||||
| 832 | B<If you finish before the timeout period ends, complete the lifecycle | ||||||||||
| 833 | action.> | ||||||||||
| 834 | |||||||||||
| 835 | =back | ||||||||||
| 836 | |||||||||||
| 837 | For more information, see Amazon EC2 Auto Scaling lifecycle hooks | ||||||||||
| 838 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) | ||||||||||
| 839 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 840 | |||||||||||
| 841 | |||||||||||
| 842 | =head2 CreateAutoScalingGroup | ||||||||||
| 843 | |||||||||||
| 844 | =over | ||||||||||
| 845 | |||||||||||
| 846 | =item AutoScalingGroupName => Str | ||||||||||
| 847 | |||||||||||
| 848 | =item MaxSize => Int | ||||||||||
| 849 | |||||||||||
| 850 | =item MinSize => Int | ||||||||||
| 851 | |||||||||||
| 852 | =item [AvailabilityZones => ArrayRef[Str|Undef]] | ||||||||||
| 853 | |||||||||||
| 854 | =item [CapacityRebalance => Bool] | ||||||||||
| 855 | |||||||||||
| 856 | =item [Context => Str] | ||||||||||
| 857 | |||||||||||
| 858 | =item [DefaultCooldown => Int] | ||||||||||
| 859 | |||||||||||
| 860 | =item [DesiredCapacity => Int] | ||||||||||
| 861 | |||||||||||
| 862 | =item [HealthCheckGracePeriod => Int] | ||||||||||
| 863 | |||||||||||
| 864 | =item [HealthCheckType => Str] | ||||||||||
| 865 | |||||||||||
| 866 | =item [InstanceId => Str] | ||||||||||
| 867 | |||||||||||
| 868 | =item [LaunchConfigurationName => Str] | ||||||||||
| 869 | |||||||||||
| 870 | =item [LaunchTemplate => L<Paws::AutoScaling::LaunchTemplateSpecification>] | ||||||||||
| 871 | |||||||||||
| 872 | =item [LifecycleHookSpecificationList => ArrayRef[L<Paws::AutoScaling::LifecycleHookSpecification>]] | ||||||||||
| 873 | |||||||||||
| 874 | =item [LoadBalancerNames => ArrayRef[Str|Undef]] | ||||||||||
| 875 | |||||||||||
| 876 | =item [MaxInstanceLifetime => Int] | ||||||||||
| 877 | |||||||||||
| 878 | =item [MixedInstancesPolicy => L<Paws::AutoScaling::MixedInstancesPolicy>] | ||||||||||
| 879 | |||||||||||
| 880 | =item [NewInstancesProtectedFromScaleIn => Bool] | ||||||||||
| 881 | |||||||||||
| 882 | =item [PlacementGroup => Str] | ||||||||||
| 883 | |||||||||||
| 884 | =item [ServiceLinkedRoleARN => Str] | ||||||||||
| 885 | |||||||||||
| 886 | =item [Tags => ArrayRef[L<Paws::AutoScaling::Tag>]] | ||||||||||
| 887 | |||||||||||
| 888 | =item [TargetGroupARNs => ArrayRef[Str|Undef]] | ||||||||||
| 889 | |||||||||||
| 890 | =item [TerminationPolicies => ArrayRef[Str|Undef]] | ||||||||||
| 891 | |||||||||||
| 892 | =item [VPCZoneIdentifier => Str] | ||||||||||
| 893 | |||||||||||
| 894 | |||||||||||
| 895 | =back | ||||||||||
| 896 | |||||||||||
| 897 | Each argument is described in detail in: L<Paws::AutoScaling::CreateAutoScalingGroup> | ||||||||||
| 898 | |||||||||||
| 899 | Returns: nothing | ||||||||||
| 900 | |||||||||||
| 901 | B<We strongly recommend using a launch template when calling this | ||||||||||
| 902 | operation to ensure full functionality for Amazon EC2 Auto Scaling and | ||||||||||
| 903 | Amazon EC2.> | ||||||||||
| 904 | |||||||||||
| 905 | Creates an Auto Scaling group with the specified name and attributes. | ||||||||||
| 906 | |||||||||||
| 907 | If you exceed your maximum limit of Auto Scaling groups, the call | ||||||||||
| 908 | fails. To query this limit, call the DescribeAccountLimits API. For | ||||||||||
| 909 | information about updating this limit, see Amazon EC2 Auto Scaling | ||||||||||
| 910 | service quotas | ||||||||||
| 911 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html) | ||||||||||
| 912 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 913 | |||||||||||
| 914 | For introductory exercises for creating an Auto Scaling group, see | ||||||||||
| 915 | Getting started with Amazon EC2 Auto Scaling | ||||||||||
| 916 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html) | ||||||||||
| 917 | and Tutorial: Set up a scaled and load-balanced application | ||||||||||
| 918 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html) | ||||||||||
| 919 | in the I<Amazon EC2 Auto Scaling User Guide>. For more information, see | ||||||||||
| 920 | Auto Scaling groups | ||||||||||
| 921 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html) | ||||||||||
| 922 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 923 | |||||||||||
| 924 | Every Auto Scaling group has three size parameters (C<DesiredCapacity>, | ||||||||||
| 925 | C<MaxSize>, and C<MinSize>). Usually, you set these sizes based on a | ||||||||||
| 926 | specific number of instances. However, if you configure a mixed | ||||||||||
| 927 | instances policy that defines weights for the instance types, you must | ||||||||||
| 928 | specify these sizes with the same units that you use for weighting | ||||||||||
| 929 | instances. | ||||||||||
| 930 | |||||||||||
| 931 | |||||||||||
| 932 | =head2 CreateLaunchConfiguration | ||||||||||
| 933 | |||||||||||
| 934 | =over | ||||||||||
| 935 | |||||||||||
| 936 | =item LaunchConfigurationName => Str | ||||||||||
| 937 | |||||||||||
| 938 | =item [AssociatePublicIpAddress => Bool] | ||||||||||
| 939 | |||||||||||
| 940 | =item [BlockDeviceMappings => ArrayRef[L<Paws::AutoScaling::BlockDeviceMapping>]] | ||||||||||
| 941 | |||||||||||
| 942 | =item [ClassicLinkVPCId => Str] | ||||||||||
| 943 | |||||||||||
| 944 | =item [ClassicLinkVPCSecurityGroups => ArrayRef[Str|Undef]] | ||||||||||
| 945 | |||||||||||
| 946 | =item [EbsOptimized => Bool] | ||||||||||
| 947 | |||||||||||
| 948 | =item [IamInstanceProfile => Str] | ||||||||||
| 949 | |||||||||||
| 950 | =item [ImageId => Str] | ||||||||||
| 951 | |||||||||||
| 952 | =item [InstanceId => Str] | ||||||||||
| 953 | |||||||||||
| 954 | =item [InstanceMonitoring => L<Paws::AutoScaling::InstanceMonitoring>] | ||||||||||
| 955 | |||||||||||
| 956 | =item [InstanceType => Str] | ||||||||||
| 957 | |||||||||||
| 958 | =item [KernelId => Str] | ||||||||||
| 959 | |||||||||||
| 960 | =item [KeyName => Str] | ||||||||||
| 961 | |||||||||||
| 962 | =item [MetadataOptions => L<Paws::AutoScaling::InstanceMetadataOptions>] | ||||||||||
| 963 | |||||||||||
| 964 | =item [PlacementTenancy => Str] | ||||||||||
| 965 | |||||||||||
| 966 | =item [RamdiskId => Str] | ||||||||||
| 967 | |||||||||||
| 968 | =item [SecurityGroups => ArrayRef[Str|Undef]] | ||||||||||
| 969 | |||||||||||
| 970 | =item [SpotPrice => Str] | ||||||||||
| 971 | |||||||||||
| 972 | =item [UserData => Str] | ||||||||||
| 973 | |||||||||||
| 974 | |||||||||||
| 975 | =back | ||||||||||
| 976 | |||||||||||
| 977 | Each argument is described in detail in: L<Paws::AutoScaling::CreateLaunchConfiguration> | ||||||||||
| 978 | |||||||||||
| 979 | Returns: nothing | ||||||||||
| 980 | |||||||||||
| 981 | Creates a launch configuration. | ||||||||||
| 982 | |||||||||||
| 983 | If you exceed your maximum limit of launch configurations, the call | ||||||||||
| 984 | fails. To query this limit, call the DescribeAccountLimits API. For | ||||||||||
| 985 | information about updating this limit, see Amazon EC2 Auto Scaling | ||||||||||
| 986 | service quotas | ||||||||||
| 987 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html) | ||||||||||
| 988 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 989 | |||||||||||
| 990 | For more information, see Launch configurations | ||||||||||
| 991 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html) | ||||||||||
| 992 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 993 | |||||||||||
| 994 | |||||||||||
| 995 | =head2 CreateOrUpdateTags | ||||||||||
| 996 | |||||||||||
| 997 | =over | ||||||||||
| 998 | |||||||||||
| 999 | =item Tags => ArrayRef[L<Paws::AutoScaling::Tag>] | ||||||||||
| 1000 | |||||||||||
| 1001 | |||||||||||
| 1002 | =back | ||||||||||
| 1003 | |||||||||||
| 1004 | Each argument is described in detail in: L<Paws::AutoScaling::CreateOrUpdateTags> | ||||||||||
| 1005 | |||||||||||
| 1006 | Returns: nothing | ||||||||||
| 1007 | |||||||||||
| 1008 | Creates or updates tags for the specified Auto Scaling group. | ||||||||||
| 1009 | |||||||||||
| 1010 | When you specify a tag with a key that already exists, the operation | ||||||||||
| 1011 | overwrites the previous tag definition, and you do not get an error | ||||||||||
| 1012 | message. | ||||||||||
| 1013 | |||||||||||
| 1014 | For more information, see Tagging Auto Scaling groups and instances | ||||||||||
| 1015 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html) | ||||||||||
| 1016 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1017 | |||||||||||
| 1018 | |||||||||||
| 1019 | =head2 DeleteAutoScalingGroup | ||||||||||
| 1020 | |||||||||||
| 1021 | =over | ||||||||||
| 1022 | |||||||||||
| 1023 | =item AutoScalingGroupName => Str | ||||||||||
| 1024 | |||||||||||
| 1025 | =item [ForceDelete => Bool] | ||||||||||
| 1026 | |||||||||||
| 1027 | |||||||||||
| 1028 | =back | ||||||||||
| 1029 | |||||||||||
| 1030 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteAutoScalingGroup> | ||||||||||
| 1031 | |||||||||||
| 1032 | Returns: nothing | ||||||||||
| 1033 | |||||||||||
| 1034 | Deletes the specified Auto Scaling group. | ||||||||||
| 1035 | |||||||||||
| 1036 | If the group has instances or scaling activities in progress, you must | ||||||||||
| 1037 | specify the option to force the deletion in order for it to succeed. | ||||||||||
| 1038 | |||||||||||
| 1039 | If the group has policies, deleting the group deletes the policies, the | ||||||||||
| 1040 | underlying alarm actions, and any alarm that no longer has an | ||||||||||
| 1041 | associated action. | ||||||||||
| 1042 | |||||||||||
| 1043 | To remove instances from the Auto Scaling group before deleting it, | ||||||||||
| 1044 | call the DetachInstances API with the list of instances and the option | ||||||||||
| 1045 | to decrement the desired capacity. This ensures that Amazon EC2 Auto | ||||||||||
| 1046 | Scaling does not launch replacement instances. | ||||||||||
| 1047 | |||||||||||
| 1048 | To terminate all instances before deleting the Auto Scaling group, call | ||||||||||
| 1049 | the UpdateAutoScalingGroup API and set the minimum size and desired | ||||||||||
| 1050 | capacity of the Auto Scaling group to zero. | ||||||||||
| 1051 | |||||||||||
| 1052 | |||||||||||
| 1053 | =head2 DeleteLaunchConfiguration | ||||||||||
| 1054 | |||||||||||
| 1055 | =over | ||||||||||
| 1056 | |||||||||||
| 1057 | =item LaunchConfigurationName => Str | ||||||||||
| 1058 | |||||||||||
| 1059 | |||||||||||
| 1060 | =back | ||||||||||
| 1061 | |||||||||||
| 1062 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteLaunchConfiguration> | ||||||||||
| 1063 | |||||||||||
| 1064 | Returns: nothing | ||||||||||
| 1065 | |||||||||||
| 1066 | Deletes the specified launch configuration. | ||||||||||
| 1067 | |||||||||||
| 1068 | The launch configuration must not be attached to an Auto Scaling group. | ||||||||||
| 1069 | When this call completes, the launch configuration is no longer | ||||||||||
| 1070 | available for use. | ||||||||||
| 1071 | |||||||||||
| 1072 | |||||||||||
| 1073 | =head2 DeleteLifecycleHook | ||||||||||
| 1074 | |||||||||||
| 1075 | =over | ||||||||||
| 1076 | |||||||||||
| 1077 | =item AutoScalingGroupName => Str | ||||||||||
| 1078 | |||||||||||
| 1079 | =item LifecycleHookName => Str | ||||||||||
| 1080 | |||||||||||
| 1081 | |||||||||||
| 1082 | =back | ||||||||||
| 1083 | |||||||||||
| 1084 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteLifecycleHook> | ||||||||||
| 1085 | |||||||||||
| 1086 | Returns: a L<Paws::AutoScaling::DeleteLifecycleHookAnswer> instance | ||||||||||
| 1087 | |||||||||||
| 1088 | Deletes the specified lifecycle hook. | ||||||||||
| 1089 | |||||||||||
| 1090 | If there are any outstanding lifecycle actions, they are completed | ||||||||||
| 1091 | first (C<ABANDON> for launching instances, C<CONTINUE> for terminating | ||||||||||
| 1092 | instances). | ||||||||||
| 1093 | |||||||||||
| 1094 | |||||||||||
| 1095 | =head2 DeleteNotificationConfiguration | ||||||||||
| 1096 | |||||||||||
| 1097 | =over | ||||||||||
| 1098 | |||||||||||
| 1099 | =item AutoScalingGroupName => Str | ||||||||||
| 1100 | |||||||||||
| 1101 | =item TopicARN => Str | ||||||||||
| 1102 | |||||||||||
| 1103 | |||||||||||
| 1104 | =back | ||||||||||
| 1105 | |||||||||||
| 1106 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteNotificationConfiguration> | ||||||||||
| 1107 | |||||||||||
| 1108 | Returns: nothing | ||||||||||
| 1109 | |||||||||||
| 1110 | Deletes the specified notification. | ||||||||||
| 1111 | |||||||||||
| 1112 | |||||||||||
| 1113 | =head2 DeletePolicy | ||||||||||
| 1114 | |||||||||||
| 1115 | =over | ||||||||||
| 1116 | |||||||||||
| 1117 | =item PolicyName => Str | ||||||||||
| 1118 | |||||||||||
| 1119 | =item [AutoScalingGroupName => Str] | ||||||||||
| 1120 | |||||||||||
| 1121 | |||||||||||
| 1122 | =back | ||||||||||
| 1123 | |||||||||||
| 1124 | Each argument is described in detail in: L<Paws::AutoScaling::DeletePolicy> | ||||||||||
| 1125 | |||||||||||
| 1126 | Returns: nothing | ||||||||||
| 1127 | |||||||||||
| 1128 | Deletes the specified scaling policy. | ||||||||||
| 1129 | |||||||||||
| 1130 | Deleting either a step scaling policy or a simple scaling policy | ||||||||||
| 1131 | deletes the underlying alarm action, but does not delete the alarm, | ||||||||||
| 1132 | even if it no longer has an associated action. | ||||||||||
| 1133 | |||||||||||
| 1134 | For more information, see Deleting a scaling policy | ||||||||||
| 1135 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html) | ||||||||||
| 1136 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1137 | |||||||||||
| 1138 | |||||||||||
| 1139 | =head2 DeleteScheduledAction | ||||||||||
| 1140 | |||||||||||
| 1141 | =over | ||||||||||
| 1142 | |||||||||||
| 1143 | =item AutoScalingGroupName => Str | ||||||||||
| 1144 | |||||||||||
| 1145 | =item ScheduledActionName => Str | ||||||||||
| 1146 | |||||||||||
| 1147 | |||||||||||
| 1148 | =back | ||||||||||
| 1149 | |||||||||||
| 1150 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteScheduledAction> | ||||||||||
| 1151 | |||||||||||
| 1152 | Returns: nothing | ||||||||||
| 1153 | |||||||||||
| 1154 | Deletes the specified scheduled action. | ||||||||||
| 1155 | |||||||||||
| 1156 | |||||||||||
| 1157 | =head2 DeleteTags | ||||||||||
| 1158 | |||||||||||
| 1159 | =over | ||||||||||
| 1160 | |||||||||||
| 1161 | =item Tags => ArrayRef[L<Paws::AutoScaling::Tag>] | ||||||||||
| 1162 | |||||||||||
| 1163 | |||||||||||
| 1164 | =back | ||||||||||
| 1165 | |||||||||||
| 1166 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteTags> | ||||||||||
| 1167 | |||||||||||
| 1168 | Returns: nothing | ||||||||||
| 1169 | |||||||||||
| 1170 | Deletes the specified tags. | ||||||||||
| 1171 | |||||||||||
| 1172 | |||||||||||
| 1173 | =head2 DeleteWarmPool | ||||||||||
| 1174 | |||||||||||
| 1175 | =over | ||||||||||
| 1176 | |||||||||||
| 1177 | =item AutoScalingGroupName => Str | ||||||||||
| 1178 | |||||||||||
| 1179 | =item [ForceDelete => Bool] | ||||||||||
| 1180 | |||||||||||
| 1181 | |||||||||||
| 1182 | =back | ||||||||||
| 1183 | |||||||||||
| 1184 | Each argument is described in detail in: L<Paws::AutoScaling::DeleteWarmPool> | ||||||||||
| 1185 | |||||||||||
| 1186 | Returns: a L<Paws::AutoScaling::DeleteWarmPoolAnswer> instance | ||||||||||
| 1187 | |||||||||||
| 1188 | Deletes the warm pool for the specified Auto Scaling group. | ||||||||||
| 1189 | |||||||||||
| 1190 | For more information, see Warm pools for Amazon EC2 Auto Scaling | ||||||||||
| 1191 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) | ||||||||||
| 1192 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1193 | |||||||||||
| 1194 | |||||||||||
| 1195 | =head2 DescribeAccountLimits | ||||||||||
| 1196 | |||||||||||
| 1197 | =over | ||||||||||
| 1198 | |||||||||||
| 1199 | =item => | ||||||||||
| 1200 | |||||||||||
| 1201 | |||||||||||
| 1202 | =back | ||||||||||
| 1203 | |||||||||||
| 1204 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeAccountLimits> | ||||||||||
| 1205 | |||||||||||
| 1206 | Returns: a L<Paws::AutoScaling::DescribeAccountLimitsAnswer> instance | ||||||||||
| 1207 | |||||||||||
| 1208 | Describes the current Amazon EC2 Auto Scaling resource quotas for your | ||||||||||
| 1209 | account. | ||||||||||
| 1210 | |||||||||||
| 1211 | When you establish an account, the account has initial quotas on the | ||||||||||
| 1212 | maximum number of Auto Scaling groups and launch configurations that | ||||||||||
| 1213 | you can create in a given Region. For more information, see Amazon EC2 | ||||||||||
| 1214 | Auto Scaling service quotas | ||||||||||
| 1215 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html) | ||||||||||
| 1216 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1217 | |||||||||||
| 1218 | |||||||||||
| 1219 | =head2 DescribeAdjustmentTypes | ||||||||||
| 1220 | |||||||||||
| 1221 | =over | ||||||||||
| 1222 | |||||||||||
| 1223 | =item => | ||||||||||
| 1224 | |||||||||||
| 1225 | |||||||||||
| 1226 | =back | ||||||||||
| 1227 | |||||||||||
| 1228 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeAdjustmentTypes> | ||||||||||
| 1229 | |||||||||||
| 1230 | Returns: a L<Paws::AutoScaling::DescribeAdjustmentTypesAnswer> instance | ||||||||||
| 1231 | |||||||||||
| 1232 | Describes the available adjustment types for step scaling and simple | ||||||||||
| 1233 | scaling policies. | ||||||||||
| 1234 | |||||||||||
| 1235 | The following adjustment types are supported: | ||||||||||
| 1236 | |||||||||||
| 1237 | =over | ||||||||||
| 1238 | |||||||||||
| 1239 | =item * | ||||||||||
| 1240 | |||||||||||
| 1241 | C<ChangeInCapacity> | ||||||||||
| 1242 | |||||||||||
| 1243 | =item * | ||||||||||
| 1244 | |||||||||||
| 1245 | C<ExactCapacity> | ||||||||||
| 1246 | |||||||||||
| 1247 | =item * | ||||||||||
| 1248 | |||||||||||
| 1249 | C<PercentChangeInCapacity> | ||||||||||
| 1250 | |||||||||||
| 1251 | =back | ||||||||||
| 1252 | |||||||||||
| 1253 | |||||||||||
| 1254 | |||||||||||
| 1255 | =head2 DescribeAutoScalingGroups | ||||||||||
| 1256 | |||||||||||
| 1257 | =over | ||||||||||
| 1258 | |||||||||||
| 1259 | =item [AutoScalingGroupNames => ArrayRef[Str|Undef]] | ||||||||||
| 1260 | |||||||||||
| 1261 | =item [MaxRecords => Int] | ||||||||||
| 1262 | |||||||||||
| 1263 | =item [NextToken => Str] | ||||||||||
| 1264 | |||||||||||
| 1265 | |||||||||||
| 1266 | =back | ||||||||||
| 1267 | |||||||||||
| 1268 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeAutoScalingGroups> | ||||||||||
| 1269 | |||||||||||
| 1270 | Returns: a L<Paws::AutoScaling::AutoScalingGroupsType> instance | ||||||||||
| 1271 | |||||||||||
| 1272 | Gets information about the Auto Scaling groups in the account and | ||||||||||
| 1273 | Region. | ||||||||||
| 1274 | |||||||||||
| 1275 | This operation returns information about instances in Auto Scaling | ||||||||||
| 1276 | groups. To retrieve information about the instances in a warm pool, you | ||||||||||
| 1277 | must call the DescribeWarmPool API. | ||||||||||
| 1278 | |||||||||||
| 1279 | |||||||||||
| 1280 | =head2 DescribeAutoScalingInstances | ||||||||||
| 1281 | |||||||||||
| 1282 | =over | ||||||||||
| 1283 | |||||||||||
| 1284 | =item [InstanceIds => ArrayRef[Str|Undef]] | ||||||||||
| 1285 | |||||||||||
| 1286 | =item [MaxRecords => Int] | ||||||||||
| 1287 | |||||||||||
| 1288 | =item [NextToken => Str] | ||||||||||
| 1289 | |||||||||||
| 1290 | |||||||||||
| 1291 | =back | ||||||||||
| 1292 | |||||||||||
| 1293 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeAutoScalingInstances> | ||||||||||
| 1294 | |||||||||||
| 1295 | Returns: a L<Paws::AutoScaling::AutoScalingInstancesType> instance | ||||||||||
| 1296 | |||||||||||
| 1297 | Gets information about the Auto Scaling instances in the account and | ||||||||||
| 1298 | Region. | ||||||||||
| 1299 | |||||||||||
| 1300 | |||||||||||
| 1301 | =head2 DescribeAutoScalingNotificationTypes | ||||||||||
| 1302 | |||||||||||
| 1303 | =over | ||||||||||
| 1304 | |||||||||||
| 1305 | =item => | ||||||||||
| 1306 | |||||||||||
| 1307 | |||||||||||
| 1308 | =back | ||||||||||
| 1309 | |||||||||||
| 1310 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeAutoScalingNotificationTypes> | ||||||||||
| 1311 | |||||||||||
| 1312 | Returns: a L<Paws::AutoScaling::DescribeAutoScalingNotificationTypesAnswer> instance | ||||||||||
| 1313 | |||||||||||
| 1314 | Describes the notification types that are supported by Amazon EC2 Auto | ||||||||||
| 1315 | Scaling. | ||||||||||
| 1316 | |||||||||||
| 1317 | |||||||||||
| 1318 | =head2 DescribeInstanceRefreshes | ||||||||||
| 1319 | |||||||||||
| 1320 | =over | ||||||||||
| 1321 | |||||||||||
| 1322 | =item AutoScalingGroupName => Str | ||||||||||
| 1323 | |||||||||||
| 1324 | =item [InstanceRefreshIds => ArrayRef[Str|Undef]] | ||||||||||
| 1325 | |||||||||||
| 1326 | =item [MaxRecords => Int] | ||||||||||
| 1327 | |||||||||||
| 1328 | =item [NextToken => Str] | ||||||||||
| 1329 | |||||||||||
| 1330 | |||||||||||
| 1331 | =back | ||||||||||
| 1332 | |||||||||||
| 1333 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeInstanceRefreshes> | ||||||||||
| 1334 | |||||||||||
| 1335 | Returns: a L<Paws::AutoScaling::DescribeInstanceRefreshesAnswer> instance | ||||||||||
| 1336 | |||||||||||
| 1337 | Gets information about the instance refreshes for the specified Auto | ||||||||||
| 1338 | Scaling group. | ||||||||||
| 1339 | |||||||||||
| 1340 | This operation is part of the instance refresh feature | ||||||||||
| 1341 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) | ||||||||||
| 1342 | in Amazon EC2 Auto Scaling, which helps you update instances in your | ||||||||||
| 1343 | Auto Scaling group after you make configuration changes. | ||||||||||
| 1344 | |||||||||||
| 1345 | To help you determine the status of an instance refresh, this operation | ||||||||||
| 1346 | returns information about the instance refreshes you previously | ||||||||||
| 1347 | initiated, including their status, end time, the percentage of the | ||||||||||
| 1348 | instance refresh that is complete, and the number of instances | ||||||||||
| 1349 | remaining to update before the instance refresh is complete. | ||||||||||
| 1350 | |||||||||||
| 1351 | The following are the possible statuses: | ||||||||||
| 1352 | |||||||||||
| 1353 | =over | ||||||||||
| 1354 | |||||||||||
| 1355 | =item * | ||||||||||
| 1356 | |||||||||||
| 1357 | C<Pending> - The request was created, but the operation has not | ||||||||||
| 1358 | started. | ||||||||||
| 1359 | |||||||||||
| 1360 | =item * | ||||||||||
| 1361 | |||||||||||
| 1362 | C<InProgress> - The operation is in progress. | ||||||||||
| 1363 | |||||||||||
| 1364 | =item * | ||||||||||
| 1365 | |||||||||||
| 1366 | C<Successful> - The operation completed successfully. | ||||||||||
| 1367 | |||||||||||
| 1368 | =item * | ||||||||||
| 1369 | |||||||||||
| 1370 | C<Failed> - The operation failed to complete. You can troubleshoot | ||||||||||
| 1371 | using the status reason and the scaling activities. | ||||||||||
| 1372 | |||||||||||
| 1373 | =item * | ||||||||||
| 1374 | |||||||||||
| 1375 | C<Cancelling> - An ongoing operation is being cancelled. Cancellation | ||||||||||
| 1376 | does not roll back any replacements that have already been completed, | ||||||||||
| 1377 | but it prevents new replacements from being started. | ||||||||||
| 1378 | |||||||||||
| 1379 | =item * | ||||||||||
| 1380 | |||||||||||
| 1381 | C<Cancelled> - The operation is cancelled. | ||||||||||
| 1382 | |||||||||||
| 1383 | =back | ||||||||||
| 1384 | |||||||||||
| 1385 | |||||||||||
| 1386 | |||||||||||
| 1387 | =head2 DescribeLaunchConfigurations | ||||||||||
| 1388 | |||||||||||
| 1389 | =over | ||||||||||
| 1390 | |||||||||||
| 1391 | =item [LaunchConfigurationNames => ArrayRef[Str|Undef]] | ||||||||||
| 1392 | |||||||||||
| 1393 | =item [MaxRecords => Int] | ||||||||||
| 1394 | |||||||||||
| 1395 | =item [NextToken => Str] | ||||||||||
| 1396 | |||||||||||
| 1397 | |||||||||||
| 1398 | =back | ||||||||||
| 1399 | |||||||||||
| 1400 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeLaunchConfigurations> | ||||||||||
| 1401 | |||||||||||
| 1402 | Returns: a L<Paws::AutoScaling::LaunchConfigurationsType> instance | ||||||||||
| 1403 | |||||||||||
| 1404 | Gets information about the launch configurations in the account and | ||||||||||
| 1405 | Region. | ||||||||||
| 1406 | |||||||||||
| 1407 | |||||||||||
| 1408 | =head2 DescribeLifecycleHooks | ||||||||||
| 1409 | |||||||||||
| 1410 | =over | ||||||||||
| 1411 | |||||||||||
| 1412 | =item AutoScalingGroupName => Str | ||||||||||
| 1413 | |||||||||||
| 1414 | =item [LifecycleHookNames => ArrayRef[Str|Undef]] | ||||||||||
| 1415 | |||||||||||
| 1416 | |||||||||||
| 1417 | =back | ||||||||||
| 1418 | |||||||||||
| 1419 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeLifecycleHooks> | ||||||||||
| 1420 | |||||||||||
| 1421 | Returns: a L<Paws::AutoScaling::DescribeLifecycleHooksAnswer> instance | ||||||||||
| 1422 | |||||||||||
| 1423 | Gets information about the lifecycle hooks for the specified Auto | ||||||||||
| 1424 | Scaling group. | ||||||||||
| 1425 | |||||||||||
| 1426 | |||||||||||
| 1427 | =head2 DescribeLifecycleHookTypes | ||||||||||
| 1428 | |||||||||||
| 1429 | =over | ||||||||||
| 1430 | |||||||||||
| 1431 | =item => | ||||||||||
| 1432 | |||||||||||
| 1433 | |||||||||||
| 1434 | =back | ||||||||||
| 1435 | |||||||||||
| 1436 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeLifecycleHookTypes> | ||||||||||
| 1437 | |||||||||||
| 1438 | Returns: a L<Paws::AutoScaling::DescribeLifecycleHookTypesAnswer> instance | ||||||||||
| 1439 | |||||||||||
| 1440 | Describes the available types of lifecycle hooks. | ||||||||||
| 1441 | |||||||||||
| 1442 | The following hook types are supported: | ||||||||||
| 1443 | |||||||||||
| 1444 | =over | ||||||||||
| 1445 | |||||||||||
| 1446 | =item * | ||||||||||
| 1447 | |||||||||||
| 1448 | C<autoscaling:EC2_INSTANCE_LAUNCHING> | ||||||||||
| 1449 | |||||||||||
| 1450 | =item * | ||||||||||
| 1451 | |||||||||||
| 1452 | C<autoscaling:EC2_INSTANCE_TERMINATING> | ||||||||||
| 1453 | |||||||||||
| 1454 | =back | ||||||||||
| 1455 | |||||||||||
| 1456 | |||||||||||
| 1457 | |||||||||||
| 1458 | =head2 DescribeLoadBalancers | ||||||||||
| 1459 | |||||||||||
| 1460 | =over | ||||||||||
| 1461 | |||||||||||
| 1462 | =item AutoScalingGroupName => Str | ||||||||||
| 1463 | |||||||||||
| 1464 | =item [MaxRecords => Int] | ||||||||||
| 1465 | |||||||||||
| 1466 | =item [NextToken => Str] | ||||||||||
| 1467 | |||||||||||
| 1468 | |||||||||||
| 1469 | =back | ||||||||||
| 1470 | |||||||||||
| 1471 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeLoadBalancers> | ||||||||||
| 1472 | |||||||||||
| 1473 | Returns: a L<Paws::AutoScaling::DescribeLoadBalancersResponse> instance | ||||||||||
| 1474 | |||||||||||
| 1475 | Gets information about the load balancers for the specified Auto | ||||||||||
| 1476 | Scaling group. | ||||||||||
| 1477 | |||||||||||
| 1478 | This operation describes only Classic Load Balancers. If you have | ||||||||||
| 1479 | Application Load Balancers, Network Load Balancers, or Gateway Load | ||||||||||
| 1480 | Balancers, use the DescribeLoadBalancerTargetGroups API instead. | ||||||||||
| 1481 | |||||||||||
| 1482 | To determine the availability of registered instances, use the C<State> | ||||||||||
| 1483 | element in the response. When you attach a load balancer to an Auto | ||||||||||
| 1484 | Scaling group, the initial C<State> value is C<Adding>. The state | ||||||||||
| 1485 | transitions to C<Added> after all Auto Scaling instances are registered | ||||||||||
| 1486 | with the load balancer. If Elastic Load Balancing health checks are | ||||||||||
| 1487 | enabled for the Auto Scaling group, the state transitions to | ||||||||||
| 1488 | C<InService> after at least one Auto Scaling instance passes the health | ||||||||||
| 1489 | check. When the load balancer is in the C<InService> state, Amazon EC2 | ||||||||||
| 1490 | Auto Scaling can terminate and replace any instances that are reported | ||||||||||
| 1491 | as unhealthy. If no registered instances pass the health checks, the | ||||||||||
| 1492 | load balancer doesn't enter the C<InService> state. | ||||||||||
| 1493 | |||||||||||
| 1494 | Load balancers also have an C<InService> state if you attach them in | ||||||||||
| 1495 | the CreateAutoScalingGroup API call. If your load balancer state is | ||||||||||
| 1496 | C<InService>, but it is not working properly, check the scaling | ||||||||||
| 1497 | activities by calling DescribeScalingActivities and take any corrective | ||||||||||
| 1498 | actions necessary. | ||||||||||
| 1499 | |||||||||||
| 1500 | For help with failed health checks, see Troubleshooting Amazon EC2 Auto | ||||||||||
| 1501 | Scaling: Health checks | ||||||||||
| 1502 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html) | ||||||||||
| 1503 | in the I<Amazon EC2 Auto Scaling User Guide>. For more information, see | ||||||||||
| 1504 | Elastic Load Balancing and Amazon EC2 Auto Scaling | ||||||||||
| 1505 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) | ||||||||||
| 1506 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1507 | |||||||||||
| 1508 | |||||||||||
| 1509 | =head2 DescribeLoadBalancerTargetGroups | ||||||||||
| 1510 | |||||||||||
| 1511 | =over | ||||||||||
| 1512 | |||||||||||
| 1513 | =item AutoScalingGroupName => Str | ||||||||||
| 1514 | |||||||||||
| 1515 | =item [MaxRecords => Int] | ||||||||||
| 1516 | |||||||||||
| 1517 | =item [NextToken => Str] | ||||||||||
| 1518 | |||||||||||
| 1519 | |||||||||||
| 1520 | =back | ||||||||||
| 1521 | |||||||||||
| 1522 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeLoadBalancerTargetGroups> | ||||||||||
| 1523 | |||||||||||
| 1524 | Returns: a L<Paws::AutoScaling::DescribeLoadBalancerTargetGroupsResponse> instance | ||||||||||
| 1525 | |||||||||||
| 1526 | Gets information about the load balancer target groups for the | ||||||||||
| 1527 | specified Auto Scaling group. | ||||||||||
| 1528 | |||||||||||
| 1529 | To determine the availability of registered instances, use the C<State> | ||||||||||
| 1530 | element in the response. When you attach a target group to an Auto | ||||||||||
| 1531 | Scaling group, the initial C<State> value is C<Adding>. The state | ||||||||||
| 1532 | transitions to C<Added> after all Auto Scaling instances are registered | ||||||||||
| 1533 | with the target group. If Elastic Load Balancing health checks are | ||||||||||
| 1534 | enabled for the Auto Scaling group, the state transitions to | ||||||||||
| 1535 | C<InService> after at least one Auto Scaling instance passes the health | ||||||||||
| 1536 | check. When the target group is in the C<InService> state, Amazon EC2 | ||||||||||
| 1537 | Auto Scaling can terminate and replace any instances that are reported | ||||||||||
| 1538 | as unhealthy. If no registered instances pass the health checks, the | ||||||||||
| 1539 | target group doesn't enter the C<InService> state. | ||||||||||
| 1540 | |||||||||||
| 1541 | Target groups also have an C<InService> state if you attach them in the | ||||||||||
| 1542 | CreateAutoScalingGroup API call. If your target group state is | ||||||||||
| 1543 | C<InService>, but it is not working properly, check the scaling | ||||||||||
| 1544 | activities by calling DescribeScalingActivities and take any corrective | ||||||||||
| 1545 | actions necessary. | ||||||||||
| 1546 | |||||||||||
| 1547 | For help with failed health checks, see Troubleshooting Amazon EC2 Auto | ||||||||||
| 1548 | Scaling: Health checks | ||||||||||
| 1549 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html) | ||||||||||
| 1550 | in the I<Amazon EC2 Auto Scaling User Guide>. For more information, see | ||||||||||
| 1551 | Elastic Load Balancing and Amazon EC2 Auto Scaling | ||||||||||
| 1552 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) | ||||||||||
| 1553 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1554 | |||||||||||
| 1555 | |||||||||||
| 1556 | =head2 DescribeMetricCollectionTypes | ||||||||||
| 1557 | |||||||||||
| 1558 | =over | ||||||||||
| 1559 | |||||||||||
| 1560 | =item => | ||||||||||
| 1561 | |||||||||||
| 1562 | |||||||||||
| 1563 | =back | ||||||||||
| 1564 | |||||||||||
| 1565 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeMetricCollectionTypes> | ||||||||||
| 1566 | |||||||||||
| 1567 | Returns: a L<Paws::AutoScaling::DescribeMetricCollectionTypesAnswer> instance | ||||||||||
| 1568 | |||||||||||
| 1569 | Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling. | ||||||||||
| 1570 | |||||||||||
| 1571 | The C<GroupStandbyInstances> metric is not returned by default. You | ||||||||||
| 1572 | must explicitly request this metric when calling the | ||||||||||
| 1573 | EnableMetricsCollection API. | ||||||||||
| 1574 | |||||||||||
| 1575 | |||||||||||
| 1576 | =head2 DescribeNotificationConfigurations | ||||||||||
| 1577 | |||||||||||
| 1578 | =over | ||||||||||
| 1579 | |||||||||||
| 1580 | =item [AutoScalingGroupNames => ArrayRef[Str|Undef]] | ||||||||||
| 1581 | |||||||||||
| 1582 | =item [MaxRecords => Int] | ||||||||||
| 1583 | |||||||||||
| 1584 | =item [NextToken => Str] | ||||||||||
| 1585 | |||||||||||
| 1586 | |||||||||||
| 1587 | =back | ||||||||||
| 1588 | |||||||||||
| 1589 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeNotificationConfigurations> | ||||||||||
| 1590 | |||||||||||
| 1591 | Returns: a L<Paws::AutoScaling::DescribeNotificationConfigurationsAnswer> instance | ||||||||||
| 1592 | |||||||||||
| 1593 | Gets information about the Amazon SNS notifications that are configured | ||||||||||
| 1594 | for one or more Auto Scaling groups. | ||||||||||
| 1595 | |||||||||||
| 1596 | |||||||||||
| 1597 | =head2 DescribePolicies | ||||||||||
| 1598 | |||||||||||
| 1599 | =over | ||||||||||
| 1600 | |||||||||||
| 1601 | =item [AutoScalingGroupName => Str] | ||||||||||
| 1602 | |||||||||||
| 1603 | =item [MaxRecords => Int] | ||||||||||
| 1604 | |||||||||||
| 1605 | =item [NextToken => Str] | ||||||||||
| 1606 | |||||||||||
| 1607 | =item [PolicyNames => ArrayRef[Str|Undef]] | ||||||||||
| 1608 | |||||||||||
| 1609 | =item [PolicyTypes => ArrayRef[Str|Undef]] | ||||||||||
| 1610 | |||||||||||
| 1611 | |||||||||||
| 1612 | =back | ||||||||||
| 1613 | |||||||||||
| 1614 | Each argument is described in detail in: L<Paws::AutoScaling::DescribePolicies> | ||||||||||
| 1615 | |||||||||||
| 1616 | Returns: a L<Paws::AutoScaling::PoliciesType> instance | ||||||||||
| 1617 | |||||||||||
| 1618 | Gets information about the scaling policies in the account and Region. | ||||||||||
| 1619 | |||||||||||
| 1620 | |||||||||||
| 1621 | =head2 DescribeScalingActivities | ||||||||||
| 1622 | |||||||||||
| 1623 | =over | ||||||||||
| 1624 | |||||||||||
| 1625 | =item [ActivityIds => ArrayRef[Str|Undef]] | ||||||||||
| 1626 | |||||||||||
| 1627 | =item [AutoScalingGroupName => Str] | ||||||||||
| 1628 | |||||||||||
| 1629 | =item [IncludeDeletedGroups => Bool] | ||||||||||
| 1630 | |||||||||||
| 1631 | =item [MaxRecords => Int] | ||||||||||
| 1632 | |||||||||||
| 1633 | =item [NextToken => Str] | ||||||||||
| 1634 | |||||||||||
| 1635 | |||||||||||
| 1636 | =back | ||||||||||
| 1637 | |||||||||||
| 1638 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeScalingActivities> | ||||||||||
| 1639 | |||||||||||
| 1640 | Returns: a L<Paws::AutoScaling::ActivitiesType> instance | ||||||||||
| 1641 | |||||||||||
| 1642 | Gets information about the scaling activities in the account and | ||||||||||
| 1643 | Region. | ||||||||||
| 1644 | |||||||||||
| 1645 | When scaling events occur, you see a record of the scaling activity in | ||||||||||
| 1646 | the scaling activities. For more information, see Verifying a scaling | ||||||||||
| 1647 | activity for an Auto Scaling group | ||||||||||
| 1648 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html) | ||||||||||
| 1649 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1650 | |||||||||||
| 1651 | If the scaling event succeeds, the value of the C<StatusCode> element | ||||||||||
| 1652 | in the response is C<Successful>. If an attempt to launch instances | ||||||||||
| 1653 | failed, the C<StatusCode> value is C<Failed> or C<Cancelled> and the | ||||||||||
| 1654 | C<StatusMessage> element in the response indicates the cause of the | ||||||||||
| 1655 | failure. For help interpreting the C<StatusMessage>, see | ||||||||||
| 1656 | Troubleshooting Amazon EC2 Auto Scaling | ||||||||||
| 1657 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html) | ||||||||||
| 1658 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1659 | |||||||||||
| 1660 | |||||||||||
| 1661 | =head2 DescribeScalingProcessTypes | ||||||||||
| 1662 | |||||||||||
| 1663 | =over | ||||||||||
| 1664 | |||||||||||
| 1665 | =item => | ||||||||||
| 1666 | |||||||||||
| 1667 | |||||||||||
| 1668 | =back | ||||||||||
| 1669 | |||||||||||
| 1670 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeScalingProcessTypes> | ||||||||||
| 1671 | |||||||||||
| 1672 | Returns: a L<Paws::AutoScaling::ProcessesType> instance | ||||||||||
| 1673 | |||||||||||
| 1674 | Describes the scaling process types for use with the ResumeProcesses | ||||||||||
| 1675 | and SuspendProcesses APIs. | ||||||||||
| 1676 | |||||||||||
| 1677 | |||||||||||
| 1678 | =head2 DescribeScheduledActions | ||||||||||
| 1679 | |||||||||||
| 1680 | =over | ||||||||||
| 1681 | |||||||||||
| 1682 | =item [AutoScalingGroupName => Str] | ||||||||||
| 1683 | |||||||||||
| 1684 | =item [EndTime => Str] | ||||||||||
| 1685 | |||||||||||
| 1686 | =item [MaxRecords => Int] | ||||||||||
| 1687 | |||||||||||
| 1688 | =item [NextToken => Str] | ||||||||||
| 1689 | |||||||||||
| 1690 | =item [ScheduledActionNames => ArrayRef[Str|Undef]] | ||||||||||
| 1691 | |||||||||||
| 1692 | =item [StartTime => Str] | ||||||||||
| 1693 | |||||||||||
| 1694 | |||||||||||
| 1695 | =back | ||||||||||
| 1696 | |||||||||||
| 1697 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeScheduledActions> | ||||||||||
| 1698 | |||||||||||
| 1699 | Returns: a L<Paws::AutoScaling::ScheduledActionsType> instance | ||||||||||
| 1700 | |||||||||||
| 1701 | Gets information about the scheduled actions that haven't run or that | ||||||||||
| 1702 | have not reached their end time. | ||||||||||
| 1703 | |||||||||||
| 1704 | To describe the scaling activities for scheduled actions that have | ||||||||||
| 1705 | already run, call the DescribeScalingActivities API. | ||||||||||
| 1706 | |||||||||||
| 1707 | |||||||||||
| 1708 | =head2 DescribeTags | ||||||||||
| 1709 | |||||||||||
| 1710 | =over | ||||||||||
| 1711 | |||||||||||
| 1712 | =item [Filters => ArrayRef[L<Paws::AutoScaling::Filter>]] | ||||||||||
| 1713 | |||||||||||
| 1714 | =item [MaxRecords => Int] | ||||||||||
| 1715 | |||||||||||
| 1716 | =item [NextToken => Str] | ||||||||||
| 1717 | |||||||||||
| 1718 | |||||||||||
| 1719 | =back | ||||||||||
| 1720 | |||||||||||
| 1721 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeTags> | ||||||||||
| 1722 | |||||||||||
| 1723 | Returns: a L<Paws::AutoScaling::TagsType> instance | ||||||||||
| 1724 | |||||||||||
| 1725 | Describes the specified tags. | ||||||||||
| 1726 | |||||||||||
| 1727 | You can use filters to limit the results. For example, you can query | ||||||||||
| 1728 | for the tags for a specific Auto Scaling group. You can specify | ||||||||||
| 1729 | multiple values for a filter. A tag must match at least one of the | ||||||||||
| 1730 | specified values for it to be included in the results. | ||||||||||
| 1731 | |||||||||||
| 1732 | You can also specify multiple filters. The result includes information | ||||||||||
| 1733 | for a particular tag only if it matches all the filters. If there's no | ||||||||||
| 1734 | match, no special message is returned. | ||||||||||
| 1735 | |||||||||||
| 1736 | For more information, see Tagging Auto Scaling groups and instances | ||||||||||
| 1737 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html) | ||||||||||
| 1738 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1739 | |||||||||||
| 1740 | |||||||||||
| 1741 | =head2 DescribeTerminationPolicyTypes | ||||||||||
| 1742 | |||||||||||
| 1743 | =over | ||||||||||
| 1744 | |||||||||||
| 1745 | =item => | ||||||||||
| 1746 | |||||||||||
| 1747 | |||||||||||
| 1748 | =back | ||||||||||
| 1749 | |||||||||||
| 1750 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeTerminationPolicyTypes> | ||||||||||
| 1751 | |||||||||||
| 1752 | Returns: a L<Paws::AutoScaling::DescribeTerminationPolicyTypesAnswer> instance | ||||||||||
| 1753 | |||||||||||
| 1754 | Describes the termination policies supported by Amazon EC2 Auto | ||||||||||
| 1755 | Scaling. | ||||||||||
| 1756 | |||||||||||
| 1757 | For more information, see Controlling which Auto Scaling instances | ||||||||||
| 1758 | terminate during scale in | ||||||||||
| 1759 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html) | ||||||||||
| 1760 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1761 | |||||||||||
| 1762 | |||||||||||
| 1763 | =head2 DescribeWarmPool | ||||||||||
| 1764 | |||||||||||
| 1765 | =over | ||||||||||
| 1766 | |||||||||||
| 1767 | =item AutoScalingGroupName => Str | ||||||||||
| 1768 | |||||||||||
| 1769 | =item [MaxRecords => Int] | ||||||||||
| 1770 | |||||||||||
| 1771 | =item [NextToken => Str] | ||||||||||
| 1772 | |||||||||||
| 1773 | |||||||||||
| 1774 | =back | ||||||||||
| 1775 | |||||||||||
| 1776 | Each argument is described in detail in: L<Paws::AutoScaling::DescribeWarmPool> | ||||||||||
| 1777 | |||||||||||
| 1778 | Returns: a L<Paws::AutoScaling::DescribeWarmPoolAnswer> instance | ||||||||||
| 1779 | |||||||||||
| 1780 | Gets information about a warm pool and its instances. | ||||||||||
| 1781 | |||||||||||
| 1782 | For more information, see Warm pools for Amazon EC2 Auto Scaling | ||||||||||
| 1783 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) | ||||||||||
| 1784 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1785 | |||||||||||
| 1786 | |||||||||||
| 1787 | =head2 DetachInstances | ||||||||||
| 1788 | |||||||||||
| 1789 | =over | ||||||||||
| 1790 | |||||||||||
| 1791 | =item AutoScalingGroupName => Str | ||||||||||
| 1792 | |||||||||||
| 1793 | =item ShouldDecrementDesiredCapacity => Bool | ||||||||||
| 1794 | |||||||||||
| 1795 | =item [InstanceIds => ArrayRef[Str|Undef]] | ||||||||||
| 1796 | |||||||||||
| 1797 | |||||||||||
| 1798 | =back | ||||||||||
| 1799 | |||||||||||
| 1800 | Each argument is described in detail in: L<Paws::AutoScaling::DetachInstances> | ||||||||||
| 1801 | |||||||||||
| 1802 | Returns: a L<Paws::AutoScaling::DetachInstancesAnswer> instance | ||||||||||
| 1803 | |||||||||||
| 1804 | Removes one or more instances from the specified Auto Scaling group. | ||||||||||
| 1805 | |||||||||||
| 1806 | After the instances are detached, you can manage them independent of | ||||||||||
| 1807 | the Auto Scaling group. | ||||||||||
| 1808 | |||||||||||
| 1809 | If you do not specify the option to decrement the desired capacity, | ||||||||||
| 1810 | Amazon EC2 Auto Scaling launches instances to replace the ones that are | ||||||||||
| 1811 | detached. | ||||||||||
| 1812 | |||||||||||
| 1813 | If there is a Classic Load Balancer attached to the Auto Scaling group, | ||||||||||
| 1814 | the instances are deregistered from the load balancer. If there are | ||||||||||
| 1815 | target groups attached to the Auto Scaling group, the instances are | ||||||||||
| 1816 | deregistered from the target groups. | ||||||||||
| 1817 | |||||||||||
| 1818 | For more information, see Detach EC2 instances from your Auto Scaling | ||||||||||
| 1819 | group | ||||||||||
| 1820 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html) | ||||||||||
| 1821 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1822 | |||||||||||
| 1823 | |||||||||||
| 1824 | =head2 DetachLoadBalancers | ||||||||||
| 1825 | |||||||||||
| 1826 | =over | ||||||||||
| 1827 | |||||||||||
| 1828 | =item AutoScalingGroupName => Str | ||||||||||
| 1829 | |||||||||||
| 1830 | =item LoadBalancerNames => ArrayRef[Str|Undef] | ||||||||||
| 1831 | |||||||||||
| 1832 | |||||||||||
| 1833 | =back | ||||||||||
| 1834 | |||||||||||
| 1835 | Each argument is described in detail in: L<Paws::AutoScaling::DetachLoadBalancers> | ||||||||||
| 1836 | |||||||||||
| 1837 | Returns: a L<Paws::AutoScaling::DetachLoadBalancersResultType> instance | ||||||||||
| 1838 | |||||||||||
| 1839 | Detaches one or more Classic Load Balancers from the specified Auto | ||||||||||
| 1840 | Scaling group. | ||||||||||
| 1841 | |||||||||||
| 1842 | This operation detaches only Classic Load Balancers. If you have | ||||||||||
| 1843 | Application Load Balancers, Network Load Balancers, or Gateway Load | ||||||||||
| 1844 | Balancers, use the DetachLoadBalancerTargetGroups API instead. | ||||||||||
| 1845 | |||||||||||
| 1846 | When you detach a load balancer, it enters the C<Removing> state while | ||||||||||
| 1847 | deregistering the instances in the group. When all instances are | ||||||||||
| 1848 | deregistered, then you can no longer describe the load balancer using | ||||||||||
| 1849 | the DescribeLoadBalancers API call. The instances remain running. | ||||||||||
| 1850 | |||||||||||
| 1851 | |||||||||||
| 1852 | =head2 DetachLoadBalancerTargetGroups | ||||||||||
| 1853 | |||||||||||
| 1854 | =over | ||||||||||
| 1855 | |||||||||||
| 1856 | =item AutoScalingGroupName => Str | ||||||||||
| 1857 | |||||||||||
| 1858 | =item TargetGroupARNs => ArrayRef[Str|Undef] | ||||||||||
| 1859 | |||||||||||
| 1860 | |||||||||||
| 1861 | =back | ||||||||||
| 1862 | |||||||||||
| 1863 | Each argument is described in detail in: L<Paws::AutoScaling::DetachLoadBalancerTargetGroups> | ||||||||||
| 1864 | |||||||||||
| 1865 | Returns: a L<Paws::AutoScaling::DetachLoadBalancerTargetGroupsResultType> instance | ||||||||||
| 1866 | |||||||||||
| 1867 | Detaches one or more target groups from the specified Auto Scaling | ||||||||||
| 1868 | group. | ||||||||||
| 1869 | |||||||||||
| 1870 | |||||||||||
| 1871 | =head2 DisableMetricsCollection | ||||||||||
| 1872 | |||||||||||
| 1873 | =over | ||||||||||
| 1874 | |||||||||||
| 1875 | =item AutoScalingGroupName => Str | ||||||||||
| 1876 | |||||||||||
| 1877 | =item [Metrics => ArrayRef[Str|Undef]] | ||||||||||
| 1878 | |||||||||||
| 1879 | |||||||||||
| 1880 | =back | ||||||||||
| 1881 | |||||||||||
| 1882 | Each argument is described in detail in: L<Paws::AutoScaling::DisableMetricsCollection> | ||||||||||
| 1883 | |||||||||||
| 1884 | Returns: nothing | ||||||||||
| 1885 | |||||||||||
| 1886 | Disables group metrics for the specified Auto Scaling group. | ||||||||||
| 1887 | |||||||||||
| 1888 | |||||||||||
| 1889 | =head2 EnableMetricsCollection | ||||||||||
| 1890 | |||||||||||
| 1891 | =over | ||||||||||
| 1892 | |||||||||||
| 1893 | =item AutoScalingGroupName => Str | ||||||||||
| 1894 | |||||||||||
| 1895 | =item Granularity => Str | ||||||||||
| 1896 | |||||||||||
| 1897 | =item [Metrics => ArrayRef[Str|Undef]] | ||||||||||
| 1898 | |||||||||||
| 1899 | |||||||||||
| 1900 | =back | ||||||||||
| 1901 | |||||||||||
| 1902 | Each argument is described in detail in: L<Paws::AutoScaling::EnableMetricsCollection> | ||||||||||
| 1903 | |||||||||||
| 1904 | Returns: nothing | ||||||||||
| 1905 | |||||||||||
| 1906 | Enables group metrics for the specified Auto Scaling group. For more | ||||||||||
| 1907 | information, see Monitoring CloudWatch metrics for your Auto Scaling | ||||||||||
| 1908 | groups and instances | ||||||||||
| 1909 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html) | ||||||||||
| 1910 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1911 | |||||||||||
| 1912 | |||||||||||
| 1913 | =head2 EnterStandby | ||||||||||
| 1914 | |||||||||||
| 1915 | =over | ||||||||||
| 1916 | |||||||||||
| 1917 | =item AutoScalingGroupName => Str | ||||||||||
| 1918 | |||||||||||
| 1919 | =item ShouldDecrementDesiredCapacity => Bool | ||||||||||
| 1920 | |||||||||||
| 1921 | =item [InstanceIds => ArrayRef[Str|Undef]] | ||||||||||
| 1922 | |||||||||||
| 1923 | |||||||||||
| 1924 | =back | ||||||||||
| 1925 | |||||||||||
| 1926 | Each argument is described in detail in: L<Paws::AutoScaling::EnterStandby> | ||||||||||
| 1927 | |||||||||||
| 1928 | Returns: a L<Paws::AutoScaling::EnterStandbyAnswer> instance | ||||||||||
| 1929 | |||||||||||
| 1930 | Moves the specified instances into the standby state. | ||||||||||
| 1931 | |||||||||||
| 1932 | If you choose to decrement the desired capacity of the Auto Scaling | ||||||||||
| 1933 | group, the instances can enter standby as long as the desired capacity | ||||||||||
| 1934 | of the Auto Scaling group after the instances are placed into standby | ||||||||||
| 1935 | is equal to or greater than the minimum capacity of the group. | ||||||||||
| 1936 | |||||||||||
| 1937 | If you choose not to decrement the desired capacity of the Auto Scaling | ||||||||||
| 1938 | group, the Auto Scaling group launches new instances to replace the | ||||||||||
| 1939 | instances on standby. | ||||||||||
| 1940 | |||||||||||
| 1941 | For more information, see Temporarily removing instances from your Auto | ||||||||||
| 1942 | Scaling group | ||||||||||
| 1943 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html) | ||||||||||
| 1944 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1945 | |||||||||||
| 1946 | |||||||||||
| 1947 | =head2 ExecutePolicy | ||||||||||
| 1948 | |||||||||||
| 1949 | =over | ||||||||||
| 1950 | |||||||||||
| 1951 | =item PolicyName => Str | ||||||||||
| 1952 | |||||||||||
| 1953 | =item [AutoScalingGroupName => Str] | ||||||||||
| 1954 | |||||||||||
| 1955 | =item [BreachThreshold => Num] | ||||||||||
| 1956 | |||||||||||
| 1957 | =item [HonorCooldown => Bool] | ||||||||||
| 1958 | |||||||||||
| 1959 | =item [MetricValue => Num] | ||||||||||
| 1960 | |||||||||||
| 1961 | |||||||||||
| 1962 | =back | ||||||||||
| 1963 | |||||||||||
| 1964 | Each argument is described in detail in: L<Paws::AutoScaling::ExecutePolicy> | ||||||||||
| 1965 | |||||||||||
| 1966 | Returns: nothing | ||||||||||
| 1967 | |||||||||||
| 1968 | Executes the specified policy. This can be useful for testing the | ||||||||||
| 1969 | design of your scaling policy. | ||||||||||
| 1970 | |||||||||||
| 1971 | |||||||||||
| 1972 | =head2 ExitStandby | ||||||||||
| 1973 | |||||||||||
| 1974 | =over | ||||||||||
| 1975 | |||||||||||
| 1976 | =item AutoScalingGroupName => Str | ||||||||||
| 1977 | |||||||||||
| 1978 | =item [InstanceIds => ArrayRef[Str|Undef]] | ||||||||||
| 1979 | |||||||||||
| 1980 | |||||||||||
| 1981 | =back | ||||||||||
| 1982 | |||||||||||
| 1983 | Each argument is described in detail in: L<Paws::AutoScaling::ExitStandby> | ||||||||||
| 1984 | |||||||||||
| 1985 | Returns: a L<Paws::AutoScaling::ExitStandbyAnswer> instance | ||||||||||
| 1986 | |||||||||||
| 1987 | Moves the specified instances out of the standby state. | ||||||||||
| 1988 | |||||||||||
| 1989 | After you put the instances back in service, the desired capacity is | ||||||||||
| 1990 | incremented. | ||||||||||
| 1991 | |||||||||||
| 1992 | For more information, see Temporarily removing instances from your Auto | ||||||||||
| 1993 | Scaling group | ||||||||||
| 1994 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enter-exit-standby.html) | ||||||||||
| 1995 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 1996 | |||||||||||
| 1997 | |||||||||||
| 1998 | =head2 GetPredictiveScalingForecast | ||||||||||
| 1999 | |||||||||||
| 2000 | =over | ||||||||||
| 2001 | |||||||||||
| 2002 | =item AutoScalingGroupName => Str | ||||||||||
| 2003 | |||||||||||
| 2004 | =item EndTime => Str | ||||||||||
| 2005 | |||||||||||
| 2006 | =item PolicyName => Str | ||||||||||
| 2007 | |||||||||||
| 2008 | =item StartTime => Str | ||||||||||
| 2009 | |||||||||||
| 2010 | |||||||||||
| 2011 | =back | ||||||||||
| 2012 | |||||||||||
| 2013 | Each argument is described in detail in: L<Paws::AutoScaling::GetPredictiveScalingForecast> | ||||||||||
| 2014 | |||||||||||
| 2015 | Returns: a L<Paws::AutoScaling::GetPredictiveScalingForecastAnswer> instance | ||||||||||
| 2016 | |||||||||||
| 2017 | Retrieves the forecast data for a predictive scaling policy. | ||||||||||
| 2018 | |||||||||||
| 2019 | Load forecasts are predictions of the hourly load values using | ||||||||||
| 2020 | historical load data from CloudWatch and an analysis of historical | ||||||||||
| 2021 | trends. Capacity forecasts are represented as predicted values for the | ||||||||||
| 2022 | minimum capacity that is needed on an hourly basis, based on the hourly | ||||||||||
| 2023 | load forecast. | ||||||||||
| 2024 | |||||||||||
| 2025 | A minimum of 24 hours of data is required to create the initial | ||||||||||
| 2026 | forecasts. However, having a full 14 days of historical data results in | ||||||||||
| 2027 | more accurate forecasts. | ||||||||||
| 2028 | |||||||||||
| 2029 | For more information, see Predictive scaling for Amazon EC2 Auto | ||||||||||
| 2030 | Scaling | ||||||||||
| 2031 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html) | ||||||||||
| 2032 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2033 | |||||||||||
| 2034 | |||||||||||
| 2035 | =head2 PutLifecycleHook | ||||||||||
| 2036 | |||||||||||
| 2037 | =over | ||||||||||
| 2038 | |||||||||||
| 2039 | =item AutoScalingGroupName => Str | ||||||||||
| 2040 | |||||||||||
| 2041 | =item LifecycleHookName => Str | ||||||||||
| 2042 | |||||||||||
| 2043 | =item [DefaultResult => Str] | ||||||||||
| 2044 | |||||||||||
| 2045 | =item [HeartbeatTimeout => Int] | ||||||||||
| 2046 | |||||||||||
| 2047 | =item [LifecycleTransition => Str] | ||||||||||
| 2048 | |||||||||||
| 2049 | =item [NotificationMetadata => Str] | ||||||||||
| 2050 | |||||||||||
| 2051 | =item [NotificationTargetARN => Str] | ||||||||||
| 2052 | |||||||||||
| 2053 | =item [RoleARN => Str] | ||||||||||
| 2054 | |||||||||||
| 2055 | |||||||||||
| 2056 | =back | ||||||||||
| 2057 | |||||||||||
| 2058 | Each argument is described in detail in: L<Paws::AutoScaling::PutLifecycleHook> | ||||||||||
| 2059 | |||||||||||
| 2060 | Returns: a L<Paws::AutoScaling::PutLifecycleHookAnswer> instance | ||||||||||
| 2061 | |||||||||||
| 2062 | Creates or updates a lifecycle hook for the specified Auto Scaling | ||||||||||
| 2063 | group. | ||||||||||
| 2064 | |||||||||||
| 2065 | A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on | ||||||||||
| 2066 | an instance when the instance launches (before it is put into service) | ||||||||||
| 2067 | or as the instance terminates (before it is fully terminated). | ||||||||||
| 2068 | |||||||||||
| 2069 | This step is a part of the procedure for adding a lifecycle hook to an | ||||||||||
| 2070 | Auto Scaling group: | ||||||||||
| 2071 | |||||||||||
| 2072 | =over | ||||||||||
| 2073 | |||||||||||
| 2074 | =item 1. | ||||||||||
| 2075 | |||||||||||
| 2076 | (Optional) Create a Lambda function and a rule that allows CloudWatch | ||||||||||
| 2077 | Events to invoke your Lambda function when Amazon EC2 Auto Scaling | ||||||||||
| 2078 | launches or terminates instances. | ||||||||||
| 2079 | |||||||||||
| 2080 | =item 2. | ||||||||||
| 2081 | |||||||||||
| 2082 | (Optional) Create a notification target and an IAM role. The target can | ||||||||||
| 2083 | be either an Amazon SQS queue or an Amazon SNS topic. The role allows | ||||||||||
| 2084 | Amazon EC2 Auto Scaling to publish lifecycle notifications to the | ||||||||||
| 2085 | target. | ||||||||||
| 2086 | |||||||||||
| 2087 | =item 3. | ||||||||||
| 2088 | |||||||||||
| 2089 | B<Create the lifecycle hook. Specify whether the hook is used when the | ||||||||||
| 2090 | instances launch or terminate.> | ||||||||||
| 2091 | |||||||||||
| 2092 | =item 4. | ||||||||||
| 2093 | |||||||||||
| 2094 | If you need more time, record the lifecycle action heartbeat to keep | ||||||||||
| 2095 | the instance in a pending state using the | ||||||||||
| 2096 | RecordLifecycleActionHeartbeat API call. | ||||||||||
| 2097 | |||||||||||
| 2098 | =item 5. | ||||||||||
| 2099 | |||||||||||
| 2100 | If you finish before the timeout period ends, complete the lifecycle | ||||||||||
| 2101 | action using the CompleteLifecycleAction API call. | ||||||||||
| 2102 | |||||||||||
| 2103 | =back | ||||||||||
| 2104 | |||||||||||
| 2105 | For more information, see Amazon EC2 Auto Scaling lifecycle hooks | ||||||||||
| 2106 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) | ||||||||||
| 2107 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2108 | |||||||||||
| 2109 | If you exceed your maximum limit of lifecycle hooks, which by default | ||||||||||
| 2110 | is 50 per Auto Scaling group, the call fails. | ||||||||||
| 2111 | |||||||||||
| 2112 | You can view the lifecycle hooks for an Auto Scaling group using the | ||||||||||
| 2113 | DescribeLifecycleHooks API call. If you are no longer using a lifecycle | ||||||||||
| 2114 | hook, you can delete it by calling the DeleteLifecycleHook API. | ||||||||||
| 2115 | |||||||||||
| 2116 | |||||||||||
| 2117 | =head2 PutNotificationConfiguration | ||||||||||
| 2118 | |||||||||||
| 2119 | =over | ||||||||||
| 2120 | |||||||||||
| 2121 | =item AutoScalingGroupName => Str | ||||||||||
| 2122 | |||||||||||
| 2123 | =item NotificationTypes => ArrayRef[Str|Undef] | ||||||||||
| 2124 | |||||||||||
| 2125 | =item TopicARN => Str | ||||||||||
| 2126 | |||||||||||
| 2127 | |||||||||||
| 2128 | =back | ||||||||||
| 2129 | |||||||||||
| 2130 | Each argument is described in detail in: L<Paws::AutoScaling::PutNotificationConfiguration> | ||||||||||
| 2131 | |||||||||||
| 2132 | Returns: nothing | ||||||||||
| 2133 | |||||||||||
| 2134 | Configures an Auto Scaling group to send notifications when specified | ||||||||||
| 2135 | events take place. Subscribers to the specified topic can have messages | ||||||||||
| 2136 | delivered to an endpoint such as a web server or an email address. | ||||||||||
| 2137 | |||||||||||
| 2138 | This configuration overwrites any existing configuration. | ||||||||||
| 2139 | |||||||||||
| 2140 | For more information, see Getting Amazon SNS notifications when your | ||||||||||
| 2141 | Auto Scaling group scales | ||||||||||
| 2142 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) | ||||||||||
| 2143 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2144 | |||||||||||
| 2145 | If you exceed your maximum limit of SNS topics, which is 10 per Auto | ||||||||||
| 2146 | Scaling group, the call fails. | ||||||||||
| 2147 | |||||||||||
| 2148 | |||||||||||
| 2149 | =head2 PutScalingPolicy | ||||||||||
| 2150 | |||||||||||
| 2151 | =over | ||||||||||
| 2152 | |||||||||||
| 2153 | =item AutoScalingGroupName => Str | ||||||||||
| 2154 | |||||||||||
| 2155 | =item PolicyName => Str | ||||||||||
| 2156 | |||||||||||
| 2157 | =item [AdjustmentType => Str] | ||||||||||
| 2158 | |||||||||||
| 2159 | =item [Cooldown => Int] | ||||||||||
| 2160 | |||||||||||
| 2161 | =item [Enabled => Bool] | ||||||||||
| 2162 | |||||||||||
| 2163 | =item [EstimatedInstanceWarmup => Int] | ||||||||||
| 2164 | |||||||||||
| 2165 | =item [MetricAggregationType => Str] | ||||||||||
| 2166 | |||||||||||
| 2167 | =item [MinAdjustmentMagnitude => Int] | ||||||||||
| 2168 | |||||||||||
| 2169 | =item [MinAdjustmentStep => Int] | ||||||||||
| 2170 | |||||||||||
| 2171 | =item [PolicyType => Str] | ||||||||||
| 2172 | |||||||||||
| 2173 | =item [PredictiveScalingConfiguration => L<Paws::AutoScaling::PredictiveScalingConfiguration>] | ||||||||||
| 2174 | |||||||||||
| 2175 | =item [ScalingAdjustment => Int] | ||||||||||
| 2176 | |||||||||||
| 2177 | =item [StepAdjustments => ArrayRef[L<Paws::AutoScaling::StepAdjustment>]] | ||||||||||
| 2178 | |||||||||||
| 2179 | =item [TargetTrackingConfiguration => L<Paws::AutoScaling::TargetTrackingConfiguration>] | ||||||||||
| 2180 | |||||||||||
| 2181 | |||||||||||
| 2182 | =back | ||||||||||
| 2183 | |||||||||||
| 2184 | Each argument is described in detail in: L<Paws::AutoScaling::PutScalingPolicy> | ||||||||||
| 2185 | |||||||||||
| 2186 | Returns: a L<Paws::AutoScaling::PolicyARNType> instance | ||||||||||
| 2187 | |||||||||||
| 2188 | Creates or updates a scaling policy for an Auto Scaling group. Scaling | ||||||||||
| 2189 | policies are used to scale an Auto Scaling group based on configurable | ||||||||||
| 2190 | metrics. If no policies are defined, the dynamic scaling and predictive | ||||||||||
| 2191 | scaling features are not used. | ||||||||||
| 2192 | |||||||||||
| 2193 | For more information about using dynamic scaling, see Target tracking | ||||||||||
| 2194 | scaling policies | ||||||||||
| 2195 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html) | ||||||||||
| 2196 | and Step and simple scaling policies | ||||||||||
| 2197 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) | ||||||||||
| 2198 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2199 | |||||||||||
| 2200 | For more information about using predictive scaling, see Predictive | ||||||||||
| 2201 | scaling for Amazon EC2 Auto Scaling | ||||||||||
| 2202 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html) | ||||||||||
| 2203 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2204 | |||||||||||
| 2205 | You can view the scaling policies for an Auto Scaling group using the | ||||||||||
| 2206 | DescribePolicies API call. If you are no longer using a scaling policy, | ||||||||||
| 2207 | you can delete it by calling the DeletePolicy API. | ||||||||||
| 2208 | |||||||||||
| 2209 | |||||||||||
| 2210 | =head2 PutScheduledUpdateGroupAction | ||||||||||
| 2211 | |||||||||||
| 2212 | =over | ||||||||||
| 2213 | |||||||||||
| 2214 | =item AutoScalingGroupName => Str | ||||||||||
| 2215 | |||||||||||
| 2216 | =item ScheduledActionName => Str | ||||||||||
| 2217 | |||||||||||
| 2218 | =item [DesiredCapacity => Int] | ||||||||||
| 2219 | |||||||||||
| 2220 | =item [EndTime => Str] | ||||||||||
| 2221 | |||||||||||
| 2222 | =item [MaxSize => Int] | ||||||||||
| 2223 | |||||||||||
| 2224 | =item [MinSize => Int] | ||||||||||
| 2225 | |||||||||||
| 2226 | =item [Recurrence => Str] | ||||||||||
| 2227 | |||||||||||
| 2228 | =item [StartTime => Str] | ||||||||||
| 2229 | |||||||||||
| 2230 | =item [Time => Str] | ||||||||||
| 2231 | |||||||||||
| 2232 | =item [TimeZone => Str] | ||||||||||
| 2233 | |||||||||||
| 2234 | |||||||||||
| 2235 | =back | ||||||||||
| 2236 | |||||||||||
| 2237 | Each argument is described in detail in: L<Paws::AutoScaling::PutScheduledUpdateGroupAction> | ||||||||||
| 2238 | |||||||||||
| 2239 | Returns: nothing | ||||||||||
| 2240 | |||||||||||
| 2241 | Creates or updates a scheduled scaling action for an Auto Scaling | ||||||||||
| 2242 | group. | ||||||||||
| 2243 | |||||||||||
| 2244 | For more information, see Scheduled scaling | ||||||||||
| 2245 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html) | ||||||||||
| 2246 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2247 | |||||||||||
| 2248 | You can view the scheduled actions for an Auto Scaling group using the | ||||||||||
| 2249 | DescribeScheduledActions API call. If you are no longer using a | ||||||||||
| 2250 | scheduled action, you can delete it by calling the | ||||||||||
| 2251 | DeleteScheduledAction API. | ||||||||||
| 2252 | |||||||||||
| 2253 | |||||||||||
| 2254 | =head2 PutWarmPool | ||||||||||
| 2255 | |||||||||||
| 2256 | =over | ||||||||||
| 2257 | |||||||||||
| 2258 | =item AutoScalingGroupName => Str | ||||||||||
| 2259 | |||||||||||
| 2260 | =item [MaxGroupPreparedCapacity => Int] | ||||||||||
| 2261 | |||||||||||
| 2262 | =item [MinSize => Int] | ||||||||||
| 2263 | |||||||||||
| 2264 | =item [PoolState => Str] | ||||||||||
| 2265 | |||||||||||
| 2266 | |||||||||||
| 2267 | =back | ||||||||||
| 2268 | |||||||||||
| 2269 | Each argument is described in detail in: L<Paws::AutoScaling::PutWarmPool> | ||||||||||
| 2270 | |||||||||||
| 2271 | Returns: a L<Paws::AutoScaling::PutWarmPoolAnswer> instance | ||||||||||
| 2272 | |||||||||||
| 2273 | Creates or updates a warm pool for the specified Auto Scaling group. A | ||||||||||
| 2274 | warm pool is a pool of pre-initialized EC2 instances that sits | ||||||||||
| 2275 | alongside the Auto Scaling group. Whenever your application needs to | ||||||||||
| 2276 | scale out, the Auto Scaling group can draw on the warm pool to meet its | ||||||||||
| 2277 | new desired capacity. For more information and example configurations, | ||||||||||
| 2278 | see Warm pools for Amazon EC2 Auto Scaling | ||||||||||
| 2279 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html) | ||||||||||
| 2280 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2281 | |||||||||||
| 2282 | This operation must be called from the Region in which the Auto Scaling | ||||||||||
| 2283 | group was created. This operation cannot be called on an Auto Scaling | ||||||||||
| 2284 | group that has a mixed instances policy or a launch template or launch | ||||||||||
| 2285 | configuration that requests Spot Instances. | ||||||||||
| 2286 | |||||||||||
| 2287 | You can view the instances in the warm pool using the DescribeWarmPool | ||||||||||
| 2288 | API call. If you are no longer using a warm pool, you can delete it by | ||||||||||
| 2289 | calling the DeleteWarmPool API. | ||||||||||
| 2290 | |||||||||||
| 2291 | |||||||||||
| 2292 | =head2 RecordLifecycleActionHeartbeat | ||||||||||
| 2293 | |||||||||||
| 2294 | =over | ||||||||||
| 2295 | |||||||||||
| 2296 | =item AutoScalingGroupName => Str | ||||||||||
| 2297 | |||||||||||
| 2298 | =item LifecycleHookName => Str | ||||||||||
| 2299 | |||||||||||
| 2300 | =item [InstanceId => Str] | ||||||||||
| 2301 | |||||||||||
| 2302 | =item [LifecycleActionToken => Str] | ||||||||||
| 2303 | |||||||||||
| 2304 | |||||||||||
| 2305 | =back | ||||||||||
| 2306 | |||||||||||
| 2307 | Each argument is described in detail in: L<Paws::AutoScaling::RecordLifecycleActionHeartbeat> | ||||||||||
| 2308 | |||||||||||
| 2309 | Returns: a L<Paws::AutoScaling::RecordLifecycleActionHeartbeatAnswer> instance | ||||||||||
| 2310 | |||||||||||
| 2311 | Records a heartbeat for the lifecycle action associated with the | ||||||||||
| 2312 | specified token or instance. This extends the timeout by the length of | ||||||||||
| 2313 | time defined using the PutLifecycleHook API call. | ||||||||||
| 2314 | |||||||||||
| 2315 | This step is a part of the procedure for adding a lifecycle hook to an | ||||||||||
| 2316 | Auto Scaling group: | ||||||||||
| 2317 | |||||||||||
| 2318 | =over | ||||||||||
| 2319 | |||||||||||
| 2320 | =item 1. | ||||||||||
| 2321 | |||||||||||
| 2322 | (Optional) Create a Lambda function and a rule that allows CloudWatch | ||||||||||
| 2323 | Events to invoke your Lambda function when Amazon EC2 Auto Scaling | ||||||||||
| 2324 | launches or terminates instances. | ||||||||||
| 2325 | |||||||||||
| 2326 | =item 2. | ||||||||||
| 2327 | |||||||||||
| 2328 | (Optional) Create a notification target and an IAM role. The target can | ||||||||||
| 2329 | be either an Amazon SQS queue or an Amazon SNS topic. The role allows | ||||||||||
| 2330 | Amazon EC2 Auto Scaling to publish lifecycle notifications to the | ||||||||||
| 2331 | target. | ||||||||||
| 2332 | |||||||||||
| 2333 | =item 3. | ||||||||||
| 2334 | |||||||||||
| 2335 | Create the lifecycle hook. Specify whether the hook is used when the | ||||||||||
| 2336 | instances launch or terminate. | ||||||||||
| 2337 | |||||||||||
| 2338 | =item 4. | ||||||||||
| 2339 | |||||||||||
| 2340 | B<If you need more time, record the lifecycle action heartbeat to keep | ||||||||||
| 2341 | the instance in a pending state.> | ||||||||||
| 2342 | |||||||||||
| 2343 | =item 5. | ||||||||||
| 2344 | |||||||||||
| 2345 | If you finish before the timeout period ends, complete the lifecycle | ||||||||||
| 2346 | action. | ||||||||||
| 2347 | |||||||||||
| 2348 | =back | ||||||||||
| 2349 | |||||||||||
| 2350 | For more information, see Amazon EC2 Auto Scaling lifecycle hooks | ||||||||||
| 2351 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) | ||||||||||
| 2352 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2353 | |||||||||||
| 2354 | |||||||||||
| 2355 | =head2 ResumeProcesses | ||||||||||
| 2356 | |||||||||||
| 2357 | =over | ||||||||||
| 2358 | |||||||||||
| 2359 | =item AutoScalingGroupName => Str | ||||||||||
| 2360 | |||||||||||
| 2361 | =item [ScalingProcesses => ArrayRef[Str|Undef]] | ||||||||||
| 2362 | |||||||||||
| 2363 | |||||||||||
| 2364 | =back | ||||||||||
| 2365 | |||||||||||
| 2366 | Each argument is described in detail in: L<Paws::AutoScaling::ResumeProcesses> | ||||||||||
| 2367 | |||||||||||
| 2368 | Returns: nothing | ||||||||||
| 2369 | |||||||||||
| 2370 | Resumes the specified suspended auto scaling processes, or all | ||||||||||
| 2371 | suspended process, for the specified Auto Scaling group. | ||||||||||
| 2372 | |||||||||||
| 2373 | For more information, see Suspending and resuming scaling processes | ||||||||||
| 2374 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) | ||||||||||
| 2375 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2376 | |||||||||||
| 2377 | |||||||||||
| 2378 | =head2 SetDesiredCapacity | ||||||||||
| 2379 | |||||||||||
| 2380 | =over | ||||||||||
| 2381 | |||||||||||
| 2382 | =item AutoScalingGroupName => Str | ||||||||||
| 2383 | |||||||||||
| 2384 | =item DesiredCapacity => Int | ||||||||||
| 2385 | |||||||||||
| 2386 | =item [HonorCooldown => Bool] | ||||||||||
| 2387 | |||||||||||
| 2388 | |||||||||||
| 2389 | =back | ||||||||||
| 2390 | |||||||||||
| 2391 | Each argument is described in detail in: L<Paws::AutoScaling::SetDesiredCapacity> | ||||||||||
| 2392 | |||||||||||
| 2393 | Returns: nothing | ||||||||||
| 2394 | |||||||||||
| 2395 | Sets the size of the specified Auto Scaling group. | ||||||||||
| 2396 | |||||||||||
| 2397 | If a scale-in activity occurs as a result of a new C<DesiredCapacity> | ||||||||||
| 2398 | value that is lower than the current size of the group, the Auto | ||||||||||
| 2399 | Scaling group uses its termination policy to determine which instances | ||||||||||
| 2400 | to terminate. | ||||||||||
| 2401 | |||||||||||
| 2402 | For more information, see Manual scaling | ||||||||||
| 2403 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html) | ||||||||||
| 2404 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2405 | |||||||||||
| 2406 | |||||||||||
| 2407 | =head2 SetInstanceHealth | ||||||||||
| 2408 | |||||||||||
| 2409 | =over | ||||||||||
| 2410 | |||||||||||
| 2411 | =item HealthStatus => Str | ||||||||||
| 2412 | |||||||||||
| 2413 | =item InstanceId => Str | ||||||||||
| 2414 | |||||||||||
| 2415 | =item [ShouldRespectGracePeriod => Bool] | ||||||||||
| 2416 | |||||||||||
| 2417 | |||||||||||
| 2418 | =back | ||||||||||
| 2419 | |||||||||||
| 2420 | Each argument is described in detail in: L<Paws::AutoScaling::SetInstanceHealth> | ||||||||||
| 2421 | |||||||||||
| 2422 | Returns: nothing | ||||||||||
| 2423 | |||||||||||
| 2424 | Sets the health status of the specified instance. | ||||||||||
| 2425 | |||||||||||
| 2426 | For more information, see Health checks for Auto Scaling instances | ||||||||||
| 2427 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) | ||||||||||
| 2428 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2429 | |||||||||||
| 2430 | |||||||||||
| 2431 | =head2 SetInstanceProtection | ||||||||||
| 2432 | |||||||||||
| 2433 | =over | ||||||||||
| 2434 | |||||||||||
| 2435 | =item AutoScalingGroupName => Str | ||||||||||
| 2436 | |||||||||||
| 2437 | =item InstanceIds => ArrayRef[Str|Undef] | ||||||||||
| 2438 | |||||||||||
| 2439 | =item ProtectedFromScaleIn => Bool | ||||||||||
| 2440 | |||||||||||
| 2441 | |||||||||||
| 2442 | =back | ||||||||||
| 2443 | |||||||||||
| 2444 | Each argument is described in detail in: L<Paws::AutoScaling::SetInstanceProtection> | ||||||||||
| 2445 | |||||||||||
| 2446 | Returns: a L<Paws::AutoScaling::SetInstanceProtectionAnswer> instance | ||||||||||
| 2447 | |||||||||||
| 2448 | Updates the instance protection settings of the specified instances. | ||||||||||
| 2449 | This operation cannot be called on instances in a warm pool. | ||||||||||
| 2450 | |||||||||||
| 2451 | For more information about preventing instances that are part of an | ||||||||||
| 2452 | Auto Scaling group from terminating on scale in, see Instance scale-in | ||||||||||
| 2453 | protection | ||||||||||
| 2454 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) | ||||||||||
| 2455 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2456 | |||||||||||
| 2457 | If you exceed your maximum limit of instance IDs, which is 50 per Auto | ||||||||||
| 2458 | Scaling group, the call fails. | ||||||||||
| 2459 | |||||||||||
| 2460 | |||||||||||
| 2461 | =head2 StartInstanceRefresh | ||||||||||
| 2462 | |||||||||||
| 2463 | =over | ||||||||||
| 2464 | |||||||||||
| 2465 | =item AutoScalingGroupName => Str | ||||||||||
| 2466 | |||||||||||
| 2467 | =item [Preferences => L<Paws::AutoScaling::RefreshPreferences>] | ||||||||||
| 2468 | |||||||||||
| 2469 | =item [Strategy => Str] | ||||||||||
| 2470 | |||||||||||
| 2471 | |||||||||||
| 2472 | =back | ||||||||||
| 2473 | |||||||||||
| 2474 | Each argument is described in detail in: L<Paws::AutoScaling::StartInstanceRefresh> | ||||||||||
| 2475 | |||||||||||
| 2476 | Returns: a L<Paws::AutoScaling::StartInstanceRefreshAnswer> instance | ||||||||||
| 2477 | |||||||||||
| 2478 | Starts a new instance refresh operation, which triggers a rolling | ||||||||||
| 2479 | replacement of previously launched instances in the Auto Scaling group | ||||||||||
| 2480 | with a new group of instances. | ||||||||||
| 2481 | |||||||||||
| 2482 | This operation is part of the instance refresh feature | ||||||||||
| 2483 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html) | ||||||||||
| 2484 | in Amazon EC2 Auto Scaling, which helps you update instances in your | ||||||||||
| 2485 | Auto Scaling group after you make configuration changes. | ||||||||||
| 2486 | |||||||||||
| 2487 | If the call succeeds, it creates a new instance refresh request with a | ||||||||||
| 2488 | unique ID that you can use to track its progress. To query its status, | ||||||||||
| 2489 | call the DescribeInstanceRefreshes API. To describe the instance | ||||||||||
| 2490 | refreshes that have already run, call the DescribeInstanceRefreshes | ||||||||||
| 2491 | API. To cancel an instance refresh operation in progress, use the | ||||||||||
| 2492 | CancelInstanceRefresh API. | ||||||||||
| 2493 | |||||||||||
| 2494 | |||||||||||
| 2495 | =head2 SuspendProcesses | ||||||||||
| 2496 | |||||||||||
| 2497 | =over | ||||||||||
| 2498 | |||||||||||
| 2499 | =item AutoScalingGroupName => Str | ||||||||||
| 2500 | |||||||||||
| 2501 | =item [ScalingProcesses => ArrayRef[Str|Undef]] | ||||||||||
| 2502 | |||||||||||
| 2503 | |||||||||||
| 2504 | =back | ||||||||||
| 2505 | |||||||||||
| 2506 | Each argument is described in detail in: L<Paws::AutoScaling::SuspendProcesses> | ||||||||||
| 2507 | |||||||||||
| 2508 | Returns: nothing | ||||||||||
| 2509 | |||||||||||
| 2510 | Suspends the specified auto scaling processes, or all processes, for | ||||||||||
| 2511 | the specified Auto Scaling group. | ||||||||||
| 2512 | |||||||||||
| 2513 | If you suspend either the C<Launch> or C<Terminate> process types, it | ||||||||||
| 2514 | can prevent other process types from functioning properly. For more | ||||||||||
| 2515 | information, see Suspending and resuming scaling processes | ||||||||||
| 2516 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) | ||||||||||
| 2517 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2518 | |||||||||||
| 2519 | To resume processes that have been suspended, call the ResumeProcesses | ||||||||||
| 2520 | API. | ||||||||||
| 2521 | |||||||||||
| 2522 | |||||||||||
| 2523 | =head2 TerminateInstanceInAutoScalingGroup | ||||||||||
| 2524 | |||||||||||
| 2525 | =over | ||||||||||
| 2526 | |||||||||||
| 2527 | =item InstanceId => Str | ||||||||||
| 2528 | |||||||||||
| 2529 | =item ShouldDecrementDesiredCapacity => Bool | ||||||||||
| 2530 | |||||||||||
| 2531 | |||||||||||
| 2532 | =back | ||||||||||
| 2533 | |||||||||||
| 2534 | Each argument is described in detail in: L<Paws::AutoScaling::TerminateInstanceInAutoScalingGroup> | ||||||||||
| 2535 | |||||||||||
| 2536 | Returns: a L<Paws::AutoScaling::ActivityType> instance | ||||||||||
| 2537 | |||||||||||
| 2538 | Terminates the specified instance and optionally adjusts the desired | ||||||||||
| 2539 | group size. This operation cannot be called on instances in a warm | ||||||||||
| 2540 | pool. | ||||||||||
| 2541 | |||||||||||
| 2542 | This call simply makes a termination request. The instance is not | ||||||||||
| 2543 | terminated immediately. When an instance is terminated, the instance | ||||||||||
| 2544 | status changes to C<terminated>. You can't connect to or start an | ||||||||||
| 2545 | instance after you've terminated it. | ||||||||||
| 2546 | |||||||||||
| 2547 | If you do not specify the option to decrement the desired capacity, | ||||||||||
| 2548 | Amazon EC2 Auto Scaling launches instances to replace the ones that are | ||||||||||
| 2549 | terminated. | ||||||||||
| 2550 | |||||||||||
| 2551 | By default, Amazon EC2 Auto Scaling balances instances across all | ||||||||||
| 2552 | Availability Zones. If you decrement the desired capacity, your Auto | ||||||||||
| 2553 | Scaling group can become unbalanced between Availability Zones. Amazon | ||||||||||
| 2554 | EC2 Auto Scaling tries to rebalance the group, and rebalancing might | ||||||||||
| 2555 | terminate instances in other zones. For more information, see | ||||||||||
| 2556 | Rebalancing activities | ||||||||||
| 2557 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage) | ||||||||||
| 2558 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||||||||||
| 2559 | |||||||||||
| 2560 | |||||||||||
| 2561 | =head2 UpdateAutoScalingGroup | ||||||||||
| 2562 | |||||||||||
| 2563 | =over | ||||||||||
| 2564 | |||||||||||
| 2565 | =item AutoScalingGroupName => Str | ||||||||||
| 2566 | |||||||||||
| 2567 | =item [AvailabilityZones => ArrayRef[Str|Undef]] | ||||||||||
| 2568 | |||||||||||
| 2569 | =item [CapacityRebalance => Bool] | ||||||||||
| 2570 | |||||||||||
| 2571 | =item [Context => Str] | ||||||||||
| 2572 | |||||||||||
| 2573 | =item [DefaultCooldown => Int] | ||||||||||
| 2574 | |||||||||||
| 2575 | =item [DesiredCapacity => Int] | ||||||||||
| 2576 | |||||||||||
| 2577 | =item [HealthCheckGracePeriod => Int] | ||||||||||
| 2578 | |||||||||||
| 2579 | =item [HealthCheckType => Str] | ||||||||||
| 2580 | |||||||||||
| 2581 | =item [LaunchConfigurationName => Str] | ||||||||||
| 2582 | |||||||||||
| 2583 | =item [LaunchTemplate => L<Paws::AutoScaling::LaunchTemplateSpecification>] | ||||||||||
| 2584 | |||||||||||
| 2585 | =item [MaxInstanceLifetime => Int] | ||||||||||
| 2586 | |||||||||||
| 2587 | =item [MaxSize => Int] | ||||||||||
| 2588 | |||||||||||
| 2589 | =item [MinSize => Int] | ||||||||||
| 2590 | |||||||||||
| 2591 | =item [MixedInstancesPolicy => L<Paws::AutoScaling::MixedInstancesPolicy>] | ||||||||||
| 2592 | |||||||||||
| 2593 | =item [NewInstancesProtectedFromScaleIn => Bool] | ||||||||||
| 2594 | |||||||||||
| 2595 | =item [PlacementGroup => Str] | ||||||||||
| 2596 | |||||||||||
| 2597 | =item [ServiceLinkedRoleARN => Str] | ||||||||||
| 2598 | |||||||||||
| 2599 | =item [TerminationPolicies => ArrayRef[Str|Undef]] | ||||||||||
| 2600 | |||||||||||
| 2601 | =item [VPCZoneIdentifier => Str] | ||||||||||
| 2602 | |||||||||||
| 2603 | |||||||||||
| 2604 | =back | ||||||||||
| 2605 | |||||||||||
| 2606 | Each argument is described in detail in: L<Paws::AutoScaling::UpdateAutoScalingGroup> | ||||||||||
| 2607 | |||||||||||
| 2608 | Returns: nothing | ||||||||||
| 2609 | |||||||||||
| 2610 | B<We strongly recommend that all Auto Scaling groups use launch | ||||||||||
| 2611 | templates to ensure full functionality for Amazon EC2 Auto Scaling and | ||||||||||
| 2612 | Amazon EC2.> | ||||||||||
| 2613 | |||||||||||
| 2614 | Updates the configuration for the specified Auto Scaling group. | ||||||||||
| 2615 | |||||||||||
| 2616 | To update an Auto Scaling group, specify the name of the group and the | ||||||||||
| 2617 | parameter that you want to change. Any parameters that you don't | ||||||||||
| 2618 | specify are not changed by this update request. The new settings take | ||||||||||
| 2619 | effect on any scaling activities after this call returns. | ||||||||||
| 2620 | |||||||||||
| 2621 | If you associate a new launch configuration or template with an Auto | ||||||||||
| 2622 | Scaling group, all new instances will get the updated configuration. | ||||||||||
| 2623 | Existing instances continue to run with the configuration that they | ||||||||||
| 2624 | were originally launched with. When you update a group to specify a | ||||||||||
| 2625 | mixed instances policy instead of a launch configuration or template, | ||||||||||
| 2626 | existing instances may be replaced to match the new purchasing options | ||||||||||
| 2627 | that you specified in the policy. For example, if the group currently | ||||||||||
| 2628 | has 100% On-Demand capacity and the policy specifies 50% Spot capacity, | ||||||||||
| 2629 | this means that half of your instances will be gradually terminated and | ||||||||||
| 2630 | relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto | ||||||||||
| 2631 | Scaling launches new instances before terminating the old ones, so that | ||||||||||
| 2632 | updating your group does not compromise the performance or availability | ||||||||||
| 2633 | of your application. | ||||||||||
| 2634 | |||||||||||
| 2635 | Note the following about changing C<DesiredCapacity>, C<MaxSize>, or | ||||||||||
| 2636 | C<MinSize>: | ||||||||||
| 2637 | |||||||||||
| 2638 | =over | ||||||||||
| 2639 | |||||||||||
| 2640 | =item * | ||||||||||
| 2641 | |||||||||||
| 2642 | If a scale-in activity occurs as a result of a new C<DesiredCapacity> | ||||||||||
| 2643 | value that is lower than the current size of the group, the Auto | ||||||||||
| 2644 | Scaling group uses its termination policy to determine which instances | ||||||||||
| 2645 | to terminate. | ||||||||||
| 2646 | |||||||||||
| 2647 | =item * | ||||||||||
| 2648 | |||||||||||
| 2649 | If you specify a new value for C<MinSize> without specifying a value | ||||||||||
| 2650 | for C<DesiredCapacity>, and the new C<MinSize> is larger than the | ||||||||||
| 2651 | current size of the group, this sets the group's C<DesiredCapacity> to | ||||||||||
| 2652 | the new C<MinSize> value. | ||||||||||
| 2653 | |||||||||||
| 2654 | =item * | ||||||||||
| 2655 | |||||||||||
| 2656 | If you specify a new value for C<MaxSize> without specifying a value | ||||||||||
| 2657 | for C<DesiredCapacity>, and the new C<MaxSize> is smaller than the | ||||||||||
| 2658 | current size of the group, this sets the group's C<DesiredCapacity> to | ||||||||||
| 2659 | the new C<MaxSize> value. | ||||||||||
| 2660 | |||||||||||
| 2661 | =back | ||||||||||
| 2662 | |||||||||||
| 2663 | To see which parameters have been set, call the | ||||||||||
| 2664 | DescribeAutoScalingGroups API. To view the scaling policies for an Auto | ||||||||||
| 2665 | Scaling group, call the DescribePolicies API. If the group has scaling | ||||||||||
| 2666 | policies, you can update them by calling the PutScalingPolicy API. | ||||||||||
| 2667 | |||||||||||
| 2668 | |||||||||||
| 2669 | |||||||||||
| 2670 | |||||||||||
| 2671 | =head1 PAGINATORS | ||||||||||
| 2672 | |||||||||||
| 2673 | Paginator methods are helpers that repetively call methods that return partial results | ||||||||||
| 2674 | |||||||||||
| 2675 | =head2 DescribeAllAutoScalingGroups(sub { },[AutoScalingGroupNames => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2676 | |||||||||||
| 2677 | =head2 DescribeAllAutoScalingGroups([AutoScalingGroupNames => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2678 | |||||||||||
| 2679 | |||||||||||
| 2680 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2681 | |||||||||||
| 2682 | - AutoScalingGroups, passing the object as the first parameter, and the string 'AutoScalingGroups' as the second parameter | ||||||||||
| 2683 | |||||||||||
| 2684 | If not, it will return a a L<Paws::AutoScaling::AutoScalingGroupsType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2685 | |||||||||||
| 2686 | |||||||||||
| 2687 | =head2 DescribeAllAutoScalingInstances(sub { },[InstanceIds => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2688 | |||||||||||
| 2689 | =head2 DescribeAllAutoScalingInstances([InstanceIds => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2690 | |||||||||||
| 2691 | |||||||||||
| 2692 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2693 | |||||||||||
| 2694 | - AutoScalingInstances, passing the object as the first parameter, and the string 'AutoScalingInstances' as the second parameter | ||||||||||
| 2695 | |||||||||||
| 2696 | If not, it will return a a L<Paws::AutoScaling::AutoScalingInstancesType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2697 | |||||||||||
| 2698 | |||||||||||
| 2699 | =head2 DescribeAllLaunchConfigurations(sub { },[LaunchConfigurationNames => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2700 | |||||||||||
| 2701 | =head2 DescribeAllLaunchConfigurations([LaunchConfigurationNames => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2702 | |||||||||||
| 2703 | |||||||||||
| 2704 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2705 | |||||||||||
| 2706 | - LaunchConfigurations, passing the object as the first parameter, and the string 'LaunchConfigurations' as the second parameter | ||||||||||
| 2707 | |||||||||||
| 2708 | If not, it will return a a L<Paws::AutoScaling::LaunchConfigurationsType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2709 | |||||||||||
| 2710 | |||||||||||
| 2711 | =head2 DescribeAllLoadBalancers(sub { },AutoScalingGroupName => Str, [MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2712 | |||||||||||
| 2713 | =head2 DescribeAllLoadBalancers(AutoScalingGroupName => Str, [MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2714 | |||||||||||
| 2715 | |||||||||||
| 2716 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2717 | |||||||||||
| 2718 | - LoadBalancers, passing the object as the first parameter, and the string 'LoadBalancers' as the second parameter | ||||||||||
| 2719 | |||||||||||
| 2720 | If not, it will return a a L<Paws::AutoScaling::DescribeLoadBalancersResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2721 | |||||||||||
| 2722 | |||||||||||
| 2723 | =head2 DescribeAllLoadBalancerTargetGroups(sub { },AutoScalingGroupName => Str, [MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2724 | |||||||||||
| 2725 | =head2 DescribeAllLoadBalancerTargetGroups(AutoScalingGroupName => Str, [MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2726 | |||||||||||
| 2727 | |||||||||||
| 2728 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2729 | |||||||||||
| 2730 | - LoadBalancerTargetGroups, passing the object as the first parameter, and the string 'LoadBalancerTargetGroups' as the second parameter | ||||||||||
| 2731 | |||||||||||
| 2732 | If not, it will return a a L<Paws::AutoScaling::DescribeLoadBalancerTargetGroupsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2733 | |||||||||||
| 2734 | |||||||||||
| 2735 | =head2 DescribeAllNotificationConfigurations(sub { },[AutoScalingGroupNames => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2736 | |||||||||||
| 2737 | =head2 DescribeAllNotificationConfigurations([AutoScalingGroupNames => ArrayRef[Str|Undef], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2738 | |||||||||||
| 2739 | |||||||||||
| 2740 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2741 | |||||||||||
| 2742 | - NotificationConfigurations, passing the object as the first parameter, and the string 'NotificationConfigurations' as the second parameter | ||||||||||
| 2743 | |||||||||||
| 2744 | If not, it will return a a L<Paws::AutoScaling::DescribeNotificationConfigurationsAnswer> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2745 | |||||||||||
| 2746 | |||||||||||
| 2747 | =head2 DescribeAllPolicies(sub { },[AutoScalingGroupName => Str, MaxRecords => Int, NextToken => Str, PolicyNames => ArrayRef[Str|Undef], PolicyTypes => ArrayRef[Str|Undef]]) | ||||||||||
| 2748 | |||||||||||
| 2749 | =head2 DescribeAllPolicies([AutoScalingGroupName => Str, MaxRecords => Int, NextToken => Str, PolicyNames => ArrayRef[Str|Undef], PolicyTypes => ArrayRef[Str|Undef]]) | ||||||||||
| 2750 | |||||||||||
| 2751 | |||||||||||
| 2752 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2753 | |||||||||||
| 2754 | - ScalingPolicies, passing the object as the first parameter, and the string 'ScalingPolicies' as the second parameter | ||||||||||
| 2755 | |||||||||||
| 2756 | If not, it will return a a L<Paws::AutoScaling::PoliciesType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2757 | |||||||||||
| 2758 | |||||||||||
| 2759 | =head2 DescribeAllScalingActivities(sub { },[ActivityIds => ArrayRef[Str|Undef], AutoScalingGroupName => Str, IncludeDeletedGroups => Bool, MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2760 | |||||||||||
| 2761 | =head2 DescribeAllScalingActivities([ActivityIds => ArrayRef[Str|Undef], AutoScalingGroupName => Str, IncludeDeletedGroups => Bool, MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2762 | |||||||||||
| 2763 | |||||||||||
| 2764 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2765 | |||||||||||
| 2766 | - Activities, passing the object as the first parameter, and the string 'Activities' as the second parameter | ||||||||||
| 2767 | |||||||||||
| 2768 | If not, it will return a a L<Paws::AutoScaling::ActivitiesType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2769 | |||||||||||
| 2770 | |||||||||||
| 2771 | =head2 DescribeAllScheduledActions(sub { },[AutoScalingGroupName => Str, EndTime => Str, MaxRecords => Int, NextToken => Str, ScheduledActionNames => ArrayRef[Str|Undef], StartTime => Str]) | ||||||||||
| 2772 | |||||||||||
| 2773 | =head2 DescribeAllScheduledActions([AutoScalingGroupName => Str, EndTime => Str, MaxRecords => Int, NextToken => Str, ScheduledActionNames => ArrayRef[Str|Undef], StartTime => Str]) | ||||||||||
| 2774 | |||||||||||
| 2775 | |||||||||||
| 2776 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2777 | |||||||||||
| 2778 | - ScheduledUpdateGroupActions, passing the object as the first parameter, and the string 'ScheduledUpdateGroupActions' as the second parameter | ||||||||||
| 2779 | |||||||||||
| 2780 | If not, it will return a a L<Paws::AutoScaling::ScheduledActionsType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2781 | |||||||||||
| 2782 | |||||||||||
| 2783 | =head2 DescribeAllTags(sub { },[Filters => ArrayRef[L<Paws::AutoScaling::Filter>], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2784 | |||||||||||
| 2785 | =head2 DescribeAllTags([Filters => ArrayRef[L<Paws::AutoScaling::Filter>], MaxRecords => Int, NextToken => Str]) | ||||||||||
| 2786 | |||||||||||
| 2787 | |||||||||||
| 2788 | If passed a sub as first parameter, it will call the sub for each element found in : | ||||||||||
| 2789 | |||||||||||
| 2790 | - Tags, passing the object as the first parameter, and the string 'Tags' as the second parameter | ||||||||||
| 2791 | |||||||||||
| 2792 | If not, it will return a a L<Paws::AutoScaling::TagsType> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||||||||||
| 2793 | |||||||||||
| 2794 | |||||||||||
| 2795 | |||||||||||
| 2796 | |||||||||||
| 2797 | |||||||||||
| 2798 | =head1 SEE ALSO | ||||||||||
| 2799 | |||||||||||
| 2800 | This service class forms part of L<Paws> | ||||||||||
| 2801 | |||||||||||
| 2802 | =head1 BUGS and CONTRIBUTIONS | ||||||||||
| 2803 | |||||||||||
| 2804 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||||||||||
| 2805 | |||||||||||
| 2806 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||||||||||
| 2807 | |||||||||||
| 2808 | =cut | ||||||||||
| 2809 | |||||||||||