@aws-sdk/client-auto-scaling 3.52.0 → 3.53.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/CHANGELOG.md +12 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AutoScalingServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +130 -4
- package/dist-cjs/protocols/Aws_query.js +416 -1351
- package/dist-es/index.js +1 -0
- package/dist-es/models/AutoScalingServiceException.js +12 -0
- package/dist-es/models/models_0.js +116 -1
- package/dist-es/protocols/Aws_query.js +1022 -1578
- package/dist-types/AutoScaling.d.ts +33 -20
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +9 -4
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -2
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +12 -7
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +9 -4
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AutoScalingServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +129 -76
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AutoScalingServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -37
- package/package.json +26 -26
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Specifies the minimum and maximum for the <code>AcceleratorCount</code> object when
|
|
4
5
|
* you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
|
|
@@ -63,10 +64,13 @@ export declare enum AcceleratorType {
|
|
|
63
64
|
* <p>The request failed because an active instance refresh for the specified Auto Scaling group was
|
|
64
65
|
* not found. </p>
|
|
65
66
|
*/
|
|
66
|
-
export
|
|
67
|
-
name: "ActiveInstanceRefreshNotFoundFault";
|
|
68
|
-
$fault: "client";
|
|
69
|
-
|
|
67
|
+
export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException {
|
|
68
|
+
readonly name: "ActiveInstanceRefreshNotFoundFault";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ActiveInstanceRefreshNotFoundFault, __BaseException>);
|
|
70
74
|
}
|
|
71
75
|
export declare enum ScalingActivityStatusCode {
|
|
72
76
|
Cancelled = "Cancelled",
|
|
@@ -213,13 +217,13 @@ export declare namespace Alarm {
|
|
|
213
217
|
/**
|
|
214
218
|
* <p>You already have an Auto Scaling group or launch configuration with this name.</p>
|
|
215
219
|
*/
|
|
216
|
-
export
|
|
217
|
-
name: "AlreadyExistsFault";
|
|
218
|
-
$fault: "client";
|
|
220
|
+
export declare class AlreadyExistsFault extends __BaseException {
|
|
221
|
+
readonly name: "AlreadyExistsFault";
|
|
222
|
+
readonly $fault: "client";
|
|
219
223
|
/**
|
|
220
|
-
*
|
|
224
|
+
* @internal
|
|
221
225
|
*/
|
|
222
|
-
|
|
226
|
+
constructor(opts: __ExceptionOptionType<AlreadyExistsFault, __BaseException>);
|
|
223
227
|
}
|
|
224
228
|
export interface AttachInstancesQuery {
|
|
225
229
|
/**
|
|
@@ -241,21 +245,24 @@ export declare namespace AttachInstancesQuery {
|
|
|
241
245
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
242
246
|
* instance, or load balancer).</p>
|
|
243
247
|
*/
|
|
244
|
-
export
|
|
245
|
-
name: "ResourceContentionFault";
|
|
246
|
-
$fault: "server";
|
|
248
|
+
export declare class ResourceContentionFault extends __BaseException {
|
|
249
|
+
readonly name: "ResourceContentionFault";
|
|
250
|
+
readonly $fault: "server";
|
|
247
251
|
/**
|
|
248
|
-
*
|
|
252
|
+
* @internal
|
|
249
253
|
*/
|
|
250
|
-
|
|
254
|
+
constructor(opts: __ExceptionOptionType<ResourceContentionFault, __BaseException>);
|
|
251
255
|
}
|
|
252
256
|
/**
|
|
253
257
|
* <p>The service-linked role is not yet ready for use.</p>
|
|
254
258
|
*/
|
|
255
|
-
export
|
|
256
|
-
name: "ServiceLinkedRoleFailure";
|
|
257
|
-
$fault: "server";
|
|
258
|
-
|
|
259
|
+
export declare class ServiceLinkedRoleFailure extends __BaseException {
|
|
260
|
+
readonly name: "ServiceLinkedRoleFailure";
|
|
261
|
+
readonly $fault: "server";
|
|
262
|
+
/**
|
|
263
|
+
* @internal
|
|
264
|
+
*/
|
|
265
|
+
constructor(opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>);
|
|
259
266
|
}
|
|
260
267
|
export interface AttachLoadBalancersResultType {
|
|
261
268
|
}
|
|
@@ -455,13 +462,13 @@ export declare namespace BatchPutScheduledUpdateGroupActionType {
|
|
|
455
462
|
* more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html">DescribeAccountLimits</a> in the <i>Amazon EC2 Auto Scaling API
|
|
456
463
|
* Reference</i>.</p>
|
|
457
464
|
*/
|
|
458
|
-
export
|
|
459
|
-
name: "LimitExceededFault";
|
|
460
|
-
$fault: "client";
|
|
465
|
+
export declare class LimitExceededFault extends __BaseException {
|
|
466
|
+
readonly name: "LimitExceededFault";
|
|
467
|
+
readonly $fault: "client";
|
|
461
468
|
/**
|
|
462
|
-
*
|
|
469
|
+
* @internal
|
|
463
470
|
*/
|
|
464
|
-
|
|
471
|
+
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
465
472
|
}
|
|
466
473
|
export interface CancelInstanceRefreshAnswer {
|
|
467
474
|
/**
|
|
@@ -616,7 +623,9 @@ export interface LifecycleHookSpecification {
|
|
|
616
623
|
NotificationTargetARN?: string;
|
|
617
624
|
/**
|
|
618
625
|
* <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
|
|
619
|
-
* notification target
|
|
626
|
+
* notification target.</p>
|
|
627
|
+
* <p>Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue. Required
|
|
628
|
+
* for new lifecycle hooks, but optional when updating existing hooks.</p>
|
|
620
629
|
*/
|
|
621
630
|
RoleARN?: string;
|
|
622
631
|
}
|
|
@@ -932,6 +941,9 @@ export interface InstanceRequirements {
|
|
|
932
941
|
* attributes, we will exclude instance types whose price is higher than your threshold.
|
|
933
942
|
* The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off
|
|
934
943
|
* price protection, specify a high value, such as <code>999999</code>. </p>
|
|
944
|
+
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
|
|
945
|
+
* <code>memory-mib</code>, the price protection threshold is applied based on the per
|
|
946
|
+
* vCPU or per memory price instead of the per instance price. </p>
|
|
935
947
|
* <p>Default: <code>100</code>
|
|
936
948
|
* </p>
|
|
937
949
|
*/
|
|
@@ -943,6 +955,9 @@ export interface InstanceRequirements {
|
|
|
943
955
|
* your attributes, we will exclude instance types whose price is higher than your
|
|
944
956
|
* threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
|
|
945
957
|
* To turn off price protection, specify a high value, such as <code>999999</code>. </p>
|
|
958
|
+
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
|
|
959
|
+
* <code>memory-mib</code>, the price protection threshold is applied based on the per
|
|
960
|
+
* vCPU or per memory price instead of the per instance price. </p>
|
|
946
961
|
* <p>Default: <code>20</code>
|
|
947
962
|
* </p>
|
|
948
963
|
*/
|
|
@@ -1118,17 +1133,15 @@ export interface LaunchTemplateOverrides {
|
|
|
1118
1133
|
* overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling
|
|
1119
1134
|
* can only launch an instance with a <code>WeightedCapacity</code> of five units, the
|
|
1120
1135
|
* instance is launched, and the desired capacity is exceeded by three units. For more
|
|
1121
|
-
* information, see <a href="https://docs.aws.amazon.com/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html">
|
|
1122
|
-
*
|
|
1123
|
-
* range of 1–999.</p>
|
|
1136
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html">Configuring instance weighting for Amazon EC2 Auto Scaling</a> in the
|
|
1137
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. Value must be in the range of 1–999.</p>
|
|
1124
1138
|
*/
|
|
1125
1139
|
WeightedCapacity?: string;
|
|
1126
1140
|
/**
|
|
1127
|
-
* <p>Provides
|
|
1128
|
-
*
|
|
1129
|
-
*
|
|
1130
|
-
*
|
|
1131
|
-
* different launch template for an instance type</a> in the
|
|
1141
|
+
* <p>Provides a launch template for the specified instance type or instance requirements.
|
|
1142
|
+
* For example, some instance types might require a launch template with a different AMI.
|
|
1143
|
+
* If not provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed
|
|
1144
|
+
* instances policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html">Specifying a different launch template for an instance type</a> in the
|
|
1132
1145
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
1133
1146
|
*/
|
|
1134
1147
|
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
@@ -1258,9 +1271,9 @@ export interface CreateAutoScalingGroupType {
|
|
|
1258
1271
|
*
|
|
1259
1272
|
*
|
|
1260
1273
|
*
|
|
1261
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
1262
|
-
* instance types and purchase options</a> in the
|
|
1263
|
-
* Guide</i>.</p>
|
|
1274
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
1275
|
+
* groups with multiple instance types and purchase options</a> in the
|
|
1276
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1264
1277
|
*/
|
|
1265
1278
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
1266
1279
|
/**
|
|
@@ -1335,7 +1348,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
1335
1348
|
* of an EC2 instance that has come into service and marking it unhealthy due to a failed
|
|
1336
1349
|
* health check. The default value is <code>0</code>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period">Health
|
|
1337
1350
|
* check grace period</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1338
|
-
* <p>
|
|
1351
|
+
* <p>Required if you are adding an <code>ELB</code> health check.</p>
|
|
1339
1352
|
*/
|
|
1340
1353
|
HealthCheckGracePeriod?: number;
|
|
1341
1354
|
/**
|
|
@@ -1832,13 +1845,13 @@ export declare namespace CreateOrUpdateTagsType {
|
|
|
1832
1845
|
/**
|
|
1833
1846
|
* <p>The operation can't be performed because the resource is in use.</p>
|
|
1834
1847
|
*/
|
|
1835
|
-
export
|
|
1836
|
-
name: "ResourceInUseFault";
|
|
1837
|
-
$fault: "client";
|
|
1848
|
+
export declare class ResourceInUseFault extends __BaseException {
|
|
1849
|
+
readonly name: "ResourceInUseFault";
|
|
1850
|
+
readonly $fault: "client";
|
|
1838
1851
|
/**
|
|
1839
|
-
*
|
|
1852
|
+
* @internal
|
|
1840
1853
|
*/
|
|
1841
|
-
|
|
1854
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseFault, __BaseException>);
|
|
1842
1855
|
}
|
|
1843
1856
|
export interface DeleteAutoScalingGroupType {
|
|
1844
1857
|
/**
|
|
@@ -1862,13 +1875,13 @@ export declare namespace DeleteAutoScalingGroupType {
|
|
|
1862
1875
|
* <p>The operation can't be performed because there are scaling activities in
|
|
1863
1876
|
* progress.</p>
|
|
1864
1877
|
*/
|
|
1865
|
-
export
|
|
1866
|
-
name: "ScalingActivityInProgressFault";
|
|
1867
|
-
$fault: "client";
|
|
1878
|
+
export declare class ScalingActivityInProgressFault extends __BaseException {
|
|
1879
|
+
readonly name: "ScalingActivityInProgressFault";
|
|
1880
|
+
readonly $fault: "client";
|
|
1868
1881
|
/**
|
|
1869
|
-
*
|
|
1882
|
+
* @internal
|
|
1870
1883
|
*/
|
|
1871
|
-
|
|
1884
|
+
constructor(opts: __ExceptionOptionType<ScalingActivityInProgressFault, __BaseException>);
|
|
1872
1885
|
}
|
|
1873
1886
|
export interface LaunchConfigurationNameType {
|
|
1874
1887
|
/**
|
|
@@ -2278,6 +2291,7 @@ export declare enum LifecycleState {
|
|
|
2278
2291
|
TERMINATING = "Terminating",
|
|
2279
2292
|
TERMINATING_PROCEED = "Terminating:Proceed",
|
|
2280
2293
|
TERMINATING_WAIT = "Terminating:Wait",
|
|
2294
|
+
WARMED_HIBERNATED = "Warmed:Hibernated",
|
|
2281
2295
|
WARMED_PENDING = "Warmed:Pending",
|
|
2282
2296
|
WARMED_PENDING_PROCEED = "Warmed:Pending:Proceed",
|
|
2283
2297
|
WARMED_PENDING_WAIT = "Warmed:Pending:Wait",
|
|
@@ -2395,7 +2409,26 @@ export declare namespace TagDescription {
|
|
|
2395
2409
|
*/
|
|
2396
2410
|
const filterSensitiveLog: (obj: TagDescription) => any;
|
|
2397
2411
|
}
|
|
2412
|
+
/**
|
|
2413
|
+
* <p>Describes an instance reuse policy for a warm pool. </p>
|
|
2414
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
2415
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2416
|
+
*/
|
|
2417
|
+
export interface InstanceReusePolicy {
|
|
2418
|
+
/**
|
|
2419
|
+
* <p>Specifies whether instances in the Auto Scaling group can be returned to the warm pool on
|
|
2420
|
+
* scale in. </p>
|
|
2421
|
+
*/
|
|
2422
|
+
ReuseOnScaleIn?: boolean;
|
|
2423
|
+
}
|
|
2424
|
+
export declare namespace InstanceReusePolicy {
|
|
2425
|
+
/**
|
|
2426
|
+
* @internal
|
|
2427
|
+
*/
|
|
2428
|
+
const filterSensitiveLog: (obj: InstanceReusePolicy) => any;
|
|
2429
|
+
}
|
|
2398
2430
|
export declare enum WarmPoolState {
|
|
2431
|
+
Hibernated = "Hibernated",
|
|
2399
2432
|
Running = "Running",
|
|
2400
2433
|
Stopped = "Stopped"
|
|
2401
2434
|
}
|
|
@@ -2423,6 +2456,10 @@ export interface WarmPoolConfiguration {
|
|
|
2423
2456
|
* <p>The status of a warm pool that is marked for deletion.</p>
|
|
2424
2457
|
*/
|
|
2425
2458
|
Status?: WarmPoolStatus | string;
|
|
2459
|
+
/**
|
|
2460
|
+
* <p>The instance reuse policy.</p>
|
|
2461
|
+
*/
|
|
2462
|
+
InstanceReusePolicy?: InstanceReusePolicy;
|
|
2426
2463
|
}
|
|
2427
2464
|
export declare namespace WarmPoolConfiguration {
|
|
2428
2465
|
/**
|
|
@@ -2608,13 +2645,13 @@ export declare namespace AutoScalingGroupsType {
|
|
|
2608
2645
|
/**
|
|
2609
2646
|
* <p>The <code>NextToken</code> value is not valid.</p>
|
|
2610
2647
|
*/
|
|
2611
|
-
export
|
|
2612
|
-
name: "InvalidNextToken";
|
|
2613
|
-
$fault: "client";
|
|
2648
|
+
export declare class InvalidNextToken extends __BaseException {
|
|
2649
|
+
readonly name: "InvalidNextToken";
|
|
2650
|
+
readonly $fault: "client";
|
|
2614
2651
|
/**
|
|
2615
|
-
*
|
|
2652
|
+
* @internal
|
|
2616
2653
|
*/
|
|
2617
|
-
|
|
2654
|
+
constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
|
|
2618
2655
|
}
|
|
2619
2656
|
/**
|
|
2620
2657
|
* <p>Describes an EC2 instance associated with an Auto Scaling group.</p>
|
|
@@ -3211,9 +3248,10 @@ export declare namespace LaunchConfigurationsType {
|
|
|
3211
3248
|
const filterSensitiveLog: (obj: LaunchConfigurationsType) => any;
|
|
3212
3249
|
}
|
|
3213
3250
|
/**
|
|
3214
|
-
* <p>Describes a lifecycle hook
|
|
3215
|
-
* Auto Scaling instance lifecycle, and then perform a custom action
|
|
3216
|
-
* lifecycle event
|
|
3251
|
+
* <p>Describes a lifecycle hook. A lifecycle hook lets you create solutions that are aware
|
|
3252
|
+
* of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances
|
|
3253
|
+
* when the corresponding lifecycle event
|
|
3254
|
+
* occurs.</p>
|
|
3217
3255
|
*/
|
|
3218
3256
|
export interface LifecycleHook {
|
|
3219
3257
|
/**
|
|
@@ -3245,7 +3283,7 @@ export interface LifecycleHook {
|
|
|
3245
3283
|
NotificationTargetARN?: string;
|
|
3246
3284
|
/**
|
|
3247
3285
|
* <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
|
|
3248
|
-
* notification target.</p>
|
|
3286
|
+
* notification target (an Amazon SNS topic or an Amazon SQS queue).</p>
|
|
3249
3287
|
*/
|
|
3250
3288
|
RoleARN?: string;
|
|
3251
3289
|
/**
|
|
@@ -4428,18 +4466,18 @@ export interface PredefinedMetricSpecification {
|
|
|
4428
4466
|
* </li>
|
|
4429
4467
|
* <li>
|
|
4430
4468
|
* <p>
|
|
4431
|
-
* <code>ASGAverageNetworkIn</code> - Average number of bytes received
|
|
4432
|
-
*
|
|
4469
|
+
* <code>ASGAverageNetworkIn</code> - Average number of bytes received (per
|
|
4470
|
+
* instance per minute) for the Auto Scaling group.</p>
|
|
4433
4471
|
* </li>
|
|
4434
4472
|
* <li>
|
|
4435
4473
|
* <p>
|
|
4436
|
-
* <code>ASGAverageNetworkOut</code> - Average number of bytes sent out
|
|
4437
|
-
*
|
|
4474
|
+
* <code>ASGAverageNetworkOut</code> - Average number of bytes sent out (per
|
|
4475
|
+
* instance per minute) for the Auto Scaling group.</p>
|
|
4438
4476
|
* </li>
|
|
4439
4477
|
* <li>
|
|
4440
4478
|
* <p>
|
|
4441
|
-
* <code>ALBRequestCountPerTarget</code> -
|
|
4442
|
-
* target
|
|
4479
|
+
* <code>ALBRequestCountPerTarget</code> - Average Application Load Balancer request count (per
|
|
4480
|
+
* target per minute) for your Auto Scaling group.</p>
|
|
4443
4481
|
* </li>
|
|
4444
4482
|
* </ul>
|
|
4445
4483
|
*/
|
|
@@ -4491,6 +4529,13 @@ export interface TargetTrackingConfiguration {
|
|
|
4491
4529
|
CustomizedMetricSpecification?: CustomizedMetricSpecification;
|
|
4492
4530
|
/**
|
|
4493
4531
|
* <p>The target value for the metric.</p>
|
|
4532
|
+
* <note>
|
|
4533
|
+
* <p>Some metrics are based on a count instead of a percentage, such as the request
|
|
4534
|
+
* count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy
|
|
4535
|
+
* specifies one of these metrics, specify the target utilization as the optimal
|
|
4536
|
+
* average request or message count per instance during any one-minute interval.
|
|
4537
|
+
* </p>
|
|
4538
|
+
* </note>
|
|
4494
4539
|
*/
|
|
4495
4540
|
TargetValue: number | undefined;
|
|
4496
4541
|
/**
|
|
@@ -4808,14 +4853,12 @@ export interface ScheduledUpdateGroupAction {
|
|
|
4808
4853
|
Time?: Date;
|
|
4809
4854
|
/**
|
|
4810
4855
|
* <p>The date and time in UTC for this action to start. For example,
|
|
4811
|
-
* <code>"2019-06-01T00:00:00Z"</code>.
|
|
4812
|
-
* </p>
|
|
4856
|
+
* <code>"2019-06-01T00:00:00Z"</code>. </p>
|
|
4813
4857
|
*/
|
|
4814
4858
|
StartTime?: Date;
|
|
4815
4859
|
/**
|
|
4816
4860
|
* <p>The date and time in UTC for the recurring schedule to end. For example,
|
|
4817
|
-
* <code>"2019-06-01T00:00:00Z"</code>.
|
|
4818
|
-
* </p>
|
|
4861
|
+
* <code>"2019-06-01T00:00:00Z"</code>. </p>
|
|
4819
4862
|
*/
|
|
4820
4863
|
EndTime?: Date;
|
|
4821
4864
|
/**
|
|
@@ -5532,8 +5575,9 @@ export interface PutLifecycleHookType {
|
|
|
5532
5575
|
LifecycleTransition?: string;
|
|
5533
5576
|
/**
|
|
5534
5577
|
* <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
|
|
5535
|
-
* notification target
|
|
5536
|
-
* <p>
|
|
5578
|
+
* notification target.</p>
|
|
5579
|
+
* <p>Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue. Required
|
|
5580
|
+
* for new lifecycle hooks, but optional when updating existing hooks.</p>
|
|
5537
5581
|
*/
|
|
5538
5582
|
RoleARN?: string;
|
|
5539
5583
|
/**
|
|
@@ -5891,6 +5935,12 @@ export interface PutWarmPoolType {
|
|
|
5891
5935
|
* Default is <code>Stopped</code>.</p>
|
|
5892
5936
|
*/
|
|
5893
5937
|
PoolState?: WarmPoolState | string;
|
|
5938
|
+
/**
|
|
5939
|
+
* <p>Indicates whether instances in the Auto Scaling group can be returned to the warm pool on
|
|
5940
|
+
* scale in. The default is to terminate instances in the Auto Scaling group when the group scales
|
|
5941
|
+
* in.</p>
|
|
5942
|
+
*/
|
|
5943
|
+
InstanceReusePolicy?: InstanceReusePolicy;
|
|
5894
5944
|
}
|
|
5895
5945
|
export declare namespace PutWarmPoolType {
|
|
5896
5946
|
/**
|
|
@@ -6081,10 +6131,13 @@ export declare namespace SetInstanceProtectionQuery {
|
|
|
6081
6131
|
* <p>The request failed because an active instance refresh operation already exists for the
|
|
6082
6132
|
* specified Auto Scaling group.</p>
|
|
6083
6133
|
*/
|
|
6084
|
-
export
|
|
6085
|
-
name: "InstanceRefreshInProgressFault";
|
|
6086
|
-
$fault: "client";
|
|
6087
|
-
|
|
6134
|
+
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
6135
|
+
readonly name: "InstanceRefreshInProgressFault";
|
|
6136
|
+
readonly $fault: "client";
|
|
6137
|
+
/**
|
|
6138
|
+
* @internal
|
|
6139
|
+
*/
|
|
6140
|
+
constructor(opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>);
|
|
6088
6141
|
}
|
|
6089
6142
|
export interface StartInstanceRefreshAnswer {
|
|
6090
6143
|
/**
|
|
@@ -6178,9 +6231,9 @@ export interface UpdateAutoScalingGroupType {
|
|
|
6178
6231
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
6179
6232
|
/**
|
|
6180
6233
|
* <p>An embedded object that specifies a mixed instances policy. For more information, see
|
|
6181
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
6182
|
-
* instance types and purchase options</a> in the
|
|
6183
|
-
* Guide</i>.</p>
|
|
6234
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
6235
|
+
* groups with multiple instance types and purchase options</a> in the
|
|
6236
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6184
6237
|
*/
|
|
6185
6238
|
MixedInstancesPolicy?: MixedInstancesPolicy;
|
|
6186
6239
|
/**
|
|
@@ -6229,7 +6282,7 @@ export interface UpdateAutoScalingGroupType {
|
|
|
6229
6282
|
* of an EC2 instance that has come into service and marking it unhealthy due to a failed
|
|
6230
6283
|
* health check. The default value is <code>0</code>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period">Health
|
|
6231
6284
|
* check grace period</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6232
|
-
* <p>
|
|
6285
|
+
* <p>Required if you are adding an <code>ELB</code> health check.</p>
|
|
6233
6286
|
*/
|
|
6234
6287
|
HealthCheckGracePeriod?: number;
|
|
6235
6288
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class AutoScalingServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AutoScalingServiceException as __BaseException } from "./AutoScalingServiceException";
|
|
2
3
|
|
|
3
4
|
export interface AcceleratorCountRequest {
|
|
4
5
|
|
|
@@ -42,10 +43,11 @@ export declare enum AcceleratorType {
|
|
|
42
43
|
INFERENCE = "inference"
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
export
|
|
46
|
-
name: "ActiveInstanceRefreshNotFoundFault";
|
|
47
|
-
$fault: "client";
|
|
48
|
-
|
|
46
|
+
export declare class ActiveInstanceRefreshNotFoundFault extends __BaseException {
|
|
47
|
+
readonly name: "ActiveInstanceRefreshNotFoundFault";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
|
|
50
|
+
constructor(opts: __ExceptionOptionType<ActiveInstanceRefreshNotFoundFault, __BaseException>);
|
|
49
51
|
}
|
|
50
52
|
export declare enum ScalingActivityStatusCode {
|
|
51
53
|
Cancelled = "Cancelled",
|
|
@@ -131,11 +133,11 @@ export declare namespace Alarm {
|
|
|
131
133
|
const filterSensitiveLog: (obj: Alarm) => any;
|
|
132
134
|
}
|
|
133
135
|
|
|
134
|
-
export
|
|
135
|
-
name: "AlreadyExistsFault";
|
|
136
|
-
$fault: "client";
|
|
136
|
+
export declare class AlreadyExistsFault extends __BaseException {
|
|
137
|
+
readonly name: "AlreadyExistsFault";
|
|
138
|
+
readonly $fault: "client";
|
|
137
139
|
|
|
138
|
-
|
|
140
|
+
constructor(opts: __ExceptionOptionType<AlreadyExistsFault, __BaseException>);
|
|
139
141
|
}
|
|
140
142
|
export interface AttachInstancesQuery {
|
|
141
143
|
|
|
@@ -148,17 +150,18 @@ export declare namespace AttachInstancesQuery {
|
|
|
148
150
|
const filterSensitiveLog: (obj: AttachInstancesQuery) => any;
|
|
149
151
|
}
|
|
150
152
|
|
|
151
|
-
export
|
|
152
|
-
name: "ResourceContentionFault";
|
|
153
|
-
$fault: "server";
|
|
153
|
+
export declare class ResourceContentionFault extends __BaseException {
|
|
154
|
+
readonly name: "ResourceContentionFault";
|
|
155
|
+
readonly $fault: "server";
|
|
154
156
|
|
|
155
|
-
|
|
157
|
+
constructor(opts: __ExceptionOptionType<ResourceContentionFault, __BaseException>);
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
export
|
|
159
|
-
name: "ServiceLinkedRoleFailure";
|
|
160
|
-
$fault: "server";
|
|
161
|
-
|
|
160
|
+
export declare class ServiceLinkedRoleFailure extends __BaseException {
|
|
161
|
+
readonly name: "ServiceLinkedRoleFailure";
|
|
162
|
+
readonly $fault: "server";
|
|
163
|
+
|
|
164
|
+
constructor(opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>);
|
|
162
165
|
}
|
|
163
166
|
export interface AttachLoadBalancersResultType {
|
|
164
167
|
}
|
|
@@ -265,11 +268,11 @@ export declare namespace BatchPutScheduledUpdateGroupActionType {
|
|
|
265
268
|
const filterSensitiveLog: (obj: BatchPutScheduledUpdateGroupActionType) => any;
|
|
266
269
|
}
|
|
267
270
|
|
|
268
|
-
export
|
|
269
|
-
name: "LimitExceededFault";
|
|
270
|
-
$fault: "client";
|
|
271
|
+
export declare class LimitExceededFault extends __BaseException {
|
|
272
|
+
readonly name: "LimitExceededFault";
|
|
273
|
+
readonly $fault: "client";
|
|
271
274
|
|
|
272
|
-
|
|
275
|
+
constructor(opts: __ExceptionOptionType<LimitExceededFault, __BaseException>);
|
|
273
276
|
}
|
|
274
277
|
export interface CancelInstanceRefreshAnswer {
|
|
275
278
|
|
|
@@ -734,11 +737,11 @@ export declare namespace CreateOrUpdateTagsType {
|
|
|
734
737
|
const filterSensitiveLog: (obj: CreateOrUpdateTagsType) => any;
|
|
735
738
|
}
|
|
736
739
|
|
|
737
|
-
export
|
|
738
|
-
name: "ResourceInUseFault";
|
|
739
|
-
$fault: "client";
|
|
740
|
+
export declare class ResourceInUseFault extends __BaseException {
|
|
741
|
+
readonly name: "ResourceInUseFault";
|
|
742
|
+
readonly $fault: "client";
|
|
740
743
|
|
|
741
|
-
|
|
744
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseFault, __BaseException>);
|
|
742
745
|
}
|
|
743
746
|
export interface DeleteAutoScalingGroupType {
|
|
744
747
|
|
|
@@ -751,11 +754,11 @@ export declare namespace DeleteAutoScalingGroupType {
|
|
|
751
754
|
const filterSensitiveLog: (obj: DeleteAutoScalingGroupType) => any;
|
|
752
755
|
}
|
|
753
756
|
|
|
754
|
-
export
|
|
755
|
-
name: "ScalingActivityInProgressFault";
|
|
756
|
-
$fault: "client";
|
|
757
|
+
export declare class ScalingActivityInProgressFault extends __BaseException {
|
|
758
|
+
readonly name: "ScalingActivityInProgressFault";
|
|
759
|
+
readonly $fault: "client";
|
|
757
760
|
|
|
758
|
-
|
|
761
|
+
constructor(opts: __ExceptionOptionType<ScalingActivityInProgressFault, __BaseException>);
|
|
759
762
|
}
|
|
760
763
|
export interface LaunchConfigurationNameType {
|
|
761
764
|
|
|
@@ -907,6 +910,7 @@ export declare enum LifecycleState {
|
|
|
907
910
|
TERMINATING = "Terminating",
|
|
908
911
|
TERMINATING_PROCEED = "Terminating:Proceed",
|
|
909
912
|
TERMINATING_WAIT = "Terminating:Wait",
|
|
913
|
+
WARMED_HIBERNATED = "Warmed:Hibernated",
|
|
910
914
|
WARMED_PENDING = "Warmed:Pending",
|
|
911
915
|
WARMED_PENDING_PROCEED = "Warmed:Pending:Proceed",
|
|
912
916
|
WARMED_PENDING_WAIT = "Warmed:Pending:Wait",
|
|
@@ -970,7 +974,17 @@ export declare namespace TagDescription {
|
|
|
970
974
|
|
|
971
975
|
const filterSensitiveLog: (obj: TagDescription) => any;
|
|
972
976
|
}
|
|
977
|
+
|
|
978
|
+
export interface InstanceReusePolicy {
|
|
979
|
+
|
|
980
|
+
ReuseOnScaleIn?: boolean;
|
|
981
|
+
}
|
|
982
|
+
export declare namespace InstanceReusePolicy {
|
|
983
|
+
|
|
984
|
+
const filterSensitiveLog: (obj: InstanceReusePolicy) => any;
|
|
985
|
+
}
|
|
973
986
|
export declare enum WarmPoolState {
|
|
987
|
+
Hibernated = "Hibernated",
|
|
974
988
|
Running = "Running",
|
|
975
989
|
Stopped = "Stopped"
|
|
976
990
|
}
|
|
@@ -987,6 +1001,8 @@ export interface WarmPoolConfiguration {
|
|
|
987
1001
|
PoolState?: WarmPoolState | string;
|
|
988
1002
|
|
|
989
1003
|
Status?: WarmPoolStatus | string;
|
|
1004
|
+
|
|
1005
|
+
InstanceReusePolicy?: InstanceReusePolicy;
|
|
990
1006
|
}
|
|
991
1007
|
export declare namespace WarmPoolConfiguration {
|
|
992
1008
|
|
|
@@ -1074,11 +1090,11 @@ export declare namespace AutoScalingGroupsType {
|
|
|
1074
1090
|
const filterSensitiveLog: (obj: AutoScalingGroupsType) => any;
|
|
1075
1091
|
}
|
|
1076
1092
|
|
|
1077
|
-
export
|
|
1078
|
-
name: "InvalidNextToken";
|
|
1079
|
-
$fault: "client";
|
|
1093
|
+
export declare class InvalidNextToken extends __BaseException {
|
|
1094
|
+
readonly name: "InvalidNextToken";
|
|
1095
|
+
readonly $fault: "client";
|
|
1080
1096
|
|
|
1081
|
-
|
|
1097
|
+
constructor(opts: __ExceptionOptionType<InvalidNextToken, __BaseException>);
|
|
1082
1098
|
}
|
|
1083
1099
|
|
|
1084
1100
|
export interface AutoScalingInstanceDetails {
|
|
@@ -2268,6 +2284,8 @@ export interface PutWarmPoolType {
|
|
|
2268
2284
|
MinSize?: number;
|
|
2269
2285
|
|
|
2270
2286
|
PoolState?: WarmPoolState | string;
|
|
2287
|
+
|
|
2288
|
+
InstanceReusePolicy?: InstanceReusePolicy;
|
|
2271
2289
|
}
|
|
2272
2290
|
export declare namespace PutWarmPoolType {
|
|
2273
2291
|
|
|
@@ -2346,10 +2364,11 @@ export declare namespace SetInstanceProtectionQuery {
|
|
|
2346
2364
|
const filterSensitiveLog: (obj: SetInstanceProtectionQuery) => any;
|
|
2347
2365
|
}
|
|
2348
2366
|
|
|
2349
|
-
export
|
|
2350
|
-
name: "InstanceRefreshInProgressFault";
|
|
2351
|
-
$fault: "client";
|
|
2352
|
-
|
|
2367
|
+
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
2368
|
+
readonly name: "InstanceRefreshInProgressFault";
|
|
2369
|
+
readonly $fault: "client";
|
|
2370
|
+
|
|
2371
|
+
constructor(opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>);
|
|
2353
2372
|
}
|
|
2354
2373
|
export interface StartInstanceRefreshAnswer {
|
|
2355
2374
|
|