@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
@@ -35,6 +35,28 @@ export interface DescribeAutoScalingInstancesCommandOutput extends AutoScalingIn
35
35
  * };
36
36
  * const command = new DescribeAutoScalingInstancesCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // AutoScalingInstancesType
39
+ * // AutoScalingInstances: [ // AutoScalingInstances
40
+ * // { // AutoScalingInstanceDetails
41
+ * // InstanceId: "STRING_VALUE", // required
42
+ * // InstanceType: "STRING_VALUE",
43
+ * // AutoScalingGroupName: "STRING_VALUE", // required
44
+ * // AvailabilityZone: "STRING_VALUE", // required
45
+ * // LifecycleState: "STRING_VALUE", // required
46
+ * // HealthStatus: "STRING_VALUE", // required
47
+ * // LaunchConfigurationName: "STRING_VALUE",
48
+ * // LaunchTemplate: { // LaunchTemplateSpecification
49
+ * // LaunchTemplateId: "STRING_VALUE",
50
+ * // LaunchTemplateName: "STRING_VALUE",
51
+ * // Version: "STRING_VALUE",
52
+ * // },
53
+ * // ProtectedFromScaleIn: true || false, // required
54
+ * // WeightedCapacity: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
38
60
  * ```
39
61
  *
40
62
  * @param DescribeAutoScalingInstancesCommandInput - {@link DescribeAutoScalingInstancesCommandInput}
@@ -50,6 +72,8 @@ export interface DescribeAutoScalingInstancesCommandOutput extends AutoScalingIn
50
72
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
51
73
  * instance, or load balancer).</p>
52
74
  *
75
+ * @throws {@link AutoScalingServiceException}
76
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
53
77
  *
54
78
  * @example To describe one or more Auto Scaling instances
55
79
  * ```javascript
@@ -29,6 +29,12 @@ export interface DescribeAutoScalingNotificationTypesCommandOutput extends Descr
29
29
  * const input = {};
30
30
  * const command = new DescribeAutoScalingNotificationTypesCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // DescribeAutoScalingNotificationTypesAnswer
33
+ * // AutoScalingNotificationTypes: [ // AutoScalingNotificationTypes
34
+ * // "STRING_VALUE",
35
+ * // ],
36
+ * // };
37
+ *
32
38
  * ```
33
39
  *
34
40
  * @param DescribeAutoScalingNotificationTypesCommandInput - {@link DescribeAutoScalingNotificationTypesCommandInput}
@@ -41,6 +47,8 @@ export interface DescribeAutoScalingNotificationTypesCommandOutput extends Descr
41
47
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
42
48
  * instance, or load balancer).</p>
43
49
  *
50
+ * @throws {@link AutoScalingServiceException}
51
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
44
52
  *
45
53
  * @example To describe the Auto Scaling notification types
46
54
  * ```javascript
@@ -45,6 +45,159 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
45
45
  * };
46
46
  * const command = new DescribeInstanceRefreshesCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // DescribeInstanceRefreshesAnswer
49
+ * // InstanceRefreshes: [ // InstanceRefreshes
50
+ * // { // InstanceRefresh
51
+ * // InstanceRefreshId: "STRING_VALUE",
52
+ * // AutoScalingGroupName: "STRING_VALUE",
53
+ * // Status: "Pending" || "InProgress" || "Successful" || "Failed" || "Cancelling" || "Cancelled" || "RollbackInProgress" || "RollbackFailed" || "RollbackSuccessful",
54
+ * // StatusReason: "STRING_VALUE",
55
+ * // StartTime: new Date("TIMESTAMP"),
56
+ * // EndTime: new Date("TIMESTAMP"),
57
+ * // PercentageComplete: Number("int"),
58
+ * // InstancesToUpdate: Number("int"),
59
+ * // ProgressDetails: { // InstanceRefreshProgressDetails
60
+ * // LivePoolProgress: { // InstanceRefreshLivePoolProgress
61
+ * // PercentageComplete: Number("int"),
62
+ * // InstancesToUpdate: Number("int"),
63
+ * // },
64
+ * // WarmPoolProgress: { // InstanceRefreshWarmPoolProgress
65
+ * // PercentageComplete: Number("int"),
66
+ * // InstancesToUpdate: Number("int"),
67
+ * // },
68
+ * // },
69
+ * // Preferences: { // RefreshPreferences
70
+ * // MinHealthyPercentage: Number("int"),
71
+ * // InstanceWarmup: Number("int"),
72
+ * // CheckpointPercentages: [ // CheckpointPercentages
73
+ * // Number("int"),
74
+ * // ],
75
+ * // CheckpointDelay: Number("int"),
76
+ * // SkipMatching: true || false,
77
+ * // AutoRollback: true || false,
78
+ * // ScaleInProtectedInstances: "Refresh" || "Ignore" || "Wait",
79
+ * // StandbyInstances: "Terminate" || "Ignore" || "Wait",
80
+ * // },
81
+ * // DesiredConfiguration: { // DesiredConfiguration
82
+ * // LaunchTemplate: { // LaunchTemplateSpecification
83
+ * // LaunchTemplateId: "STRING_VALUE",
84
+ * // LaunchTemplateName: "STRING_VALUE",
85
+ * // Version: "STRING_VALUE",
86
+ * // },
87
+ * // MixedInstancesPolicy: { // MixedInstancesPolicy
88
+ * // LaunchTemplate: { // LaunchTemplate
89
+ * // LaunchTemplateSpecification: {
90
+ * // LaunchTemplateId: "STRING_VALUE",
91
+ * // LaunchTemplateName: "STRING_VALUE",
92
+ * // Version: "STRING_VALUE",
93
+ * // },
94
+ * // Overrides: [ // Overrides
95
+ * // { // LaunchTemplateOverrides
96
+ * // InstanceType: "STRING_VALUE",
97
+ * // WeightedCapacity: "STRING_VALUE",
98
+ * // LaunchTemplateSpecification: "<LaunchTemplateSpecification>",
99
+ * // InstanceRequirements: { // InstanceRequirements
100
+ * // VCpuCount: { // VCpuCountRequest
101
+ * // Min: Number("int"), // required
102
+ * // Max: Number("int"),
103
+ * // },
104
+ * // MemoryMiB: { // MemoryMiBRequest
105
+ * // Min: Number("int"), // required
106
+ * // Max: Number("int"),
107
+ * // },
108
+ * // CpuManufacturers: [ // CpuManufacturers
109
+ * // "intel" || "amd" || "amazon-web-services",
110
+ * // ],
111
+ * // MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
112
+ * // Min: Number("double"),
113
+ * // Max: Number("double"),
114
+ * // },
115
+ * // ExcludedInstanceTypes: [ // ExcludedInstanceTypes
116
+ * // "STRING_VALUE",
117
+ * // ],
118
+ * // InstanceGenerations: [ // InstanceGenerations
119
+ * // "current" || "previous",
120
+ * // ],
121
+ * // SpotMaxPricePercentageOverLowestPrice: Number("int"),
122
+ * // OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
123
+ * // BareMetal: "included" || "excluded" || "required",
124
+ * // BurstablePerformance: "included" || "excluded" || "required",
125
+ * // RequireHibernateSupport: true || false,
126
+ * // NetworkInterfaceCount: { // NetworkInterfaceCountRequest
127
+ * // Min: Number("int"),
128
+ * // Max: Number("int"),
129
+ * // },
130
+ * // LocalStorage: "included" || "excluded" || "required",
131
+ * // LocalStorageTypes: [ // LocalStorageTypes
132
+ * // "hdd" || "ssd",
133
+ * // ],
134
+ * // TotalLocalStorageGB: { // TotalLocalStorageGBRequest
135
+ * // Min: Number("double"),
136
+ * // Max: Number("double"),
137
+ * // },
138
+ * // BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
139
+ * // Min: Number("int"),
140
+ * // Max: Number("int"),
141
+ * // },
142
+ * // AcceleratorTypes: [ // AcceleratorTypes
143
+ * // "gpu" || "fpga" || "inference",
144
+ * // ],
145
+ * // AcceleratorCount: { // AcceleratorCountRequest
146
+ * // Min: Number("int"),
147
+ * // Max: Number("int"),
148
+ * // },
149
+ * // AcceleratorManufacturers: [ // AcceleratorManufacturers
150
+ * // "nvidia" || "amd" || "amazon-web-services" || "xilinx",
151
+ * // ],
152
+ * // AcceleratorNames: [ // AcceleratorNames
153
+ * // "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
154
+ * // ],
155
+ * // AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
156
+ * // Min: Number("int"),
157
+ * // Max: Number("int"),
158
+ * // },
159
+ * // NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
160
+ * // Min: Number("double"),
161
+ * // Max: Number("double"),
162
+ * // },
163
+ * // AllowedInstanceTypes: [ // AllowedInstanceTypes
164
+ * // "STRING_VALUE",
165
+ * // ],
166
+ * // },
167
+ * // },
168
+ * // ],
169
+ * // },
170
+ * // InstancesDistribution: { // InstancesDistribution
171
+ * // OnDemandAllocationStrategy: "STRING_VALUE",
172
+ * // OnDemandBaseCapacity: Number("int"),
173
+ * // OnDemandPercentageAboveBaseCapacity: Number("int"),
174
+ * // SpotAllocationStrategy: "STRING_VALUE",
175
+ * // SpotInstancePools: Number("int"),
176
+ * // SpotMaxPrice: "STRING_VALUE",
177
+ * // },
178
+ * // },
179
+ * // },
180
+ * // RollbackDetails: { // RollbackDetails
181
+ * // RollbackReason: "STRING_VALUE",
182
+ * // RollbackStartTime: new Date("TIMESTAMP"),
183
+ * // PercentageCompleteOnRollback: Number("int"),
184
+ * // InstancesToUpdateOnRollback: Number("int"),
185
+ * // ProgressDetailsOnRollback: {
186
+ * // LivePoolProgress: {
187
+ * // PercentageComplete: Number("int"),
188
+ * // InstancesToUpdate: Number("int"),
189
+ * // },
190
+ * // WarmPoolProgress: {
191
+ * // PercentageComplete: Number("int"),
192
+ * // InstancesToUpdate: Number("int"),
193
+ * // },
194
+ * // },
195
+ * // },
196
+ * // },
197
+ * // ],
198
+ * // NextToken: "STRING_VALUE",
199
+ * // };
200
+ *
48
201
  * ```
49
202
  *
50
203
  * @param DescribeInstanceRefreshesCommandInput - {@link DescribeInstanceRefreshesCommandInput}
@@ -60,6 +213,8 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
60
213
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
61
214
  * instance, or load balancer).</p>
62
215
  *
216
+ * @throws {@link AutoScalingServiceException}
217
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
63
218
  *
64
219
  * @example To list instance refreshes
65
220
  * ```javascript
@@ -35,6 +35,59 @@ export interface DescribeLaunchConfigurationsCommandOutput extends LaunchConfigu
35
35
  * };
36
36
  * const command = new DescribeLaunchConfigurationsCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // LaunchConfigurationsType
39
+ * // LaunchConfigurations: [ // LaunchConfigurations // required
40
+ * // { // LaunchConfiguration
41
+ * // LaunchConfigurationName: "STRING_VALUE", // required
42
+ * // LaunchConfigurationARN: "STRING_VALUE",
43
+ * // ImageId: "STRING_VALUE", // required
44
+ * // KeyName: "STRING_VALUE",
45
+ * // SecurityGroups: [ // SecurityGroups
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // ClassicLinkVPCId: "STRING_VALUE",
49
+ * // ClassicLinkVPCSecurityGroups: [ // ClassicLinkVPCSecurityGroups
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // UserData: "STRING_VALUE",
53
+ * // InstanceType: "STRING_VALUE", // required
54
+ * // KernelId: "STRING_VALUE",
55
+ * // RamdiskId: "STRING_VALUE",
56
+ * // BlockDeviceMappings: [ // BlockDeviceMappings
57
+ * // { // BlockDeviceMapping
58
+ * // VirtualName: "STRING_VALUE",
59
+ * // DeviceName: "STRING_VALUE", // required
60
+ * // Ebs: { // Ebs
61
+ * // SnapshotId: "STRING_VALUE",
62
+ * // VolumeSize: Number("int"),
63
+ * // VolumeType: "STRING_VALUE",
64
+ * // DeleteOnTermination: true || false,
65
+ * // Iops: Number("int"),
66
+ * // Encrypted: true || false,
67
+ * // Throughput: Number("int"),
68
+ * // },
69
+ * // NoDevice: true || false,
70
+ * // },
71
+ * // ],
72
+ * // InstanceMonitoring: { // InstanceMonitoring
73
+ * // Enabled: true || false,
74
+ * // },
75
+ * // SpotPrice: "STRING_VALUE",
76
+ * // IamInstanceProfile: "STRING_VALUE",
77
+ * // CreatedTime: new Date("TIMESTAMP"), // required
78
+ * // EbsOptimized: true || false,
79
+ * // AssociatePublicIpAddress: true || false,
80
+ * // PlacementTenancy: "STRING_VALUE",
81
+ * // MetadataOptions: { // InstanceMetadataOptions
82
+ * // HttpTokens: "optional" || "required",
83
+ * // HttpPutResponseHopLimit: Number("int"),
84
+ * // HttpEndpoint: "disabled" || "enabled",
85
+ * // },
86
+ * // },
87
+ * // ],
88
+ * // NextToken: "STRING_VALUE",
89
+ * // };
90
+ *
38
91
  * ```
39
92
  *
40
93
  * @param DescribeLaunchConfigurationsCommandInput - {@link DescribeLaunchConfigurationsCommandInput}
@@ -50,6 +103,8 @@ export interface DescribeLaunchConfigurationsCommandOutput extends LaunchConfigu
50
103
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
51
104
  * instance, or load balancer).</p>
52
105
  *
106
+ * @throws {@link AutoScalingServiceException}
107
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
53
108
  *
54
109
  * @example To describe Auto Scaling launch configurations
55
110
  * ```javascript
@@ -42,6 +42,12 @@ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecyc
42
42
  * const input = {};
43
43
  * const command = new DescribeLifecycleHookTypesCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // DescribeLifecycleHookTypesAnswer
46
+ * // LifecycleHookTypes: [ // AutoScalingNotificationTypes
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // };
50
+ *
45
51
  * ```
46
52
  *
47
53
  * @param DescribeLifecycleHookTypesCommandInput - {@link DescribeLifecycleHookTypesCommandInput}
@@ -54,6 +60,8 @@ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecyc
54
60
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
55
61
  * instance, or load balancer).</p>
56
62
  *
63
+ * @throws {@link AutoScalingServiceException}
64
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
57
65
  *
58
66
  * @example To describe the available types of lifecycle hooks
59
67
  * ```javascript
@@ -34,6 +34,22 @@ export interface DescribeLifecycleHooksCommandOutput extends DescribeLifecycleHo
34
34
  * };
35
35
  * const command = new DescribeLifecycleHooksCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DescribeLifecycleHooksAnswer
38
+ * // LifecycleHooks: [ // LifecycleHooks
39
+ * // { // LifecycleHook
40
+ * // LifecycleHookName: "STRING_VALUE",
41
+ * // AutoScalingGroupName: "STRING_VALUE",
42
+ * // LifecycleTransition: "STRING_VALUE",
43
+ * // NotificationTargetARN: "STRING_VALUE",
44
+ * // RoleARN: "STRING_VALUE",
45
+ * // NotificationMetadata: "STRING_VALUE",
46
+ * // HeartbeatTimeout: Number("int"),
47
+ * // GlobalTimeout: Number("int"),
48
+ * // DefaultResult: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
37
53
  * ```
38
54
  *
39
55
  * @param DescribeLifecycleHooksCommandInput - {@link DescribeLifecycleHooksCommandInput}
@@ -46,6 +62,8 @@ export interface DescribeLifecycleHooksCommandOutput extends DescribeLifecycleHo
46
62
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
47
63
  * instance, or load balancer).</p>
48
64
  *
65
+ * @throws {@link AutoScalingServiceException}
66
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
49
67
  *
50
68
  * @example To describe your lifecycle hooks
51
69
  * ```javascript
@@ -65,6 +65,16 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
65
65
  * };
66
66
  * const command = new DescribeLoadBalancerTargetGroupsCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // { // DescribeLoadBalancerTargetGroupsResponse
69
+ * // LoadBalancerTargetGroups: [ // LoadBalancerTargetGroupStates
70
+ * // { // LoadBalancerTargetGroupState
71
+ * // LoadBalancerTargetGroupARN: "STRING_VALUE",
72
+ * // State: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // NextToken: "STRING_VALUE",
76
+ * // };
77
+ *
68
78
  * ```
69
79
  *
70
80
  * @param DescribeLoadBalancerTargetGroupsCommandInput - {@link DescribeLoadBalancerTargetGroupsCommandInput}
@@ -80,6 +90,8 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
80
90
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
81
91
  * instance, or load balancer).</p>
82
92
  *
93
+ * @throws {@link AutoScalingServiceException}
94
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
83
95
  *
84
96
  * @example To describe the target groups for an Auto Scaling group
85
97
  * ```javascript
@@ -63,6 +63,16 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
63
63
  * };
64
64
  * const command = new DescribeLoadBalancersCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // DescribeLoadBalancersResponse
67
+ * // LoadBalancers: [ // LoadBalancerStates
68
+ * // { // LoadBalancerState
69
+ * // LoadBalancerName: "STRING_VALUE",
70
+ * // State: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // NextToken: "STRING_VALUE",
74
+ * // };
75
+ *
66
76
  * ```
67
77
  *
68
78
  * @param DescribeLoadBalancersCommandInput - {@link DescribeLoadBalancersCommandInput}
@@ -78,6 +88,8 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
78
88
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
79
89
  * instance, or load balancer).</p>
80
90
  *
91
+ * @throws {@link AutoScalingServiceException}
92
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
81
93
  *
82
94
  * @example To describe the load balancers for an Auto Scaling group
83
95
  * ```javascript
@@ -29,6 +29,19 @@ export interface DescribeMetricCollectionTypesCommandOutput extends DescribeMetr
29
29
  * const input = {};
30
30
  * const command = new DescribeMetricCollectionTypesCommand(input);
31
31
  * const response = await client.send(command);
32
+ * // { // DescribeMetricCollectionTypesAnswer
33
+ * // Metrics: [ // MetricCollectionTypes
34
+ * // { // MetricCollectionType
35
+ * // Metric: "STRING_VALUE",
36
+ * // },
37
+ * // ],
38
+ * // Granularities: [ // MetricGranularityTypes
39
+ * // { // MetricGranularityType
40
+ * // Granularity: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // };
44
+ *
32
45
  * ```
33
46
  *
34
47
  * @param DescribeMetricCollectionTypesCommandInput - {@link DescribeMetricCollectionTypesCommandInput}
@@ -41,6 +54,8 @@ export interface DescribeMetricCollectionTypesCommandOutput extends DescribeMetr
41
54
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
42
55
  * instance, or load balancer).</p>
43
56
  *
57
+ * @throws {@link AutoScalingServiceException}
58
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
44
59
  *
45
60
  * @example To describe the Auto Scaling metric collection types
46
61
  * ```javascript
@@ -36,6 +36,17 @@ export interface DescribeNotificationConfigurationsCommandOutput extends Describ
36
36
  * };
37
37
  * const command = new DescribeNotificationConfigurationsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DescribeNotificationConfigurationsAnswer
40
+ * // NotificationConfigurations: [ // NotificationConfigurations // required
41
+ * // { // NotificationConfiguration
42
+ * // AutoScalingGroupName: "STRING_VALUE",
43
+ * // TopicARN: "STRING_VALUE",
44
+ * // NotificationType: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // NextToken: "STRING_VALUE",
48
+ * // };
49
+ *
39
50
  * ```
40
51
  *
41
52
  * @param DescribeNotificationConfigurationsCommandInput - {@link DescribeNotificationConfigurationsCommandInput}
@@ -51,6 +62,8 @@ export interface DescribeNotificationConfigurationsCommandOutput extends Describ
51
62
  * <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
52
63
  * instance, or load balancer).</p>
53
64
  *
65
+ * @throws {@link AutoScalingServiceException}
66
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
54
67
  *
55
68
  * @example To describe Auto Scaling notification configurations
56
69
  * ```javascript
@@ -39,6 +39,161 @@ export interface DescribePoliciesCommandOutput extends PoliciesType, __MetadataB
39
39
  * };
40
40
  * const command = new DescribePoliciesCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // PoliciesType
43
+ * // ScalingPolicies: [ // ScalingPolicies
44
+ * // { // ScalingPolicy
45
+ * // AutoScalingGroupName: "STRING_VALUE",
46
+ * // PolicyName: "STRING_VALUE",
47
+ * // PolicyARN: "STRING_VALUE",
48
+ * // PolicyType: "STRING_VALUE",
49
+ * // AdjustmentType: "STRING_VALUE",
50
+ * // MinAdjustmentStep: Number("int"),
51
+ * // MinAdjustmentMagnitude: Number("int"),
52
+ * // ScalingAdjustment: Number("int"),
53
+ * // Cooldown: Number("int"),
54
+ * // StepAdjustments: [ // StepAdjustments
55
+ * // { // StepAdjustment
56
+ * // MetricIntervalLowerBound: Number("double"),
57
+ * // MetricIntervalUpperBound: Number("double"),
58
+ * // ScalingAdjustment: Number("int"), // required
59
+ * // },
60
+ * // ],
61
+ * // MetricAggregationType: "STRING_VALUE",
62
+ * // EstimatedInstanceWarmup: Number("int"),
63
+ * // Alarms: [ // Alarms
64
+ * // { // Alarm
65
+ * // AlarmName: "STRING_VALUE",
66
+ * // AlarmARN: "STRING_VALUE",
67
+ * // },
68
+ * // ],
69
+ * // TargetTrackingConfiguration: { // TargetTrackingConfiguration
70
+ * // PredefinedMetricSpecification: { // PredefinedMetricSpecification
71
+ * // PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
72
+ * // ResourceLabel: "STRING_VALUE",
73
+ * // },
74
+ * // CustomizedMetricSpecification: { // CustomizedMetricSpecification
75
+ * // MetricName: "STRING_VALUE",
76
+ * // Namespace: "STRING_VALUE",
77
+ * // Dimensions: [ // MetricDimensions
78
+ * // { // MetricDimension
79
+ * // Name: "STRING_VALUE", // required
80
+ * // Value: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum",
84
+ * // Unit: "STRING_VALUE",
85
+ * // Metrics: [ // TargetTrackingMetricDataQueries
86
+ * // { // TargetTrackingMetricDataQuery
87
+ * // Id: "STRING_VALUE", // required
88
+ * // Expression: "STRING_VALUE",
89
+ * // MetricStat: { // TargetTrackingMetricStat
90
+ * // Metric: { // Metric
91
+ * // Namespace: "STRING_VALUE", // required
92
+ * // MetricName: "STRING_VALUE", // required
93
+ * // Dimensions: [
94
+ * // {
95
+ * // Name: "STRING_VALUE", // required
96
+ * // Value: "STRING_VALUE", // required
97
+ * // },
98
+ * // ],
99
+ * // },
100
+ * // Stat: "STRING_VALUE", // required
101
+ * // Unit: "STRING_VALUE",
102
+ * // },
103
+ * // Label: "STRING_VALUE",
104
+ * // ReturnData: true || false,
105
+ * // },
106
+ * // ],
107
+ * // },
108
+ * // TargetValue: Number("double"), // required
109
+ * // DisableScaleIn: true || false,
110
+ * // },
111
+ * // Enabled: true || false,
112
+ * // PredictiveScalingConfiguration: { // PredictiveScalingConfiguration
113
+ * // MetricSpecifications: [ // PredictiveScalingMetricSpecifications // required
114
+ * // { // PredictiveScalingMetricSpecification
115
+ * // TargetValue: Number("double"), // required
116
+ * // PredefinedMetricPairSpecification: { // PredictiveScalingPredefinedMetricPair
117
+ * // PredefinedMetricType: "ASGCPUUtilization" || "ASGNetworkIn" || "ASGNetworkOut" || "ALBRequestCount", // required
118
+ * // ResourceLabel: "STRING_VALUE",
119
+ * // },
120
+ * // PredefinedScalingMetricSpecification: { // PredictiveScalingPredefinedScalingMetric
121
+ * // PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
122
+ * // ResourceLabel: "STRING_VALUE",
123
+ * // },
124
+ * // PredefinedLoadMetricSpecification: { // PredictiveScalingPredefinedLoadMetric
125
+ * // PredefinedMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
126
+ * // ResourceLabel: "STRING_VALUE",
127
+ * // },
128
+ * // CustomizedScalingMetricSpecification: { // PredictiveScalingCustomizedScalingMetric
129
+ * // MetricDataQueries: [ // MetricDataQueries // required
130
+ * // { // MetricDataQuery
131
+ * // Id: "STRING_VALUE", // required
132
+ * // Expression: "STRING_VALUE",
133
+ * // MetricStat: { // MetricStat
134
+ * // Metric: {
135
+ * // Namespace: "STRING_VALUE", // required
136
+ * // MetricName: "STRING_VALUE", // required
137
+ * // Dimensions: "<MetricDimensions>",
138
+ * // },
139
+ * // Stat: "STRING_VALUE", // required
140
+ * // Unit: "STRING_VALUE",
141
+ * // },
142
+ * // Label: "STRING_VALUE",
143
+ * // ReturnData: true || false,
144
+ * // },
145
+ * // ],
146
+ * // },
147
+ * // CustomizedLoadMetricSpecification: { // PredictiveScalingCustomizedLoadMetric
148
+ * // MetricDataQueries: [ // required
149
+ * // {
150
+ * // Id: "STRING_VALUE", // required
151
+ * // Expression: "STRING_VALUE",
152
+ * // MetricStat: {
153
+ * // Metric: {
154
+ * // Namespace: "STRING_VALUE", // required
155
+ * // MetricName: "STRING_VALUE", // required
156
+ * // Dimensions: "<MetricDimensions>",
157
+ * // },
158
+ * // Stat: "STRING_VALUE", // required
159
+ * // Unit: "STRING_VALUE",
160
+ * // },
161
+ * // Label: "STRING_VALUE",
162
+ * // ReturnData: true || false,
163
+ * // },
164
+ * // ],
165
+ * // },
166
+ * // CustomizedCapacityMetricSpecification: { // PredictiveScalingCustomizedCapacityMetric
167
+ * // MetricDataQueries: [ // required
168
+ * // {
169
+ * // Id: "STRING_VALUE", // required
170
+ * // Expression: "STRING_VALUE",
171
+ * // MetricStat: {
172
+ * // Metric: {
173
+ * // Namespace: "STRING_VALUE", // required
174
+ * // MetricName: "STRING_VALUE", // required
175
+ * // Dimensions: "<MetricDimensions>",
176
+ * // },
177
+ * // Stat: "STRING_VALUE", // required
178
+ * // Unit: "STRING_VALUE",
179
+ * // },
180
+ * // Label: "STRING_VALUE",
181
+ * // ReturnData: true || false,
182
+ * // },
183
+ * // ],
184
+ * // },
185
+ * // },
186
+ * // ],
187
+ * // Mode: "ForecastAndScale" || "ForecastOnly",
188
+ * // SchedulingBufferTime: Number("int"),
189
+ * // MaxCapacityBreachBehavior: "HonorMaxCapacity" || "IncreaseMaxCapacity",
190
+ * // MaxCapacityBuffer: Number("int"),
191
+ * // },
192
+ * // },
193
+ * // ],
194
+ * // NextToken: "STRING_VALUE",
195
+ * // };
196
+ *
42
197
  * ```
43
198
  *
44
199
  * @param DescribePoliciesCommandInput - {@link DescribePoliciesCommandInput}
@@ -57,6 +212,8 @@ export interface DescribePoliciesCommandOutput extends PoliciesType, __MetadataB
57
212
  * @throws {@link ServiceLinkedRoleFailure} (server fault)
58
213
  * <p>The service-linked role is not yet ready for use.</p>
59
214
  *
215
+ * @throws {@link AutoScalingServiceException}
216
+ * <p>Base exception class for all service exceptions from AutoScaling service.</p>
60
217
  *
61
218
  * @example To describe scaling policies
62
219
  * ```javascript