@aws-sdk/client-auto-scaling 3.321.1 → 3.326.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 +4 -0
  2. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +4 -0
  3. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +4 -0
  4. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +4 -0
  5. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +12 -0
  6. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +12 -0
  7. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +6 -0
  8. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +4 -0
  9. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +4 -0
  10. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +4 -0
  11. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +4 -0
  16. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteTagsCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +4 -0
  20. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +9 -0
  21. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +10 -0
  22. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +190 -0
  23. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +24 -0
  24. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +8 -0
  25. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +155 -0
  26. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +55 -0
  27. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +8 -0
  28. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +18 -0
  29. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +12 -0
  30. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +12 -0
  31. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +15 -0
  32. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +13 -0
  33. package/dist-types/commands/DescribePoliciesCommand.d.ts +157 -0
  34. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +22 -0
  35. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +10 -0
  36. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +21 -0
  37. package/dist-types/commands/DescribeTagsCommand.d.ts +15 -0
  38. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +8 -0
  39. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +14 -0
  40. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +32 -0
  41. package/dist-types/commands/DetachInstancesCommand.d.ts +21 -0
  42. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +4 -0
  43. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +4 -0
  44. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +4 -0
  45. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +4 -0
  46. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +4 -0
  47. package/dist-types/commands/EnterStandbyCommand.d.ts +21 -0
  48. package/dist-types/commands/ExecutePolicyCommand.d.ts +4 -0
  49. package/dist-types/commands/ExitStandbyCommand.d.ts +21 -0
  50. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +111 -0
  51. package/dist-types/commands/PutLifecycleHookCommand.d.ts +4 -0
  52. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +4 -0
  53. package/dist-types/commands/PutScalingPolicyCommand.d.ts +12 -0
  54. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +4 -0
  55. package/dist-types/commands/PutWarmPoolCommand.d.ts +4 -0
  56. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +4 -0
  57. package/dist-types/commands/ResumeProcessesCommand.d.ts +4 -0
  58. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +6 -0
  59. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +4 -0
  60. package/dist-types/commands/SetInstanceHealthCommand.d.ts +4 -0
  61. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +4 -0
  62. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +6 -0
  63. package/dist-types/commands/SuspendProcessesCommand.d.ts +4 -0
  64. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +19 -0
  65. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +4 -0
  66. package/package.json +16 -16
@@ -45,6 +45,26 @@ export interface DescribeScalingActivitiesCommandOutput extends ActivitiesType,
45
45
  * };
46
46
  * const command = new DescribeScalingActivitiesCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // ActivitiesType
49
+ * // Activities: [ // Activities // required
50
+ * // { // Activity
51
+ * // ActivityId: "STRING_VALUE", // required
52
+ * // AutoScalingGroupName: "STRING_VALUE", // required
53
+ * // Description: "STRING_VALUE",
54
+ * // Cause: "STRING_VALUE", // required
55
+ * // StartTime: new Date("TIMESTAMP"), // required
56
+ * // EndTime: new Date("TIMESTAMP"),
57
+ * // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
58
+ * // StatusMessage: "STRING_VALUE",
59
+ * // Progress: Number("int"),
60
+ * // Details: "STRING_VALUE",
61
+ * // AutoScalingGroupState: "STRING_VALUE",
62
+ * // AutoScalingGroupARN: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // NextToken: "STRING_VALUE",
66
+ * // };
67
+ *
48
68
  * ```
49
69
  *
50
70
  * @param DescribeScalingActivitiesCommandInput - {@link DescribeScalingActivitiesCommandInput}
@@ -60,6 +80,8 @@ export interface DescribeScalingActivitiesCommandOutput extends ActivitiesType,
60
80
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
61
81
  * instance, or load balancer).</p>
62
82
  *
83
+ * @throws {@link AutoScalingServiceException}
84
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
63
85
  *
64
86
  * @example To describe the scaling activities for an Auto Scaling group
65
87
  * ```javascript
@@ -30,6 +30,14 @@ export interface DescribeScalingProcessTypesCommandOutput extends ProcessesType,
30
30
  * const input = {};
31
31
  * const command = new DescribeScalingProcessTypesCommand(input);
32
32
  * const response = await client.send(command);
33
+ * // { // ProcessesType
34
+ * // Processes: [ // Processes
35
+ * // { // ProcessType
36
+ * // ProcessName: "STRING_VALUE", // required
37
+ * // },
38
+ * // ],
39
+ * // };
40
+ *
33
41
  * ```
34
42
  *
35
43
  * @param DescribeScalingProcessTypesCommandInput - {@link DescribeScalingProcessTypesCommandInput}
@@ -42,6 +50,8 @@ export interface DescribeScalingProcessTypesCommandOutput extends ProcessesType,
42
50
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
43
51
  * instance, or load balancer).</p>
44
52
  *
53
+ * @throws {@link AutoScalingServiceException}
54
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
45
55
  *
46
56
  * @example To describe the Auto Scaling process types
47
57
  * ```javascript
@@ -41,6 +41,25 @@ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsT
41
41
  * };
42
42
  * const command = new DescribeScheduledActionsCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ScheduledActionsType
45
+ * // ScheduledUpdateGroupActions: [ // ScheduledUpdateGroupActions
46
+ * // { // ScheduledUpdateGroupAction
47
+ * // AutoScalingGroupName: "STRING_VALUE",
48
+ * // ScheduledActionName: "STRING_VALUE",
49
+ * // ScheduledActionARN: "STRING_VALUE",
50
+ * // Time: new Date("TIMESTAMP"),
51
+ * // StartTime: new Date("TIMESTAMP"),
52
+ * // EndTime: new Date("TIMESTAMP"),
53
+ * // Recurrence: "STRING_VALUE",
54
+ * // MinSize: Number("int"),
55
+ * // MaxSize: Number("int"),
56
+ * // DesiredCapacity: Number("int"),
57
+ * // TimeZone: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
44
63
  * ```
45
64
  *
46
65
  * @param DescribeScheduledActionsCommandInput - {@link DescribeScheduledActionsCommandInput}
@@ -56,6 +75,8 @@ export interface DescribeScheduledActionsCommandOutput extends ScheduledActionsT
56
75
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
57
76
  * instance, or load balancer).</p>
58
77
  *
78
+ * @throws {@link AutoScalingServiceException}
79
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
59
80
  *
60
81
  * @example To describe scheduled actions
61
82
  * ```javascript
@@ -48,6 +48,19 @@ export interface DescribeTagsCommandOutput extends TagsType, __MetadataBearer {
48
48
  * };
49
49
  * const command = new DescribeTagsCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // TagsType
52
+ * // Tags: [ // TagDescriptionList
53
+ * // { // TagDescription
54
+ * // ResourceId: "STRING_VALUE",
55
+ * // ResourceType: "STRING_VALUE",
56
+ * // Key: "STRING_VALUE",
57
+ * // Value: "STRING_VALUE",
58
+ * // PropagateAtLaunch: true || false,
59
+ * // },
60
+ * // ],
61
+ * // NextToken: "STRING_VALUE",
62
+ * // };
63
+ *
51
64
  * ```
52
65
  *
53
66
  * @param DescribeTagsCommandInput - {@link DescribeTagsCommandInput}
@@ -63,6 +76,8 @@ export interface DescribeTagsCommandOutput extends TagsType, __MetadataBearer {
63
76
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
64
77
  * instance, or load balancer).</p>
65
78
  *
79
+ * @throws {@link AutoScalingServiceException}
80
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
66
81
  *
67
82
  * @example To describe tags
68
83
  * ```javascript
@@ -32,6 +32,12 @@ export interface DescribeTerminationPolicyTypesCommandOutput extends DescribeTer
32
32
  * const input = {};
33
33
  * const command = new DescribeTerminationPolicyTypesCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeTerminationPolicyTypesAnswer
36
+ * // TerminationPolicyTypes: [ // TerminationPolicies
37
+ * // "STRING_VALUE",
38
+ * // ],
39
+ * // };
40
+ *
35
41
  * ```
36
42
  *
37
43
  * @param DescribeTerminationPolicyTypesCommandInput - {@link DescribeTerminationPolicyTypesCommandInput}
@@ -44,6 +50,8 @@ export interface DescribeTerminationPolicyTypesCommandOutput extends DescribeTer
44
50
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
45
51
  * instance, or load balancer).</p>
46
52
  *
53
+ * @throws {@link AutoScalingServiceException}
54
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
47
55
  *
48
56
  * @example To describe termination policy types
49
57
  * ```javascript
@@ -38,6 +38,18 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
38
38
  * };
39
39
  * const command = new DescribeTrafficSourcesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // DescribeTrafficSourcesResponse
42
+ * // TrafficSources: [ // TrafficSourceStates
43
+ * // { // TrafficSourceState
44
+ * // TrafficSource: "STRING_VALUE",
45
+ * // State: "STRING_VALUE",
46
+ * // Identifier: "STRING_VALUE",
47
+ * // Type: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // NextToken: "STRING_VALUE",
51
+ * // };
52
+ *
41
53
  * ```
42
54
  *
43
55
  * @param DescribeTrafficSourcesCommandInput - {@link DescribeTrafficSourcesCommandInput}
@@ -53,6 +65,8 @@ export interface DescribeTrafficSourcesCommandOutput extends DescribeTrafficSour
53
65
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
54
66
  * instance, or load balancer).</p>
55
67
  *
68
+ * @throws {@link AutoScalingServiceException}
69
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
56
70
  *
57
71
  * @example To describe the target groups for an Auto Scaling group
58
72
  * ```javascript
@@ -35,6 +35,36 @@ export interface DescribeWarmPoolCommandOutput extends DescribeWarmPoolAnswer, _
35
35
  * };
36
36
  * const command = new DescribeWarmPoolCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DescribeWarmPoolAnswer
39
+ * // WarmPoolConfiguration: { // WarmPoolConfiguration
40
+ * // MaxGroupPreparedCapacity: Number("int"),
41
+ * // MinSize: Number("int"),
42
+ * // PoolState: "Stopped" || "Running" || "Hibernated",
43
+ * // Status: "PendingDelete",
44
+ * // InstanceReusePolicy: { // InstanceReusePolicy
45
+ * // ReuseOnScaleIn: true || false,
46
+ * // },
47
+ * // },
48
+ * // Instances: [ // Instances
49
+ * // { // Instance
50
+ * // InstanceId: "STRING_VALUE", // required
51
+ * // InstanceType: "STRING_VALUE",
52
+ * // AvailabilityZone: "STRING_VALUE", // required
53
+ * // LifecycleState: "Pending" || "Pending:Wait" || "Pending:Proceed" || "Quarantined" || "InService" || "Terminating" || "Terminating:Wait" || "Terminating:Proceed" || "Terminated" || "Detaching" || "Detached" || "EnteringStandby" || "Standby" || "Warmed:Pending" || "Warmed:Pending:Wait" || "Warmed:Pending:Proceed" || "Warmed:Terminating" || "Warmed:Terminating:Wait" || "Warmed:Terminating:Proceed" || "Warmed:Terminated" || "Warmed:Stopped" || "Warmed:Running" || "Warmed:Hibernated", // required
54
+ * // HealthStatus: "STRING_VALUE", // required
55
+ * // LaunchConfigurationName: "STRING_VALUE",
56
+ * // LaunchTemplate: { // LaunchTemplateSpecification
57
+ * // LaunchTemplateId: "STRING_VALUE",
58
+ * // LaunchTemplateName: "STRING_VALUE",
59
+ * // Version: "STRING_VALUE",
60
+ * // },
61
+ * // ProtectedFromScaleIn: true || false, // required
62
+ * // WeightedCapacity: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // NextToken: "STRING_VALUE",
66
+ * // };
67
+ *
38
68
  * ```
39
69
  *
40
70
  * @param DescribeWarmPoolCommandInput - {@link DescribeWarmPoolCommandInput}
@@ -56,6 +86,8 @@ export interface DescribeWarmPoolCommandOutput extends DescribeWarmPoolAnswer, _
56
86
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
57
87
  * instance, or load balancer).</p>
58
88
  *
89
+ * @throws {@link AutoScalingServiceException}
90
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
59
91
  *
60
92
  */
61
93
  export declare class DescribeWarmPoolCommand extends $Command<DescribeWarmPoolCommandInput, DescribeWarmPoolCommandOutput, AutoScalingClientResolvedConfig> {
@@ -44,6 +44,25 @@ export interface DetachInstancesCommandOutput extends DetachInstancesAnswer, __M
44
44
  * };
45
45
  * const command = new DetachInstancesCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // DetachInstancesAnswer
48
+ * // Activities: [ // Activities
49
+ * // { // Activity
50
+ * // ActivityId: "STRING_VALUE", // required
51
+ * // AutoScalingGroupName: "STRING_VALUE", // required
52
+ * // Description: "STRING_VALUE",
53
+ * // Cause: "STRING_VALUE", // required
54
+ * // StartTime: new Date("TIMESTAMP"), // required
55
+ * // EndTime: new Date("TIMESTAMP"),
56
+ * // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
57
+ * // StatusMessage: "STRING_VALUE",
58
+ * // Progress: Number("int"),
59
+ * // Details: "STRING_VALUE",
60
+ * // AutoScalingGroupState: "STRING_VALUE",
61
+ * // AutoScalingGroupARN: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
47
66
  * ```
48
67
  *
49
68
  * @param DetachInstancesCommandInput - {@link DetachInstancesCommandInput}
@@ -56,6 +75,8 @@ export interface DetachInstancesCommandOutput extends DetachInstancesAnswer, __M
56
75
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
57
76
  * instance, or load balancer).</p>
58
77
  *
78
+ * @throws {@link AutoScalingServiceException}
79
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
59
80
  *
60
81
  * @example To detach an instance from an Auto Scaling group
61
82
  * ```javascript
@@ -51,6 +51,8 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
51
51
  * };
52
52
  * const command = new DetachLoadBalancerTargetGroupsCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // {};
55
+ *
54
56
  * ```
55
57
  *
56
58
  * @param DetachLoadBalancerTargetGroupsCommandInput - {@link DetachLoadBalancerTargetGroupsCommandInput}
@@ -63,6 +65,8 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
63
65
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
64
66
  * instance, or load balancer).</p>
65
67
  *
68
+ * @throws {@link AutoScalingServiceException}
69
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
66
70
  *
67
71
  * @example To detach a target group from an Auto Scaling group
68
72
  * ```javascript
@@ -47,6 +47,8 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
47
47
  * };
48
48
  * const command = new DetachLoadBalancersCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param DetachLoadBalancersCommandInput - {@link DetachLoadBalancersCommandInput}
@@ -59,6 +61,8 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
59
61
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
60
62
  * instance, or load balancer).</p>
61
63
  *
64
+ * @throws {@link AutoScalingServiceException}
65
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
62
66
  *
63
67
  * @example To detach a load balancer from an Auto Scaling group
64
68
  * ```javascript
@@ -40,6 +40,8 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
40
40
  * };
41
41
  * const command = new DetachTrafficSourcesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param DetachTrafficSourcesCommandInput - {@link DetachTrafficSourcesCommandInput}
@@ -52,6 +54,8 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
52
54
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
53
55
  * instance, or load balancer).</p>
54
56
  *
57
+ * @throws {@link AutoScalingServiceException}
58
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
55
59
  *
56
60
  * @example To detach a target group from an Auto Scaling group
57
61
  * ```javascript
@@ -34,6 +34,8 @@ export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer
34
34
  * };
35
35
  * const command = new DisableMetricsCollectionCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param DisableMetricsCollectionCommandInput - {@link DisableMetricsCollectionCommandInput}
@@ -46,6 +48,8 @@ export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer
46
48
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
47
49
  * instance, or load balancer).</p>
48
50
  *
51
+ * @throws {@link AutoScalingServiceException}
52
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
49
53
  *
50
54
  * @example To disable metrics collection for an Auto Scaling group
51
55
  * ```javascript
@@ -40,6 +40,8 @@ export interface EnableMetricsCollectionCommandOutput extends __MetadataBearer {
40
40
  * };
41
41
  * const command = new EnableMetricsCollectionCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param EnableMetricsCollectionCommandInput - {@link EnableMetricsCollectionCommandInput}
@@ -52,6 +54,8 @@ export interface EnableMetricsCollectionCommandOutput extends __MetadataBearer {
52
54
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
53
55
  * instance, or load balancer).</p>
54
56
  *
57
+ * @throws {@link AutoScalingServiceException}
58
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
55
59
  *
56
60
  * @example To enable metrics collection for an Auto Scaling group
57
61
  * ```javascript
@@ -44,6 +44,25 @@ export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __Metadat
44
44
  * };
45
45
  * const command = new EnterStandbyCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // EnterStandbyAnswer
48
+ * // Activities: [ // Activities
49
+ * // { // Activity
50
+ * // ActivityId: "STRING_VALUE", // required
51
+ * // AutoScalingGroupName: "STRING_VALUE", // required
52
+ * // Description: "STRING_VALUE",
53
+ * // Cause: "STRING_VALUE", // required
54
+ * // StartTime: new Date("TIMESTAMP"), // required
55
+ * // EndTime: new Date("TIMESTAMP"),
56
+ * // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
57
+ * // StatusMessage: "STRING_VALUE",
58
+ * // Progress: Number("int"),
59
+ * // Details: "STRING_VALUE",
60
+ * // AutoScalingGroupState: "STRING_VALUE",
61
+ * // AutoScalingGroupARN: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // };
65
+ *
47
66
  * ```
48
67
  *
49
68
  * @param EnterStandbyCommandInput - {@link EnterStandbyCommandInput}
@@ -56,6 +75,8 @@ export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __Metadat
56
75
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
57
76
  * instance, or load balancer).</p>
58
77
  *
78
+ * @throws {@link AutoScalingServiceException}
79
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
59
80
  *
60
81
  * @example To move instances into standby mode
61
82
  * ```javascript
@@ -36,6 +36,8 @@ export interface ExecutePolicyCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new ExecutePolicyCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param ExecutePolicyCommandInput - {@link ExecutePolicyCommandInput}
@@ -52,6 +54,8 @@ export interface ExecutePolicyCommandOutput extends __MetadataBearer {
52
54
  * <p>The operation can't be performed because there are scaling activities in
53
55
  * progress.</p>
54
56
  *
57
+ * @throws {@link AutoScalingServiceException}
58
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
55
59
  *
56
60
  * @example To execute a scaling policy
57
61
  * ```javascript
@@ -39,6 +39,25 @@ export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataB
39
39
  * };
40
40
  * const command = new ExitStandbyCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // ExitStandbyAnswer
43
+ * // Activities: [ // Activities
44
+ * // { // Activity
45
+ * // ActivityId: "STRING_VALUE", // required
46
+ * // AutoScalingGroupName: "STRING_VALUE", // required
47
+ * // Description: "STRING_VALUE",
48
+ * // Cause: "STRING_VALUE", // required
49
+ * // StartTime: new Date("TIMESTAMP"), // required
50
+ * // EndTime: new Date("TIMESTAMP"),
51
+ * // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
52
+ * // StatusMessage: "STRING_VALUE",
53
+ * // Progress: Number("int"),
54
+ * // Details: "STRING_VALUE",
55
+ * // AutoScalingGroupState: "STRING_VALUE",
56
+ * // AutoScalingGroupARN: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
42
61
  * ```
43
62
  *
44
63
  * @param ExitStandbyCommandInput - {@link ExitStandbyCommandInput}
@@ -51,6 +70,8 @@ export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataB
51
70
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
52
71
  * instance, or load balancer).</p>
53
72
  *
73
+ * @throws {@link AutoScalingServiceException}
74
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
54
75
  *
55
76
  * @example To move instances out of standby mode
56
77
  * ```javascript
@@ -42,6 +42,115 @@ export interface GetPredictiveScalingForecastCommandOutput extends GetPredictive
42
42
  * };
43
43
  * const command = new GetPredictiveScalingForecastCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // GetPredictiveScalingForecastAnswer
46
+ * // LoadForecast: [ // LoadForecasts // required
47
+ * // { // LoadForecast
48
+ * // Timestamps: [ // PredictiveScalingForecastTimestamps // required
49
+ * // new Date("TIMESTAMP"),
50
+ * // ],
51
+ * // Values: [ // PredictiveScalingForecastValues // required
52
+ * // Number("double"),
53
+ * // ],
54
+ * // MetricSpecification: { // PredictiveScalingMetricSpecification
55
+ * // TargetValue: Number("double"), // required
56
+ * // PredefinedMetricPairSpecification: { // PredictiveScalingPredefinedMetricPair
57
+ * // PredefinedMetricType: "ASGCPUUtilization" || "ASGNetworkIn" || "ASGNetworkOut" || "ALBRequestCount", // required
58
+ * // ResourceLabel: "STRING_VALUE",
59
+ * // },
60
+ * // PredefinedScalingMetricSpecification: { // PredictiveScalingPredefinedScalingMetric
61
+ * // PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
62
+ * // ResourceLabel: "STRING_VALUE",
63
+ * // },
64
+ * // PredefinedLoadMetricSpecification: { // PredictiveScalingPredefinedLoadMetric
65
+ * // PredefinedMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
66
+ * // ResourceLabel: "STRING_VALUE",
67
+ * // },
68
+ * // CustomizedScalingMetricSpecification: { // PredictiveScalingCustomizedScalingMetric
69
+ * // MetricDataQueries: [ // MetricDataQueries // required
70
+ * // { // MetricDataQuery
71
+ * // Id: "STRING_VALUE", // required
72
+ * // Expression: "STRING_VALUE",
73
+ * // MetricStat: { // MetricStat
74
+ * // Metric: { // Metric
75
+ * // Namespace: "STRING_VALUE", // required
76
+ * // MetricName: "STRING_VALUE", // required
77
+ * // Dimensions: [ // MetricDimensions
78
+ * // { // MetricDimension
79
+ * // Name: "STRING_VALUE", // required
80
+ * // Value: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // },
84
+ * // Stat: "STRING_VALUE", // required
85
+ * // Unit: "STRING_VALUE",
86
+ * // },
87
+ * // Label: "STRING_VALUE",
88
+ * // ReturnData: true || false,
89
+ * // },
90
+ * // ],
91
+ * // },
92
+ * // CustomizedLoadMetricSpecification: { // PredictiveScalingCustomizedLoadMetric
93
+ * // MetricDataQueries: [ // required
94
+ * // {
95
+ * // Id: "STRING_VALUE", // required
96
+ * // Expression: "STRING_VALUE",
97
+ * // MetricStat: {
98
+ * // Metric: {
99
+ * // Namespace: "STRING_VALUE", // required
100
+ * // MetricName: "STRING_VALUE", // required
101
+ * // Dimensions: [
102
+ * // {
103
+ * // Name: "STRING_VALUE", // required
104
+ * // Value: "STRING_VALUE", // required
105
+ * // },
106
+ * // ],
107
+ * // },
108
+ * // Stat: "STRING_VALUE", // required
109
+ * // Unit: "STRING_VALUE",
110
+ * // },
111
+ * // Label: "STRING_VALUE",
112
+ * // ReturnData: true || false,
113
+ * // },
114
+ * // ],
115
+ * // },
116
+ * // CustomizedCapacityMetricSpecification: { // PredictiveScalingCustomizedCapacityMetric
117
+ * // MetricDataQueries: [ // required
118
+ * // {
119
+ * // Id: "STRING_VALUE", // required
120
+ * // Expression: "STRING_VALUE",
121
+ * // MetricStat: {
122
+ * // Metric: {
123
+ * // Namespace: "STRING_VALUE", // required
124
+ * // MetricName: "STRING_VALUE", // required
125
+ * // Dimensions: [
126
+ * // {
127
+ * // Name: "STRING_VALUE", // required
128
+ * // Value: "STRING_VALUE", // required
129
+ * // },
130
+ * // ],
131
+ * // },
132
+ * // Stat: "STRING_VALUE", // required
133
+ * // Unit: "STRING_VALUE",
134
+ * // },
135
+ * // Label: "STRING_VALUE",
136
+ * // ReturnData: true || false,
137
+ * // },
138
+ * // ],
139
+ * // },
140
+ * // },
141
+ * // },
142
+ * // ],
143
+ * // CapacityForecast: { // CapacityForecast
144
+ * // Timestamps: [ // required
145
+ * // new Date("TIMESTAMP"),
146
+ * // ],
147
+ * // Values: [ // required
148
+ * // Number("double"),
149
+ * // ],
150
+ * // },
151
+ * // UpdateTime: new Date("TIMESTAMP"), // required
152
+ * // };
153
+ *
45
154
  * ```
46
155
  *
47
156
  * @param GetPredictiveScalingForecastCommandInput - {@link GetPredictiveScalingForecastCommandInput}
@@ -54,6 +163,8 @@ export interface GetPredictiveScalingForecastCommandOutput extends GetPredictive
54
163
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
55
164
  * instance, or load balancer).</p>
56
165
  *
166
+ * @throws {@link AutoScalingServiceException}
167
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
57
168
  *
58
169
  */
59
170
  export declare class GetPredictiveScalingForecastCommand extends $Command<GetPredictiveScalingForecastCommandInput, GetPredictiveScalingForecastCommandOutput, AutoScalingClientResolvedConfig> {
@@ -80,6 +80,8 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
80
80
  * };
81
81
  * const command = new PutLifecycleHookCommand(input);
82
82
  * const response = await client.send(command);
83
+ * // {};
84
+ *
83
85
  * ```
84
86
  *
85
87
  * @param PutLifecycleHookCommandInput - {@link PutLifecycleHookCommandInput}
@@ -98,6 +100,8 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
98
100
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
99
101
  * instance, or load balancer).</p>
100
102
  *
103
+ * @throws {@link AutoScalingServiceException}
104
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
101
105
  *
102
106
  * @example To create a launch lifecycle hook
103
107
  * ```javascript
@@ -43,6 +43,8 @@ export interface PutNotificationConfigurationCommandOutput extends __MetadataBea
43
43
  * };
44
44
  * const command = new PutNotificationConfigurationCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param PutNotificationConfigurationCommandInput - {@link PutNotificationConfigurationCommandInput}
@@ -64,6 +66,8 @@ export interface PutNotificationConfigurationCommandOutput extends __MetadataBea
64
66
  * @throws {@link ServiceLinkedRoleFailure} (server fault)
65
67
  * <p>The service-linked role is not yet ready for use.</p>
66
68
  *
69
+ * @throws {@link AutoScalingServiceException}
70
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
67
71
  *
68
72
  * @example To add an Auto Scaling notification
69
73
  * ```javascript
@@ -179,6 +179,16 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
179
179
  * };
180
180
  * const command = new PutScalingPolicyCommand(input);
181
181
  * const response = await client.send(command);
182
+ * // { // PolicyARNType
183
+ * // PolicyARN: "STRING_VALUE",
184
+ * // Alarms: [ // Alarms
185
+ * // { // Alarm
186
+ * // AlarmName: "STRING_VALUE",
187
+ * // AlarmARN: "STRING_VALUE",
188
+ * // },
189
+ * // ],
190
+ * // };
191
+ *
182
192
  * ```
183
193
  *
184
194
  * @param PutScalingPolicyCommandInput - {@link PutScalingPolicyCommandInput}
@@ -200,6 +210,8 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
200
210
  * @throws {@link ServiceLinkedRoleFailure} (server fault)
201
211
  * <p>The service-linked role is not yet ready for use.</p>
202
212
  *
213
+ * @throws {@link AutoScalingServiceException}
214
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
203
215
  *
204
216
  * @example To add a scaling policy to an Auto Scaling group
205
217
  * ```javascript
@@ -46,6 +46,8 @@ export interface PutScheduledUpdateGroupActionCommandOutput extends __MetadataBe
46
46
  * };
47
47
  * const command = new PutScheduledUpdateGroupActionCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // {};
50
+ *
49
51
  * ```
50
52
  *
51
53
  * @param PutScheduledUpdateGroupActionCommandInput - {@link PutScheduledUpdateGroupActionCommandInput}
@@ -67,6 +69,8 @@ export interface PutScheduledUpdateGroupActionCommandOutput extends __MetadataBe
67
69
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
68
70
  * instance, or load balancer).</p>
69
71
  *
72
+ * @throws {@link AutoScalingServiceException}
73
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
70
74
  *
71
75
  * @example To add a scheduled action to an Auto Scaling group
72
76
  * ```javascript