@aws-sdk/client-auto-scaling 3.288.0 → 3.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist-types/commands/AttachInstancesCommand.d.ts +22 -0
  2. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +22 -0
  3. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +22 -0
  4. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +8 -0
  5. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +5 -0
  6. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +14 -0
  7. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +31 -0
  8. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +19 -0
  9. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +102 -0
  10. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +31 -0
  11. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +43 -0
  12. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +35 -0
  13. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +19 -0
  14. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +17 -0
  15. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +17 -0
  16. package/dist-types/commands/DeletePolicyCommand.d.ts +20 -0
  17. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +17 -0
  18. package/dist-types/commands/DeleteTagsCommand.d.ts +26 -0
  19. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +18 -0
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +22 -0
  21. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +29 -0
  22. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +61 -0
  23. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +36 -0
  24. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +25 -0
  25. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +42 -0
  26. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +43 -0
  27. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +22 -0
  28. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +32 -0
  29. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +29 -0
  30. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +29 -0
  31. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +49 -0
  32. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +37 -0
  33. package/dist-types/commands/DescribePoliciesCommand.d.ts +46 -0
  34. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +36 -0
  35. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +44 -0
  36. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +36 -0
  37. package/dist-types/commands/DescribeTagsCommand.d.ts +46 -0
  38. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +25 -0
  39. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +8 -0
  40. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +14 -0
  41. package/dist-types/commands/DetachInstancesCommand.d.ts +36 -0
  42. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +19 -0
  43. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +19 -0
  44. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +5 -0
  45. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +19 -0
  46. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +17 -0
  47. package/dist-types/commands/EnterStandbyCommand.d.ts +36 -0
  48. package/dist-types/commands/ExecutePolicyCommand.d.ts +23 -0
  49. package/dist-types/commands/ExitStandbyCommand.d.ts +35 -0
  50. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +5 -0
  51. package/dist-types/commands/PutLifecycleHookCommand.d.ts +26 -0
  52. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +29 -0
  53. package/dist-types/commands/PutScalingPolicyCommand.d.ts +49 -0
  54. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +31 -0
  55. package/dist-types/commands/PutWarmPoolCommand.d.ts +27 -0
  56. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +18 -0
  57. package/dist-types/commands/ResumeProcessesCommand.d.ts +22 -0
  58. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +21 -0
  59. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +22 -0
  60. package/dist-types/commands/SetInstanceHealthCommand.d.ts +17 -0
  61. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +41 -0
  62. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +42 -0
  63. package/dist-types/commands/SuspendProcessesCommand.d.ts +22 -0
  64. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +21 -0
  65. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +30 -0
  66. package/package.json +30 -30
@@ -38,6 +38,28 @@ export interface AttachInstancesCommandOutput extends __MetadataBearer {
38
38
  * @see {@link AttachInstancesCommandOutput} for command's `response` shape.
39
39
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
40
40
  *
41
+ * @throws {@link ResourceContentionFault} (server fault)
42
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
43
+ * instance, or load balancer).</p>
44
+ *
45
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
46
+ * <p>The service-linked role is not yet ready for use.</p>
47
+ *
48
+ *
49
+ * @example To attach an instance to an Auto Scaling group
50
+ * ```javascript
51
+ * // This example attaches the specified instance to the specified Auto Scaling group.
52
+ * const input = {
53
+ * "AutoScalingGroupName": "my-auto-scaling-group",
54
+ * "InstanceIds": [
55
+ * "i-93633f9b"
56
+ * ]
57
+ * };
58
+ * const command = new AttachInstancesCommand(input);
59
+ * await client.send(command);
60
+ * // example id: autoscaling-attach-instances-1
61
+ * ```
62
+ *
41
63
  */
42
64
  export declare class AttachInstancesCommand extends $Command<AttachInstancesCommandInput, AttachInstancesCommandOutput, AutoScalingClientResolvedConfig> {
43
65
  readonly input: AttachInstancesCommandInput;
@@ -50,6 +50,28 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
50
50
  * @see {@link AttachLoadBalancerTargetGroupsCommandOutput} for command's `response` shape.
51
51
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
52
52
  *
53
+ * @throws {@link ResourceContentionFault} (server fault)
54
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
55
+ * instance, or load balancer).</p>
56
+ *
57
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
58
+ * <p>The service-linked role is not yet ready for use.</p>
59
+ *
60
+ *
61
+ * @example To attach a target group to an Auto Scaling group
62
+ * ```javascript
63
+ * // This example attaches the specified target group to the specified Auto Scaling group.
64
+ * const input = {
65
+ * "AutoScalingGroupName": "my-auto-scaling-group",
66
+ * "TargetGroupARNs": [
67
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
68
+ * ]
69
+ * };
70
+ * const command = new AttachLoadBalancerTargetGroupsCommand(input);
71
+ * await client.send(command);
72
+ * // example id: autoscaling-attach-load-balancer-target-groups-1
73
+ * ```
74
+ *
53
75
  */
54
76
  export declare class AttachLoadBalancerTargetGroupsCommand extends $Command<AttachLoadBalancerTargetGroupsCommandInput, AttachLoadBalancerTargetGroupsCommandOutput, AutoScalingClientResolvedConfig> {
55
77
  readonly input: AttachLoadBalancerTargetGroupsCommandInput;
@@ -40,6 +40,28 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
40
40
  * @see {@link AttachLoadBalancersCommandOutput} for command's `response` shape.
41
41
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
42
42
  *
43
+ * @throws {@link ResourceContentionFault} (server fault)
44
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
45
+ * instance, or load balancer).</p>
46
+ *
47
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
48
+ * <p>The service-linked role is not yet ready for use.</p>
49
+ *
50
+ *
51
+ * @example To attach a load balancer to an Auto Scaling group
52
+ * ```javascript
53
+ * // This example attaches the specified load balancer to the specified Auto Scaling group.
54
+ * const input = {
55
+ * "AutoScalingGroupName": "my-auto-scaling-group",
56
+ * "LoadBalancerNames": [
57
+ * "my-load-balancer"
58
+ * ]
59
+ * };
60
+ * const command = new AttachLoadBalancersCommand(input);
61
+ * await client.send(command);
62
+ * // example id: autoscaling-attach-load-balancers-1
63
+ * ```
64
+ *
43
65
  */
44
66
  export declare class AttachLoadBalancersCommand extends $Command<AttachLoadBalancersCommandInput, AttachLoadBalancersCommandOutput, AutoScalingClientResolvedConfig> {
45
67
  readonly input: AttachLoadBalancersCommandInput;
@@ -37,6 +37,14 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
37
37
  * @see {@link AttachTrafficSourcesCommandOutput} for command's `response` shape.
38
38
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
39
39
  *
40
+ * @throws {@link ResourceContentionFault} (server fault)
41
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
42
+ * instance, or load balancer).</p>
43
+ *
44
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
45
+ * <p>The service-linked role is not yet ready for use.</p>
46
+ *
47
+ *
40
48
  */
41
49
  export declare class AttachTrafficSourcesCommand extends $Command<AttachTrafficSourcesCommandInput, AttachTrafficSourcesCommandOutput, AutoScalingClientResolvedConfig> {
42
50
  readonly input: AttachTrafficSourcesCommandInput;
@@ -29,6 +29,11 @@ export interface BatchDeleteScheduledActionCommandOutput extends BatchDeleteSche
29
29
  * @see {@link BatchDeleteScheduledActionCommandOutput} for command's `response` shape.
30
30
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceContentionFault} (server fault)
33
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
34
+ * instance, or load balancer).</p>
35
+ *
36
+ *
32
37
  */
33
38
  export declare class BatchDeleteScheduledActionCommand extends $Command<BatchDeleteScheduledActionCommandInput, BatchDeleteScheduledActionCommandOutput, AutoScalingClientResolvedConfig> {
34
39
  readonly input: BatchDeleteScheduledActionCommandInput;
@@ -29,6 +29,20 @@ export interface BatchPutScheduledUpdateGroupActionCommandOutput extends BatchPu
29
29
  * @see {@link BatchPutScheduledUpdateGroupActionCommandOutput} for command's `response` shape.
30
30
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
31
31
  *
32
+ * @throws {@link AlreadyExistsFault} (client fault)
33
+ * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
34
+ *
35
+ * @throws {@link LimitExceededFault} (client fault)
36
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
37
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
38
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
39
+ * Reference</i>.</p>
40
+ *
41
+ * @throws {@link ResourceContentionFault} (server fault)
42
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
43
+ * instance, or load balancer).</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class BatchPutScheduledUpdateGroupActionCommand extends $Command<BatchPutScheduledUpdateGroupActionCommandInput, BatchPutScheduledUpdateGroupActionCommandOutput, AutoScalingClientResolvedConfig> {
34
48
  readonly input: BatchPutScheduledUpdateGroupActionCommandInput;
@@ -36,6 +36,37 @@ export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefres
36
36
  * @see {@link CancelInstanceRefreshCommandOutput} for command's `response` shape.
37
37
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
38
38
  *
39
+ * @throws {@link ActiveInstanceRefreshNotFoundFault} (client fault)
40
+ * <p>The request failed because an active instance refresh or rollback for the specified
41
+ * Auto Scaling group was not found.</p>
42
+ *
43
+ * @throws {@link LimitExceededFault} (client fault)
44
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
45
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
46
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
47
+ * Reference</i>.</p>
48
+ *
49
+ * @throws {@link ResourceContentionFault} (server fault)
50
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
51
+ * instance, or load balancer).</p>
52
+ *
53
+ *
54
+ * @example To cancel an instance refresh
55
+ * ```javascript
56
+ * // This example cancels an instance refresh operation in progress.
57
+ * const input = {
58
+ * "AutoScalingGroupName": "my-auto-scaling-group"
59
+ * };
60
+ * const command = new CancelInstanceRefreshCommand(input);
61
+ * const response = await client.send(command);
62
+ * /* response ==
63
+ * {
64
+ * "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
65
+ * }
66
+ * *\/
67
+ * // example id: to-cancel-an-instance-refresh-1592960979817
68
+ * ```
69
+ *
39
70
  */
40
71
  export declare class CancelInstanceRefreshCommand extends $Command<CancelInstanceRefreshCommandInput, CancelInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig> {
41
72
  readonly input: CancelInstanceRefreshCommandInput;
@@ -66,6 +66,25 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
66
66
  * @see {@link CompleteLifecycleActionCommandOutput} for command's `response` shape.
67
67
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
68
68
  *
69
+ * @throws {@link ResourceContentionFault} (server fault)
70
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
71
+ * instance, or load balancer).</p>
72
+ *
73
+ *
74
+ * @example To complete the lifecycle action
75
+ * ```javascript
76
+ * // This example notifies Auto Scaling that the specified lifecycle action is complete so that it can finish launching or terminating the instance.
77
+ * const input = {
78
+ * "AutoScalingGroupName": "my-auto-scaling-group",
79
+ * "LifecycleActionResult": "CONTINUE",
80
+ * "LifecycleActionToken": "bcd2f1b8-9a78-44d3-8a7a-4dd07d7cf635",
81
+ * "LifecycleHookName": "my-lifecycle-hook"
82
+ * };
83
+ * const command = new CompleteLifecycleActionCommand(input);
84
+ * await client.send(command);
85
+ * // example id: autoscaling-complete-lifecycle-action-1
86
+ * ```
87
+ *
69
88
  */
70
89
  export declare class CompleteLifecycleActionCommand extends $Command<CompleteLifecycleActionCommandInput, CompleteLifecycleActionCommandOutput, AutoScalingClientResolvedConfig> {
71
90
  readonly input: CompleteLifecycleActionCommandInput;
@@ -46,6 +46,108 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
46
46
  * @see {@link CreateAutoScalingGroupCommandOutput} for command's `response` shape.
47
47
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
48
48
  *
49
+ * @throws {@link AlreadyExistsFault} (client fault)
50
+ * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
51
+ *
52
+ * @throws {@link LimitExceededFault} (client fault)
53
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
54
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
55
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
56
+ * Reference</i>.</p>
57
+ *
58
+ * @throws {@link ResourceContentionFault} (server fault)
59
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
60
+ * instance, or load balancer).</p>
61
+ *
62
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
63
+ * <p>The service-linked role is not yet ready for use.</p>
64
+ *
65
+ *
66
+ * @example To create an Auto Scaling group
67
+ * ```javascript
68
+ * // This example creates an Auto Scaling group.
69
+ * const input = {
70
+ * "AutoScalingGroupName": "my-auto-scaling-group",
71
+ * "LaunchTemplate": {
72
+ * "LaunchTemplateName": "my-template-for-auto-scaling",
73
+ * "Version": "$Latest"
74
+ * },
75
+ * "MaxInstanceLifetime": 2592000,
76
+ * "MaxSize": 3,
77
+ * "MinSize": 1,
78
+ * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE"
79
+ * };
80
+ * const command = new CreateAutoScalingGroupCommand(input);
81
+ * await client.send(command);
82
+ * // example id: autoscaling-create-auto-scaling-group-1
83
+ * ```
84
+ *
85
+ * @example To create an Auto Scaling group with an attached target group
86
+ * ```javascript
87
+ * // This example creates an Auto Scaling group and attaches the specified target group.
88
+ * const input = {
89
+ * "AutoScalingGroupName": "my-auto-scaling-group",
90
+ * "HealthCheckGracePeriod": 300,
91
+ * "HealthCheckType": "ELB",
92
+ * "LaunchTemplate": {
93
+ * "LaunchTemplateName": "my-template-for-auto-scaling",
94
+ * "Version": "$Latest"
95
+ * },
96
+ * "MaxSize": 3,
97
+ * "MinSize": 1,
98
+ * "TargetGroupARNs": [
99
+ * "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
100
+ * ],
101
+ * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
102
+ * };
103
+ * const command = new CreateAutoScalingGroupCommand(input);
104
+ * await client.send(command);
105
+ * // example id: autoscaling-create-auto-scaling-group-2
106
+ * ```
107
+ *
108
+ * @example To create an Auto Scaling group with a mixed instances policy
109
+ * ```javascript
110
+ * // This example creates an Auto Scaling group with a mixed instances policy. It specifies the c5.large, c5a.large, and c6g.large instance types and defines a different launch template for the c6g.large instance type.
111
+ * const input = {
112
+ * "AutoScalingGroupName": "my-asg",
113
+ * "DesiredCapacity": 3,
114
+ * "MaxSize": 5,
115
+ * "MinSize": 1,
116
+ * "MixedInstancesPolicy": {
117
+ * "InstancesDistribution": {
118
+ * "OnDemandBaseCapacity": 1,
119
+ * "OnDemandPercentageAboveBaseCapacity": 50,
120
+ * "SpotAllocationStrategy": "capacity-optimized"
121
+ * },
122
+ * "LaunchTemplate": {
123
+ * "LaunchTemplateSpecification": {
124
+ * "LaunchTemplateName": "my-launch-template-for-x86",
125
+ * "Version": "$Latest"
126
+ * },
127
+ * "Overrides": [
128
+ * {
129
+ * "InstanceType": "c6g.large",
130
+ * "LaunchTemplateSpecification": {
131
+ * "LaunchTemplateName": "my-launch-template-for-arm",
132
+ * "Version": "$Latest"
133
+ * }
134
+ * },
135
+ * {
136
+ * "InstanceType": "c5.large"
137
+ * },
138
+ * {
139
+ * "InstanceType": "c5a.large"
140
+ * }
141
+ * ]
142
+ * }
143
+ * },
144
+ * "VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
145
+ * };
146
+ * const command = new CreateAutoScalingGroupCommand(input);
147
+ * await client.send(command);
148
+ * // example id: to-create-an-auto-scaling-group-with-a-mixed-instances-policy-1617815269039
149
+ * ```
150
+ *
49
151
  */
50
152
  export declare class CreateAutoScalingGroupCommand extends $Command<CreateAutoScalingGroupCommandInput, CreateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
51
153
  readonly input: CreateAutoScalingGroupCommandInput;
@@ -41,6 +41,37 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
41
41
  * @see {@link CreateLaunchConfigurationCommandOutput} for command's `response` shape.
42
42
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
43
43
  *
44
+ * @throws {@link AlreadyExistsFault} (client fault)
45
+ * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
46
+ *
47
+ * @throws {@link LimitExceededFault} (client fault)
48
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
49
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
50
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
51
+ * Reference</i>.</p>
52
+ *
53
+ * @throws {@link ResourceContentionFault} (server fault)
54
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
55
+ * instance, or load balancer).</p>
56
+ *
57
+ *
58
+ * @example To create a launch configuration
59
+ * ```javascript
60
+ * // This example creates a launch configuration.
61
+ * const input = {
62
+ * "IamInstanceProfile": "my-iam-role",
63
+ * "ImageId": "ami-12345678",
64
+ * "InstanceType": "m3.medium",
65
+ * "LaunchConfigurationName": "my-launch-config",
66
+ * "SecurityGroups": [
67
+ * "sg-eb2af88e"
68
+ * ]
69
+ * };
70
+ * const command = new CreateLaunchConfigurationCommand(input);
71
+ * await client.send(command);
72
+ * // example id: autoscaling-create-launch-configuration-1
73
+ * ```
74
+ *
44
75
  */
45
76
  export declare class CreateLaunchConfigurationCommand extends $Command<CreateLaunchConfigurationCommandInput, CreateLaunchConfigurationCommandOutput, AutoScalingClientResolvedConfig> {
46
77
  readonly input: CreateLaunchConfigurationCommandInput;
@@ -33,6 +33,49 @@ export interface CreateOrUpdateTagsCommandOutput extends __MetadataBearer {
33
33
  * @see {@link CreateOrUpdateTagsCommandOutput} for command's `response` shape.
34
34
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
35
35
  *
36
+ * @throws {@link AlreadyExistsFault} (client fault)
37
+ * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
38
+ *
39
+ * @throws {@link LimitExceededFault} (client fault)
40
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
41
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
42
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
43
+ * Reference</i>.</p>
44
+ *
45
+ * @throws {@link ResourceContentionFault} (server fault)
46
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
47
+ * instance, or load balancer).</p>
48
+ *
49
+ * @throws {@link ResourceInUseFault} (client fault)
50
+ * <p>The operation can't be performed because the resource is in use.</p>
51
+ *
52
+ *
53
+ * @example To create or update tags for an Auto Scaling group
54
+ * ```javascript
55
+ * // This example adds two tags to the specified Auto Scaling group.
56
+ * const input = {
57
+ * "Tags": [
58
+ * {
59
+ * "Key": "Role",
60
+ * "PropagateAtLaunch": true,
61
+ * "ResourceId": "my-auto-scaling-group",
62
+ * "ResourceType": "auto-scaling-group",
63
+ * "Value": "WebServer"
64
+ * },
65
+ * {
66
+ * "Key": "Dept",
67
+ * "PropagateAtLaunch": true,
68
+ * "ResourceId": "my-auto-scaling-group",
69
+ * "ResourceType": "auto-scaling-group",
70
+ * "Value": "Research"
71
+ * }
72
+ * ]
73
+ * };
74
+ * const command = new CreateOrUpdateTagsCommand(input);
75
+ * await client.send(command);
76
+ * // example id: autoscaling-create-or-update-tags-1
77
+ * ```
78
+ *
36
79
  */
37
80
  export declare class CreateOrUpdateTagsCommand extends $Command<CreateOrUpdateTagsCommandInput, CreateOrUpdateTagsCommandOutput, AutoScalingClientResolvedConfig> {
38
81
  readonly input: CreateOrUpdateTagsCommandInput;
@@ -43,6 +43,41 @@ export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {
43
43
  * @see {@link DeleteAutoScalingGroupCommandOutput} for command's `response` shape.
44
44
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
45
45
  *
46
+ * @throws {@link ResourceContentionFault} (server fault)
47
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
48
+ * instance, or load balancer).</p>
49
+ *
50
+ * @throws {@link ResourceInUseFault} (client fault)
51
+ * <p>The operation can't be performed because the resource is in use.</p>
52
+ *
53
+ * @throws {@link ScalingActivityInProgressFault} (client fault)
54
+ * <p>The operation can't be performed because there are scaling activities in
55
+ * progress.</p>
56
+ *
57
+ *
58
+ * @example To delete an Auto Scaling group
59
+ * ```javascript
60
+ * // This example deletes the specified Auto Scaling group.
61
+ * const input = {
62
+ * "AutoScalingGroupName": "my-auto-scaling-group"
63
+ * };
64
+ * const command = new DeleteAutoScalingGroupCommand(input);
65
+ * await client.send(command);
66
+ * // example id: autoscaling-delete-auto-scaling-group-1
67
+ * ```
68
+ *
69
+ * @example To delete an Auto Scaling group and all its instances
70
+ * ```javascript
71
+ * // This example deletes the specified Auto Scaling group and all its instances.
72
+ * const input = {
73
+ * "AutoScalingGroupName": "my-auto-scaling-group",
74
+ * "ForceDelete": true
75
+ * };
76
+ * const command = new DeleteAutoScalingGroupCommand(input);
77
+ * await client.send(command);
78
+ * // example id: autoscaling-delete-auto-scaling-group-2
79
+ * ```
80
+ *
46
81
  */
47
82
  export declare class DeleteAutoScalingGroupCommand extends $Command<DeleteAutoScalingGroupCommandInput, DeleteAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig> {
48
83
  readonly input: DeleteAutoScalingGroupCommandInput;
@@ -31,6 +31,25 @@ export interface DeleteLaunchConfigurationCommandOutput extends __MetadataBearer
31
31
  * @see {@link DeleteLaunchConfigurationCommandOutput} for command's `response` shape.
32
32
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
33
33
  *
34
+ * @throws {@link ResourceContentionFault} (server fault)
35
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
36
+ * instance, or load balancer).</p>
37
+ *
38
+ * @throws {@link ResourceInUseFault} (client fault)
39
+ * <p>The operation can't be performed because the resource is in use.</p>
40
+ *
41
+ *
42
+ * @example To delete a launch configuration
43
+ * ```javascript
44
+ * // This example deletes the specified launch configuration.
45
+ * const input = {
46
+ * "LaunchConfigurationName": "my-launch-config"
47
+ * };
48
+ * const command = new DeleteLaunchConfigurationCommand(input);
49
+ * await client.send(command);
50
+ * // example id: autoscaling-delete-launch-configuration-1
51
+ * ```
52
+ *
34
53
  */
35
54
  export declare class DeleteLaunchConfigurationCommand extends $Command<DeleteLaunchConfigurationCommandInput, DeleteLaunchConfigurationCommandOutput, AutoScalingClientResolvedConfig> {
36
55
  readonly input: DeleteLaunchConfigurationCommandInput;
@@ -32,6 +32,23 @@ export interface DeleteLifecycleHookCommandOutput extends DeleteLifecycleHookAns
32
32
  * @see {@link DeleteLifecycleHookCommandOutput} for command's `response` shape.
33
33
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
34
34
  *
35
+ * @throws {@link ResourceContentionFault} (server fault)
36
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
37
+ * instance, or load balancer).</p>
38
+ *
39
+ *
40
+ * @example To delete a lifecycle hook
41
+ * ```javascript
42
+ * // This example deletes the specified lifecycle hook.
43
+ * const input = {
44
+ * "AutoScalingGroupName": "my-auto-scaling-group",
45
+ * "LifecycleHookName": "my-lifecycle-hook"
46
+ * };
47
+ * const command = new DeleteLifecycleHookCommand(input);
48
+ * await client.send(command);
49
+ * // example id: autoscaling-delete-lifecycle-hook-1
50
+ * ```
51
+ *
35
52
  */
36
53
  export declare class DeleteLifecycleHookCommand extends $Command<DeleteLifecycleHookCommandInput, DeleteLifecycleHookCommandOutput, AutoScalingClientResolvedConfig> {
37
54
  readonly input: DeleteLifecycleHookCommandInput;
@@ -29,6 +29,23 @@ export interface DeleteNotificationConfigurationCommandOutput extends __Metadata
29
29
  * @see {@link DeleteNotificationConfigurationCommandOutput} for command's `response` shape.
30
30
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceContentionFault} (server fault)
33
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
34
+ * instance, or load balancer).</p>
35
+ *
36
+ *
37
+ * @example To delete an Auto Scaling notification
38
+ * ```javascript
39
+ * // This example deletes the specified notification from the specified Auto Scaling group.
40
+ * const input = {
41
+ * "AutoScalingGroupName": "my-auto-scaling-group",
42
+ * "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
43
+ * };
44
+ * const command = new DeleteNotificationConfigurationCommand(input);
45
+ * await client.send(command);
46
+ * // example id: autoscaling-delete-notification-configuration-1
47
+ * ```
48
+ *
32
49
  */
33
50
  export declare class DeleteNotificationConfigurationCommand extends $Command<DeleteNotificationConfigurationCommandInput, DeleteNotificationConfigurationCommandOutput, AutoScalingClientResolvedConfig> {
34
51
  readonly input: DeleteNotificationConfigurationCommandInput;
@@ -34,6 +34,26 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
34
34
  * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
35
35
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
36
36
  *
37
+ * @throws {@link ResourceContentionFault} (server fault)
38
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
39
+ * instance, or load balancer).</p>
40
+ *
41
+ * @throws {@link ServiceLinkedRoleFailure} (server fault)
42
+ * <p>The service-linked role is not yet ready for use.</p>
43
+ *
44
+ *
45
+ * @example To delete an Auto Scaling policy
46
+ * ```javascript
47
+ * // This example deletes the specified Auto Scaling policy.
48
+ * const input = {
49
+ * "AutoScalingGroupName": "my-auto-scaling-group",
50
+ * "PolicyName": "my-step-scale-out-policy"
51
+ * };
52
+ * const command = new DeletePolicyCommand(input);
53
+ * await client.send(command);
54
+ * // example id: autoscaling-delete-policy-1
55
+ * ```
56
+ *
37
57
  */
38
58
  export declare class DeletePolicyCommand extends $Command<DeletePolicyCommandInput, DeletePolicyCommandOutput, AutoScalingClientResolvedConfig> {
39
59
  readonly input: DeletePolicyCommandInput;
@@ -29,6 +29,23 @@ export interface DeleteScheduledActionCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteScheduledActionCommandOutput} for command's `response` shape.
30
30
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceContentionFault} (server fault)
33
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
34
+ * instance, or load balancer).</p>
35
+ *
36
+ *
37
+ * @example To delete a scheduled action from an Auto Scaling group
38
+ * ```javascript
39
+ * // This example deletes the specified scheduled action from the specified Auto Scaling group.
40
+ * const input = {
41
+ * "AutoScalingGroupName": "my-auto-scaling-group",
42
+ * "ScheduledActionName": "my-scheduled-action"
43
+ * };
44
+ * const command = new DeleteScheduledActionCommand(input);
45
+ * await client.send(command);
46
+ * // example id: autoscaling-delete-scheduled-action-1
47
+ * ```
48
+ *
32
49
  */
33
50
  export declare class DeleteScheduledActionCommand extends $Command<DeleteScheduledActionCommandInput, DeleteScheduledActionCommandOutput, AutoScalingClientResolvedConfig> {
34
51
  readonly input: DeleteScheduledActionCommandInput;
@@ -29,6 +29,32 @@ export interface DeleteTagsCommandOutput extends __MetadataBearer {
29
29
  * @see {@link DeleteTagsCommandOutput} for command's `response` shape.
30
30
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
31
31
  *
32
+ * @throws {@link ResourceContentionFault} (server fault)
33
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
34
+ * instance, or load balancer).</p>
35
+ *
36
+ * @throws {@link ResourceInUseFault} (client fault)
37
+ * <p>The operation can't be performed because the resource is in use.</p>
38
+ *
39
+ *
40
+ * @example To delete a tag from an Auto Scaling group
41
+ * ```javascript
42
+ * // This example deletes the specified tag from the specified Auto Scaling group.
43
+ * const input = {
44
+ * "Tags": [
45
+ * {
46
+ * "Key": "Dept",
47
+ * "ResourceId": "my-auto-scaling-group",
48
+ * "ResourceType": "auto-scaling-group",
49
+ * "Value": "Research"
50
+ * }
51
+ * ]
52
+ * };
53
+ * const command = new DeleteTagsCommand(input);
54
+ * await client.send(command);
55
+ * // example id: autoscaling-delete-tags-1
56
+ * ```
57
+ *
32
58
  */
33
59
  export declare class DeleteTagsCommand extends $Command<DeleteTagsCommandInput, DeleteTagsCommandOutput, AutoScalingClientResolvedConfig> {
34
60
  readonly input: DeleteTagsCommandInput;
@@ -31,6 +31,24 @@ export interface DeleteWarmPoolCommandOutput extends DeleteWarmPoolAnswer, __Met
31
31
  * @see {@link DeleteWarmPoolCommandOutput} for command's `response` shape.
32
32
  * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
33
33
  *
34
+ * @throws {@link LimitExceededFault} (client fault)
35
+ * <p>You have already reached a limit for your Amazon EC2 Auto Scaling
36
+ * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
37
+ * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
38
+ * Reference</i>.</p>
39
+ *
40
+ * @throws {@link ResourceContentionFault} (server fault)
41
+ * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
42
+ * instance, or load balancer).</p>
43
+ *
44
+ * @throws {@link ResourceInUseFault} (client fault)
45
+ * <p>The operation can't be performed because the resource is in use.</p>
46
+ *
47
+ * @throws {@link ScalingActivityInProgressFault} (client fault)
48
+ * <p>The operation can't be performed because there are scaling activities in
49
+ * progress.</p>
50
+ *
51
+ *
34
52
  */
35
53
  export declare class DeleteWarmPoolCommand extends $Command<DeleteWarmPoolCommandInput, DeleteWarmPoolCommandOutput, AutoScalingClientResolvedConfig> {
36
54
  readonly input: DeleteWarmPoolCommandInput;