@aws-sdk/client-ec2 3.206.0 → 3.208.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/models/models_0.js +5 -0
- package/dist-cjs/models/models_1.js +1 -0
- package/dist-cjs/models/models_3.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/models/models_3.js +2 -0
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/models/models_1.d.ts +44 -23
- package/dist-types/models/models_3.d.ts +44 -22
- package/dist-types/models/models_4.d.ts +42 -22
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/dist-types/ts3.4/models/models_3.d.ts +2 -0
- package/package.json +37 -37
|
@@ -277,6 +277,7 @@ var AllocationStrategy;
|
|
|
277
277
|
AllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacityOptimizedPrioritized";
|
|
278
278
|
AllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
279
279
|
AllocationStrategy["LOWEST_PRICE"] = "lowestPrice";
|
|
280
|
+
AllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "priceCapacityOptimized";
|
|
280
281
|
})(AllocationStrategy = exports.AllocationStrategy || (exports.AllocationStrategy = {}));
|
|
281
282
|
var AllocationType;
|
|
282
283
|
(function (AllocationType) {
|
|
@@ -1007,9 +1008,13 @@ var _InstanceType;
|
|
|
1007
1008
|
_InstanceType["t4g_nano"] = "t4g.nano";
|
|
1008
1009
|
_InstanceType["t4g_small"] = "t4g.small";
|
|
1009
1010
|
_InstanceType["t4g_xlarge"] = "t4g.xlarge";
|
|
1011
|
+
_InstanceType["trn1_2xlarge"] = "trn1.2xlarge";
|
|
1012
|
+
_InstanceType["trn1_32xlarge"] = "trn1.32xlarge";
|
|
1010
1013
|
_InstanceType["u_12tb1_112xlarge"] = "u-12tb1.112xlarge";
|
|
1011
1014
|
_InstanceType["u_12tb1_metal"] = "u-12tb1.metal";
|
|
1015
|
+
_InstanceType["u_18tb1_112xlarge"] = "u-18tb1.112xlarge";
|
|
1012
1016
|
_InstanceType["u_18tb1_metal"] = "u-18tb1.metal";
|
|
1017
|
+
_InstanceType["u_24tb1_112xlarge"] = "u-24tb1.112xlarge";
|
|
1013
1018
|
_InstanceType["u_24tb1_metal"] = "u-24tb1.metal";
|
|
1014
1019
|
_InstanceType["u_3tb1_56xlarge"] = "u-3tb1.56xlarge";
|
|
1015
1020
|
_InstanceType["u_6tb1_112xlarge"] = "u-6tb1.112xlarge";
|
|
@@ -72,6 +72,7 @@ var SpotAllocationStrategy;
|
|
|
72
72
|
SpotAllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacity-optimized-prioritized";
|
|
73
73
|
SpotAllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
74
74
|
SpotAllocationStrategy["LOWEST_PRICE"] = "lowest-price";
|
|
75
|
+
SpotAllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "price-capacity-optimized";
|
|
75
76
|
})(SpotAllocationStrategy = exports.SpotAllocationStrategy || (exports.SpotAllocationStrategy = {}));
|
|
76
77
|
var SpotInstanceInterruptionBehavior;
|
|
77
78
|
(function (SpotInstanceInterruptionBehavior) {
|
|
@@ -143,6 +143,7 @@ var ImageAttributeName;
|
|
|
143
143
|
var ArchitectureValues;
|
|
144
144
|
(function (ArchitectureValues) {
|
|
145
145
|
ArchitectureValues["arm64"] = "arm64";
|
|
146
|
+
ArchitectureValues["arm64_mac"] = "arm64_mac";
|
|
146
147
|
ArchitectureValues["i386"] = "i386";
|
|
147
148
|
ArchitectureValues["x86_64"] = "x86_64";
|
|
148
149
|
ArchitectureValues["x86_64_mac"] = "x86_64_mac";
|
|
@@ -347,6 +348,7 @@ var PlacementGroupStrategy;
|
|
|
347
348
|
var ArchitectureType;
|
|
348
349
|
(function (ArchitectureType) {
|
|
349
350
|
ArchitectureType["arm64"] = "arm64";
|
|
351
|
+
ArchitectureType["arm64_mac"] = "arm64_mac";
|
|
350
352
|
ArchitectureType["i386"] = "i386";
|
|
351
353
|
ArchitectureType["x86_64"] = "x86_64";
|
|
352
354
|
ArchitectureType["x86_64_mac"] = "x86_64_mac";
|
|
@@ -269,6 +269,7 @@ export var AllocationStrategy;
|
|
|
269
269
|
AllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacityOptimizedPrioritized";
|
|
270
270
|
AllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
271
271
|
AllocationStrategy["LOWEST_PRICE"] = "lowestPrice";
|
|
272
|
+
AllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "priceCapacityOptimized";
|
|
272
273
|
})(AllocationStrategy || (AllocationStrategy = {}));
|
|
273
274
|
export var AllocationType;
|
|
274
275
|
(function (AllocationType) {
|
|
@@ -999,9 +1000,13 @@ export var _InstanceType;
|
|
|
999
1000
|
_InstanceType["t4g_nano"] = "t4g.nano";
|
|
1000
1001
|
_InstanceType["t4g_small"] = "t4g.small";
|
|
1001
1002
|
_InstanceType["t4g_xlarge"] = "t4g.xlarge";
|
|
1003
|
+
_InstanceType["trn1_2xlarge"] = "trn1.2xlarge";
|
|
1004
|
+
_InstanceType["trn1_32xlarge"] = "trn1.32xlarge";
|
|
1002
1005
|
_InstanceType["u_12tb1_112xlarge"] = "u-12tb1.112xlarge";
|
|
1003
1006
|
_InstanceType["u_12tb1_metal"] = "u-12tb1.metal";
|
|
1007
|
+
_InstanceType["u_18tb1_112xlarge"] = "u-18tb1.112xlarge";
|
|
1004
1008
|
_InstanceType["u_18tb1_metal"] = "u-18tb1.metal";
|
|
1009
|
+
_InstanceType["u_24tb1_112xlarge"] = "u-24tb1.112xlarge";
|
|
1005
1010
|
_InstanceType["u_24tb1_metal"] = "u-24tb1.metal";
|
|
1006
1011
|
_InstanceType["u_3tb1_56xlarge"] = "u-3tb1.56xlarge";
|
|
1007
1012
|
_InstanceType["u_6tb1_112xlarge"] = "u-6tb1.112xlarge";
|
|
@@ -64,6 +64,7 @@ export var SpotAllocationStrategy;
|
|
|
64
64
|
SpotAllocationStrategy["CAPACITY_OPTIMIZED_PRIORITIZED"] = "capacity-optimized-prioritized";
|
|
65
65
|
SpotAllocationStrategy["DIVERSIFIED"] = "diversified";
|
|
66
66
|
SpotAllocationStrategy["LOWEST_PRICE"] = "lowest-price";
|
|
67
|
+
SpotAllocationStrategy["PRICE_CAPACITY_OPTIMIZED"] = "price-capacity-optimized";
|
|
67
68
|
})(SpotAllocationStrategy || (SpotAllocationStrategy = {}));
|
|
68
69
|
export var SpotInstanceInterruptionBehavior;
|
|
69
70
|
(function (SpotInstanceInterruptionBehavior) {
|
|
@@ -135,6 +135,7 @@ export var ImageAttributeName;
|
|
|
135
135
|
export var ArchitectureValues;
|
|
136
136
|
(function (ArchitectureValues) {
|
|
137
137
|
ArchitectureValues["arm64"] = "arm64";
|
|
138
|
+
ArchitectureValues["arm64_mac"] = "arm64_mac";
|
|
138
139
|
ArchitectureValues["i386"] = "i386";
|
|
139
140
|
ArchitectureValues["x86_64"] = "x86_64";
|
|
140
141
|
ArchitectureValues["x86_64_mac"] = "x86_64_mac";
|
|
@@ -339,6 +340,7 @@ export var PlacementGroupStrategy;
|
|
|
339
340
|
export var ArchitectureType;
|
|
340
341
|
(function (ArchitectureType) {
|
|
341
342
|
ArchitectureType["arm64"] = "arm64";
|
|
343
|
+
ArchitectureType["arm64_mac"] = "arm64_mac";
|
|
342
344
|
ArchitectureType["i386"] = "i386";
|
|
343
345
|
ArchitectureType["x86_64"] = "x86_64";
|
|
344
346
|
ArchitectureType["x86_64_mac"] = "x86_64_mac";
|
|
@@ -2105,7 +2105,8 @@ export declare enum AllocationStrategy {
|
|
|
2105
2105
|
CAPACITY_OPTIMIZED = "capacityOptimized",
|
|
2106
2106
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacityOptimizedPrioritized",
|
|
2107
2107
|
DIVERSIFIED = "diversified",
|
|
2108
|
-
LOWEST_PRICE = "lowestPrice"
|
|
2108
|
+
LOWEST_PRICE = "lowestPrice",
|
|
2109
|
+
PRICE_CAPACITY_OPTIMIZED = "priceCapacityOptimized"
|
|
2109
2110
|
}
|
|
2110
2111
|
export declare enum AllocationType {
|
|
2111
2112
|
used = "used"
|
|
@@ -5371,9 +5372,13 @@ export declare enum _InstanceType {
|
|
|
5371
5372
|
t4g_nano = "t4g.nano",
|
|
5372
5373
|
t4g_small = "t4g.small",
|
|
5373
5374
|
t4g_xlarge = "t4g.xlarge",
|
|
5375
|
+
trn1_2xlarge = "trn1.2xlarge",
|
|
5376
|
+
trn1_32xlarge = "trn1.32xlarge",
|
|
5374
5377
|
u_12tb1_112xlarge = "u-12tb1.112xlarge",
|
|
5375
5378
|
u_12tb1_metal = "u-12tb1.metal",
|
|
5379
|
+
u_18tb1_112xlarge = "u-18tb1.112xlarge",
|
|
5376
5380
|
u_18tb1_metal = "u-18tb1.metal",
|
|
5381
|
+
u_24tb1_112xlarge = "u-24tb1.112xlarge",
|
|
5377
5382
|
u_24tb1_metal = "u-24tb1.metal",
|
|
5378
5383
|
u_3tb1_56xlarge = "u-3tb1.56xlarge",
|
|
5379
5384
|
u_6tb1_112xlarge = "u-6tb1.112xlarge",
|
|
@@ -1036,7 +1036,8 @@ export declare enum SpotAllocationStrategy {
|
|
|
1036
1036
|
CAPACITY_OPTIMIZED = "capacity-optimized",
|
|
1037
1037
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized",
|
|
1038
1038
|
DIVERSIFIED = "diversified",
|
|
1039
|
-
LOWEST_PRICE = "lowest-price"
|
|
1039
|
+
LOWEST_PRICE = "lowest-price",
|
|
1040
|
+
PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized"
|
|
1040
1041
|
}
|
|
1041
1042
|
export declare enum SpotInstanceInterruptionBehavior {
|
|
1042
1043
|
hibernate = "hibernate",
|
|
@@ -1096,28 +1097,48 @@ export interface SpotOptionsRequest {
|
|
|
1096
1097
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
1097
1098
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
1098
1099
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1099
|
-
*
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
*
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1108
|
-
*
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
*
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
*
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1100
|
+
*
|
|
1101
|
+
* <dl>
|
|
1102
|
+
* <dt>price-capacity-optimized (recommended)</dt>
|
|
1103
|
+
* <dd>
|
|
1104
|
+
* <p>EC2 Fleet identifies the pools with
|
|
1105
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
1106
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
1107
|
+
* in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
1108
|
+
* </dd>
|
|
1109
|
+
* <dt>capacity-optimized</dt>
|
|
1110
|
+
* <dd>
|
|
1111
|
+
* <p>EC2 Fleet identifies the pools with
|
|
1112
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
1113
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
1114
|
+
* in the near term. To give certain
|
|
1115
|
+
* instance types a higher chance of launching first, use
|
|
1116
|
+
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
1117
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
1118
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
1119
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
1120
|
+
* <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
|
|
1121
|
+
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
1122
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
1123
|
+
* capacity.</p>
|
|
1124
|
+
* </dd>
|
|
1125
|
+
* <dt>diversified</dt>
|
|
1126
|
+
* <dd>
|
|
1127
|
+
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
1128
|
+
* specify.</p>
|
|
1129
|
+
* </dd>
|
|
1130
|
+
* <dt>lowest-price</dt>
|
|
1131
|
+
* <dd>
|
|
1132
|
+
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
|
|
1133
|
+
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
1134
|
+
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
1135
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
1136
|
+
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
1137
|
+
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
1138
|
+
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
1139
|
+
* </dd>
|
|
1140
|
+
* </dl>
|
|
1141
|
+
*
|
|
1121
1142
|
* <p>Default: <code>lowest-price</code>
|
|
1122
1143
|
* </p>
|
|
1123
1144
|
*/
|
|
@@ -3099,28 +3099,48 @@ export interface SpotOptions {
|
|
|
3099
3099
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
3100
3100
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
3101
3101
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
3102
|
-
*
|
|
3103
|
-
*
|
|
3104
|
-
*
|
|
3105
|
-
*
|
|
3106
|
-
*
|
|
3107
|
-
*
|
|
3108
|
-
*
|
|
3109
|
-
*
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
*
|
|
3116
|
-
*
|
|
3117
|
-
*
|
|
3118
|
-
*
|
|
3119
|
-
*
|
|
3120
|
-
*
|
|
3121
|
-
*
|
|
3122
|
-
*
|
|
3123
|
-
*
|
|
3102
|
+
*
|
|
3103
|
+
* <dl>
|
|
3104
|
+
* <dt>price-capacity-optimized (recommended)</dt>
|
|
3105
|
+
* <dd>
|
|
3106
|
+
* <p>EC2 Fleet identifies the pools with
|
|
3107
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
3108
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
3109
|
+
* in the near term. EC2 Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
3110
|
+
* </dd>
|
|
3111
|
+
* <dt>capacity-optimized</dt>
|
|
3112
|
+
* <dd>
|
|
3113
|
+
* <p>EC2 Fleet identifies the pools with
|
|
3114
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
3115
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
3116
|
+
* in the near term. To give certain
|
|
3117
|
+
* instance types a higher chance of launching first, use
|
|
3118
|
+
* <code>capacity-optimized-prioritized</code>. Set a priority for each instance type by
|
|
3119
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
3120
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
3121
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
3122
|
+
* <code>capacity-optimized-prioritized</code> is supported only if your EC2 Fleet uses a
|
|
3123
|
+
* launch template. Note that if the On-Demand <code>AllocationStrategy</code> is set to
|
|
3124
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
3125
|
+
* capacity.</p>
|
|
3126
|
+
* </dd>
|
|
3127
|
+
* <dt>diversified</dt>
|
|
3128
|
+
* <dd>
|
|
3129
|
+
* <p>EC2 Fleet requests instances from all of the Spot Instance pools that you
|
|
3130
|
+
* specify.</p>
|
|
3131
|
+
* </dd>
|
|
3132
|
+
* <dt>lowest-price</dt>
|
|
3133
|
+
* <dd>
|
|
3134
|
+
* <p>EC2 Fleet requests instances from the lowest priced Spot Instance pool that
|
|
3135
|
+
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
3136
|
+
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
3137
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
3138
|
+
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
3139
|
+
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
3140
|
+
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
3141
|
+
* </dd>
|
|
3142
|
+
* </dl>
|
|
3143
|
+
*
|
|
3124
3144
|
* <p>Default: <code>lowest-price</code>
|
|
3125
3145
|
* </p>
|
|
3126
3146
|
*/
|
|
@@ -4700,6 +4720,7 @@ export interface DescribeImagesRequest {
|
|
|
4700
4720
|
}
|
|
4701
4721
|
export declare enum ArchitectureValues {
|
|
4702
4722
|
arm64 = "arm64",
|
|
4723
|
+
arm64_mac = "arm64_mac",
|
|
4703
4724
|
i386 = "i386",
|
|
4704
4725
|
x86_64 = "x86_64",
|
|
4705
4726
|
x86_64_mac = "x86_64_mac"
|
|
@@ -7701,6 +7722,7 @@ export interface PlacementGroupInfo {
|
|
|
7701
7722
|
}
|
|
7702
7723
|
export declare enum ArchitectureType {
|
|
7703
7724
|
arm64 = "arm64",
|
|
7725
|
+
arm64_mac = "arm64_mac",
|
|
7704
7726
|
i386 = "i386",
|
|
7705
7727
|
x86_64 = "x86_64",
|
|
7706
7728
|
x86_64_mac = "x86_64_mac"
|
|
@@ -4364,28 +4364,48 @@ export interface SpotFleetRequestConfigData {
|
|
|
4364
4364
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
4365
4365
|
* pools specified by the Spot Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html">Allocation
|
|
4366
4366
|
* strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
4367
|
-
*
|
|
4368
|
-
*
|
|
4369
|
-
*
|
|
4370
|
-
*
|
|
4371
|
-
*
|
|
4372
|
-
*
|
|
4373
|
-
*
|
|
4374
|
-
*
|
|
4375
|
-
*
|
|
4376
|
-
*
|
|
4377
|
-
*
|
|
4378
|
-
*
|
|
4379
|
-
*
|
|
4380
|
-
*
|
|
4381
|
-
*
|
|
4382
|
-
*
|
|
4383
|
-
*
|
|
4384
|
-
*
|
|
4385
|
-
*
|
|
4386
|
-
*
|
|
4387
|
-
*
|
|
4388
|
-
*
|
|
4367
|
+
*
|
|
4368
|
+
* <dl>
|
|
4369
|
+
* <dt>priceCapacityOptimized (recommended)</dt>
|
|
4370
|
+
* <dd>
|
|
4371
|
+
* <p>Spot Fleet identifies the pools with
|
|
4372
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
4373
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
4374
|
+
* in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools.</p>
|
|
4375
|
+
* </dd>
|
|
4376
|
+
* <dt>capacityOptimized</dt>
|
|
4377
|
+
* <dd>
|
|
4378
|
+
* <p>Spot Fleet identifies the pools with
|
|
4379
|
+
* the highest capacity availability for the number of instances that are launching. This means
|
|
4380
|
+
* that we will request Spot Instances from the pools that we believe have the lowest chance of interruption
|
|
4381
|
+
* in the near term. To give certain
|
|
4382
|
+
* instance types a higher chance of launching first, use
|
|
4383
|
+
* <code>capacityOptimizedPrioritized</code>. Set a priority for each instance type by
|
|
4384
|
+
* using the <code>Priority</code> parameter for <code>LaunchTemplateOverrides</code>. You can
|
|
4385
|
+
* assign the same priority to different <code>LaunchTemplateOverrides</code>. EC2 implements
|
|
4386
|
+
* the priorities on a best-effort basis, but optimizes for capacity first.
|
|
4387
|
+
* <code>capacityOptimizedPrioritized</code> is supported only if your Spot Fleet uses a
|
|
4388
|
+
* launch template. Note that if the <code>OnDemandAllocationStrategy</code> is set to
|
|
4389
|
+
* <code>prioritized</code>, the same priority is applied when fulfilling On-Demand
|
|
4390
|
+
* capacity.</p>
|
|
4391
|
+
* </dd>
|
|
4392
|
+
* <dt>diversified</dt>
|
|
4393
|
+
* <dd>
|
|
4394
|
+
* <p>Spot Fleet requests instances from all of the Spot Instance pools that you
|
|
4395
|
+
* specify.</p>
|
|
4396
|
+
* </dd>
|
|
4397
|
+
* <dt>lowestPrice</dt>
|
|
4398
|
+
* <dd>
|
|
4399
|
+
* <p>Spot Fleet requests instances from the lowest priced Spot Instance pool that
|
|
4400
|
+
* has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances
|
|
4401
|
+
* come from the next lowest priced pool that has available capacity. If a pool runs out of
|
|
4402
|
+
* capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your
|
|
4403
|
+
* request by drawing from the next lowest priced pool. To ensure that your desired capacity is
|
|
4404
|
+
* met, you might receive Spot Instances from several pools. Because this strategy only considers instance
|
|
4405
|
+
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
4406
|
+
* </dd>
|
|
4407
|
+
* </dl>
|
|
4408
|
+
*
|
|
4389
4409
|
* <p>Default: <code>lowestPrice</code>
|
|
4390
4410
|
* </p>
|
|
4391
4411
|
*/
|
|
@@ -740,6 +740,7 @@ export declare enum AllocationStrategy {
|
|
|
740
740
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacityOptimizedPrioritized",
|
|
741
741
|
DIVERSIFIED = "diversified",
|
|
742
742
|
LOWEST_PRICE = "lowestPrice",
|
|
743
|
+
PRICE_CAPACITY_OPTIMIZED = "priceCapacityOptimized",
|
|
743
744
|
}
|
|
744
745
|
export declare enum AllocationType {
|
|
745
746
|
used = "used",
|
|
@@ -2117,9 +2118,13 @@ export declare enum _InstanceType {
|
|
|
2117
2118
|
t4g_nano = "t4g.nano",
|
|
2118
2119
|
t4g_small = "t4g.small",
|
|
2119
2120
|
t4g_xlarge = "t4g.xlarge",
|
|
2121
|
+
trn1_2xlarge = "trn1.2xlarge",
|
|
2122
|
+
trn1_32xlarge = "trn1.32xlarge",
|
|
2120
2123
|
u_12tb1_112xlarge = "u-12tb1.112xlarge",
|
|
2121
2124
|
u_12tb1_metal = "u-12tb1.metal",
|
|
2125
|
+
u_18tb1_112xlarge = "u-18tb1.112xlarge",
|
|
2122
2126
|
u_18tb1_metal = "u-18tb1.metal",
|
|
2127
|
+
u_24tb1_112xlarge = "u-24tb1.112xlarge",
|
|
2123
2128
|
u_24tb1_metal = "u-24tb1.metal",
|
|
2124
2129
|
u_3tb1_56xlarge = "u-3tb1.56xlarge",
|
|
2125
2130
|
u_6tb1_112xlarge = "u-6tb1.112xlarge",
|
|
@@ -268,6 +268,7 @@ export declare enum SpotAllocationStrategy {
|
|
|
268
268
|
CAPACITY_OPTIMIZED_PRIORITIZED = "capacity-optimized-prioritized",
|
|
269
269
|
DIVERSIFIED = "diversified",
|
|
270
270
|
LOWEST_PRICE = "lowest-price",
|
|
271
|
+
PRICE_CAPACITY_OPTIMIZED = "price-capacity-optimized",
|
|
271
272
|
}
|
|
272
273
|
export declare enum SpotInstanceInterruptionBehavior {
|
|
273
274
|
hibernate = "hibernate",
|
|
@@ -1114,6 +1114,7 @@ export interface DescribeImagesRequest {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
export declare enum ArchitectureValues {
|
|
1116
1116
|
arm64 = "arm64",
|
|
1117
|
+
arm64_mac = "arm64_mac",
|
|
1117
1118
|
i386 = "i386",
|
|
1118
1119
|
x86_64 = "x86_64",
|
|
1119
1120
|
x86_64_mac = "x86_64_mac",
|
|
@@ -1791,6 +1792,7 @@ export interface PlacementGroupInfo {
|
|
|
1791
1792
|
}
|
|
1792
1793
|
export declare enum ArchitectureType {
|
|
1793
1794
|
arm64 = "arm64",
|
|
1795
|
+
arm64_mac = "arm64_mac",
|
|
1794
1796
|
i386 = "i386",
|
|
1795
1797
|
x86_64 = "x86_64",
|
|
1796
1798
|
x86_64_mac = "x86_64_mac",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.208.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,50 +19,50 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
47
|
-
"@aws-sdk/util-base64-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.208.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.208.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.208.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.208.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.208.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.208.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.208.0",
|
|
34
|
+
"@aws-sdk/middleware-sdk-ec2": "3.208.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.208.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.208.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.208.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.208.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.208.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.208.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.208.0",
|
|
43
|
+
"@aws-sdk/types": "3.208.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
46
|
+
"@aws-sdk/util-base64-browser": "3.208.0",
|
|
47
|
+
"@aws-sdk/util-base64-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
49
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.208.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.208.0",
|
|
52
|
+
"@aws-sdk/util-endpoints": "3.208.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.208.0",
|
|
55
55
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
56
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
57
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
57
|
+
"@aws-sdk/util-waiter": "3.208.0",
|
|
58
58
|
"fast-xml-parser": "4.0.11",
|
|
59
59
|
"tslib": "^2.3.1",
|
|
60
60
|
"uuid": "^8.3.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
|
-
"@types/node": "^
|
|
65
|
+
"@types/node": "^14.14.31",
|
|
66
66
|
"@types/uuid": "^8.3.0",
|
|
67
67
|
"concurrently": "7.0.0",
|
|
68
68
|
"downlevel-dts": "0.10.1",
|