@aws-sdk/client-auto-scaling 3.298.0 → 3.300.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 +6 -0
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +6 -0
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +6 -0
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +8 -0
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +6 -0
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +15 -0
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +3 -0
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +7 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +158 -0
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +46 -0
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +11 -0
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTagsCommand.d.ts +11 -0
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +8 -0
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +6 -0
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +7 -0
- package/dist-types/commands/DescribePoliciesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +12 -0
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +5 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +7 -0
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +6 -0
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +6 -0
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +8 -0
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +6 -0
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +7 -0
- package/dist-types/commands/EnterStandbyCommand.d.ts +7 -0
- package/dist-types/commands/ExecutePolicyCommand.d.ts +7 -0
- package/dist-types/commands/ExitStandbyCommand.d.ts +6 -0
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +6 -0
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +10 -0
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +7 -0
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +148 -0
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +12 -0
- package/dist-types/commands/PutWarmPoolCommand.d.ts +9 -0
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +6 -0
- package/dist-types/commands/ResumeProcessesCommand.d.ts +6 -0
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +3 -0
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +5 -0
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +5 -0
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +7 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +119 -0
- package/dist-types/commands/SuspendProcessesCommand.d.ts +6 -0
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +126 -0
- package/package.json +12 -12
|
@@ -35,6 +35,12 @@ export interface AttachInstancesCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* import { AutoScalingClient, AttachInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, AttachInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* InstanceIds: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
38
44
|
* const command = new AttachInstancesCommand(input);
|
|
39
45
|
* const response = await client.send(command);
|
|
40
46
|
* ```
|
|
@@ -47,6 +47,12 @@ export interface AttachLoadBalancerTargetGroupsCommandOutput extends AttachLoadB
|
|
|
47
47
|
* import { AutoScalingClient, AttachLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
48
48
|
* // const { AutoScalingClient, AttachLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
49
49
|
* const client = new AutoScalingClient(config);
|
|
50
|
+
* const input = {
|
|
51
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
52
|
+
* TargetGroupARNs: [ // required
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* };
|
|
50
56
|
* const command = new AttachLoadBalancerTargetGroupsCommand(input);
|
|
51
57
|
* const response = await client.send(command);
|
|
52
58
|
* ```
|
|
@@ -37,6 +37,12 @@ export interface AttachLoadBalancersCommandOutput extends AttachLoadBalancersRes
|
|
|
37
37
|
* import { AutoScalingClient, AttachLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
38
38
|
* // const { AutoScalingClient, AttachLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
39
39
|
* const client = new AutoScalingClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
42
|
+
* LoadBalancerNames: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
40
46
|
* const command = new AttachLoadBalancersCommand(input);
|
|
41
47
|
* const response = await client.send(command);
|
|
42
48
|
* ```
|
|
@@ -34,6 +34,14 @@ export interface AttachTrafficSourcesCommandOutput extends AttachTrafficSourcesR
|
|
|
34
34
|
* import { AutoScalingClient, AttachTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, AttachTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
|
+
* TrafficSources: [ // required
|
|
40
|
+
* {
|
|
41
|
+
* Identifier: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
37
45
|
* const command = new AttachTrafficSourcesCommand(input);
|
|
38
46
|
* const response = await client.send(command);
|
|
39
47
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchDeleteScheduledActionCommandOutput extends BatchDeleteSche
|
|
|
26
26
|
* import { AutoScalingClient, BatchDeleteScheduledActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, BatchDeleteScheduledActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ScheduledActionNames: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchDeleteScheduledActionCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface BatchPutScheduledUpdateGroupActionCommandOutput extends BatchPu
|
|
|
26
26
|
* import { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ScheduledUpdateGroupActions: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* ScheduledActionName: "STRING_VALUE", // required
|
|
34
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
35
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
36
|
+
* Recurrence: "STRING_VALUE",
|
|
37
|
+
* MinSize: Number("int"),
|
|
38
|
+
* MaxSize: Number("int"),
|
|
39
|
+
* DesiredCapacity: Number("int"),
|
|
40
|
+
* TimeZone: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
29
44
|
* const command = new BatchPutScheduledUpdateGroupActionCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface CancelInstanceRefreshCommandOutput extends CancelInstanceRefres
|
|
|
33
33
|
* import { AutoScalingClient, CancelInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
34
34
|
* // const { AutoScalingClient, CancelInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
35
35
|
* const client = new AutoScalingClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new CancelInstanceRefreshCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -63,6 +63,13 @@ export interface CompleteLifecycleActionCommandOutput extends CompleteLifecycleA
|
|
|
63
63
|
* import { AutoScalingClient, CompleteLifecycleActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
64
64
|
* // const { AutoScalingClient, CompleteLifecycleActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
65
65
|
* const client = new AutoScalingClient(config);
|
|
66
|
+
* const input = {
|
|
67
|
+
* LifecycleHookName: "STRING_VALUE", // required
|
|
68
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
69
|
+
* LifecycleActionToken: "STRING_VALUE",
|
|
70
|
+
* LifecycleActionResult: "STRING_VALUE", // required
|
|
71
|
+
* InstanceId: "STRING_VALUE",
|
|
72
|
+
* };
|
|
66
73
|
* const command = new CompleteLifecycleActionCommand(input);
|
|
67
74
|
* const response = await client.send(command);
|
|
68
75
|
* ```
|
|
@@ -43,6 +43,164 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* import { AutoScalingClient, CreateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
44
44
|
* // const { AutoScalingClient, CreateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
45
45
|
* const client = new AutoScalingClient(config);
|
|
46
|
+
* const input = {
|
|
47
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
48
|
+
* LaunchConfigurationName: "STRING_VALUE",
|
|
49
|
+
* LaunchTemplate: {
|
|
50
|
+
* LaunchTemplateId: "STRING_VALUE",
|
|
51
|
+
* LaunchTemplateName: "STRING_VALUE",
|
|
52
|
+
* Version: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* MixedInstancesPolicy: {
|
|
55
|
+
* LaunchTemplate: {
|
|
56
|
+
* LaunchTemplateSpecification: {
|
|
57
|
+
* LaunchTemplateId: "STRING_VALUE",
|
|
58
|
+
* LaunchTemplateName: "STRING_VALUE",
|
|
59
|
+
* Version: "STRING_VALUE",
|
|
60
|
+
* },
|
|
61
|
+
* Overrides: [
|
|
62
|
+
* {
|
|
63
|
+
* InstanceType: "STRING_VALUE",
|
|
64
|
+
* WeightedCapacity: "STRING_VALUE",
|
|
65
|
+
* LaunchTemplateSpecification: {
|
|
66
|
+
* LaunchTemplateId: "<LaunchTemplateSpecification>",
|
|
67
|
+
* LaunchTemplateName: "<LaunchTemplateSpecification>",
|
|
68
|
+
* Version: "<LaunchTemplateSpecification>",
|
|
69
|
+
* },
|
|
70
|
+
* InstanceRequirements: {
|
|
71
|
+
* VCpuCount: {
|
|
72
|
+
* Min: Number("int"), // required
|
|
73
|
+
* Max: Number("int"),
|
|
74
|
+
* },
|
|
75
|
+
* MemoryMiB: {
|
|
76
|
+
* Min: Number("int"), // required
|
|
77
|
+
* Max: Number("int"),
|
|
78
|
+
* },
|
|
79
|
+
* CpuManufacturers: [
|
|
80
|
+
* "intel" || "amd" || "amazon-web-services",
|
|
81
|
+
* ],
|
|
82
|
+
* MemoryGiBPerVCpu: {
|
|
83
|
+
* Min: Number("double"),
|
|
84
|
+
* Max: Number("double"),
|
|
85
|
+
* },
|
|
86
|
+
* ExcludedInstanceTypes: [
|
|
87
|
+
* "STRING_VALUE",
|
|
88
|
+
* ],
|
|
89
|
+
* InstanceGenerations: [
|
|
90
|
+
* "current" || "previous",
|
|
91
|
+
* ],
|
|
92
|
+
* SpotMaxPricePercentageOverLowestPrice: Number("int"),
|
|
93
|
+
* OnDemandMaxPricePercentageOverLowestPrice: Number("int"),
|
|
94
|
+
* BareMetal: "included" || "excluded" || "required",
|
|
95
|
+
* BurstablePerformance: "included" || "excluded" || "required",
|
|
96
|
+
* RequireHibernateSupport: true || false,
|
|
97
|
+
* NetworkInterfaceCount: {
|
|
98
|
+
* Min: Number("int"),
|
|
99
|
+
* Max: Number("int"),
|
|
100
|
+
* },
|
|
101
|
+
* LocalStorage: "included" || "excluded" || "required",
|
|
102
|
+
* LocalStorageTypes: [
|
|
103
|
+
* "hdd" || "ssd",
|
|
104
|
+
* ],
|
|
105
|
+
* TotalLocalStorageGB: {
|
|
106
|
+
* Min: Number("double"),
|
|
107
|
+
* Max: Number("double"),
|
|
108
|
+
* },
|
|
109
|
+
* BaselineEbsBandwidthMbps: {
|
|
110
|
+
* Min: Number("int"),
|
|
111
|
+
* Max: Number("int"),
|
|
112
|
+
* },
|
|
113
|
+
* AcceleratorTypes: [
|
|
114
|
+
* "gpu" || "fpga" || "inference",
|
|
115
|
+
* ],
|
|
116
|
+
* AcceleratorCount: {
|
|
117
|
+
* Min: Number("int"),
|
|
118
|
+
* Max: Number("int"),
|
|
119
|
+
* },
|
|
120
|
+
* AcceleratorManufacturers: [
|
|
121
|
+
* "nvidia" || "amd" || "amazon-web-services" || "xilinx",
|
|
122
|
+
* ],
|
|
123
|
+
* AcceleratorNames: [
|
|
124
|
+
* "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
|
|
125
|
+
* ],
|
|
126
|
+
* AcceleratorTotalMemoryMiB: {
|
|
127
|
+
* Min: Number("int"),
|
|
128
|
+
* Max: Number("int"),
|
|
129
|
+
* },
|
|
130
|
+
* NetworkBandwidthGbps: {
|
|
131
|
+
* Min: Number("double"),
|
|
132
|
+
* Max: Number("double"),
|
|
133
|
+
* },
|
|
134
|
+
* AllowedInstanceTypes: [
|
|
135
|
+
* "STRING_VALUE",
|
|
136
|
+
* ],
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* ],
|
|
140
|
+
* },
|
|
141
|
+
* InstancesDistribution: {
|
|
142
|
+
* OnDemandAllocationStrategy: "STRING_VALUE",
|
|
143
|
+
* OnDemandBaseCapacity: Number("int"),
|
|
144
|
+
* OnDemandPercentageAboveBaseCapacity: Number("int"),
|
|
145
|
+
* SpotAllocationStrategy: "STRING_VALUE",
|
|
146
|
+
* SpotInstancePools: Number("int"),
|
|
147
|
+
* SpotMaxPrice: "STRING_VALUE",
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* InstanceId: "STRING_VALUE",
|
|
151
|
+
* MinSize: Number("int"), // required
|
|
152
|
+
* MaxSize: Number("int"), // required
|
|
153
|
+
* DesiredCapacity: Number("int"),
|
|
154
|
+
* DefaultCooldown: Number("int"),
|
|
155
|
+
* AvailabilityZones: [
|
|
156
|
+
* "STRING_VALUE",
|
|
157
|
+
* ],
|
|
158
|
+
* LoadBalancerNames: [
|
|
159
|
+
* "STRING_VALUE",
|
|
160
|
+
* ],
|
|
161
|
+
* TargetGroupARNs: [
|
|
162
|
+
* "STRING_VALUE",
|
|
163
|
+
* ],
|
|
164
|
+
* HealthCheckType: "STRING_VALUE",
|
|
165
|
+
* HealthCheckGracePeriod: Number("int"),
|
|
166
|
+
* PlacementGroup: "STRING_VALUE",
|
|
167
|
+
* VPCZoneIdentifier: "STRING_VALUE",
|
|
168
|
+
* TerminationPolicies: [
|
|
169
|
+
* "STRING_VALUE",
|
|
170
|
+
* ],
|
|
171
|
+
* NewInstancesProtectedFromScaleIn: true || false,
|
|
172
|
+
* CapacityRebalance: true || false,
|
|
173
|
+
* LifecycleHookSpecificationList: [
|
|
174
|
+
* {
|
|
175
|
+
* LifecycleHookName: "STRING_VALUE", // required
|
|
176
|
+
* LifecycleTransition: "STRING_VALUE", // required
|
|
177
|
+
* NotificationMetadata: "STRING_VALUE",
|
|
178
|
+
* HeartbeatTimeout: Number("int"),
|
|
179
|
+
* DefaultResult: "STRING_VALUE",
|
|
180
|
+
* NotificationTargetARN: "STRING_VALUE",
|
|
181
|
+
* RoleARN: "STRING_VALUE",
|
|
182
|
+
* },
|
|
183
|
+
* ],
|
|
184
|
+
* Tags: [
|
|
185
|
+
* {
|
|
186
|
+
* ResourceId: "STRING_VALUE",
|
|
187
|
+
* ResourceType: "STRING_VALUE",
|
|
188
|
+
* Key: "STRING_VALUE", // required
|
|
189
|
+
* Value: "STRING_VALUE",
|
|
190
|
+
* PropagateAtLaunch: true || false,
|
|
191
|
+
* },
|
|
192
|
+
* ],
|
|
193
|
+
* ServiceLinkedRoleARN: "STRING_VALUE",
|
|
194
|
+
* MaxInstanceLifetime: Number("int"),
|
|
195
|
+
* Context: "STRING_VALUE",
|
|
196
|
+
* DesiredCapacityType: "STRING_VALUE",
|
|
197
|
+
* DefaultInstanceWarmup: Number("int"),
|
|
198
|
+
* TrafficSources: [
|
|
199
|
+
* {
|
|
200
|
+
* Identifier: "STRING_VALUE",
|
|
201
|
+
* },
|
|
202
|
+
* ],
|
|
203
|
+
* };
|
|
46
204
|
* const command = new CreateAutoScalingGroupCommand(input);
|
|
47
205
|
* const response = await client.send(command);
|
|
48
206
|
* ```
|
|
@@ -38,6 +38,52 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
38
38
|
* import { AutoScalingClient, CreateLaunchConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
39
39
|
* // const { AutoScalingClient, CreateLaunchConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
40
40
|
* const client = new AutoScalingClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* LaunchConfigurationName: "STRING_VALUE", // required
|
|
43
|
+
* ImageId: "STRING_VALUE",
|
|
44
|
+
* KeyName: "STRING_VALUE",
|
|
45
|
+
* SecurityGroups: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ClassicLinkVPCId: "STRING_VALUE",
|
|
49
|
+
* ClassicLinkVPCSecurityGroups: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* UserData: "STRING_VALUE",
|
|
53
|
+
* InstanceId: "STRING_VALUE",
|
|
54
|
+
* InstanceType: "STRING_VALUE",
|
|
55
|
+
* KernelId: "STRING_VALUE",
|
|
56
|
+
* RamdiskId: "STRING_VALUE",
|
|
57
|
+
* BlockDeviceMappings: [
|
|
58
|
+
* {
|
|
59
|
+
* VirtualName: "STRING_VALUE",
|
|
60
|
+
* DeviceName: "STRING_VALUE", // required
|
|
61
|
+
* Ebs: {
|
|
62
|
+
* SnapshotId: "STRING_VALUE",
|
|
63
|
+
* VolumeSize: Number("int"),
|
|
64
|
+
* VolumeType: "STRING_VALUE",
|
|
65
|
+
* DeleteOnTermination: true || false,
|
|
66
|
+
* Iops: Number("int"),
|
|
67
|
+
* Encrypted: true || false,
|
|
68
|
+
* Throughput: Number("int"),
|
|
69
|
+
* },
|
|
70
|
+
* NoDevice: true || false,
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* InstanceMonitoring: {
|
|
74
|
+
* Enabled: true || false,
|
|
75
|
+
* },
|
|
76
|
+
* SpotPrice: "STRING_VALUE",
|
|
77
|
+
* IamInstanceProfile: "STRING_VALUE",
|
|
78
|
+
* EbsOptimized: true || false,
|
|
79
|
+
* AssociatePublicIpAddress: true || false,
|
|
80
|
+
* PlacementTenancy: "STRING_VALUE",
|
|
81
|
+
* MetadataOptions: {
|
|
82
|
+
* HttpTokens: "optional" || "required",
|
|
83
|
+
* HttpPutResponseHopLimit: Number("int"),
|
|
84
|
+
* HttpEndpoint: "disabled" || "enabled",
|
|
85
|
+
* },
|
|
86
|
+
* };
|
|
41
87
|
* const command = new CreateLaunchConfigurationCommand(input);
|
|
42
88
|
* const response = await client.send(command);
|
|
43
89
|
* ```
|
|
@@ -30,6 +30,17 @@ export interface CreateOrUpdateTagsCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { AutoScalingClient, CreateOrUpdateTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, CreateOrUpdateTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* Tags: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* ResourceId: "STRING_VALUE",
|
|
37
|
+
* ResourceType: "STRING_VALUE",
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE",
|
|
40
|
+
* PropagateAtLaunch: true || false,
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
33
44
|
* const command = new CreateOrUpdateTagsCommand(input);
|
|
34
45
|
* const response = await client.send(command);
|
|
35
46
|
* ```
|
|
@@ -40,6 +40,10 @@ export interface DeleteAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { AutoScalingClient, DeleteAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
41
41
|
* // const { AutoScalingClient, DeleteAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
42
42
|
* const client = new AutoScalingClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
45
|
+
* ForceDelete: true || false,
|
|
46
|
+
* };
|
|
43
47
|
* const command = new DeleteAutoScalingGroupCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
45
49
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
28
28
|
* import { AutoScalingClient, DeleteLaunchConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, DeleteLaunchConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* LaunchConfigurationName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteLaunchConfigurationCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteLifecycleHookCommandOutput extends DeleteLifecycleHookAns
|
|
|
29
29
|
* import { AutoScalingClient, DeleteLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, DeleteLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* LifecycleHookName: "STRING_VALUE", // required
|
|
34
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteLifecycleHookCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteNotificationConfigurationCommandOutput extends __Metadata
|
|
|
26
26
|
* import { AutoScalingClient, DeleteNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DeleteNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
+
* TopicARN: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteNotificationConfigurationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -31,6 +31,10 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, DeletePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, DeletePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* AutoScalingGroupName: "STRING_VALUE",
|
|
36
|
+
* PolicyName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
34
38
|
* const command = new DeletePolicyCommand(input);
|
|
35
39
|
* const response = await client.send(command);
|
|
36
40
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteScheduledActionCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { AutoScalingClient, DeleteScheduledActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DeleteScheduledActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
+
* ScheduledActionName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteScheduledActionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface DeleteTagsCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { AutoScalingClient, DeleteTagsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DeleteTagsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Tags: [ // required
|
|
31
|
+
* {
|
|
32
|
+
* ResourceId: "STRING_VALUE",
|
|
33
|
+
* ResourceType: "STRING_VALUE",
|
|
34
|
+
* Key: "STRING_VALUE", // required
|
|
35
|
+
* Value: "STRING_VALUE",
|
|
36
|
+
* PropagateAtLaunch: true || false,
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
29
40
|
* const command = new DeleteTagsCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeleteWarmPoolCommandOutput extends DeleteWarmPoolAnswer, __Met
|
|
|
28
28
|
* import { AutoScalingClient, DeleteWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, DeleteWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
33
|
+
* ForceDelete: true || false,
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DeleteWarmPoolCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -30,6 +30,7 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit
|
|
|
30
30
|
* import { AutoScalingClient, DescribeAccountLimitsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, DescribeAccountLimitsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
+
* const input = {};
|
|
33
34
|
* const command = new DescribeAccountLimitsCommand(input);
|
|
34
35
|
* const response = await client.send(command);
|
|
35
36
|
* ```
|
|
@@ -45,6 +45,7 @@ export interface DescribeAdjustmentTypesCommandOutput extends DescribeAdjustment
|
|
|
45
45
|
* import { AutoScalingClient, DescribeAdjustmentTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
46
46
|
* // const { AutoScalingClient, DescribeAdjustmentTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
47
47
|
* const client = new AutoScalingClient(config);
|
|
48
|
+
* const input = {};
|
|
48
49
|
* const command = new DescribeAdjustmentTypesCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
50
51
|
* ```
|
|
@@ -32,6 +32,21 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
|
|
|
32
32
|
* import { AutoScalingClient, DescribeAutoScalingGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
33
|
* // const { AutoScalingClient, DescribeAutoScalingGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
34
|
* const client = new AutoScalingClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* AutoScalingGroupNames: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxRecords: Number("int"),
|
|
41
|
+
* Filters: [
|
|
42
|
+
* {
|
|
43
|
+
* Name: "STRING_VALUE",
|
|
44
|
+
* Values: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
35
50
|
* const command = new DescribeAutoScalingGroupsCommand(input);
|
|
36
51
|
* const response = await client.send(command);
|
|
37
52
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeAutoScalingInstancesCommandOutput extends AutoScalingIn
|
|
|
26
26
|
* import { AutoScalingClient, DescribeAutoScalingInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeAutoScalingInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* InstanceIds: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* MaxRecords: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeAutoScalingInstancesCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DescribeAutoScalingNotificationTypesCommandOutput extends Descr
|
|
|
26
26
|
* import { AutoScalingClient, DescribeAutoScalingNotificationTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeAutoScalingNotificationTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DescribeAutoScalingNotificationTypesCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -35,6 +35,14 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
35
35
|
* import { AutoScalingClient, DescribeInstanceRefreshesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DescribeInstanceRefreshesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
+
* InstanceRefreshIds: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* MaxRecords: Number("int"),
|
|
45
|
+
* };
|
|
38
46
|
* const command = new DescribeInstanceRefreshesCommand(input);
|
|
39
47
|
* const response = await client.send(command);
|
|
40
48
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeLaunchConfigurationsCommandOutput extends LaunchConfigu
|
|
|
26
26
|
* import { AutoScalingClient, DescribeLaunchConfigurationsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeLaunchConfigurationsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* LaunchConfigurationNames: [
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxRecords: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeLaunchConfigurationsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -39,6 +39,7 @@ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecyc
|
|
|
39
39
|
* import { AutoScalingClient, DescribeLifecycleHookTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
40
40
|
* // const { AutoScalingClient, DescribeLifecycleHookTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
41
41
|
* const client = new AutoScalingClient(config);
|
|
42
|
+
* const input = {};
|
|
42
43
|
* const command = new DescribeLifecycleHookTypesCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
44
45
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DescribeLifecycleHooksCommandOutput extends DescribeLifecycleHo
|
|
|
26
26
|
* import { AutoScalingClient, DescribeLifecycleHooksCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeLifecycleHooksCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
+
* LifecycleHookNames: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DescribeLifecycleHooksCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -50,6 +50,11 @@ export interface DescribeLoadBalancerTargetGroupsCommandOutput extends DescribeL
|
|
|
50
50
|
* import { AutoScalingClient, DescribeLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
51
51
|
* // const { AutoScalingClient, DescribeLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
52
52
|
* const client = new AutoScalingClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
55
|
+
* NextToken: "STRING_VALUE",
|
|
56
|
+
* MaxRecords: Number("int"),
|
|
57
|
+
* };
|
|
53
58
|
* const command = new DescribeLoadBalancerTargetGroupsCommand(input);
|
|
54
59
|
* const response = await client.send(command);
|
|
55
60
|
* ```
|
|
@@ -48,6 +48,11 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
|
|
|
48
48
|
* import { AutoScalingClient, DescribeLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
49
49
|
* // const { AutoScalingClient, DescribeLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
50
50
|
* const client = new AutoScalingClient(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
53
|
+
* NextToken: "STRING_VALUE",
|
|
54
|
+
* MaxRecords: Number("int"),
|
|
55
|
+
* };
|
|
51
56
|
* const command = new DescribeLoadBalancersCommand(input);
|
|
52
57
|
* const response = await client.send(command);
|
|
53
58
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface DescribeMetricCollectionTypesCommandOutput extends DescribeMetr
|
|
|
26
26
|
* import { AutoScalingClient, DescribeMetricCollectionTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DescribeMetricCollectionTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new DescribeMetricCollectionTypesCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface DescribeNotificationConfigurationsCommandOutput extends Describ
|
|
|
27
27
|
* import { AutoScalingClient, DescribeNotificationConfigurationsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { AutoScalingClient, DescribeNotificationConfigurationsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new AutoScalingClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* AutoScalingGroupNames: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxRecords: Number("int"),
|
|
36
|
+
* };
|
|
30
37
|
* const command = new DescribeNotificationConfigurationsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|