Skip to content

Commit 5465534

Browse files
author
awstools
committedJan 29, 2024
feat(client-ec2): EC2 Fleet customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type.
1 parent 0019ff5 commit 5465534

15 files changed

+143
-29
lines changed
 

‎clients/client-ec2/src/commands/CreateFleetCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
161161
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
162162
* "STRING_VALUE",
163163
* ],
164+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
164165
* },
165166
* ImageId: "STRING_VALUE",
166167
* },
@@ -281,6 +282,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
281282
* // AllowedInstanceTypes: [ // AllowedInstanceTypeSet
282283
* // "STRING_VALUE",
283284
* // ],
285+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
284286
* // },
285287
* // ImageId: "STRING_VALUE",
286288
* // },
@@ -375,6 +377,7 @@ export interface CreateFleetCommandOutput extends CreateFleetResult, __MetadataB
375377
* // AllowedInstanceTypes: [
376378
* // "STRING_VALUE",
377379
* // ],
380+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
378381
* // },
379382
* // ImageId: "STRING_VALUE",
380383
* // },

‎clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR
290290
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
291291
* "STRING_VALUE",
292292
* ],
293+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
293294
* },
294295
* PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptionsRequest
295296
* HostnameType: "ip-name" || "resource-name",

‎clients/client-ec2/src/commands/CreateLaunchTemplateVersionCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
292292
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
293293
* "STRING_VALUE",
294294
* ],
295+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
295296
* },
296297
* PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptionsRequest
297298
* HostnameType: "ip-name" || "resource-name",
@@ -555,6 +556,7 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
555556
* // AllowedInstanceTypes: [ // AllowedInstanceTypeSet
556557
* // "STRING_VALUE",
557558
* // ],
559+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
558560
* // },
559561
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
560562
* // HostnameType: "ip-name" || "resource-name",

‎clients/client-ec2/src/commands/DescribeFleetsCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
151151
* // AllowedInstanceTypes: [ // AllowedInstanceTypeSet
152152
* // "STRING_VALUE",
153153
* // ],
154+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
154155
* // },
155156
* // ImageId: "STRING_VALUE",
156157
* // },
@@ -285,6 +286,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
285286
* // AllowedInstanceTypes: [
286287
* // "STRING_VALUE",
287288
* // ],
289+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
288290
* // },
289291
* // ImageId: "STRING_VALUE",
290292
* // },
@@ -379,6 +381,7 @@ export interface DescribeFleetsCommandOutput extends DescribeFleetsResult, __Met
379381
* // AllowedInstanceTypes: [
380382
* // "STRING_VALUE",
381383
* // ],
384+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
382385
* // },
383386
* // ImageId: "STRING_VALUE",
384387
* // },

‎clients/client-ec2/src/commands/DescribeLaunchTemplateVersionsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ export interface DescribeLaunchTemplateVersionsCommandOutput
319319
* // AllowedInstanceTypes: [ // AllowedInstanceTypeSet
320320
* // "STRING_VALUE",
321321
* // ],
322+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
322323
* // },
323324
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
324325
* // HostnameType: "ip-name" || "resource-name",

‎clients/client-ec2/src/commands/DescribeSpotFleetRequestsCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ export interface DescribeSpotFleetRequestsCommandOutput extends DescribeSpotFlee
253253
* // AllowedInstanceTypes: [ // AllowedInstanceTypeSet
254254
* // "STRING_VALUE",
255255
* // ],
256+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
256257
* // },
257258
* // },
258259
* // ],
@@ -338,6 +339,7 @@ export interface DescribeSpotFleetRequestsCommandOutput extends DescribeSpotFlee
338339
* // AllowedInstanceTypes: [
339340
* // "STRING_VALUE",
340341
* // ],
342+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
341343
* // },
342344
* // },
343345
* // ],

‎clients/client-ec2/src/commands/GetInstanceTypesFromInstanceRequirementsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export interface GetInstanceTypesFromInstanceRequirementsCommandOutput
128128
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
129129
* "STRING_VALUE",
130130
* ],
131+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
131132
* },
132133
* MaxResults: Number("int"),
133134
* NextToken: "STRING_VALUE",

‎clients/client-ec2/src/commands/GetLaunchTemplateDataCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ export interface GetLaunchTemplateDataCommandOutput extends GetLaunchTemplateDat
291291
* // AllowedInstanceTypes: [ // AllowedInstanceTypeSet
292292
* // "STRING_VALUE",
293293
* // ],
294+
* // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
294295
* // },
295296
* // PrivateDnsNameOptions: { // LaunchTemplatePrivateDnsNameOptions
296297
* // HostnameType: "ip-name" || "resource-name",

‎clients/client-ec2/src/commands/GetSpotPlacementScoresCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export interface GetSpotPlacementScoresCommandOutput extends GetSpotPlacementSco
126126
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
127127
* "STRING_VALUE",
128128
* ],
129+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
129130
* },
130131
* },
131132
* DryRun: true || false,

‎clients/client-ec2/src/commands/ModifyFleetCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export interface ModifyFleetCommandOutput extends ModifyFleetResult, __MetadataB
152152
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
153153
* "STRING_VALUE",
154154
* ],
155+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
155156
* },
156157
* ImageId: "STRING_VALUE",
157158
* },

‎clients/client-ec2/src/commands/ModifySpotFleetRequestCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export interface ModifySpotFleetRequestCommandOutput extends ModifySpotFleetRequ
143143
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
144144
* "STRING_VALUE",
145145
* ],
146+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
146147
* },
147148
* },
148149
* ],

‎clients/client-ec2/src/commands/RequestSpotFleetCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
263263
* AllowedInstanceTypes: [ // AllowedInstanceTypeSet
264264
* "STRING_VALUE",
265265
* ],
266+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
266267
* },
267268
* },
268269
* ],
@@ -348,6 +349,7 @@ export interface RequestSpotFleetCommandOutput extends RequestSpotFleetResponse,
348349
* AllowedInstanceTypes: [
349350
* "STRING_VALUE",
350351
* ],
352+
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
351353
* },
352354
* },
353355
* ],

0 commit comments

Comments
 (0)
Please sign in to comment.