@aws-sdk/client-ec2 3.1124.0 → 3.1126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist-cjs/index.js +21 -11
  2. package/dist-es/models/enums.js +4 -0
  3. package/dist-es/schemas/schemas_0.js +15 -10
  4. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -0
  5. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -0
  7. package/dist-types/commands/CreateIpamInternetRegistryAssociationCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -0
  9. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -0
  10. package/dist-types/commands/DescribeIpamInternetRegistryAssociationsCommand.d.ts +1 -0
  11. package/dist-types/commands/EnableIpamInternetRegistryAssociationCommand.d.ts +1 -0
  12. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -0
  13. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -0
  14. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +2 -0
  15. package/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +2 -1
  16. package/dist-types/models/enums.d.ts +12 -0
  17. package/dist-types/models/models_0.d.ts +15 -1
  18. package/dist-types/models/models_1.d.ts +13 -1
  19. package/dist-types/models/models_3.d.ts +2 -2
  20. package/dist-types/models/models_4.d.ts +1 -1
  21. package/dist-types/models/models_8.d.ts +9 -2
  22. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  23. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  24. package/dist-types/ts3.4/models/models_1.d.ts +3 -0
  25. package/dist-types/ts3.4/models/models_8.d.ts +3 -1
  26. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1123.0";
73
+ var version = "3.1125.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -6537,6 +6537,7 @@ const _ZIo = "ZoneIds";
6537
6537
  const _ZN = "ZoneName";
6538
6538
  const _ZNSL = "ZoneNameStringList";
6539
6539
  const _ZNo = "ZoneNames";
6540
+ const _ZSP = "ZeroSizePreference";
6540
6541
  const _ZT = "ZoneType";
6541
6542
  const _a = "associations";
6542
6543
  const _aA = "asnAssociation";
@@ -8704,6 +8705,7 @@ const _xN = "xmlName";
8704
8705
  const _zI = "zoneId";
8705
8706
  const _zN = "zoneName";
8706
8707
  const _zS = "zoneState";
8708
+ const _zSP = "zeroSizePreference";
8707
8709
  const _zT = "zoneType";
8708
8710
  const n0 = "com.amazonaws.ec2";
8709
8711
  const _s_registry = TypeRegistry.for(_s);
@@ -10244,7 +10246,7 @@ var CapacityManagerTagDimension$ = [3, n0, _CMTD,
10244
10246
  ];
10245
10247
  var CapacityReservation$ = [3, n0, _CRa,
10246
10248
  0,
10247
- [_CRI, _OI, _CRA, _AZI, _IT, _IPn, _AZ, _Te, _TIC, _AICv, _EO, _ES, _St, _SD, _ED, _EDTn, _IMC, _CD, _T, _OA, _CRFIa, _PGA, _CAap, _RT, _URBOI, _CIom, _DP, _CBI, _Inte, _ICA, _IInt],
10249
+ [_CRI, _OI, _CRA, _AZI, _IT, _IPn, _AZ, _Te, _TIC, _AICv, _EO, _ES, _St, _SD, _ED, _EDTn, _IMC, _CD, _T, _OA, _CRFIa, _PGA, _CAap, _RT, _URBOI, _CIom, _DP, _CBI, _Inte, _ICA, _IInt, _ZSP],
10248
10250
  [[0, { [_eQN]: `CapacityReservationId`,
10249
10251
  [_xN]: _cRI }], [0, { [_eQN]: `OwnerId`,
10250
10252
  [_xN]: _oI }], [0, { [_eQN]: `CapacityReservationArn`,
@@ -10276,7 +10278,8 @@ var CapacityReservation$ = [3, n0, _CRa,
10276
10278
  [_xN]: _cBI }], [2, { [_eQN]: `Interruptible`,
10277
10279
  [_xN]: _inte }], [() => InterruptibleCapacityAllocation$, { [_eQN]: `InterruptibleCapacityAllocation`,
10278
10280
  [_xN]: _iCA }], [() => InterruptionInfo$, { [_eQN]: `InterruptionInfo`,
10279
- [_xN]: _iIn }]]
10281
+ [_xN]: _iIn }], [0, { [_eQN]: `ZeroSizePreference`,
10282
+ [_xN]: _zSP }]]
10280
10283
  ];
10281
10284
  var CapacityReservationBillingRequest$ = [3, n0, _CRBR,
10282
10285
  0,
@@ -11181,8 +11184,8 @@ var CreateInternetGatewayResult$ = [3, n0, _CIGRr,
11181
11184
  ];
11182
11185
  var CreateInterruptibleCapacityReservationAllocationRequest$ = [3, n0, _CICRAR,
11183
11186
  0,
11184
- [_CRI, _IC, _CT, _DR, _TS],
11185
- [0, 1, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2
11187
+ [_CRI, _IC, _CT, _DR, _TS, _ZSP],
11188
+ [0, 1, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0], 2
11186
11189
  ];
11187
11190
  var CreateInterruptibleCapacityReservationAllocationResult$ = [3, n0, _CICRARr,
11188
11191
  0,
@@ -19903,13 +19906,14 @@ var InternetGatewayAttachment$ = [3, n0, _IGA,
19903
19906
  ];
19904
19907
  var InterruptibleCapacityAllocation$ = [3, n0, _ICA,
19905
19908
  0,
19906
- [_IC, _TICa, _Sta, _ICRI, _ITn],
19909
+ [_IC, _TICa, _Sta, _ICRI, _ITn, _ZSP],
19907
19910
  [[1, { [_eQN]: `InstanceCount`,
19908
19911
  [_xN]: _iC }], [1, { [_eQN]: `TargetInstanceCount`,
19909
19912
  [_xN]: _tICa }], [0, { [_eQN]: `Status`,
19910
19913
  [_xN]: _sta }], [0, { [_eQN]: `InterruptibleCapacityReservationId`,
19911
19914
  [_xN]: _iCRI }], [0, { [_eQN]: `InterruptionType`,
19912
- [_xN]: _iTn }]]
19915
+ [_xN]: _iTn }], [0, { [_eQN]: `ZeroSizePreference`,
19916
+ [_xN]: _zSP }]]
19913
19917
  ];
19914
19918
  var InterruptionInfo$ = [3, n0, _IInt,
19915
19919
  0,
@@ -20057,7 +20061,7 @@ var IpamExternalResourceVerificationToken$ = [3, n0, _IERVT,
20057
20061
  ];
20058
20062
  var IpamInternetRegistryAssociation$ = [3, n0, _IIRA,
20059
20063
  0,
20060
- [_OI, _IIRAI, _IIRAAp, _IIp, _IRp, _Ri, _OH, _De, _St, _CRX, _T],
20064
+ [_OI, _IIRAI, _IIRAAp, _IIp, _IRp, _Ri, _OH, _De, _St, _SMta, _CRX, _T],
20061
20065
  [[0, { [_eQN]: `OwnerId`,
20062
20066
  [_xN]: _oI }], [0, { [_eQN]: `IpamInternetRegistryAssociationId`,
20063
20067
  [_xN]: _iIRAI }], [0, { [_eQN]: `IpamInternetRegistryAssociationArn`,
@@ -20067,7 +20071,8 @@ var IpamInternetRegistryAssociation$ = [3, n0, _IIRA,
20067
20071
  [_xN]: _ri }], [0, { [_eQN]: `OrganizationHandle`,
20068
20072
  [_xN]: _oH }], [0, { [_eQN]: `Description`,
20069
20073
  [_xN]: _de }], [0, { [_eQN]: `State`,
20070
- [_xN]: _st }], [0, { [_eQN]: `ChildRequestXml`,
20074
+ [_xN]: _st }], [0, { [_eQN]: `StateMessage`,
20075
+ [_xN]: _sMta }], [0, { [_eQN]: `ChildRequestXml`,
20071
20076
  [_xN]: _cRX }], [() => TagList, { [_eQN]: `TagSet`,
20072
20077
  [_xN]: _tS }]]
20073
20078
  ];
@@ -26248,8 +26253,8 @@ var UpdateCapacityManagerOrganizationsAccessResult$ = [3, n0, _UCMOARp,
26248
26253
  ];
26249
26254
  var UpdateInterruptibleCapacityReservationAllocationRequest$ = [3, n0, _UICRAR,
26250
26255
  0,
26251
- [_CRI, _TICa, _DR],
26252
- [0, 1, 2], 2
26256
+ [_CRI, _TICa, _DR, _ZSP],
26257
+ [0, 1, 2, 0], 1
26253
26258
  ];
26254
26259
  var UpdateInterruptibleCapacityReservationAllocationResult$ = [3, n0, _UICRARp,
26255
26260
  0,
@@ -39375,6 +39380,10 @@ const InterruptibleCapacityReservationAllocationStatus = {
39375
39380
  pending: "pending",
39376
39381
  updating: "updating",
39377
39382
  };
39383
+ const ZeroSizePreference = {
39384
+ default: "default",
39385
+ retain: "retain",
39386
+ };
39378
39387
  const CapacityReservationType = {
39379
39388
  CAPACITY_BLOCK: "capacity-block",
39380
39389
  DEFAULT: "default",
@@ -47539,6 +47548,7 @@ exports.WithdrawByoipCidr$ = WithdrawByoipCidr$;
47539
47548
  exports.WithdrawByoipCidrCommand = WithdrawByoipCidrCommand;
47540
47549
  exports.WithdrawByoipCidrRequest$ = WithdrawByoipCidrRequest$;
47541
47550
  exports.WithdrawByoipCidrResult$ = WithdrawByoipCidrResult$;
47551
+ exports.ZeroSizePreference = ZeroSizePreference;
47542
47552
  exports._InstanceType = _InstanceType;
47543
47553
  exports.errorTypeRegistries = errorTypeRegistries;
47544
47554
  exports.paginateDescribeAddressTransfers = paginateDescribeAddressTransfers;
@@ -669,6 +669,10 @@ export const InterruptibleCapacityReservationAllocationStatus = {
669
669
  pending: "pending",
670
670
  updating: "updating",
671
671
  };
672
+ export const ZeroSizePreference = {
673
+ default: "default",
674
+ retain: "retain",
675
+ };
672
676
  export const CapacityReservationType = {
673
677
  CAPACITY_BLOCK: "capacity-block",
674
678
  DEFAULT: "default",
@@ -6393,6 +6393,7 @@ const _ZIo = "ZoneIds";
6393
6393
  const _ZN = "ZoneName";
6394
6394
  const _ZNSL = "ZoneNameStringList";
6395
6395
  const _ZNo = "ZoneNames";
6396
+ const _ZSP = "ZeroSizePreference";
6396
6397
  const _ZT = "ZoneType";
6397
6398
  const _a = "associations";
6398
6399
  const _aA = "asnAssociation";
@@ -8560,6 +8561,7 @@ const _xN = "xmlName";
8560
8561
  const _zI = "zoneId";
8561
8562
  const _zN = "zoneName";
8562
8563
  const _zS = "zoneState";
8564
+ const _zSP = "zeroSizePreference";
8563
8565
  const _zT = "zoneType";
8564
8566
  const n0 = "com.amazonaws.ec2";
8565
8567
  import { TypeRegistry } from "@smithy/core/schema";
@@ -10102,7 +10104,7 @@ export var CapacityManagerTagDimension$ = [3, n0, _CMTD,
10102
10104
  ];
10103
10105
  export var CapacityReservation$ = [3, n0, _CRa,
10104
10106
  0,
10105
- [_CRI, _OI, _CRA, _AZI, _IT, _IPn, _AZ, _Te, _TIC, _AICv, _EO, _ES, _St, _SD, _ED, _EDTn, _IMC, _CD, _T, _OA, _CRFIa, _PGA, _CAap, _RT, _URBOI, _CIom, _DP, _CBI, _Inte, _ICA, _IInt],
10107
+ [_CRI, _OI, _CRA, _AZI, _IT, _IPn, _AZ, _Te, _TIC, _AICv, _EO, _ES, _St, _SD, _ED, _EDTn, _IMC, _CD, _T, _OA, _CRFIa, _PGA, _CAap, _RT, _URBOI, _CIom, _DP, _CBI, _Inte, _ICA, _IInt, _ZSP],
10106
10108
  [[0, { [_eQN]: `CapacityReservationId`,
10107
10109
  [_xN]: _cRI }], [0, { [_eQN]: `OwnerId`,
10108
10110
  [_xN]: _oI }], [0, { [_eQN]: `CapacityReservationArn`,
@@ -10134,7 +10136,8 @@ export var CapacityReservation$ = [3, n0, _CRa,
10134
10136
  [_xN]: _cBI }], [2, { [_eQN]: `Interruptible`,
10135
10137
  [_xN]: _inte }], [() => InterruptibleCapacityAllocation$, { [_eQN]: `InterruptibleCapacityAllocation`,
10136
10138
  [_xN]: _iCA }], [() => InterruptionInfo$, { [_eQN]: `InterruptionInfo`,
10137
- [_xN]: _iIn }]]
10139
+ [_xN]: _iIn }], [0, { [_eQN]: `ZeroSizePreference`,
10140
+ [_xN]: _zSP }]]
10138
10141
  ];
10139
10142
  export var CapacityReservationBillingRequest$ = [3, n0, _CRBR,
10140
10143
  0,
@@ -11039,8 +11042,8 @@ export var CreateInternetGatewayResult$ = [3, n0, _CIGRr,
11039
11042
  ];
11040
11043
  export var CreateInterruptibleCapacityReservationAllocationRequest$ = [3, n0, _CICRAR,
11041
11044
  0,
11042
- [_CRI, _IC, _CT, _DR, _TS],
11043
- [0, 1, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2
11045
+ [_CRI, _IC, _CT, _DR, _TS, _ZSP],
11046
+ [0, 1, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0], 2
11044
11047
  ];
11045
11048
  export var CreateInterruptibleCapacityReservationAllocationResult$ = [3, n0, _CICRARr,
11046
11049
  0,
@@ -19761,13 +19764,14 @@ export var InternetGatewayAttachment$ = [3, n0, _IGA,
19761
19764
  ];
19762
19765
  export var InterruptibleCapacityAllocation$ = [3, n0, _ICA,
19763
19766
  0,
19764
- [_IC, _TICa, _Sta, _ICRI, _ITn],
19767
+ [_IC, _TICa, _Sta, _ICRI, _ITn, _ZSP],
19765
19768
  [[1, { [_eQN]: `InstanceCount`,
19766
19769
  [_xN]: _iC }], [1, { [_eQN]: `TargetInstanceCount`,
19767
19770
  [_xN]: _tICa }], [0, { [_eQN]: `Status`,
19768
19771
  [_xN]: _sta }], [0, { [_eQN]: `InterruptibleCapacityReservationId`,
19769
19772
  [_xN]: _iCRI }], [0, { [_eQN]: `InterruptionType`,
19770
- [_xN]: _iTn }]]
19773
+ [_xN]: _iTn }], [0, { [_eQN]: `ZeroSizePreference`,
19774
+ [_xN]: _zSP }]]
19771
19775
  ];
19772
19776
  export var InterruptionInfo$ = [3, n0, _IInt,
19773
19777
  0,
@@ -19915,7 +19919,7 @@ export var IpamExternalResourceVerificationToken$ = [3, n0, _IERVT,
19915
19919
  ];
19916
19920
  export var IpamInternetRegistryAssociation$ = [3, n0, _IIRA,
19917
19921
  0,
19918
- [_OI, _IIRAI, _IIRAAp, _IIp, _IRp, _Ri, _OH, _De, _St, _CRX, _T],
19922
+ [_OI, _IIRAI, _IIRAAp, _IIp, _IRp, _Ri, _OH, _De, _St, _SMta, _CRX, _T],
19919
19923
  [[0, { [_eQN]: `OwnerId`,
19920
19924
  [_xN]: _oI }], [0, { [_eQN]: `IpamInternetRegistryAssociationId`,
19921
19925
  [_xN]: _iIRAI }], [0, { [_eQN]: `IpamInternetRegistryAssociationArn`,
@@ -19925,7 +19929,8 @@ export var IpamInternetRegistryAssociation$ = [3, n0, _IIRA,
19925
19929
  [_xN]: _ri }], [0, { [_eQN]: `OrganizationHandle`,
19926
19930
  [_xN]: _oH }], [0, { [_eQN]: `Description`,
19927
19931
  [_xN]: _de }], [0, { [_eQN]: `State`,
19928
- [_xN]: _st }], [0, { [_eQN]: `ChildRequestXml`,
19932
+ [_xN]: _st }], [0, { [_eQN]: `StateMessage`,
19933
+ [_xN]: _sMta }], [0, { [_eQN]: `ChildRequestXml`,
19929
19934
  [_xN]: _cRX }], [() => TagList, { [_eQN]: `TagSet`,
19930
19935
  [_xN]: _tS }]]
19931
19936
  ];
@@ -26106,8 +26111,8 @@ export var UpdateCapacityManagerOrganizationsAccessResult$ = [3, n0, _UCMOARp,
26106
26111
  ];
26107
26112
  export var UpdateInterruptibleCapacityReservationAllocationRequest$ = [3, n0, _UICRAR,
26108
26113
  0,
26109
- [_CRI, _TICa, _DR],
26110
- [0, 1, 2], 2
26114
+ [_CRI, _TICa, _DR, _ZSP],
26115
+ [0, 1, 2, 0], 1
26111
26116
  ];
26112
26117
  export var UpdateInterruptibleCapacityReservationAllocationResult$ = [3, n0, _UICRARp,
26113
26118
  0,
@@ -111,11 +111,13 @@ declare const CreateCapacityReservationBySplittingCommand_base: {
111
111
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
112
112
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
113
113
  * // InterruptionType: "adhoc",
114
+ * // ZeroSizePreference: "retain" || "default",
114
115
  * // },
115
116
  * // InterruptionInfo: { // InterruptionInfo
116
117
  * // SourceCapacityReservationId: "STRING_VALUE",
117
118
  * // InterruptionType: "adhoc",
118
119
  * // },
120
+ * // ZeroSizePreference: "retain" || "default",
119
121
  * // },
120
122
  * // DestinationCapacityReservation: {
121
123
  * // CapacityReservationId: "STRING_VALUE",
@@ -172,11 +174,13 @@ declare const CreateCapacityReservationBySplittingCommand_base: {
172
174
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
173
175
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
174
176
  * // InterruptionType: "adhoc",
177
+ * // ZeroSizePreference: "retain" || "default",
175
178
  * // },
176
179
  * // InterruptionInfo: {
177
180
  * // SourceCapacityReservationId: "STRING_VALUE",
178
181
  * // InterruptionType: "adhoc",
179
182
  * // },
183
+ * // ZeroSizePreference: "retain" || "default",
180
184
  * // },
181
185
  * // InstanceCount: Number("int"),
182
186
  * // };
@@ -146,11 +146,13 @@ declare const CreateCapacityReservationCommand_base: {
146
146
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
147
147
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
148
148
  * // InterruptionType: "adhoc",
149
+ * // ZeroSizePreference: "retain" || "default",
149
150
  * // },
150
151
  * // InterruptionInfo: { // InterruptionInfo
151
152
  * // SourceCapacityReservationId: "STRING_VALUE",
152
153
  * // InterruptionType: "adhoc",
153
154
  * // },
155
+ * // ZeroSizePreference: "retain" || "default",
154
156
  * // },
155
157
  * // };
156
158
  *
@@ -51,6 +51,7 @@ declare const CreateInterruptibleCapacityReservationAllocationCommand_base: {
51
51
  * ],
52
52
  * },
53
53
  * ],
54
+ * ZeroSizePreference: "retain" || "default",
54
55
  * };
55
56
  * const command = new CreateInterruptibleCapacityReservationAllocationCommand(input);
56
57
  * const response = await client.send(command);
@@ -65,6 +65,7 @@ declare const CreateIpamInternetRegistryAssociationCommand_base: {
65
65
  * // OrganizationHandle: "STRING_VALUE",
66
66
  * // Description: "STRING_VALUE",
67
67
  * // State: "pending-enable" || "create-in-progress" || "create-failed" || "enable-in-progress" || "enable-complete" || "enable-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
68
+ * // StateMessage: "STRING_VALUE",
68
69
  * // ChildRequestXml: "STRING_VALUE",
69
70
  * // Tags: [ // TagList
70
71
  * // { // Tag
@@ -50,6 +50,7 @@ declare const DeleteIpamInternetRegistryAssociationCommand_base: {
50
50
  * // OrganizationHandle: "STRING_VALUE",
51
51
  * // Description: "STRING_VALUE",
52
52
  * // State: "pending-enable" || "create-in-progress" || "create-failed" || "enable-in-progress" || "enable-complete" || "enable-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
53
+ * // StateMessage: "STRING_VALUE",
53
54
  * // ChildRequestXml: "STRING_VALUE",
54
55
  * // Tags: [ // TagList
55
56
  * // { // Tag
@@ -111,11 +111,13 @@ declare const DescribeCapacityReservationsCommand_base: {
111
111
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
112
112
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
113
113
  * // InterruptionType: "adhoc",
114
+ * // ZeroSizePreference: "retain" || "default",
114
115
  * // },
115
116
  * // InterruptionInfo: { // InterruptionInfo
116
117
  * // SourceCapacityReservationId: "STRING_VALUE",
117
118
  * // InterruptionType: "adhoc",
118
119
  * // },
120
+ * // ZeroSizePreference: "retain" || "default",
119
121
  * // },
120
122
  * // ],
121
123
  * // };
@@ -64,6 +64,7 @@ declare const DescribeIpamInternetRegistryAssociationsCommand_base: {
64
64
  * // OrganizationHandle: "STRING_VALUE",
65
65
  * // Description: "STRING_VALUE",
66
66
  * // State: "pending-enable" || "create-in-progress" || "create-failed" || "enable-in-progress" || "enable-complete" || "enable-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
67
+ * // StateMessage: "STRING_VALUE",
67
68
  * // ChildRequestXml: "STRING_VALUE",
68
69
  * // Tags: [ // TagList
69
70
  * // { // Tag
@@ -56,6 +56,7 @@ declare const EnableIpamInternetRegistryAssociationCommand_base: {
56
56
  * // OrganizationHandle: "STRING_VALUE",
57
57
  * // Description: "STRING_VALUE",
58
58
  * // State: "pending-enable" || "create-in-progress" || "create-failed" || "enable-in-progress" || "enable-complete" || "enable-failed" || "delete-in-progress" || "delete-complete" || "delete-failed",
59
+ * // StateMessage: "STRING_VALUE",
59
60
  * // ChildRequestXml: "STRING_VALUE",
60
61
  * // Tags: [ // TagList
61
62
  * // { // Tag
@@ -63,6 +63,7 @@ declare const GetCapacityReservationUsageCommand_base: {
63
63
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
64
64
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
65
65
  * // InterruptionType: "adhoc",
66
+ * // ZeroSizePreference: "retain" || "default",
66
67
  * // },
67
68
  * // InterruptionInfo: { // InterruptionInfo
68
69
  * // SourceCapacityReservationId: "STRING_VALUE",
@@ -121,11 +121,13 @@ declare const MoveCapacityReservationInstancesCommand_base: {
121
121
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
122
122
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
123
123
  * // InterruptionType: "adhoc",
124
+ * // ZeroSizePreference: "retain" || "default",
124
125
  * // },
125
126
  * // InterruptionInfo: { // InterruptionInfo
126
127
  * // SourceCapacityReservationId: "STRING_VALUE",
127
128
  * // InterruptionType: "adhoc",
128
129
  * // },
130
+ * // ZeroSizePreference: "retain" || "default",
129
131
  * // },
130
132
  * // DestinationCapacityReservation: {
131
133
  * // CapacityReservationId: "STRING_VALUE",
@@ -182,11 +184,13 @@ declare const MoveCapacityReservationInstancesCommand_base: {
182
184
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
183
185
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
184
186
  * // InterruptionType: "adhoc",
187
+ * // ZeroSizePreference: "retain" || "default",
185
188
  * // },
186
189
  * // InterruptionInfo: {
187
190
  * // SourceCapacityReservationId: "STRING_VALUE",
188
191
  * // InterruptionType: "adhoc",
189
192
  * // },
193
+ * // ZeroSizePreference: "retain" || "default",
190
194
  * // },
191
195
  * // InstanceCount: Number("int"),
192
196
  * // };
@@ -109,11 +109,13 @@ declare const PurchaseCapacityBlockCommand_base: {
109
109
  * // Status: "pending" || "active" || "updating" || "canceling" || "canceled" || "failed",
110
110
  * // InterruptibleCapacityReservationId: "STRING_VALUE",
111
111
  * // InterruptionType: "adhoc",
112
+ * // ZeroSizePreference: "retain" || "default",
112
113
  * // },
113
114
  * // InterruptionInfo: { // InterruptionInfo
114
115
  * // SourceCapacityReservationId: "STRING_VALUE",
115
116
  * // InterruptionType: "adhoc",
116
117
  * // },
118
+ * // ZeroSizePreference: "retain" || "default",
117
119
  * // },
118
120
  * // CapacityBlocks: [ // CapacityBlockSet
119
121
  * // { // CapacityBlock
@@ -37,8 +37,9 @@ declare const UpdateInterruptibleCapacityReservationAllocationCommand_base: {
37
37
  * const client = new EC2Client(config);
38
38
  * const input = { // UpdateInterruptibleCapacityReservationAllocationRequest
39
39
  * CapacityReservationId: "STRING_VALUE", // required
40
- * TargetInstanceCount: Number("int"), // required
40
+ * TargetInstanceCount: Number("int"),
41
41
  * DryRun: true || false,
42
+ * ZeroSizePreference: "retain" || "default",
42
43
  * };
43
44
  * const command = new UpdateInterruptibleCapacityReservationAllocationCommand(input);
44
45
  * const response = await client.send(command);
@@ -1397,6 +1397,18 @@ export declare const InterruptibleCapacityReservationAllocationStatus: {
1397
1397
  * @public
1398
1398
  */
1399
1399
  export type InterruptibleCapacityReservationAllocationStatus = (typeof InterruptibleCapacityReservationAllocationStatus)[keyof typeof InterruptibleCapacityReservationAllocationStatus];
1400
+ /**
1401
+ * @public
1402
+ * @enum
1403
+ */
1404
+ export declare const ZeroSizePreference: {
1405
+ readonly default: "default";
1406
+ readonly retain: "retain";
1407
+ };
1408
+ /**
1409
+ * @public
1410
+ */
1411
+ export type ZeroSizePreference = (typeof ZeroSizePreference)[keyof typeof ZeroSizePreference];
1400
1412
  /**
1401
1413
  * @public
1402
1414
  * @enum
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, AccountVpcEncryptionControlMode, AccountVpcEncryptionControlState, AddressTransferStatus, AggregationStatusEnum, AllocationType, AmdSevSnp, ApplianceModeSupportValue, ApplyCancellationCharges, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationCancellationQuoteState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpamRoutingPolicyRegistrationDeltaState, IpScopeEnum, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, IpVersionEnum, ListingState, ListingStatus, ManagedBy, NatGatewayAddressStatus, NetworkProtocolEnum, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, ServiceManaged, SSEType, SubnetCidrBlockStateCode, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayAttachmentStatusType, TransitGatewayMulitcastDomainAssociationState, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcPeeringConnectionStateReasonCode, VpnTunnelProvisioningStatus, WeekDay } from "./enums";
1
+ import type { _InstanceType, AccountVpcEncryptionControlMode, AccountVpcEncryptionControlState, AddressTransferStatus, AggregationStatusEnum, AllocationType, AmdSevSnp, ApplianceModeSupportValue, ApplyCancellationCharges, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationCancellationQuoteState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostMaintenance, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpamRoutingPolicyRegistrationDeltaState, IpScopeEnum, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, IpVersionEnum, ListingState, ListingStatus, ManagedBy, NatGatewayAddressStatus, NetworkProtocolEnum, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, ServiceManaged, SSEType, SubnetCidrBlockStateCode, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayAttachmentStatusType, TransitGatewayMulitcastDomainAssociationState, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcPeeringConnectionStateReasonCode, VpnTunnelProvisioningStatus, WeekDay, ZeroSizePreference } from "./enums";
2
2
  /**
3
3
  * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips)
4
4
  * on an instance.</p>
@@ -8147,6 +8147,13 @@ export interface InterruptibleCapacityAllocation {
8147
8147
  * @public
8148
8148
  */
8149
8149
  InterruptionType?: InterruptionType | undefined;
8150
+ /**
8151
+ * <p>
8152
+ * Specifies how Amazon EC2 handles the interruptible Capacity Reservation when you reduce its allocation to zero instances. A value of <code>retain</code> keeps the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. A value of <code>default</code> cancels the interruptible Capacity Reservation and returns the capacity to your source Capacity Reservation.
8153
+ * </p>
8154
+ * @public
8155
+ */
8156
+ ZeroSizePreference?: ZeroSizePreference | undefined;
8150
8157
  }
8151
8158
  /**
8152
8159
  * <p>
@@ -8468,6 +8475,13 @@ export interface CapacityReservation {
8468
8475
  * @public
8469
8476
  */
8470
8477
  InterruptionInfo?: InterruptionInfo | undefined;
8478
+ /**
8479
+ * <p>
8480
+ * The zero-size preference configured for the interruptible Capacity Reservation. A value of <code>retain</code> keeps the interruptible Capacity Reservation active at zero capacity when you reduce its allocation to zero. A value of <code>default</code> cancels the interruptible Capacity Reservation when you reduce its allocation to zero.
8481
+ * </p>
8482
+ * @public
8483
+ */
8484
+ ZeroSizePreference?: ZeroSizePreference | undefined;
8471
8485
  }
8472
8486
  /**
8473
8487
  * @public
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay } from "./enums";
1
+ import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
2
2
  import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ClientVpnAuthenticationRequest, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, Ipv4PrefixSpecification, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
3
  /**
4
4
  * <p>Describes the client connection logging options for the Client VPN endpoint.</p>
@@ -5687,6 +5687,13 @@ export interface CreateInterruptibleCapacityReservationAllocationRequest {
5687
5687
  * @public
5688
5688
  */
5689
5689
  TagSpecifications?: TagSpecification[] | undefined;
5690
+ /**
5691
+ * <p>
5692
+ * Specifies the behavior for the interruptible Capacity Reservation when you reduce its allocation to zero instances. Specify <code>retain</code> to keep the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. Specify <code>default</code> to cancel the interruptible Capacity Reservation and return the capacity to your source Capacity Reservation. The default value is <code>default</code>.
5693
+ * </p>
5694
+ * @public
5695
+ */
5696
+ ZeroSizePreference?: ZeroSizePreference | undefined;
5690
5697
  }
5691
5698
  /**
5692
5699
  * @public
@@ -6139,6 +6146,11 @@ export interface IpamInternetRegistryAssociation {
6139
6146
  * @public
6140
6147
  */
6141
6148
  State?: IpamInternetRegistryAssociationState | undefined;
6149
+ /**
6150
+ * <p>A message describing the current state of the internet registry association, including additional details such as the reason for a failure.</p>
6151
+ * @public
6152
+ */
6153
+ StateMessage?: string | undefined;
6142
6154
  /**
6143
6155
  * <p>The XML content for the child request to be submitted to the internet registry to complete the BPKI setup.</p>
6144
6156
  * @public
@@ -7653,13 +7653,13 @@ export interface DescribeFleetError {
7653
7653
  Lifecycle?: InstanceLifecycle | undefined;
7654
7654
  /**
7655
7655
  * <p>The error code that indicates why the instance could not be launched. For more
7656
- * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
7656
+ * information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
7657
7657
  * @public
7658
7658
  */
7659
7659
  ErrorCode?: string | undefined;
7660
7660
  /**
7661
7661
  * <p>The error message that describes why the instance could not be launched. For more
7662
- * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
7662
+ * information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
7663
7663
  * @public
7664
7664
  */
7665
7665
  ErrorMessage?: string | undefined;
@@ -6183,7 +6183,7 @@ export interface InstanceStatus {
6183
6183
  */
6184
6184
  AttachedEbsStatus?: EbsStatusSummary | undefined;
6185
6185
  /**
6186
- * <p>Reports impaired functionality that stems from issues with applications running on the instance.</p>
6186
+ * <p>Reports the application-level health status for the instance.</p>
6187
6187
  * @public
6188
6188
  */
6189
6189
  ApplicationStatus?: ApplicationStatusSummary | undefined;
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, CapacityManagerStatus, HostnameType, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ResetFpgaImageAttributeName, ResetImageAttributeName, SecondaryInterfaceType, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TransitGatewayAttachmentResourceType } from "./enums";
1
+ import type { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, CapacityManagerStatus, HostnameType, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InterruptibleCapacityReservationAllocationStatus, InterruptionType, MarketType, MembershipType, NestedVirtualizationSpecification, ResetFpgaImageAttributeName, ResetImageAttributeName, SecondaryInterfaceType, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TransitGatewayAttachmentResourceType, ZeroSizePreference } from "./enums";
2
2
  import type { AddressAttribute, ByoipCidr, ClientVpnAuthorizationRuleStatus, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, TagSpecification } from "./models_0";
3
3
  import type { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement } from "./models_1";
4
4
  import type { TransitGatewayRoute } from "./models_2";
@@ -3115,7 +3115,7 @@ export interface UpdateInterruptibleCapacityReservationAllocationRequest {
3115
3115
  * </p>
3116
3116
  * @public
3117
3117
  */
3118
- TargetInstanceCount: number | undefined;
3118
+ TargetInstanceCount?: number | undefined;
3119
3119
  /**
3120
3120
  * <p>
3121
3121
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
@@ -3123,6 +3123,13 @@ export interface UpdateInterruptibleCapacityReservationAllocationRequest {
3123
3123
  * @public
3124
3124
  */
3125
3125
  DryRun?: boolean | undefined;
3126
+ /**
3127
+ * <p>
3128
+ * Specifies the updated behavior for the interruptible Capacity Reservation when you reduce its allocation to zero instances. Specify <code>retain</code> to keep the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. Specify <code>default</code> to cancel the interruptible Capacity Reservation and return the capacity to your source Capacity Reservation.
3129
+ * </p>
3130
+ * @public
3131
+ */
3132
+ ZeroSizePreference?: ZeroSizePreference | undefined;
3126
3133
  }
3127
3134
  /**
3128
3135
  * @public
@@ -804,6 +804,11 @@ export declare const InterruptibleCapacityReservationAllocationStatus: {
804
804
  };
805
805
  export type InterruptibleCapacityReservationAllocationStatus =
806
806
  (typeof InterruptibleCapacityReservationAllocationStatus)[keyof typeof InterruptibleCapacityReservationAllocationStatus];
807
+ export declare const ZeroSizePreference: {
808
+ readonly default: "default";
809
+ readonly retain: "retain";
810
+ };
811
+ export type ZeroSizePreference = (typeof ZeroSizePreference)[keyof typeof ZeroSizePreference];
807
812
  export declare const CapacityReservationType: {
808
813
  readonly CAPACITY_BLOCK: "capacity-block";
809
814
  readonly DEFAULT: "default";
@@ -85,6 +85,7 @@ import {
85
85
  VpcPeeringConnectionStateReasonCode,
86
86
  VpnTunnelProvisioningStatus,
87
87
  WeekDay,
88
+ ZeroSizePreference,
88
89
  } from "./enums";
89
90
  export interface AcceleratorCount {
90
91
  Min?: number | undefined;
@@ -1761,6 +1762,7 @@ export interface InterruptibleCapacityAllocation {
1761
1762
  Status?: InterruptibleCapacityReservationAllocationStatus | undefined;
1762
1763
  InterruptibleCapacityReservationId?: string | undefined;
1763
1764
  InterruptionType?: InterruptionType | undefined;
1765
+ ZeroSizePreference?: ZeroSizePreference | undefined;
1764
1766
  }
1765
1767
  export interface InterruptionInfo {
1766
1768
  SourceCapacityReservationId?: string | undefined;
@@ -1798,6 +1800,7 @@ export interface CapacityReservation {
1798
1800
  Interruptible?: boolean | undefined;
1799
1801
  InterruptibleCapacityAllocation?: InterruptibleCapacityAllocation | undefined;
1800
1802
  InterruptionInfo?: InterruptionInfo | undefined;
1803
+ ZeroSizePreference?: ZeroSizePreference | undefined;
1801
1804
  }
1802
1805
  export interface CreateCapacityReservationResult {
1803
1806
  CapacityReservation?: CapacityReservation | undefined;
@@ -120,6 +120,7 @@ import {
120
120
  VpcEncryptionControlState,
121
121
  VpcState,
122
122
  WeekDay,
123
+ ZeroSizePreference,
123
124
  } from "./enums";
124
125
  import {
125
126
  AcceleratorCount,
@@ -949,6 +950,7 @@ export interface CreateInterruptibleCapacityReservationAllocationRequest {
949
950
  ClientToken?: string | undefined;
950
951
  DryRun?: boolean | undefined;
951
952
  TagSpecifications?: TagSpecification[] | undefined;
953
+ ZeroSizePreference?: ZeroSizePreference | undefined;
952
954
  }
953
955
  export interface CreateInterruptibleCapacityReservationAllocationResult {
954
956
  SourceCapacityReservationId?: string | undefined;
@@ -1033,6 +1035,7 @@ export interface IpamInternetRegistryAssociation {
1033
1035
  OrganizationHandle?: string | undefined;
1034
1036
  Description?: string | undefined;
1035
1037
  State?: IpamInternetRegistryAssociationState | undefined;
1038
+ StateMessage?: string | undefined;
1036
1039
  ChildRequestXml?: string | undefined;
1037
1040
  Tags?: Tag[] | undefined;
1038
1041
  }
@@ -27,6 +27,7 @@ import {
27
27
  SSEType,
28
28
  Status,
29
29
  TransitGatewayAttachmentResourceType,
30
+ ZeroSizePreference,
30
31
  } from "./enums";
31
32
  import {
32
33
  AddressAttribute,
@@ -646,8 +647,9 @@ export interface UpdateCapacityManagerOrganizationsAccessResult {
646
647
  }
647
648
  export interface UpdateInterruptibleCapacityReservationAllocationRequest {
648
649
  CapacityReservationId: string | undefined;
649
- TargetInstanceCount: number | undefined;
650
+ TargetInstanceCount?: number | undefined;
650
651
  DryRun?: boolean | undefined;
652
+ ZeroSizePreference?: ZeroSizePreference | undefined;
651
653
  }
652
654
  export interface UpdateInterruptibleCapacityReservationAllocationResult {
653
655
  InterruptibleCapacityReservationId?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
- "version": "3.1124.0",
3
+ "version": "3.1126.0",
4
4
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
6
6
  "license": "Apache-2.0",