@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.
- package/dist-types/commands/AttachInstancesCommand.d.ts +22 -0
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +22 -0
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +22 -0
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +8 -0
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +5 -0
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +14 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +31 -0
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +19 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +102 -0
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +31 -0
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +43 -0
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +19 -0
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +17 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +20 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +17 -0
- package/dist-types/commands/DeleteTagsCommand.d.ts +26 -0
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +18 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +22 -0
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +29 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +61 -0
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +36 -0
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +25 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +42 -0
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +43 -0
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +22 -0
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +32 -0
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +29 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +29 -0
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +49 -0
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +37 -0
- package/dist-types/commands/DescribePoliciesCommand.d.ts +46 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +36 -0
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +44 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +36 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +46 -0
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +25 -0
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +14 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +36 -0
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +19 -0
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +19 -0
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +5 -0
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +19 -0
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +17 -0
- package/dist-types/commands/EnterStandbyCommand.d.ts +36 -0
- package/dist-types/commands/ExecutePolicyCommand.d.ts +23 -0
- package/dist-types/commands/ExitStandbyCommand.d.ts +35 -0
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +5 -0
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +26 -0
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +29 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +49 -0
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +31 -0
- package/dist-types/commands/PutWarmPoolCommand.d.ts +27 -0
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +18 -0
- package/dist-types/commands/ResumeProcessesCommand.d.ts +22 -0
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +21 -0
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +22 -0
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +17 -0
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +41 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +42 -0
- package/dist-types/commands/SuspendProcessesCommand.d.ts +22 -0
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +21 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +30 -0
- package/package.json +30 -30
|
@@ -33,6 +33,28 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
33
33
|
* @see {@link DescribeAccountLimitsCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link ResourceContentionFault} (server fault)
|
|
37
|
+
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
38
|
+
* instance, or load balancer).</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* @example To describe your Auto Scaling account limits
|
|
42
|
+
* ```javascript
|
|
43
|
+
* // This example describes the Amazon EC2 Auto Scaling service quotas for your account.
|
|
44
|
+
* const input = undefined;
|
|
45
|
+
* const command = new DescribeAccountLimitsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* /* response ==
|
|
48
|
+
* {
|
|
49
|
+
* "MaxNumberOfAutoScalingGroups": 20,
|
|
50
|
+
* "MaxNumberOfLaunchConfigurations": 100,
|
|
51
|
+
* "NumberOfAutoScalingGroups": 3,
|
|
52
|
+
* "NumberOfLaunchConfigurations": 5
|
|
53
|
+
* }
|
|
54
|
+
* *\/
|
|
55
|
+
* // example id: autoscaling-describe-account-limits-1
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
36
58
|
*/
|
|
37
59
|
export declare class DescribeAccountLimitsCommand extends $Command<DescribeAccountLimitsCommandInput, DescribeAccountLimitsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
38
60
|
readonly input: DescribeAccountLimitsCommandInput;
|
|
@@ -48,6 +48,35 @@ export interface DescribeAdjustmentTypesCommandOutput extends DescribeAdjustment
|
|
|
48
48
|
* @see {@link DescribeAdjustmentTypesCommandOutput} for command's `response` shape.
|
|
49
49
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
50
50
|
*
|
|
51
|
+
* @throws {@link ResourceContentionFault} (server fault)
|
|
52
|
+
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
53
|
+
* instance, or load balancer).</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
56
|
+
* @example To describe the Amazon EC2 Auto Scaling adjustment types
|
|
57
|
+
* ```javascript
|
|
58
|
+
* // This example describes the available adjustment types.
|
|
59
|
+
* const input = undefined;
|
|
60
|
+
* const command = new DescribeAdjustmentTypesCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* /* response ==
|
|
63
|
+
* {
|
|
64
|
+
* "AdjustmentTypes": [
|
|
65
|
+
* {
|
|
66
|
+
* "AdjustmentType": "ChangeInCapacity"
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* "AdjustmentType": "ExactCapcity"
|
|
70
|
+
* },
|
|
71
|
+
* {
|
|
72
|
+
* "AdjustmentType": "PercentChangeInCapacity"
|
|
73
|
+
* }
|
|
74
|
+
* ]
|
|
75
|
+
* }
|
|
76
|
+
* *\/
|
|
77
|
+
* // example id: autoscaling-describe-adjustment-types-1
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
51
80
|
*/
|
|
52
81
|
export declare class DescribeAdjustmentTypesCommand extends $Command<DescribeAdjustmentTypesCommandInput, DescribeAdjustmentTypesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
53
82
|
readonly input: DescribeAdjustmentTypesCommandInput;
|
|
@@ -35,6 +35,67 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
|
|
|
35
35
|
* @see {@link DescribeAutoScalingGroupsCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
39
|
+
* <p>The <code>NextToken</code> value is not valid.</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
|
+
*
|
|
46
|
+
* @example To describe an Auto Scaling group
|
|
47
|
+
* ```javascript
|
|
48
|
+
* // This example describes the specified Auto Scaling group.
|
|
49
|
+
* const input = {
|
|
50
|
+
* "AutoScalingGroupNames": [
|
|
51
|
+
* "my-auto-scaling-group"
|
|
52
|
+
* ]
|
|
53
|
+
* };
|
|
54
|
+
* const command = new DescribeAutoScalingGroupsCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* /* response ==
|
|
57
|
+
* {
|
|
58
|
+
* "AutoScalingGroups": [
|
|
59
|
+
* {
|
|
60
|
+
* "AutoScalingGroupARN": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:930d940e-891e-4781-a11a-7b0acd480f03:autoScalingGroupName/my-auto-scaling-group",
|
|
61
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
62
|
+
* "AvailabilityZones": [
|
|
63
|
+
* "us-west-2c"
|
|
64
|
+
* ],
|
|
65
|
+
* "CreatedTime": "2013-08-19T20:53:25.584Z",
|
|
66
|
+
* "DefaultCooldown": 300,
|
|
67
|
+
* "DesiredCapacity": 1,
|
|
68
|
+
* "EnabledMetrics": [],
|
|
69
|
+
* "HealthCheckGracePeriod": 300,
|
|
70
|
+
* "HealthCheckType": "EC2",
|
|
71
|
+
* "Instances": [
|
|
72
|
+
* {
|
|
73
|
+
* "AvailabilityZone": "us-west-2c",
|
|
74
|
+
* "HealthStatus": "Healthy",
|
|
75
|
+
* "InstanceId": "i-4ba0837f",
|
|
76
|
+
* "LaunchConfigurationName": "my-launch-config",
|
|
77
|
+
* "LifecycleState": "InService",
|
|
78
|
+
* "ProtectedFromScaleIn": false
|
|
79
|
+
* }
|
|
80
|
+
* ],
|
|
81
|
+
* "LaunchConfigurationName": "my-launch-config",
|
|
82
|
+
* "LoadBalancerNames": [],
|
|
83
|
+
* "MaxSize": 1,
|
|
84
|
+
* "MinSize": 0,
|
|
85
|
+
* "NewInstancesProtectedFromScaleIn": false,
|
|
86
|
+
* "SuspendedProcesses": [],
|
|
87
|
+
* "Tags": [],
|
|
88
|
+
* "TerminationPolicies": [
|
|
89
|
+
* "Default"
|
|
90
|
+
* ],
|
|
91
|
+
* "VPCZoneIdentifier": "subnet-12345678"
|
|
92
|
+
* }
|
|
93
|
+
* ]
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* // example id: autoscaling-describe-auto-scaling-groups-1
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
38
99
|
*/
|
|
39
100
|
export declare class DescribeAutoScalingGroupsCommand extends $Command<DescribeAutoScalingGroupsCommandInput, DescribeAutoScalingGroupsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
40
101
|
readonly input: DescribeAutoScalingGroupsCommandInput;
|
|
@@ -29,6 +29,42 @@ export interface DescribeAutoScalingInstancesCommandOutput extends AutoScalingIn
|
|
|
29
29
|
* @see {@link DescribeAutoScalingInstancesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
33
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
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 describe one or more Auto Scaling instances
|
|
41
|
+
* ```javascript
|
|
42
|
+
* // This example describes the specified Auto Scaling instance.
|
|
43
|
+
* const input = {
|
|
44
|
+
* "InstanceIds": [
|
|
45
|
+
* "i-4ba0837f"
|
|
46
|
+
* ]
|
|
47
|
+
* };
|
|
48
|
+
* const command = new DescribeAutoScalingInstancesCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "AutoScalingInstances": [
|
|
53
|
+
* {
|
|
54
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
55
|
+
* "AvailabilityZone": "us-west-2c",
|
|
56
|
+
* "HealthStatus": "HEALTHY",
|
|
57
|
+
* "InstanceId": "i-4ba0837f",
|
|
58
|
+
* "LaunchConfigurationName": "my-launch-config",
|
|
59
|
+
* "LifecycleState": "InService",
|
|
60
|
+
* "ProtectedFromScaleIn": false
|
|
61
|
+
* }
|
|
62
|
+
* ]
|
|
63
|
+
* }
|
|
64
|
+
* *\/
|
|
65
|
+
* // example id: autoscaling-describe-auto-scaling-instances-1
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
32
68
|
*/
|
|
33
69
|
export declare class DescribeAutoScalingInstancesCommand extends $Command<DescribeAutoScalingInstancesCommandInput, DescribeAutoScalingInstancesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
34
70
|
readonly input: DescribeAutoScalingInstancesCommandInput;
|
|
@@ -29,6 +29,31 @@ export interface DescribeAutoScalingNotificationTypesCommandOutput extends Descr
|
|
|
29
29
|
* @see {@link DescribeAutoScalingNotificationTypesCommandOutput} 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 describe the Auto Scaling notification types
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // This example describes the available notification types.
|
|
40
|
+
* const input = undefined;
|
|
41
|
+
* const command = new DescribeAutoScalingNotificationTypesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* /* response ==
|
|
44
|
+
* {
|
|
45
|
+
* "AutoScalingNotificationTypes": [
|
|
46
|
+
* "autoscaling:EC2_INSTANCE_LAUNCH",
|
|
47
|
+
* "autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
|
|
48
|
+
* "autoscaling:EC2_INSTANCE_TERMINATE",
|
|
49
|
+
* "autoscaling:EC2_INSTANCE_TERMINATE_ERROR",
|
|
50
|
+
* "autoscaling:TEST_NOTIFICATION"
|
|
51
|
+
* ]
|
|
52
|
+
* }
|
|
53
|
+
* *\/
|
|
54
|
+
* // example id: autoscaling-describe-auto-scaling-notification-types-1
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
32
57
|
*/
|
|
33
58
|
export declare class DescribeAutoScalingNotificationTypesCommand extends $Command<DescribeAutoScalingNotificationTypesCommandInput, DescribeAutoScalingNotificationTypesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
34
59
|
readonly input: DescribeAutoScalingNotificationTypesCommandInput;
|
|
@@ -38,6 +38,48 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
38
38
|
* @see {@link DescribeInstanceRefreshesCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
42
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ResourceContentionFault} (server fault)
|
|
45
|
+
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
46
|
+
* instance, or load balancer).</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @example To list instance refreshes
|
|
50
|
+
* ```javascript
|
|
51
|
+
* // This example describes the instance refreshes for the specified Auto Scaling group.
|
|
52
|
+
* const input = {
|
|
53
|
+
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
54
|
+
* };
|
|
55
|
+
* const command = new DescribeInstanceRefreshesCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* /* response ==
|
|
58
|
+
* {
|
|
59
|
+
* "InstanceRefreshes": [
|
|
60
|
+
* {
|
|
61
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
62
|
+
* "InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
|
|
63
|
+
* "InstancesToUpdate": 5,
|
|
64
|
+
* "PercentageComplete": 0,
|
|
65
|
+
* "StartTime": "2020-06-02T18:11:27Z",
|
|
66
|
+
* "Status": "InProgress"
|
|
67
|
+
* },
|
|
68
|
+
* {
|
|
69
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
70
|
+
* "EndTime": "2020-06-02T16:53:37Z",
|
|
71
|
+
* "InstanceRefreshId": "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1",
|
|
72
|
+
* "InstancesToUpdate": 0,
|
|
73
|
+
* "PercentageComplete": 100,
|
|
74
|
+
* "StartTime": "2020-06-02T16:43:19Z",
|
|
75
|
+
* "Status": "Successful"
|
|
76
|
+
* }
|
|
77
|
+
* ]
|
|
78
|
+
* }
|
|
79
|
+
* *\/
|
|
80
|
+
* // example id: to-list-instance-refreshes-1592959593746
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
41
83
|
*/
|
|
42
84
|
export declare class DescribeInstanceRefreshesCommand extends $Command<DescribeInstanceRefreshesCommandInput, DescribeInstanceRefreshesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
43
85
|
readonly input: DescribeInstanceRefreshesCommandInput;
|
|
@@ -29,6 +29,49 @@ export interface DescribeLaunchConfigurationsCommandOutput extends LaunchConfigu
|
|
|
29
29
|
* @see {@link DescribeLaunchConfigurationsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
33
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
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 describe Auto Scaling launch configurations
|
|
41
|
+
* ```javascript
|
|
42
|
+
* // This example describes the specified launch configuration.
|
|
43
|
+
* const input = {
|
|
44
|
+
* "LaunchConfigurationNames": [
|
|
45
|
+
* "my-launch-config"
|
|
46
|
+
* ]
|
|
47
|
+
* };
|
|
48
|
+
* const command = new DescribeLaunchConfigurationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "LaunchConfigurations": [
|
|
53
|
+
* {
|
|
54
|
+
* "AssociatePublicIpAddress": true,
|
|
55
|
+
* "BlockDeviceMappings": [],
|
|
56
|
+
* "CreatedTime": "2014-05-07T17:39:28.599Z",
|
|
57
|
+
* "EbsOptimized": false,
|
|
58
|
+
* "ImageId": "ami-043a5034",
|
|
59
|
+
* "InstanceMonitoring": {
|
|
60
|
+
* "Enabled": true
|
|
61
|
+
* },
|
|
62
|
+
* "InstanceType": "t1.micro",
|
|
63
|
+
* "LaunchConfigurationARN": "arn:aws:autoscaling:us-west-2:123456789012:launchConfiguration:98d3b196-4cf9-4e88-8ca1-8547c24ced8b:launchConfigurationName/my-launch-config",
|
|
64
|
+
* "LaunchConfigurationName": "my-launch-config",
|
|
65
|
+
* "SecurityGroups": [
|
|
66
|
+
* "sg-67ef0308"
|
|
67
|
+
* ]
|
|
68
|
+
* }
|
|
69
|
+
* ]
|
|
70
|
+
* }
|
|
71
|
+
* *\/
|
|
72
|
+
* // example id: autoscaling-describe-launch-configurations-1
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
32
75
|
*/
|
|
33
76
|
export declare class DescribeLaunchConfigurationsCommand extends $Command<DescribeLaunchConfigurationsCommandInput, DescribeLaunchConfigurationsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
34
77
|
readonly input: DescribeLaunchConfigurationsCommandInput;
|
|
@@ -42,6 +42,28 @@ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecyc
|
|
|
42
42
|
* @see {@link DescribeLifecycleHookTypesCommandOutput} for command's `response` shape.
|
|
43
43
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
44
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
|
+
*
|
|
50
|
+
* @example To describe the available types of lifecycle hooks
|
|
51
|
+
* ```javascript
|
|
52
|
+
* // This example describes the available lifecycle hook types.
|
|
53
|
+
* const input = undefined;
|
|
54
|
+
* const command = new DescribeLifecycleHookTypesCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* /* response ==
|
|
57
|
+
* {
|
|
58
|
+
* "LifecycleHookTypes": [
|
|
59
|
+
* "autoscaling:EC2_INSTANCE_LAUNCHING",
|
|
60
|
+
* "autoscaling:EC2_INSTANCE_TERMINATING"
|
|
61
|
+
* ]
|
|
62
|
+
* }
|
|
63
|
+
* *\/
|
|
64
|
+
* // example id: autoscaling-describe-lifecycle-hook-types-1
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
45
67
|
*/
|
|
46
68
|
export declare class DescribeLifecycleHookTypesCommand extends $Command<DescribeLifecycleHookTypesCommandInput, DescribeLifecycleHookTypesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
47
69
|
readonly input: DescribeLifecycleHookTypesCommandInput;
|
|
@@ -29,6 +29,38 @@ export interface DescribeLifecycleHooksCommandOutput extends DescribeLifecycleHo
|
|
|
29
29
|
* @see {@link DescribeLifecycleHooksCommandOutput} 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 describe your lifecycle hooks
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // This example describes the lifecycle hooks for the specified Auto Scaling group.
|
|
40
|
+
* const input = {
|
|
41
|
+
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DescribeLifecycleHooksCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "LifecycleHooks": [
|
|
48
|
+
* {
|
|
49
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
50
|
+
* "DefaultResult": "ABANDON",
|
|
51
|
+
* "GlobalTimeout": 172800,
|
|
52
|
+
* "HeartbeatTimeout": 3600,
|
|
53
|
+
* "LifecycleHookName": "my-lifecycle-hook",
|
|
54
|
+
* "LifecycleTransition": "autoscaling:EC2_INSTANCE_LAUNCHING",
|
|
55
|
+
* "NotificationTargetARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic",
|
|
56
|
+
* "RoleARN": "arn:aws:iam::123456789012:role/my-auto-scaling-role"
|
|
57
|
+
* }
|
|
58
|
+
* ]
|
|
59
|
+
* }
|
|
60
|
+
* *\/
|
|
61
|
+
* // example id: autoscaling-describe-lifecycle-hooks-1
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
32
64
|
*/
|
|
33
65
|
export declare class DescribeLifecycleHooksCommand extends $Command<DescribeLifecycleHooksCommandInput, DescribeLifecycleHooksCommandOutput, AutoScalingClientResolvedConfig> {
|
|
34
66
|
readonly input: DescribeLifecycleHooksCommandInput;
|
|
@@ -53,6 +53,35 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
53
53
|
* @see {@link DescribeLoadBalancerTargetGroupsCommandOutput} for command's `response` shape.
|
|
54
54
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
57
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceContentionFault} (server fault)
|
|
60
|
+
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
61
|
+
* instance, or load balancer).</p>
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @example To describe the target groups for an Auto Scaling group
|
|
65
|
+
* ```javascript
|
|
66
|
+
* // This example describes the target groups attached to the specified Auto Scaling group.
|
|
67
|
+
* const input = {
|
|
68
|
+
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
69
|
+
* };
|
|
70
|
+
* const command = new DescribeLoadBalancerTargetGroupsCommand(input);
|
|
71
|
+
* const response = await client.send(command);
|
|
72
|
+
* /* response ==
|
|
73
|
+
* {
|
|
74
|
+
* "LoadBalancerTargetGroups": [
|
|
75
|
+
* {
|
|
76
|
+
* "LoadBalancerTargetGroupARN": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
77
|
+
* "State": "Added"
|
|
78
|
+
* }
|
|
79
|
+
* ]
|
|
80
|
+
* }
|
|
81
|
+
* *\/
|
|
82
|
+
* // example id: autoscaling-describe-load-balancer-target-groups-1
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
56
85
|
*/
|
|
57
86
|
export declare class DescribeLoadBalancerTargetGroupsCommand extends $Command<DescribeLoadBalancerTargetGroupsCommandInput, DescribeLoadBalancerTargetGroupsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
58
87
|
readonly input: DescribeLoadBalancerTargetGroupsCommandInput;
|
|
@@ -51,6 +51,35 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
51
51
|
* @see {@link DescribeLoadBalancersCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
55
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceContentionFault} (server fault)
|
|
58
|
+
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
59
|
+
* instance, or load balancer).</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* @example To describe the load balancers for an Auto Scaling group
|
|
63
|
+
* ```javascript
|
|
64
|
+
* // This example describes the load balancers attached to the specified Auto Scaling group.
|
|
65
|
+
* const input = {
|
|
66
|
+
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
67
|
+
* };
|
|
68
|
+
* const command = new DescribeLoadBalancersCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* /* response ==
|
|
71
|
+
* {
|
|
72
|
+
* "LoadBalancers": [
|
|
73
|
+
* {
|
|
74
|
+
* "LoadBalancerName": "my-load-balancer",
|
|
75
|
+
* "State": "Added"
|
|
76
|
+
* }
|
|
77
|
+
* ]
|
|
78
|
+
* }
|
|
79
|
+
* *\/
|
|
80
|
+
* // example id: autoscaling-describe-load-balancers-1
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
54
83
|
*/
|
|
55
84
|
export declare class DescribeLoadBalancersCommand extends $Command<DescribeLoadBalancersCommandInput, DescribeLoadBalancersCommandOutput, AutoScalingClientResolvedConfig> {
|
|
56
85
|
readonly input: DescribeLoadBalancersCommandInput;
|
|
@@ -29,6 +29,55 @@ export interface DescribeMetricCollectionTypesCommandOutput extends DescribeMetr
|
|
|
29
29
|
* @see {@link DescribeMetricCollectionTypesCommandOutput} 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 describe the Auto Scaling metric collection types
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // This example describes the available metric collection types.
|
|
40
|
+
* const input = undefined;
|
|
41
|
+
* const command = new DescribeMetricCollectionTypesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* /* response ==
|
|
44
|
+
* {
|
|
45
|
+
* "Granularities": [
|
|
46
|
+
* {
|
|
47
|
+
* "Granularity": "1Minute"
|
|
48
|
+
* }
|
|
49
|
+
* ],
|
|
50
|
+
* "Metrics": [
|
|
51
|
+
* {
|
|
52
|
+
* "Metric": "GroupMinSize"
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* "Metric": "GroupMaxSize"
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* "Metric": "GroupDesiredCapacity"
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* "Metric": "GroupInServiceInstances"
|
|
62
|
+
* },
|
|
63
|
+
* {
|
|
64
|
+
* "Metric": "GroupPendingInstances"
|
|
65
|
+
* },
|
|
66
|
+
* {
|
|
67
|
+
* "Metric": "GroupTerminatingInstances"
|
|
68
|
+
* },
|
|
69
|
+
* {
|
|
70
|
+
* "Metric": "GroupStandbyInstances"
|
|
71
|
+
* },
|
|
72
|
+
* {
|
|
73
|
+
* "Metric": "GroupTotalInstances"
|
|
74
|
+
* }
|
|
75
|
+
* ]
|
|
76
|
+
* }
|
|
77
|
+
* *\/
|
|
78
|
+
* // example id: autoscaling-describe-metric-collection-types-1
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
32
81
|
*/
|
|
33
82
|
export declare class DescribeMetricCollectionTypesCommand extends $Command<DescribeMetricCollectionTypesCommandInput, DescribeMetricCollectionTypesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
34
83
|
readonly input: DescribeMetricCollectionTypesCommandInput;
|
|
@@ -30,6 +30,43 @@ export interface DescribeNotificationConfigurationsCommandOutput extends Describ
|
|
|
30
30
|
* @see {@link DescribeNotificationConfigurationsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
34
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link ResourceContentionFault} (server fault)
|
|
37
|
+
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
38
|
+
* instance, or load balancer).</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* @example To describe Auto Scaling notification configurations
|
|
42
|
+
* ```javascript
|
|
43
|
+
* // This example describes the notification configurations for the specified Auto Scaling group.
|
|
44
|
+
* const input = {
|
|
45
|
+
* "AutoScalingGroupNames": [
|
|
46
|
+
* "my-auto-scaling-group"
|
|
47
|
+
* ]
|
|
48
|
+
* };
|
|
49
|
+
* const command = new DescribeNotificationConfigurationsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "NotificationConfigurations": [
|
|
54
|
+
* {
|
|
55
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
56
|
+
* "NotificationType": "autoscaling:TEST_NOTIFICATION",
|
|
57
|
+
* "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic-2"
|
|
58
|
+
* },
|
|
59
|
+
* {
|
|
60
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
61
|
+
* "NotificationType": "autoscaling:TEST_NOTIFICATION",
|
|
62
|
+
* "TopicARN": "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
|
|
63
|
+
* }
|
|
64
|
+
* ]
|
|
65
|
+
* }
|
|
66
|
+
* *\/
|
|
67
|
+
* // example id: autoscaling-describe-notification-configurations-1
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
33
70
|
*/
|
|
34
71
|
export declare class DescribeNotificationConfigurationsCommand extends $Command<DescribeNotificationConfigurationsCommandInput, DescribeNotificationConfigurationsCommandOutput, AutoScalingClientResolvedConfig> {
|
|
35
72
|
readonly input: DescribeNotificationConfigurationsCommandInput;
|
|
@@ -29,6 +29,52 @@ export interface DescribePoliciesCommandOutput extends PoliciesType, __MetadataB
|
|
|
29
29
|
* @see {@link DescribePoliciesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
33
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
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
|
+
* @throws {@link ServiceLinkedRoleFailure} (server fault)
|
|
40
|
+
* <p>The service-linked role is not yet ready for use.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @example To describe scaling policies
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // This example describes the policies for the specified Auto Scaling group.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
48
|
+
* };
|
|
49
|
+
* const command = new DescribePoliciesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "ScalingPolicies": [
|
|
54
|
+
* {
|
|
55
|
+
* "AdjustmentType": "ChangeInCapacity",
|
|
56
|
+
* "Alarms": [],
|
|
57
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
58
|
+
* "PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn",
|
|
59
|
+
* "PolicyName": "ScaleIn",
|
|
60
|
+
* "ScalingAdjustment": -1
|
|
61
|
+
* },
|
|
62
|
+
* {
|
|
63
|
+
* "AdjustmentType": "PercentChangeInCapacity",
|
|
64
|
+
* "Alarms": [],
|
|
65
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
66
|
+
* "Cooldown": 60,
|
|
67
|
+
* "MinAdjustmentStep": 2,
|
|
68
|
+
* "PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2b435159-cf77-4e89-8c0e-d63b497baad7:autoScalingGroupName/my-auto-scaling-group:policyName/ScalePercentChange",
|
|
69
|
+
* "PolicyName": "ScalePercentChange",
|
|
70
|
+
* "ScalingAdjustment": 25
|
|
71
|
+
* }
|
|
72
|
+
* ]
|
|
73
|
+
* }
|
|
74
|
+
* *\/
|
|
75
|
+
* // example id: autoscaling-describe-policies-1
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
32
78
|
*/
|
|
33
79
|
export declare class DescribePoliciesCommand extends $Command<DescribePoliciesCommandInput, DescribePoliciesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
34
80
|
readonly input: DescribePoliciesCommandInput;
|
|
@@ -37,6 +37,42 @@ export interface DescribeScalingActivitiesCommandOutput extends ActivitiesType,
|
|
|
37
37
|
* @see {@link DescribeScalingActivitiesCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
41
|
+
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
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
|
+
*
|
|
48
|
+
* @example To describe the scaling activities for an Auto Scaling group
|
|
49
|
+
* ```javascript
|
|
50
|
+
* // This example describes the scaling activities for the specified Auto Scaling group.
|
|
51
|
+
* const input = {
|
|
52
|
+
* "AutoScalingGroupName": "my-auto-scaling-group"
|
|
53
|
+
* };
|
|
54
|
+
* const command = new DescribeScalingActivitiesCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* /* response ==
|
|
57
|
+
* {
|
|
58
|
+
* "Activities": [
|
|
59
|
+
* {
|
|
60
|
+
* "ActivityId": "f9f2d65b-f1f2-43e7-b46d-d86756459699",
|
|
61
|
+
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
62
|
+
* "Cause": "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
|
|
63
|
+
* "Description": "Launching a new EC2 instance: i-4ba0837f",
|
|
64
|
+
* "Details": "details",
|
|
65
|
+
* "EndTime": "2013-08-19T20:54:02Z",
|
|
66
|
+
* "Progress": 100,
|
|
67
|
+
* "StartTime": "2013-08-19T20:53:29.930Z",
|
|
68
|
+
* "StatusCode": "Successful"
|
|
69
|
+
* }
|
|
70
|
+
* ]
|
|
71
|
+
* }
|
|
72
|
+
* *\/
|
|
73
|
+
* // example id: autoscaling-describe-scaling-activities-1
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
40
76
|
*/
|
|
41
77
|
export declare class DescribeScalingActivitiesCommand extends $Command<DescribeScalingActivitiesCommandInput, DescribeScalingActivitiesCommandOutput, AutoScalingClientResolvedConfig> {
|
|
42
78
|
readonly input: DescribeScalingActivitiesCommandInput;
|