@aws-sdk/client-auto-scaling 3.935.0 → 3.937.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-cjs/index.js +46 -25
- package/dist-es/models/enums.js +11 -3
- package/dist-es/models/errors.js +12 -12
- package/dist-es/schemas/schemas_0.js +22 -10
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +4 -0
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +4 -0
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +4 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +6 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -0
- package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
- package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
- package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
- package/dist-types/commands/PutWarmPoolCommand.d.ts +4 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +6 -0
- package/dist-types/models/enums.d.ts +27 -11
- package/dist-types/models/errors.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +169 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -5
- package/dist-types/ts3.4/models/errors.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -166,6 +166,18 @@ let ServiceLinkedRoleFailure$1 = class ServiceLinkedRoleFailure extends AutoScal
|
|
|
166
166
|
Object.setPrototypeOf(this, ServiceLinkedRoleFailure.prototype);
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
+
let InstanceRefreshInProgressFault$1 = class InstanceRefreshInProgressFault extends AutoScalingServiceException$1 {
|
|
170
|
+
name = "InstanceRefreshInProgressFault";
|
|
171
|
+
$fault = "client";
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "InstanceRefreshInProgressFault",
|
|
175
|
+
$fault: "client",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
|
|
179
|
+
}
|
|
180
|
+
};
|
|
169
181
|
let LimitExceededFault$1 = class LimitExceededFault extends AutoScalingServiceException$1 {
|
|
170
182
|
name = "LimitExceededFault";
|
|
171
183
|
$fault = "client";
|
|
@@ -240,18 +252,6 @@ let IrreversibleInstanceRefreshFault$1 = class IrreversibleInstanceRefreshFault
|
|
|
240
252
|
Object.setPrototypeOf(this, IrreversibleInstanceRefreshFault.prototype);
|
|
241
253
|
}
|
|
242
254
|
};
|
|
243
|
-
let InstanceRefreshInProgressFault$1 = class InstanceRefreshInProgressFault extends AutoScalingServiceException$1 {
|
|
244
|
-
name = "InstanceRefreshInProgressFault";
|
|
245
|
-
$fault = "client";
|
|
246
|
-
constructor(opts) {
|
|
247
|
-
super({
|
|
248
|
-
name: "InstanceRefreshInProgressFault",
|
|
249
|
-
$fault: "client",
|
|
250
|
-
...opts,
|
|
251
|
-
});
|
|
252
|
-
Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
255
|
|
|
256
256
|
const _A = "Activities";
|
|
257
257
|
const _AARN = "AlarmARN";
|
|
@@ -505,6 +505,7 @@ const _IIRF = "IrreversibleInstanceRefreshFault";
|
|
|
505
505
|
const _IIm = "ImageId";
|
|
506
506
|
const _IIn = "IncludeInstances";
|
|
507
507
|
const _IIns = "InstanceId";
|
|
508
|
+
const _ILP = "InstanceLifecyclePolicy";
|
|
508
509
|
const _IM = "InstanceMonitoring";
|
|
509
510
|
const _IMO = "InstanceMetadataOptions";
|
|
510
511
|
const _IMP = "InstanceMaintenancePolicy";
|
|
@@ -718,7 +719,8 @@ const _RPe = "ResumeProcesses";
|
|
|
718
719
|
const _RR = "RollbackReason";
|
|
719
720
|
const _RS = "RetryStrategy";
|
|
720
721
|
const _RST = "RollbackStartTime";
|
|
721
|
-
const _RT = "
|
|
722
|
+
const _RT = "RetentionTriggers";
|
|
723
|
+
const _RTe = "ResourceType";
|
|
722
724
|
const _Re = "Reference";
|
|
723
725
|
const _Rec = "Recurrence";
|
|
724
726
|
const _S = "Status";
|
|
@@ -783,6 +785,7 @@ const _TARN = "TopicARN";
|
|
|
783
785
|
const _TD = "TagDescription";
|
|
784
786
|
const _TDL = "TagDescriptionList";
|
|
785
787
|
const _TGARN = "TargetGroupARNs";
|
|
788
|
+
const _THA = "TerminateHookAbandon";
|
|
786
789
|
const _TIIASG = "TerminateInstanceInAutoScalingGroup";
|
|
787
790
|
const _TIIASGT = "TerminateInstanceInAutoScalingGroupType";
|
|
788
791
|
const _TLSGB = "TotalLocalStorageGB";
|
|
@@ -943,6 +946,7 @@ var AutoScalingGroup = [
|
|
|
943
946
|
_AZD,
|
|
944
947
|
_AZIP,
|
|
945
948
|
_CRS,
|
|
949
|
+
_ILP,
|
|
946
950
|
],
|
|
947
951
|
[
|
|
948
952
|
0,
|
|
@@ -983,6 +987,7 @@ var AutoScalingGroup = [
|
|
|
983
987
|
() => AvailabilityZoneDistribution,
|
|
984
988
|
() => AvailabilityZoneImpairmentPolicy,
|
|
985
989
|
() => CapacityReservationSpecification,
|
|
990
|
+
() => InstanceLifecyclePolicy,
|
|
986
991
|
],
|
|
987
992
|
];
|
|
988
993
|
var AutoScalingGroupNamesType = [
|
|
@@ -1006,8 +1011,8 @@ var AutoScalingInstanceDetails = [
|
|
|
1006
1011
|
n0,
|
|
1007
1012
|
_ASID,
|
|
1008
1013
|
0,
|
|
1009
|
-
[_IIns, _IT, _ASGN, _AZv, _LS, _HS, _LCN, _LT, _PFSI, _WC],
|
|
1010
|
-
[0, 0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 2, 0],
|
|
1014
|
+
[_IIns, _IT, _ASGN, _AZv, _LS, _HS, _LCN, _LT, _IIm, _PFSI, _WC],
|
|
1015
|
+
[0, 0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 0, 2, 0],
|
|
1011
1016
|
];
|
|
1012
1017
|
var AutoScalingInstancesType = [
|
|
1013
1018
|
3,
|
|
@@ -1128,6 +1133,7 @@ var CreateAutoScalingGroupType = [
|
|
|
1128
1133
|
_AZIP,
|
|
1129
1134
|
_SZSV,
|
|
1130
1135
|
_CRS,
|
|
1136
|
+
_ILP,
|
|
1131
1137
|
],
|
|
1132
1138
|
[
|
|
1133
1139
|
0,
|
|
@@ -1162,6 +1168,7 @@ var CreateAutoScalingGroupType = [
|
|
|
1162
1168
|
() => AvailabilityZoneImpairmentPolicy,
|
|
1163
1169
|
2,
|
|
1164
1170
|
() => CapacityReservationSpecification,
|
|
1171
|
+
() => InstanceLifecyclePolicy,
|
|
1165
1172
|
],
|
|
1166
1173
|
];
|
|
1167
1174
|
var CreateLaunchConfigurationType = [
|
|
@@ -1422,8 +1429,8 @@ var Instance = [
|
|
|
1422
1429
|
n0,
|
|
1423
1430
|
_In,
|
|
1424
1431
|
0,
|
|
1425
|
-
[_IIns, _IT, _AZv, _LS, _HS, _LCN, _LT, _PFSI, _WC],
|
|
1426
|
-
[0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 2, 0],
|
|
1432
|
+
[_IIns, _IT, _AZv, _LS, _HS, _LCN, _LT, _IIm, _PFSI, _WC],
|
|
1433
|
+
[0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 0, 2, 0],
|
|
1427
1434
|
];
|
|
1428
1435
|
var InstanceCollection = [
|
|
1429
1436
|
3,
|
|
@@ -1433,6 +1440,7 @@ var InstanceCollection = [
|
|
|
1433
1440
|
[_IT, _MT, _SIu, _AZv, _AZI, _II],
|
|
1434
1441
|
[0, 0, 0, 0, 0, 64 | 0],
|
|
1435
1442
|
];
|
|
1443
|
+
var InstanceLifecyclePolicy = [3, n0, _ILP, 0, [_RT], [() => RetentionTriggers]];
|
|
1436
1444
|
var InstanceMaintenancePolicy = [3, n0, _IMP, 0, [_MHP, _MHPa], [1, 1]];
|
|
1437
1445
|
var InstanceMetadataOptions = [3, n0, _IMO, 0, [_HT, _HPRHL, _HE], [0, 1, 0]];
|
|
1438
1446
|
var InstanceMonitoring = [3, n0, _IM, 0, [_Ena], [2]];
|
|
@@ -1441,7 +1449,7 @@ var InstanceRefresh = [
|
|
|
1441
1449
|
n0,
|
|
1442
1450
|
_IRn,
|
|
1443
1451
|
0,
|
|
1444
|
-
[_IRI, _ASGN, _S, _SR, _ST, _ET, _PCe, _ITU, _PD, _Pr, _DCes, _RD],
|
|
1452
|
+
[_IRI, _ASGN, _S, _SR, _ST, _ET, _PCe, _ITU, _PD, _Pr, _DCes, _RD, _Str],
|
|
1445
1453
|
[
|
|
1446
1454
|
0,
|
|
1447
1455
|
0,
|
|
@@ -1455,6 +1463,7 @@ var InstanceRefresh = [
|
|
|
1455
1463
|
() => RefreshPreferences,
|
|
1456
1464
|
[() => DesiredConfiguration, 0],
|
|
1457
1465
|
() => RollbackDetails,
|
|
1466
|
+
0,
|
|
1458
1467
|
],
|
|
1459
1468
|
];
|
|
1460
1469
|
var InstanceRefreshInProgressFault = [
|
|
@@ -1672,8 +1681,8 @@ var LaunchTemplateOverrides = [
|
|
|
1672
1681
|
n0,
|
|
1673
1682
|
_LTO,
|
|
1674
1683
|
0,
|
|
1675
|
-
[_IT, _WC, _LTS, _IRns],
|
|
1676
|
-
[0, 0, () => LaunchTemplateSpecification, [() => InstanceRequirements, 0]],
|
|
1684
|
+
[_IT, _WC, _LTS, _IRns, _IIm],
|
|
1685
|
+
[0, 0, () => LaunchTemplateSpecification, [() => InstanceRequirements, 0], 0],
|
|
1677
1686
|
];
|
|
1678
1687
|
var LaunchTemplateSpecification = [3, n0, _LTS, 0, [_LTI, _LTN, _Ve], [0, 0, 0]];
|
|
1679
1688
|
var LifecycleHook = [
|
|
@@ -1898,6 +1907,7 @@ var ResourceInUseFault = [
|
|
|
1898
1907
|
[0],
|
|
1899
1908
|
];
|
|
1900
1909
|
schema.TypeRegistry.for(n0).registerError(ResourceInUseFault, ResourceInUseFault$1);
|
|
1910
|
+
var RetentionTriggers = [3, n0, _RT, 0, [_THA], [0]];
|
|
1901
1911
|
var RollbackDetails = [
|
|
1902
1912
|
3,
|
|
1903
1913
|
n0,
|
|
@@ -1999,8 +2009,8 @@ var StartInstanceRefreshType = [
|
|
|
1999
2009
|
];
|
|
2000
2010
|
var StepAdjustment = [3, n0, _SAte, 0, [_MILB, _MIUB, _SA], [1, 1, 1]];
|
|
2001
2011
|
var SuspendedProcess = [3, n0, _SPu, 0, [_PNr, _SRu], [0, 0]];
|
|
2002
|
-
var Tag = [3, n0, _Ta, 0, [_RIe,
|
|
2003
|
-
var TagDescription = [3, n0, _TD, 0, [_RIe,
|
|
2012
|
+
var Tag = [3, n0, _Ta, 0, [_RIe, _RTe, _K, _Va, _PAL], [0, 0, 0, 0, 2]];
|
|
2013
|
+
var TagDescription = [3, n0, _TD, 0, [_RIe, _RTe, _K, _Va, _PAL], [0, 0, 0, 0, 2]];
|
|
2004
2014
|
var TagsType = [3, n0, _TT, 0, [_T, _NT], [() => TagDescriptionList, 0]];
|
|
2005
2015
|
var TargetTrackingConfiguration = [
|
|
2006
2016
|
3,
|
|
@@ -2069,6 +2079,7 @@ var UpdateAutoScalingGroupType = [
|
|
|
2069
2079
|
_AZIP,
|
|
2070
2080
|
_SZSV,
|
|
2071
2081
|
_CRS,
|
|
2082
|
+
_ILP,
|
|
2072
2083
|
],
|
|
2073
2084
|
[
|
|
2074
2085
|
0,
|
|
@@ -2097,6 +2108,7 @@ var UpdateAutoScalingGroupType = [
|
|
|
2097
2108
|
() => AvailabilityZoneImpairmentPolicy,
|
|
2098
2109
|
2,
|
|
2099
2110
|
() => CapacityReservationSpecification,
|
|
2111
|
+
() => InstanceLifecyclePolicy,
|
|
2100
2112
|
],
|
|
2101
2113
|
];
|
|
2102
2114
|
var VCpuCountRequest = [3, n0, _VCCR, 0, [_M, _Ma], [1, 1]];
|
|
@@ -3647,6 +3659,7 @@ const AcceleratorType = {
|
|
|
3647
3659
|
const ScalingActivityStatusCode = {
|
|
3648
3660
|
Cancelled: "Cancelled",
|
|
3649
3661
|
Failed: "Failed",
|
|
3662
|
+
InPlaceUpdateInProgress: "InPlaceUpdateInProgress",
|
|
3650
3663
|
InProgress: "InProgress",
|
|
3651
3664
|
MidLifecycleAction: "MidLifecycleAction",
|
|
3652
3665
|
PendingSpotBidPlacement: "PendingSpotBidPlacement",
|
|
@@ -3654,6 +3667,8 @@ const ScalingActivityStatusCode = {
|
|
|
3654
3667
|
Successful: "Successful",
|
|
3655
3668
|
WaitingForConnectionDraining: "WaitingForConnectionDraining",
|
|
3656
3669
|
WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining",
|
|
3670
|
+
WaitingForInPlaceUpdateToFinalize: "WaitingForInPlaceUpdateToFinalize",
|
|
3671
|
+
WaitingForInPlaceUpdateToStart: "WaitingForInPlaceUpdateToStart",
|
|
3657
3672
|
WaitingForInstanceId: "WaitingForInstanceId",
|
|
3658
3673
|
WaitingForInstanceWarmup: "WaitingForInstanceWarmup",
|
|
3659
3674
|
WaitingForSpotInstanceId: "WaitingForSpotInstanceId",
|
|
@@ -3673,6 +3688,10 @@ const CapacityReservationPreference = {
|
|
|
3673
3688
|
Default: "default",
|
|
3674
3689
|
None: "none",
|
|
3675
3690
|
};
|
|
3691
|
+
const RetentionAction = {
|
|
3692
|
+
Retain: "retain",
|
|
3693
|
+
Terminate: "terminate",
|
|
3694
|
+
};
|
|
3676
3695
|
const BareMetal = {
|
|
3677
3696
|
EXCLUDED: "excluded",
|
|
3678
3697
|
INCLUDED: "included",
|
|
@@ -3765,6 +3784,10 @@ const InstanceRefreshStatus = {
|
|
|
3765
3784
|
RollbackSuccessful: "RollbackSuccessful",
|
|
3766
3785
|
Successful: "Successful",
|
|
3767
3786
|
};
|
|
3787
|
+
const RefreshStrategy = {
|
|
3788
|
+
ReplaceRootVolume: "ReplaceRootVolume",
|
|
3789
|
+
Rolling: "Rolling",
|
|
3790
|
+
};
|
|
3768
3791
|
const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
3769
3792
|
HonorMaxCapacity: "HonorMaxCapacity",
|
|
3770
3793
|
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
@@ -3808,9 +3831,6 @@ const RetryStrategy = {
|
|
|
3808
3831
|
NONE: "none",
|
|
3809
3832
|
RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration",
|
|
3810
3833
|
};
|
|
3811
|
-
const RefreshStrategy = {
|
|
3812
|
-
Rolling: "Rolling",
|
|
3813
|
-
};
|
|
3814
3834
|
|
|
3815
3835
|
Object.defineProperty(exports, "$Command", {
|
|
3816
3836
|
enumerable: true,
|
|
@@ -3914,6 +3934,7 @@ exports.RefreshStrategy = RefreshStrategy;
|
|
|
3914
3934
|
exports.ResourceContentionFault = ResourceContentionFault$1;
|
|
3915
3935
|
exports.ResourceInUseFault = ResourceInUseFault$1;
|
|
3916
3936
|
exports.ResumeProcessesCommand = ResumeProcessesCommand;
|
|
3937
|
+
exports.RetentionAction = RetentionAction;
|
|
3917
3938
|
exports.RetryStrategy = RetryStrategy;
|
|
3918
3939
|
exports.RollbackInstanceRefreshCommand = RollbackInstanceRefreshCommand;
|
|
3919
3940
|
exports.ScaleInProtectedInstances = ScaleInProtectedInstances;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -21,6 +21,7 @@ export const AcceleratorType = {
|
|
|
21
21
|
export const ScalingActivityStatusCode = {
|
|
22
22
|
Cancelled: "Cancelled",
|
|
23
23
|
Failed: "Failed",
|
|
24
|
+
InPlaceUpdateInProgress: "InPlaceUpdateInProgress",
|
|
24
25
|
InProgress: "InProgress",
|
|
25
26
|
MidLifecycleAction: "MidLifecycleAction",
|
|
26
27
|
PendingSpotBidPlacement: "PendingSpotBidPlacement",
|
|
@@ -28,6 +29,8 @@ export const ScalingActivityStatusCode = {
|
|
|
28
29
|
Successful: "Successful",
|
|
29
30
|
WaitingForConnectionDraining: "WaitingForConnectionDraining",
|
|
30
31
|
WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining",
|
|
32
|
+
WaitingForInPlaceUpdateToFinalize: "WaitingForInPlaceUpdateToFinalize",
|
|
33
|
+
WaitingForInPlaceUpdateToStart: "WaitingForInPlaceUpdateToStart",
|
|
31
34
|
WaitingForInstanceId: "WaitingForInstanceId",
|
|
32
35
|
WaitingForInstanceWarmup: "WaitingForInstanceWarmup",
|
|
33
36
|
WaitingForSpotInstanceId: "WaitingForSpotInstanceId",
|
|
@@ -47,6 +50,10 @@ export const CapacityReservationPreference = {
|
|
|
47
50
|
Default: "default",
|
|
48
51
|
None: "none",
|
|
49
52
|
};
|
|
53
|
+
export const RetentionAction = {
|
|
54
|
+
Retain: "retain",
|
|
55
|
+
Terminate: "terminate",
|
|
56
|
+
};
|
|
50
57
|
export const BareMetal = {
|
|
51
58
|
EXCLUDED: "excluded",
|
|
52
59
|
INCLUDED: "included",
|
|
@@ -139,6 +146,10 @@ export const InstanceRefreshStatus = {
|
|
|
139
146
|
RollbackSuccessful: "RollbackSuccessful",
|
|
140
147
|
Successful: "Successful",
|
|
141
148
|
};
|
|
149
|
+
export const RefreshStrategy = {
|
|
150
|
+
ReplaceRootVolume: "ReplaceRootVolume",
|
|
151
|
+
Rolling: "Rolling",
|
|
152
|
+
};
|
|
142
153
|
export const PredictiveScalingMaxCapacityBreachBehavior = {
|
|
143
154
|
HonorMaxCapacity: "HonorMaxCapacity",
|
|
144
155
|
IncreaseMaxCapacity: "IncreaseMaxCapacity",
|
|
@@ -182,6 +193,3 @@ export const RetryStrategy = {
|
|
|
182
193
|
NONE: "none",
|
|
183
194
|
RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration",
|
|
184
195
|
};
|
|
185
|
-
export const RefreshStrategy = {
|
|
186
|
-
Rolling: "Rolling",
|
|
187
|
-
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -47,6 +47,18 @@ export class ServiceLinkedRoleFailure extends __BaseException {
|
|
|
47
47
|
Object.setPrototypeOf(this, ServiceLinkedRoleFailure.prototype);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
+
export class InstanceRefreshInProgressFault extends __BaseException {
|
|
51
|
+
name = "InstanceRefreshInProgressFault";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "InstanceRefreshInProgressFault",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
50
62
|
export class LimitExceededFault extends __BaseException {
|
|
51
63
|
name = "LimitExceededFault";
|
|
52
64
|
$fault = "client";
|
|
@@ -121,15 +133,3 @@ export class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
|
121
133
|
Object.setPrototypeOf(this, IrreversibleInstanceRefreshFault.prototype);
|
|
122
134
|
}
|
|
123
135
|
}
|
|
124
|
-
export class InstanceRefreshInProgressFault extends __BaseException {
|
|
125
|
-
name = "InstanceRefreshInProgressFault";
|
|
126
|
-
$fault = "client";
|
|
127
|
-
constructor(opts) {
|
|
128
|
-
super({
|
|
129
|
-
name: "InstanceRefreshInProgressFault",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...opts,
|
|
132
|
-
});
|
|
133
|
-
Object.setPrototypeOf(this, InstanceRefreshInProgressFault.prototype);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -250,6 +250,7 @@ const _IIRF = "IrreversibleInstanceRefreshFault";
|
|
|
250
250
|
const _IIm = "ImageId";
|
|
251
251
|
const _IIn = "IncludeInstances";
|
|
252
252
|
const _IIns = "InstanceId";
|
|
253
|
+
const _ILP = "InstanceLifecyclePolicy";
|
|
253
254
|
const _IM = "InstanceMonitoring";
|
|
254
255
|
const _IMO = "InstanceMetadataOptions";
|
|
255
256
|
const _IMP = "InstanceMaintenancePolicy";
|
|
@@ -463,7 +464,8 @@ const _RPe = "ResumeProcesses";
|
|
|
463
464
|
const _RR = "RollbackReason";
|
|
464
465
|
const _RS = "RetryStrategy";
|
|
465
466
|
const _RST = "RollbackStartTime";
|
|
466
|
-
const _RT = "
|
|
467
|
+
const _RT = "RetentionTriggers";
|
|
468
|
+
const _RTe = "ResourceType";
|
|
467
469
|
const _Re = "Reference";
|
|
468
470
|
const _Rec = "Recurrence";
|
|
469
471
|
const _S = "Status";
|
|
@@ -528,6 +530,7 @@ const _TARN = "TopicARN";
|
|
|
528
530
|
const _TD = "TagDescription";
|
|
529
531
|
const _TDL = "TagDescriptionList";
|
|
530
532
|
const _TGARN = "TargetGroupARNs";
|
|
533
|
+
const _THA = "TerminateHookAbandon";
|
|
531
534
|
const _TIIASG = "TerminateInstanceInAutoScalingGroup";
|
|
532
535
|
const _TIIASGT = "TerminateInstanceInAutoScalingGroupType";
|
|
533
536
|
const _TLSGB = "TotalLocalStorageGB";
|
|
@@ -691,6 +694,7 @@ export var AutoScalingGroup = [
|
|
|
691
694
|
_AZD,
|
|
692
695
|
_AZIP,
|
|
693
696
|
_CRS,
|
|
697
|
+
_ILP,
|
|
694
698
|
],
|
|
695
699
|
[
|
|
696
700
|
0,
|
|
@@ -731,6 +735,7 @@ export var AutoScalingGroup = [
|
|
|
731
735
|
() => AvailabilityZoneDistribution,
|
|
732
736
|
() => AvailabilityZoneImpairmentPolicy,
|
|
733
737
|
() => CapacityReservationSpecification,
|
|
738
|
+
() => InstanceLifecyclePolicy,
|
|
734
739
|
],
|
|
735
740
|
];
|
|
736
741
|
export var AutoScalingGroupNamesType = [
|
|
@@ -754,8 +759,8 @@ export var AutoScalingInstanceDetails = [
|
|
|
754
759
|
n0,
|
|
755
760
|
_ASID,
|
|
756
761
|
0,
|
|
757
|
-
[_IIns, _IT, _ASGN, _AZv, _LS, _HS, _LCN, _LT, _PFSI, _WC],
|
|
758
|
-
[0, 0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 2, 0],
|
|
762
|
+
[_IIns, _IT, _ASGN, _AZv, _LS, _HS, _LCN, _LT, _IIm, _PFSI, _WC],
|
|
763
|
+
[0, 0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 0, 2, 0],
|
|
759
764
|
];
|
|
760
765
|
export var AutoScalingInstancesType = [
|
|
761
766
|
3,
|
|
@@ -876,6 +881,7 @@ export var CreateAutoScalingGroupType = [
|
|
|
876
881
|
_AZIP,
|
|
877
882
|
_SZSV,
|
|
878
883
|
_CRS,
|
|
884
|
+
_ILP,
|
|
879
885
|
],
|
|
880
886
|
[
|
|
881
887
|
0,
|
|
@@ -910,6 +916,7 @@ export var CreateAutoScalingGroupType = [
|
|
|
910
916
|
() => AvailabilityZoneImpairmentPolicy,
|
|
911
917
|
2,
|
|
912
918
|
() => CapacityReservationSpecification,
|
|
919
|
+
() => InstanceLifecyclePolicy,
|
|
913
920
|
],
|
|
914
921
|
];
|
|
915
922
|
export var CreateLaunchConfigurationType = [
|
|
@@ -1170,8 +1177,8 @@ export var Instance = [
|
|
|
1170
1177
|
n0,
|
|
1171
1178
|
_In,
|
|
1172
1179
|
0,
|
|
1173
|
-
[_IIns, _IT, _AZv, _LS, _HS, _LCN, _LT, _PFSI, _WC],
|
|
1174
|
-
[0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 2, 0],
|
|
1180
|
+
[_IIns, _IT, _AZv, _LS, _HS, _LCN, _LT, _IIm, _PFSI, _WC],
|
|
1181
|
+
[0, 0, 0, 0, 0, 0, () => LaunchTemplateSpecification, 0, 2, 0],
|
|
1175
1182
|
];
|
|
1176
1183
|
export var InstanceCollection = [
|
|
1177
1184
|
3,
|
|
@@ -1181,6 +1188,7 @@ export var InstanceCollection = [
|
|
|
1181
1188
|
[_IT, _MT, _SIu, _AZv, _AZI, _II],
|
|
1182
1189
|
[0, 0, 0, 0, 0, 64 | 0],
|
|
1183
1190
|
];
|
|
1191
|
+
export var InstanceLifecyclePolicy = [3, n0, _ILP, 0, [_RT], [() => RetentionTriggers]];
|
|
1184
1192
|
export var InstanceMaintenancePolicy = [3, n0, _IMP, 0, [_MHP, _MHPa], [1, 1]];
|
|
1185
1193
|
export var InstanceMetadataOptions = [3, n0, _IMO, 0, [_HT, _HPRHL, _HE], [0, 1, 0]];
|
|
1186
1194
|
export var InstanceMonitoring = [3, n0, _IM, 0, [_Ena], [2]];
|
|
@@ -1189,7 +1197,7 @@ export var InstanceRefresh = [
|
|
|
1189
1197
|
n0,
|
|
1190
1198
|
_IRn,
|
|
1191
1199
|
0,
|
|
1192
|
-
[_IRI, _ASGN, _S, _SR, _ST, _ET, _PCe, _ITU, _PD, _Pr, _DCes, _RD],
|
|
1200
|
+
[_IRI, _ASGN, _S, _SR, _ST, _ET, _PCe, _ITU, _PD, _Pr, _DCes, _RD, _Str],
|
|
1193
1201
|
[
|
|
1194
1202
|
0,
|
|
1195
1203
|
0,
|
|
@@ -1203,6 +1211,7 @@ export var InstanceRefresh = [
|
|
|
1203
1211
|
() => RefreshPreferences,
|
|
1204
1212
|
[() => DesiredConfiguration, 0],
|
|
1205
1213
|
() => RollbackDetails,
|
|
1214
|
+
0,
|
|
1206
1215
|
],
|
|
1207
1216
|
];
|
|
1208
1217
|
export var InstanceRefreshInProgressFault = [
|
|
@@ -1420,8 +1429,8 @@ export var LaunchTemplateOverrides = [
|
|
|
1420
1429
|
n0,
|
|
1421
1430
|
_LTO,
|
|
1422
1431
|
0,
|
|
1423
|
-
[_IT, _WC, _LTS, _IRns],
|
|
1424
|
-
[0, 0, () => LaunchTemplateSpecification, [() => InstanceRequirements, 0]],
|
|
1432
|
+
[_IT, _WC, _LTS, _IRns, _IIm],
|
|
1433
|
+
[0, 0, () => LaunchTemplateSpecification, [() => InstanceRequirements, 0], 0],
|
|
1425
1434
|
];
|
|
1426
1435
|
export var LaunchTemplateSpecification = [3, n0, _LTS, 0, [_LTI, _LTN, _Ve], [0, 0, 0]];
|
|
1427
1436
|
export var LifecycleHook = [
|
|
@@ -1646,6 +1655,7 @@ export var ResourceInUseFault = [
|
|
|
1646
1655
|
[0],
|
|
1647
1656
|
];
|
|
1648
1657
|
TypeRegistry.for(n0).registerError(ResourceInUseFault, __ResourceInUseFault);
|
|
1658
|
+
export var RetentionTriggers = [3, n0, _RT, 0, [_THA], [0]];
|
|
1649
1659
|
export var RollbackDetails = [
|
|
1650
1660
|
3,
|
|
1651
1661
|
n0,
|
|
@@ -1747,8 +1757,8 @@ export var StartInstanceRefreshType = [
|
|
|
1747
1757
|
];
|
|
1748
1758
|
export var StepAdjustment = [3, n0, _SAte, 0, [_MILB, _MIUB, _SA], [1, 1, 1]];
|
|
1749
1759
|
export var SuspendedProcess = [3, n0, _SPu, 0, [_PNr, _SRu], [0, 0]];
|
|
1750
|
-
export var Tag = [3, n0, _Ta, 0, [_RIe,
|
|
1751
|
-
export var TagDescription = [3, n0, _TD, 0, [_RIe,
|
|
1760
|
+
export var Tag = [3, n0, _Ta, 0, [_RIe, _RTe, _K, _Va, _PAL], [0, 0, 0, 0, 2]];
|
|
1761
|
+
export var TagDescription = [3, n0, _TD, 0, [_RIe, _RTe, _K, _Va, _PAL], [0, 0, 0, 0, 2]];
|
|
1752
1762
|
export var TagsType = [3, n0, _TT, 0, [_T, _NT], [() => TagDescriptionList, 0]];
|
|
1753
1763
|
export var TargetTrackingConfiguration = [
|
|
1754
1764
|
3,
|
|
@@ -1817,6 +1827,7 @@ export var UpdateAutoScalingGroupType = [
|
|
|
1817
1827
|
_AZIP,
|
|
1818
1828
|
_SZSV,
|
|
1819
1829
|
_CRS,
|
|
1830
|
+
_ILP,
|
|
1820
1831
|
],
|
|
1821
1832
|
[
|
|
1822
1833
|
0,
|
|
@@ -1845,6 +1856,7 @@ export var UpdateAutoScalingGroupType = [
|
|
|
1845
1856
|
() => AvailabilityZoneImpairmentPolicy,
|
|
1846
1857
|
2,
|
|
1847
1858
|
() => CapacityReservationSpecification,
|
|
1859
|
+
() => InstanceLifecyclePolicy,
|
|
1848
1860
|
],
|
|
1849
1861
|
];
|
|
1850
1862
|
export var VCpuCountRequest = [3, n0, _VCCR, 0, [_M, _Ma], [1, 1]];
|
|
@@ -84,6 +84,10 @@ declare const AttachLoadBalancerTargetGroupsCommand_base: {
|
|
|
84
84
|
* @see {@link AttachLoadBalancerTargetGroupsCommandOutput} for command's `response` shape.
|
|
85
85
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
86
86
|
*
|
|
87
|
+
* @throws {@link InstanceRefreshInProgressFault} (client fault)
|
|
88
|
+
* <p>The request failed because an active instance refresh already exists for the specified
|
|
89
|
+
* Auto Scaling group.</p>
|
|
90
|
+
*
|
|
87
91
|
* @throws {@link ResourceContentionFault} (server fault)
|
|
88
92
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
89
93
|
* instance, or load balancer).</p>
|
|
@@ -71,6 +71,10 @@ declare const AttachLoadBalancersCommand_base: {
|
|
|
71
71
|
* @see {@link AttachLoadBalancersCommandOutput} for command's `response` shape.
|
|
72
72
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
73
73
|
*
|
|
74
|
+
* @throws {@link InstanceRefreshInProgressFault} (client fault)
|
|
75
|
+
* <p>The request failed because an active instance refresh already exists for the specified
|
|
76
|
+
* Auto Scaling group.</p>
|
|
77
|
+
*
|
|
74
78
|
* @throws {@link ResourceContentionFault} (server fault)
|
|
75
79
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
76
80
|
* instance, or load balancer).</p>
|
|
@@ -82,6 +82,10 @@ declare const AttachTrafficSourcesCommand_base: {
|
|
|
82
82
|
* @see {@link AttachTrafficSourcesCommandOutput} for command's `response` shape.
|
|
83
83
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
84
84
|
*
|
|
85
|
+
* @throws {@link InstanceRefreshInProgressFault} (client fault)
|
|
86
|
+
* <p>The request failed because an active instance refresh already exists for the specified
|
|
87
|
+
* Auto Scaling group.</p>
|
|
88
|
+
*
|
|
85
89
|
* @throws {@link ResourceContentionFault} (server fault)
|
|
86
90
|
* <p>You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,
|
|
87
91
|
* instance, or load balancer).</p>
|
|
@@ -148,6 +148,7 @@ declare const CreateAutoScalingGroupCommand_base: {
|
|
|
148
148
|
* },
|
|
149
149
|
* },
|
|
150
150
|
* },
|
|
151
|
+
* ImageId: "STRING_VALUE",
|
|
151
152
|
* },
|
|
152
153
|
* ],
|
|
153
154
|
* },
|
|
@@ -237,6 +238,11 @@ declare const CreateAutoScalingGroupCommand_base: {
|
|
|
237
238
|
* ],
|
|
238
239
|
* },
|
|
239
240
|
* },
|
|
241
|
+
* InstanceLifecyclePolicy: { // InstanceLifecyclePolicy
|
|
242
|
+
* RetentionTriggers: { // RetentionTriggers
|
|
243
|
+
* TerminateHookAbandon: "retain" || "terminate",
|
|
244
|
+
* },
|
|
245
|
+
* },
|
|
240
246
|
* };
|
|
241
247
|
* const command = new CreateAutoScalingGroupCommand(input);
|
|
242
248
|
* const response = await client.send(command);
|
|
@@ -162,6 +162,7 @@ declare const DescribeAutoScalingGroupsCommand_base: {
|
|
|
162
162
|
* // },
|
|
163
163
|
* // },
|
|
164
164
|
* // },
|
|
165
|
+
* // ImageId: "STRING_VALUE",
|
|
165
166
|
* // },
|
|
166
167
|
* // ],
|
|
167
168
|
* // },
|
|
@@ -199,6 +200,7 @@ declare const DescribeAutoScalingGroupsCommand_base: {
|
|
|
199
200
|
* // HealthStatus: "STRING_VALUE", // required
|
|
200
201
|
* // LaunchConfigurationName: "STRING_VALUE",
|
|
201
202
|
* // LaunchTemplate: "<LaunchTemplateSpecification>",
|
|
203
|
+
* // ImageId: "STRING_VALUE",
|
|
202
204
|
* // ProtectedFromScaleIn: true || false, // required
|
|
203
205
|
* // WeightedCapacity: "STRING_VALUE",
|
|
204
206
|
* // },
|
|
@@ -276,6 +278,11 @@ declare const DescribeAutoScalingGroupsCommand_base: {
|
|
|
276
278
|
* // ],
|
|
277
279
|
* // },
|
|
278
280
|
* // },
|
|
281
|
+
* // InstanceLifecyclePolicy: { // InstanceLifecyclePolicy
|
|
282
|
+
* // RetentionTriggers: { // RetentionTriggers
|
|
283
|
+
* // TerminateHookAbandon: "retain" || "terminate",
|
|
284
|
+
* // },
|
|
285
|
+
* // },
|
|
279
286
|
* // },
|
|
280
287
|
* // ],
|
|
281
288
|
* // NextToken: "STRING_VALUE",
|
|
@@ -60,6 +60,7 @@ declare const DescribeAutoScalingInstancesCommand_base: {
|
|
|
60
60
|
* // LaunchTemplateName: "STRING_VALUE",
|
|
61
61
|
* // Version: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
|
+
* // ImageId: "STRING_VALUE",
|
|
63
64
|
* // ProtectedFromScaleIn: true || false, // required
|
|
64
65
|
* // WeightedCapacity: "STRING_VALUE",
|
|
65
66
|
* // },
|
|
@@ -192,6 +192,7 @@ declare const DescribeInstanceRefreshesCommand_base: {
|
|
|
192
192
|
* // },
|
|
193
193
|
* // },
|
|
194
194
|
* // },
|
|
195
|
+
* // ImageId: "STRING_VALUE",
|
|
195
196
|
* // },
|
|
196
197
|
* // ],
|
|
197
198
|
* // },
|
|
@@ -221,6 +222,7 @@ declare const DescribeInstanceRefreshesCommand_base: {
|
|
|
221
222
|
* // },
|
|
222
223
|
* // },
|
|
223
224
|
* // },
|
|
225
|
+
* // Strategy: "Rolling" || "ReplaceRootVolume",
|
|
224
226
|
* // },
|
|
225
227
|
* // ],
|
|
226
228
|
* // NextToken: "STRING_VALUE",
|
|
@@ -64,7 +64,7 @@ declare const DescribeScalingActivitiesCommand_base: {
|
|
|
64
64
|
* // Cause: "STRING_VALUE", // required
|
|
65
65
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
66
66
|
* // EndTime: new Date("TIMESTAMP"),
|
|
67
|
-
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
|
|
67
|
+
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining" || "WaitingForInPlaceUpdateToStart" || "WaitingForInPlaceUpdateToFinalize" || "InPlaceUpdateInProgress", // required
|
|
68
68
|
* // StatusMessage: "STRING_VALUE",
|
|
69
69
|
* // Progress: Number("int"),
|
|
70
70
|
* // Details: "STRING_VALUE",
|
|
@@ -68,6 +68,7 @@ declare const DescribeWarmPoolCommand_base: {
|
|
|
68
68
|
* // LaunchTemplateName: "STRING_VALUE",
|
|
69
69
|
* // Version: "STRING_VALUE",
|
|
70
70
|
* // },
|
|
71
|
+
* // ImageId: "STRING_VALUE",
|
|
71
72
|
* // ProtectedFromScaleIn: true || false, // required
|
|
72
73
|
* // WeightedCapacity: "STRING_VALUE",
|
|
73
74
|
* // },
|
|
@@ -63,7 +63,7 @@ declare const DetachInstancesCommand_base: {
|
|
|
63
63
|
* // Cause: "STRING_VALUE", // required
|
|
64
64
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
65
65
|
* // EndTime: new Date("TIMESTAMP"),
|
|
66
|
-
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
|
|
66
|
+
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining" || "WaitingForInPlaceUpdateToStart" || "WaitingForInPlaceUpdateToFinalize" || "InPlaceUpdateInProgress", // required
|
|
67
67
|
* // StatusMessage: "STRING_VALUE",
|
|
68
68
|
* // Progress: Number("int"),
|
|
69
69
|
* // Details: "STRING_VALUE",
|
|
@@ -63,7 +63,7 @@ declare const EnterStandbyCommand_base: {
|
|
|
63
63
|
* // Cause: "STRING_VALUE", // required
|
|
64
64
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
65
65
|
* // EndTime: new Date("TIMESTAMP"),
|
|
66
|
-
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
|
|
66
|
+
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining" || "WaitingForInPlaceUpdateToStart" || "WaitingForInPlaceUpdateToFinalize" || "InPlaceUpdateInProgress", // required
|
|
67
67
|
* // StatusMessage: "STRING_VALUE",
|
|
68
68
|
* // Progress: Number("int"),
|
|
69
69
|
* // Details: "STRING_VALUE",
|
|
@@ -58,7 +58,7 @@ declare const ExitStandbyCommand_base: {
|
|
|
58
58
|
* // Cause: "STRING_VALUE", // required
|
|
59
59
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
60
60
|
* // EndTime: new Date("TIMESTAMP"),
|
|
61
|
-
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
|
|
61
|
+
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining" || "WaitingForInPlaceUpdateToStart" || "WaitingForInPlaceUpdateToFinalize" || "InPlaceUpdateInProgress", // required
|
|
62
62
|
* // StatusMessage: "STRING_VALUE",
|
|
63
63
|
* // Progress: Number("int"),
|
|
64
64
|
* // Details: "STRING_VALUE",
|
|
@@ -66,6 +66,10 @@ declare const PutWarmPoolCommand_base: {
|
|
|
66
66
|
* @see {@link PutWarmPoolCommandOutput} for command's `response` shape.
|
|
67
67
|
* @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape.
|
|
68
68
|
*
|
|
69
|
+
* @throws {@link InstanceRefreshInProgressFault} (client fault)
|
|
70
|
+
* <p>The request failed because an active instance refresh already exists for the specified
|
|
71
|
+
* Auto Scaling group.</p>
|
|
72
|
+
*
|
|
69
73
|
* @throws {@link LimitExceededFault} (client fault)
|
|
70
74
|
* <p>You have already reached a limit for your Amazon EC2 Auto Scaling
|
|
71
75
|
* resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
|
|
@@ -60,7 +60,7 @@ declare const StartInstanceRefreshCommand_base: {
|
|
|
60
60
|
* const client = new AutoScalingClient(config);
|
|
61
61
|
* const input = { // StartInstanceRefreshType
|
|
62
62
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
63
|
-
* Strategy: "Rolling",
|
|
63
|
+
* Strategy: "Rolling" || "ReplaceRootVolume",
|
|
64
64
|
* DesiredConfiguration: { // DesiredConfiguration
|
|
65
65
|
* LaunchTemplate: { // LaunchTemplateSpecification
|
|
66
66
|
* LaunchTemplateId: "STRING_VALUE",
|
|
@@ -157,6 +157,7 @@ declare const StartInstanceRefreshCommand_base: {
|
|
|
157
157
|
* },
|
|
158
158
|
* },
|
|
159
159
|
* },
|
|
160
|
+
* ImageId: "STRING_VALUE",
|
|
160
161
|
* },
|
|
161
162
|
* ],
|
|
162
163
|
* },
|
|
@@ -62,7 +62,7 @@ declare const TerminateInstanceInAutoScalingGroupCommand_base: {
|
|
|
62
62
|
* // Cause: "STRING_VALUE", // required
|
|
63
63
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
64
64
|
* // EndTime: new Date("TIMESTAMP"),
|
|
65
|
-
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining", // required
|
|
65
|
+
* // StatusCode: "PendingSpotBidPlacement" || "WaitingForSpotInstanceRequestId" || "WaitingForSpotInstanceId" || "WaitingForInstanceId" || "PreInService" || "InProgress" || "WaitingForELBConnectionDraining" || "MidLifecycleAction" || "WaitingForInstanceWarmup" || "Successful" || "Failed" || "Cancelled" || "WaitingForConnectionDraining" || "WaitingForInPlaceUpdateToStart" || "WaitingForInPlaceUpdateToFinalize" || "InPlaceUpdateInProgress", // required
|
|
66
66
|
* // StatusMessage: "STRING_VALUE",
|
|
67
67
|
* // Progress: Number("int"),
|
|
68
68
|
* // Details: "STRING_VALUE",
|
|
@@ -177,6 +177,7 @@ declare const UpdateAutoScalingGroupCommand_base: {
|
|
|
177
177
|
* },
|
|
178
178
|
* },
|
|
179
179
|
* },
|
|
180
|
+
* ImageId: "STRING_VALUE",
|
|
180
181
|
* },
|
|
181
182
|
* ],
|
|
182
183
|
* },
|
|
@@ -233,6 +234,11 @@ declare const UpdateAutoScalingGroupCommand_base: {
|
|
|
233
234
|
* ],
|
|
234
235
|
* },
|
|
235
236
|
* },
|
|
237
|
+
* InstanceLifecyclePolicy: { // InstanceLifecyclePolicy
|
|
238
|
+
* RetentionTriggers: { // RetentionTriggers
|
|
239
|
+
* TerminateHookAbandon: "retain" || "terminate",
|
|
240
|
+
* },
|
|
241
|
+
* },
|
|
236
242
|
* };
|
|
237
243
|
* const command = new UpdateAutoScalingGroupCommand(input);
|
|
238
244
|
* const response = await client.send(command);
|
|
@@ -49,6 +49,7 @@ export type AcceleratorType = (typeof AcceleratorType)[keyof typeof AcceleratorT
|
|
|
49
49
|
export declare const ScalingActivityStatusCode: {
|
|
50
50
|
readonly Cancelled: "Cancelled";
|
|
51
51
|
readonly Failed: "Failed";
|
|
52
|
+
readonly InPlaceUpdateInProgress: "InPlaceUpdateInProgress";
|
|
52
53
|
readonly InProgress: "InProgress";
|
|
53
54
|
readonly MidLifecycleAction: "MidLifecycleAction";
|
|
54
55
|
readonly PendingSpotBidPlacement: "PendingSpotBidPlacement";
|
|
@@ -56,6 +57,8 @@ export declare const ScalingActivityStatusCode: {
|
|
|
56
57
|
readonly Successful: "Successful";
|
|
57
58
|
readonly WaitingForConnectionDraining: "WaitingForConnectionDraining";
|
|
58
59
|
readonly WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining";
|
|
60
|
+
readonly WaitingForInPlaceUpdateToFinalize: "WaitingForInPlaceUpdateToFinalize";
|
|
61
|
+
readonly WaitingForInPlaceUpdateToStart: "WaitingForInPlaceUpdateToStart";
|
|
59
62
|
readonly WaitingForInstanceId: "WaitingForInstanceId";
|
|
60
63
|
readonly WaitingForInstanceWarmup: "WaitingForInstanceWarmup";
|
|
61
64
|
readonly WaitingForSpotInstanceId: "WaitingForSpotInstanceId";
|
|
@@ -103,6 +106,18 @@ export declare const CapacityReservationPreference: {
|
|
|
103
106
|
* @public
|
|
104
107
|
*/
|
|
105
108
|
export type CapacityReservationPreference = (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* @enum
|
|
112
|
+
*/
|
|
113
|
+
export declare const RetentionAction: {
|
|
114
|
+
readonly Retain: "retain";
|
|
115
|
+
readonly Terminate: "terminate";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type RetentionAction = (typeof RetentionAction)[keyof typeof RetentionAction];
|
|
106
121
|
/**
|
|
107
122
|
* @public
|
|
108
123
|
* @enum
|
|
@@ -307,6 +322,18 @@ export declare const InstanceRefreshStatus: {
|
|
|
307
322
|
* @public
|
|
308
323
|
*/
|
|
309
324
|
export type InstanceRefreshStatus = (typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
* @enum
|
|
328
|
+
*/
|
|
329
|
+
export declare const RefreshStrategy: {
|
|
330
|
+
readonly ReplaceRootVolume: "ReplaceRootVolume";
|
|
331
|
+
readonly Rolling: "Rolling";
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
export type RefreshStrategy = (typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
310
337
|
/**
|
|
311
338
|
* @public
|
|
312
339
|
* @enum
|
|
@@ -414,14 +441,3 @@ export declare const RetryStrategy: {
|
|
|
414
441
|
* @public
|
|
415
442
|
*/
|
|
416
443
|
export type RetryStrategy = (typeof RetryStrategy)[keyof typeof RetryStrategy];
|
|
417
|
-
/**
|
|
418
|
-
* @public
|
|
419
|
-
* @enum
|
|
420
|
-
*/
|
|
421
|
-
export declare const RefreshStrategy: {
|
|
422
|
-
readonly Rolling: "Rolling";
|
|
423
|
-
};
|
|
424
|
-
/**
|
|
425
|
-
* @public
|
|
426
|
-
*/
|
|
427
|
-
export type RefreshStrategy = (typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
@@ -50,6 +50,19 @@ export declare class ServiceLinkedRoleFailure extends __BaseException {
|
|
|
50
50
|
*/
|
|
51
51
|
constructor(opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>);
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* <p>The request failed because an active instance refresh already exists for the specified
|
|
55
|
+
* Auto Scaling group.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
59
|
+
readonly name: "InstanceRefreshInProgressFault";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>);
|
|
65
|
+
}
|
|
53
66
|
/**
|
|
54
67
|
* <p>You have already reached a limit for your Amazon EC2 Auto Scaling
|
|
55
68
|
* resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For
|
|
@@ -132,16 +145,3 @@ export declare class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
|
132
145
|
*/
|
|
133
146
|
constructor(opts: __ExceptionOptionType<IrreversibleInstanceRefreshFault, __BaseException>);
|
|
134
147
|
}
|
|
135
|
-
/**
|
|
136
|
-
* <p>The request failed because an active instance refresh already exists for the specified
|
|
137
|
-
* Auto Scaling group.</p>
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
141
|
-
readonly name: "InstanceRefreshInProgressFault";
|
|
142
|
-
readonly $fault: "client";
|
|
143
|
-
/**
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
constructor(opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>);
|
|
147
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, BareMetal, BurstablePerformance, CapacityDistributionStrategy, CapacityReservationPreference, CpuManufacturer, ImpairedZoneHealthCheckBehavior, InstanceGeneration, InstanceMetadataEndpointState, InstanceMetadataHttpTokensState, InstanceRefreshStatus, LifecycleState, LocalStorage, LocalStorageType, MetricStatistic, MetricType, PredefinedLoadMetricType, PredefinedMetricPairType, PredefinedScalingMetricType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, RefreshStrategy, RetryStrategy, ScaleInProtectedInstances, ScalingActivityStatusCode, StandbyInstances, WarmPoolState, WarmPoolStatus } from "./enums";
|
|
1
|
+
import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, BareMetal, BurstablePerformance, CapacityDistributionStrategy, CapacityReservationPreference, CpuManufacturer, ImpairedZoneHealthCheckBehavior, InstanceGeneration, InstanceMetadataEndpointState, InstanceMetadataHttpTokensState, InstanceRefreshStatus, LifecycleState, LocalStorage, LocalStorageType, MetricStatistic, MetricType, PredefinedLoadMetricType, PredefinedMetricPairType, PredefinedScalingMetricType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, RefreshStrategy, RetentionAction, RetryStrategy, ScaleInProtectedInstances, ScalingActivityStatusCode, StandbyInstances, WarmPoolState, WarmPoolStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Specifies the minimum and maximum for the <code>AcceleratorCount</code> object when
|
|
4
4
|
* you specify <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstanceRequirements.html">InstanceRequirements</a> for an Auto Scaling group.</p>
|
|
@@ -630,6 +630,44 @@ export interface CapacityReservationSpecification {
|
|
|
630
630
|
*/
|
|
631
631
|
CapacityReservationTarget?: CapacityReservationTarget | undefined;
|
|
632
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* <p>
|
|
635
|
+
* Defines the specific triggers that cause instances to be retained in a Retained state rather than terminated. Each trigger corresponds to a different failure scenario during the instance lifecycle. This allows fine-grained control over when to preserve instances for manual intervention.
|
|
636
|
+
* </p>
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
export interface RetentionTriggers {
|
|
640
|
+
/**
|
|
641
|
+
* <p>
|
|
642
|
+
* Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
|
|
643
|
+
* </p>
|
|
644
|
+
* <p>
|
|
645
|
+
* Set to <code>Retain</code> to move instances to a <code>Retained</code> state. Set to <code>Terminate</code> for default termination behavior.
|
|
646
|
+
* </p>
|
|
647
|
+
* <p>
|
|
648
|
+
* Retained instances don't count toward desired capacity and remain until you call <code>TerminateInstanceInAutoScalingGroup</code>.
|
|
649
|
+
* </p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
TerminateHookAbandon?: RetentionAction | undefined;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* <p>
|
|
656
|
+
* Defines the lifecycle policy for instances in an Auto Scaling group. This policy controls instance behavior when lifecycles transition and operations fail. Use lifecycle policies to ensure graceful shutdown for stateful workloads or applications requiring extended draining periods.
|
|
657
|
+
* </p>
|
|
658
|
+
* @public
|
|
659
|
+
*/
|
|
660
|
+
export interface InstanceLifecyclePolicy {
|
|
661
|
+
/**
|
|
662
|
+
* <p>
|
|
663
|
+
* Specifies the conditions that trigger instance retention behavior. These triggers determine when instances
|
|
664
|
+
* should move to a Retained state instead of being terminated. This allows you to maintain control over
|
|
665
|
+
* instance management when lifecycle operations fail.
|
|
666
|
+
* </p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
RetentionTriggers?: RetentionTriggers | undefined;
|
|
670
|
+
}
|
|
633
671
|
/**
|
|
634
672
|
* <p>Describes an instance maintenance policy.</p>
|
|
635
673
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
|
|
@@ -1570,6 +1608,29 @@ export interface LaunchTemplateOverrides {
|
|
|
1570
1608
|
* @public
|
|
1571
1609
|
*/
|
|
1572
1610
|
InstanceRequirements?: InstanceRequirements | undefined;
|
|
1611
|
+
/**
|
|
1612
|
+
* <p>
|
|
1613
|
+
* The ID of the Amazon Machine Image (AMI) to use for instances launched with this override. When
|
|
1614
|
+
* using Instance Refresh with <code>ReplaceRootVolume</code> strategy, this specifies the AMI for root volume
|
|
1615
|
+
* replacement operations.
|
|
1616
|
+
* </p>
|
|
1617
|
+
* <p>
|
|
1618
|
+
* For <code>ReplaceRootVolume</code> operations:
|
|
1619
|
+
* </p>
|
|
1620
|
+
* <ul>
|
|
1621
|
+
* <li>
|
|
1622
|
+
* <p>All overrides in the <code>MixedInstancesPolicy</code> must specify an ImageId</p>
|
|
1623
|
+
* </li>
|
|
1624
|
+
* <li>
|
|
1625
|
+
* <p>The AMI must contain only a single root volume</p>
|
|
1626
|
+
* </li>
|
|
1627
|
+
* <li>
|
|
1628
|
+
* <p>Root volume replacement doesn't support multi-volume AMIs</p>
|
|
1629
|
+
* </li>
|
|
1630
|
+
* </ul>
|
|
1631
|
+
* @public
|
|
1632
|
+
*/
|
|
1633
|
+
ImageId?: string | undefined;
|
|
1573
1634
|
}
|
|
1574
1635
|
/**
|
|
1575
1636
|
* <p>Use this structure to specify the launch templates and instance types (overrides) for
|
|
@@ -1948,6 +2009,19 @@ export interface CreateAutoScalingGroupType {
|
|
|
1948
2009
|
* @public
|
|
1949
2010
|
*/
|
|
1950
2011
|
CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
|
|
2012
|
+
/**
|
|
2013
|
+
* <p>
|
|
2014
|
+
* The instance lifecycle policy for the Auto Scaling group. This policy controls instance
|
|
2015
|
+
* behavior when an instance transitions through its lifecycle states. Configure retention
|
|
2016
|
+
* triggers to specify when instances should move to a <code>Retained</code>
|
|
2017
|
+
* state for manual intervention instead of automatic termination.
|
|
2018
|
+
* </p>
|
|
2019
|
+
* <note>
|
|
2020
|
+
* <p>Instances in a Retained state will continue to incur standard EC2 charges until terminated.</p>
|
|
2021
|
+
* </note>
|
|
2022
|
+
* @public
|
|
2023
|
+
*/
|
|
2024
|
+
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
1951
2025
|
}
|
|
1952
2026
|
/**
|
|
1953
2027
|
* <p>Describes information used to set up an Amazon EBS volume specified in a block device
|
|
@@ -2783,6 +2857,35 @@ export interface Instance {
|
|
|
2783
2857
|
* @public
|
|
2784
2858
|
*/
|
|
2785
2859
|
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
2860
|
+
/**
|
|
2861
|
+
* <p>
|
|
2862
|
+
* The ID of the Amazon Machine Image (AMI) used for the instance's current root volume.
|
|
2863
|
+
* This value reflects the most recent AMI applied to the instance, including updates made
|
|
2864
|
+
* through root volume replacement operations.
|
|
2865
|
+
* </p>
|
|
2866
|
+
* <p>
|
|
2867
|
+
* This field appears for:
|
|
2868
|
+
* </p>
|
|
2869
|
+
* <ul>
|
|
2870
|
+
* <li>
|
|
2871
|
+
* <p>Instances with root volume replacements through Instance Refresh</p>
|
|
2872
|
+
* </li>
|
|
2873
|
+
* <li>
|
|
2874
|
+
* <p>Instances launched with AMI overrides </p>
|
|
2875
|
+
* </li>
|
|
2876
|
+
* </ul>
|
|
2877
|
+
* <p>This field won't appear for:</p>
|
|
2878
|
+
* <ul>
|
|
2879
|
+
* <li>
|
|
2880
|
+
* <p>Existing instances launched from Launch Templates without overrides</p>
|
|
2881
|
+
* </li>
|
|
2882
|
+
* <li>
|
|
2883
|
+
* <p>Existing instances that didn’t have their root volume replaced through Instance Refresh</p>
|
|
2884
|
+
* </li>
|
|
2885
|
+
* </ul>
|
|
2886
|
+
* @public
|
|
2887
|
+
*/
|
|
2888
|
+
ImageId?: string | undefined;
|
|
2786
2889
|
/**
|
|
2787
2890
|
* <p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling
|
|
2788
2891
|
* in.</p>
|
|
@@ -3102,6 +3205,15 @@ export interface AutoScalingGroup {
|
|
|
3102
3205
|
* @public
|
|
3103
3206
|
*/
|
|
3104
3207
|
CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
|
|
3208
|
+
/**
|
|
3209
|
+
* <p>
|
|
3210
|
+
* The instance lifecycle policy applied to this Auto Scaling group. This policy determines
|
|
3211
|
+
* instance behavior when an instance transitions through its lifecycle states. It provides additional
|
|
3212
|
+
* control over graceful instance management processes.
|
|
3213
|
+
* </p>
|
|
3214
|
+
* @public
|
|
3215
|
+
*/
|
|
3216
|
+
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
3105
3217
|
}
|
|
3106
3218
|
/**
|
|
3107
3219
|
* @public
|
|
@@ -3182,6 +3294,35 @@ export interface AutoScalingInstanceDetails {
|
|
|
3182
3294
|
* @public
|
|
3183
3295
|
*/
|
|
3184
3296
|
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
3297
|
+
/**
|
|
3298
|
+
* <p>
|
|
3299
|
+
* The ID of the Amazon Machine Image (AMI) associated with the instance. This field shows the
|
|
3300
|
+
* current AMI ID of the instance's root volume. It may differ from the original AMI used when
|
|
3301
|
+
* the instance was first launched.
|
|
3302
|
+
* </p>
|
|
3303
|
+
* <p>
|
|
3304
|
+
* This field appears for:
|
|
3305
|
+
* </p>
|
|
3306
|
+
* <ul>
|
|
3307
|
+
* <li>
|
|
3308
|
+
* <p>Instances with root volume replacements through Instance Refresh</p>
|
|
3309
|
+
* </li>
|
|
3310
|
+
* <li>
|
|
3311
|
+
* <p>Instances launched with AMI overrides </p>
|
|
3312
|
+
* </li>
|
|
3313
|
+
* </ul>
|
|
3314
|
+
* <p>This field won't appear for:</p>
|
|
3315
|
+
* <ul>
|
|
3316
|
+
* <li>
|
|
3317
|
+
* <p>Existing instances launched from Launch Templates without overrides</p>
|
|
3318
|
+
* </li>
|
|
3319
|
+
* <li>
|
|
3320
|
+
* <p>Existing instances that didn’t have their root volume replaced through Instance Refresh</p>
|
|
3321
|
+
* </li>
|
|
3322
|
+
* </ul>
|
|
3323
|
+
* @public
|
|
3324
|
+
*/
|
|
3325
|
+
ImageId?: string | undefined;
|
|
3185
3326
|
/**
|
|
3186
3327
|
* <p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling
|
|
3187
3328
|
* in.</p>
|
|
@@ -3650,6 +3791,24 @@ export interface InstanceRefresh {
|
|
|
3650
3791
|
* @public
|
|
3651
3792
|
*/
|
|
3652
3793
|
RollbackDetails?: RollbackDetails | undefined;
|
|
3794
|
+
/**
|
|
3795
|
+
* <p>
|
|
3796
|
+
* The strategy to use for the instance refresh. This determines how instances in the Auto Scaling group are
|
|
3797
|
+
* updated. Default is Rolling.
|
|
3798
|
+
* </p>
|
|
3799
|
+
* <ul>
|
|
3800
|
+
* <li>
|
|
3801
|
+
* <p>
|
|
3802
|
+
* <code>Rolling</code> – Terminates instances and launches replacements in batches</p>
|
|
3803
|
+
* </li>
|
|
3804
|
+
* <li>
|
|
3805
|
+
* <p>
|
|
3806
|
+
* <code>ReplaceRootVolume</code> – Updates instances by replacing only the root volume without terminating the instance</p>
|
|
3807
|
+
* </li>
|
|
3808
|
+
* </ul>
|
|
3809
|
+
* @public
|
|
3810
|
+
*/
|
|
3811
|
+
Strategy?: RefreshStrategy | undefined;
|
|
3653
3812
|
}
|
|
3654
3813
|
/**
|
|
3655
3814
|
* @public
|
|
@@ -7493,4 +7652,13 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7493
7652
|
* @public
|
|
7494
7653
|
*/
|
|
7495
7654
|
CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
|
|
7655
|
+
/**
|
|
7656
|
+
* <p>
|
|
7657
|
+
* The instance lifecycle policy for the Auto Scaling group. Use this to add, modify, or remove lifecycle
|
|
7658
|
+
* policies that control instance behavior when an instance transitions through its lifecycle states. Configure
|
|
7659
|
+
* retention triggers to specify when to preserve instances for manual intervention.
|
|
7660
|
+
* </p>
|
|
7661
|
+
* @public
|
|
7662
|
+
*/
|
|
7663
|
+
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
7496
7664
|
}
|
|
@@ -101,6 +101,7 @@ export declare var GetPredictiveScalingForecastType: StaticStructureSchema;
|
|
|
101
101
|
export declare var IdempotentParameterMismatchError: StaticErrorSchema;
|
|
102
102
|
export declare var Instance: StaticStructureSchema;
|
|
103
103
|
export declare var InstanceCollection: StaticStructureSchema;
|
|
104
|
+
export declare var InstanceLifecyclePolicy: StaticStructureSchema;
|
|
104
105
|
export declare var InstanceMaintenancePolicy: StaticStructureSchema;
|
|
105
106
|
export declare var InstanceMetadataOptions: StaticStructureSchema;
|
|
106
107
|
export declare var InstanceMonitoring: StaticStructureSchema;
|
|
@@ -168,6 +169,7 @@ export declare var RecordLifecycleActionHeartbeatType: StaticStructureSchema;
|
|
|
168
169
|
export declare var RefreshPreferences: StaticStructureSchema;
|
|
169
170
|
export declare var ResourceContentionFault: StaticErrorSchema;
|
|
170
171
|
export declare var ResourceInUseFault: StaticErrorSchema;
|
|
172
|
+
export declare var RetentionTriggers: StaticStructureSchema;
|
|
171
173
|
export declare var RollbackDetails: StaticStructureSchema;
|
|
172
174
|
export declare var RollbackInstanceRefreshAnswer: StaticStructureSchema;
|
|
173
175
|
export declare var RollbackInstanceRefreshType: StaticStructureSchema;
|
|
@@ -27,6 +27,7 @@ export type AcceleratorType =
|
|
|
27
27
|
export declare const ScalingActivityStatusCode: {
|
|
28
28
|
readonly Cancelled: "Cancelled";
|
|
29
29
|
readonly Failed: "Failed";
|
|
30
|
+
readonly InPlaceUpdateInProgress: "InPlaceUpdateInProgress";
|
|
30
31
|
readonly InProgress: "InProgress";
|
|
31
32
|
readonly MidLifecycleAction: "MidLifecycleAction";
|
|
32
33
|
readonly PendingSpotBidPlacement: "PendingSpotBidPlacement";
|
|
@@ -34,6 +35,8 @@ export declare const ScalingActivityStatusCode: {
|
|
|
34
35
|
readonly Successful: "Successful";
|
|
35
36
|
readonly WaitingForConnectionDraining: "WaitingForConnectionDraining";
|
|
36
37
|
readonly WaitingForELBConnectionDraining: "WaitingForELBConnectionDraining";
|
|
38
|
+
readonly WaitingForInPlaceUpdateToFinalize: "WaitingForInPlaceUpdateToFinalize";
|
|
39
|
+
readonly WaitingForInPlaceUpdateToStart: "WaitingForInPlaceUpdateToStart";
|
|
37
40
|
readonly WaitingForInstanceId: "WaitingForInstanceId";
|
|
38
41
|
readonly WaitingForInstanceWarmup: "WaitingForInstanceWarmup";
|
|
39
42
|
readonly WaitingForSpotInstanceId: "WaitingForSpotInstanceId";
|
|
@@ -61,6 +64,12 @@ export declare const CapacityReservationPreference: {
|
|
|
61
64
|
};
|
|
62
65
|
export type CapacityReservationPreference =
|
|
63
66
|
(typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
|
|
67
|
+
export declare const RetentionAction: {
|
|
68
|
+
readonly Retain: "retain";
|
|
69
|
+
readonly Terminate: "terminate";
|
|
70
|
+
};
|
|
71
|
+
export type RetentionAction =
|
|
72
|
+
(typeof RetentionAction)[keyof typeof RetentionAction];
|
|
64
73
|
export declare const BareMetal: {
|
|
65
74
|
readonly EXCLUDED: "excluded";
|
|
66
75
|
readonly INCLUDED: "included";
|
|
@@ -178,6 +187,12 @@ export declare const InstanceRefreshStatus: {
|
|
|
178
187
|
};
|
|
179
188
|
export type InstanceRefreshStatus =
|
|
180
189
|
(typeof InstanceRefreshStatus)[keyof typeof InstanceRefreshStatus];
|
|
190
|
+
export declare const RefreshStrategy: {
|
|
191
|
+
readonly ReplaceRootVolume: "ReplaceRootVolume";
|
|
192
|
+
readonly Rolling: "Rolling";
|
|
193
|
+
};
|
|
194
|
+
export type RefreshStrategy =
|
|
195
|
+
(typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
181
196
|
export declare const PredictiveScalingMaxCapacityBreachBehavior: {
|
|
182
197
|
readonly HonorMaxCapacity: "HonorMaxCapacity";
|
|
183
198
|
readonly IncreaseMaxCapacity: "IncreaseMaxCapacity";
|
|
@@ -235,8 +250,3 @@ export declare const RetryStrategy: {
|
|
|
235
250
|
readonly RETRY_WITH_GROUP_CONFIGURATION: "retry-with-group-configuration";
|
|
236
251
|
};
|
|
237
252
|
export type RetryStrategy = (typeof RetryStrategy)[keyof typeof RetryStrategy];
|
|
238
|
-
export declare const RefreshStrategy: {
|
|
239
|
-
readonly Rolling: "Rolling";
|
|
240
|
-
};
|
|
241
|
-
export type RefreshStrategy =
|
|
242
|
-
(typeof RefreshStrategy)[keyof typeof RefreshStrategy];
|
|
@@ -29,6 +29,13 @@ export declare class ServiceLinkedRoleFailure extends __BaseException {
|
|
|
29
29
|
opts: __ExceptionOptionType<ServiceLinkedRoleFailure, __BaseException>
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
|
+
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
33
|
+
readonly name: "InstanceRefreshInProgressFault";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
32
39
|
export declare class LimitExceededFault extends __BaseException {
|
|
33
40
|
readonly name: "LimitExceededFault";
|
|
34
41
|
readonly $fault: "client";
|
|
@@ -72,10 +79,3 @@ export declare class IrreversibleInstanceRefreshFault extends __BaseException {
|
|
|
72
79
|
>
|
|
73
80
|
);
|
|
74
81
|
}
|
|
75
|
-
export declare class InstanceRefreshInProgressFault extends __BaseException {
|
|
76
|
-
readonly name: "InstanceRefreshInProgressFault";
|
|
77
|
-
readonly $fault: "client";
|
|
78
|
-
constructor(
|
|
79
|
-
opts: __ExceptionOptionType<InstanceRefreshInProgressFault, __BaseException>
|
|
80
|
-
);
|
|
81
|
-
}
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
PredictiveScalingMaxCapacityBreachBehavior,
|
|
24
24
|
PredictiveScalingMode,
|
|
25
25
|
RefreshStrategy,
|
|
26
|
+
RetentionAction,
|
|
26
27
|
RetryStrategy,
|
|
27
28
|
ScaleInProtectedInstances,
|
|
28
29
|
ScalingActivityStatusCode,
|
|
@@ -156,6 +157,12 @@ export interface CapacityReservationSpecification {
|
|
|
156
157
|
CapacityReservationPreference?: CapacityReservationPreference | undefined;
|
|
157
158
|
CapacityReservationTarget?: CapacityReservationTarget | undefined;
|
|
158
159
|
}
|
|
160
|
+
export interface RetentionTriggers {
|
|
161
|
+
TerminateHookAbandon?: RetentionAction | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface InstanceLifecyclePolicy {
|
|
164
|
+
RetentionTriggers?: RetentionTriggers | undefined;
|
|
165
|
+
}
|
|
159
166
|
export interface InstanceMaintenancePolicy {
|
|
160
167
|
MinHealthyPercentage?: number | undefined;
|
|
161
168
|
MaxHealthyPercentage?: number | undefined;
|
|
@@ -251,6 +258,7 @@ export interface LaunchTemplateOverrides {
|
|
|
251
258
|
WeightedCapacity?: string | undefined;
|
|
252
259
|
LaunchTemplateSpecification?: LaunchTemplateSpecification | undefined;
|
|
253
260
|
InstanceRequirements?: InstanceRequirements | undefined;
|
|
261
|
+
ImageId?: string | undefined;
|
|
254
262
|
}
|
|
255
263
|
export interface LaunchTemplate {
|
|
256
264
|
LaunchTemplateSpecification?: LaunchTemplateSpecification | undefined;
|
|
@@ -304,6 +312,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
304
312
|
CapacityReservationSpecification?:
|
|
305
313
|
| CapacityReservationSpecification
|
|
306
314
|
| undefined;
|
|
315
|
+
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
307
316
|
}
|
|
308
317
|
export interface Ebs {
|
|
309
318
|
SnapshotId?: string | undefined;
|
|
@@ -416,6 +425,7 @@ export interface Instance {
|
|
|
416
425
|
HealthStatus: string | undefined;
|
|
417
426
|
LaunchConfigurationName?: string | undefined;
|
|
418
427
|
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
428
|
+
ImageId?: string | undefined;
|
|
419
429
|
ProtectedFromScaleIn: boolean | undefined;
|
|
420
430
|
WeightedCapacity?: string | undefined;
|
|
421
431
|
}
|
|
@@ -483,6 +493,7 @@ export interface AutoScalingGroup {
|
|
|
483
493
|
CapacityReservationSpecification?:
|
|
484
494
|
| CapacityReservationSpecification
|
|
485
495
|
| undefined;
|
|
496
|
+
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
486
497
|
}
|
|
487
498
|
export interface AutoScalingGroupsType {
|
|
488
499
|
AutoScalingGroups: AutoScalingGroup[] | undefined;
|
|
@@ -497,6 +508,7 @@ export interface AutoScalingInstanceDetails {
|
|
|
497
508
|
HealthStatus: string | undefined;
|
|
498
509
|
LaunchConfigurationName?: string | undefined;
|
|
499
510
|
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
511
|
+
ImageId?: string | undefined;
|
|
500
512
|
ProtectedFromScaleIn: boolean | undefined;
|
|
501
513
|
WeightedCapacity?: string | undefined;
|
|
502
514
|
}
|
|
@@ -561,6 +573,7 @@ export interface InstanceRefresh {
|
|
|
561
573
|
Preferences?: RefreshPreferences | undefined;
|
|
562
574
|
DesiredConfiguration?: DesiredConfiguration | undefined;
|
|
563
575
|
RollbackDetails?: RollbackDetails | undefined;
|
|
576
|
+
Strategy?: RefreshStrategy | undefined;
|
|
564
577
|
}
|
|
565
578
|
export interface DescribeInstanceRefreshesAnswer {
|
|
566
579
|
InstanceRefreshes?: InstanceRefresh[] | undefined;
|
|
@@ -1128,4 +1141,5 @@ export interface UpdateAutoScalingGroupType {
|
|
|
1128
1141
|
CapacityReservationSpecification?:
|
|
1129
1142
|
| CapacityReservationSpecification
|
|
1130
1143
|
| undefined;
|
|
1144
|
+
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
1131
1145
|
}
|
|
@@ -106,6 +106,7 @@ export declare var GetPredictiveScalingForecastType: StaticStructureSchema;
|
|
|
106
106
|
export declare var IdempotentParameterMismatchError: StaticErrorSchema;
|
|
107
107
|
export declare var Instance: StaticStructureSchema;
|
|
108
108
|
export declare var InstanceCollection: StaticStructureSchema;
|
|
109
|
+
export declare var InstanceLifecyclePolicy: StaticStructureSchema;
|
|
109
110
|
export declare var InstanceMaintenancePolicy: StaticStructureSchema;
|
|
110
111
|
export declare var InstanceMetadataOptions: StaticStructureSchema;
|
|
111
112
|
export declare var InstanceMonitoring: StaticStructureSchema;
|
|
@@ -173,6 +174,7 @@ export declare var RecordLifecycleActionHeartbeatType: StaticStructureSchema;
|
|
|
173
174
|
export declare var RefreshPreferences: StaticStructureSchema;
|
|
174
175
|
export declare var ResourceContentionFault: StaticErrorSchema;
|
|
175
176
|
export declare var ResourceInUseFault: StaticErrorSchema;
|
|
177
|
+
export declare var RetentionTriggers: StaticStructureSchema;
|
|
176
178
|
export declare var RollbackDetails: StaticStructureSchema;
|
|
177
179
|
export declare var RollbackInstanceRefreshAnswer: StaticStructureSchema;
|
|
178
180
|
export declare var RollbackInstanceRefreshType: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.937.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|