aws-sdk-ec2 1.348.0 → 1.349.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +5 -5
- data/lib/aws-sdk-ec2/types.rb +133 -79
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfcf334f96306b62b0cf8d8c0fcd1fdd03297bef34acc16517caf7e382361682
|
4
|
+
data.tar.gz: 394acca3282f8247d29596e702360b6b6c3ef803d79164c4d1be2ec4052e07c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a411b555002a85b22e62aefc8a5c2f069d9ee00d5633befb4599d6bbb4c2543dca055701f96b0cc4ea4ddc2d3bb8cffb3be0ee12b5038168360a5a3708363215
|
7
|
+
data.tar.gz: cfc030a085c74f3c660487de6c332c9c90960ea3a909997c2e1a9e0d8f76e88033a1e728b19e1a17ae7ac16243924af7943c03cc44a6888ba80b958bf41c2b90
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.349.0 (2022-11-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new price capacity optimized allocation strategy for Spot Instances to help customers optimize provisioning of Spot Instances via EC2 Auto Scaling, EC2 Fleet, and Spot Fleet. It allocates Spot Instances based on both spare capacity availability and Spot Instance price.
|
8
|
+
|
4
9
|
1.348.0 (2022-11-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.349.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5928,7 +5928,7 @@ module Aws::EC2
|
|
5928
5928
|
# dry_run: false,
|
5929
5929
|
# client_token: "String",
|
5930
5930
|
# spot_options: {
|
5931
|
-
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
5931
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized, price-capacity-optimized
|
5932
5932
|
# maintenance_strategies: {
|
5933
5933
|
# capacity_rebalance: {
|
5934
5934
|
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
@@ -20379,7 +20379,7 @@ module Aws::EC2
|
|
20379
20379
|
# resp.fleets[0].valid_from #=> Time
|
20380
20380
|
# resp.fleets[0].valid_until #=> Time
|
20381
20381
|
# resp.fleets[0].replace_unhealthy_instances #=> Boolean
|
20382
|
-
# resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized", "capacity-optimized-prioritized"
|
20382
|
+
# resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized", "capacity-optimized-prioritized", "price-capacity-optimized"
|
20383
20383
|
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
|
20384
20384
|
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
|
20385
20385
|
# resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
@@ -29694,7 +29694,7 @@ module Aws::EC2
|
|
29694
29694
|
# resp.spot_fleet_request_configs #=> Array
|
29695
29695
|
# resp.spot_fleet_request_configs[0].activity_status #=> String, one of "error", "pending_fulfillment", "pending_termination", "fulfilled"
|
29696
29696
|
# resp.spot_fleet_request_configs[0].create_time #=> Time
|
29697
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized", "capacityOptimizedPrioritized"
|
29697
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized", "capacityOptimizedPrioritized", "priceCapacityOptimized"
|
29698
29698
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_allocation_strategy #=> String, one of "lowestPrice", "prioritized"
|
29699
29699
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
|
29700
29700
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
|
@@ -47845,7 +47845,7 @@ module Aws::EC2
|
|
47845
47845
|
# resp = client.request_spot_fleet({
|
47846
47846
|
# dry_run: false,
|
47847
47847
|
# spot_fleet_request_config: { # required
|
47848
|
-
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized
|
47848
|
+
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized, priceCapacityOptimized
|
47849
47849
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
47850
47850
|
# spot_maintenance_strategies: {
|
47851
47851
|
# capacity_rebalance: {
|
@@ -52578,7 +52578,7 @@ module Aws::EC2
|
|
52578
52578
|
params: params,
|
52579
52579
|
config: config)
|
52580
52580
|
context[:gem_name] = 'aws-sdk-ec2'
|
52581
|
-
context[:gem_version] = '1.
|
52581
|
+
context[:gem_version] = '1.349.0'
|
52582
52582
|
Seahorse::Client::Request.new(handlers, context)
|
52583
52583
|
end
|
52584
52584
|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8193,7 +8193,7 @@ module Aws::EC2
|
|
8193
8193
|
# dry_run: false,
|
8194
8194
|
# client_token: "String",
|
8195
8195
|
# spot_options: {
|
8196
|
-
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
8196
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized, price-capacity-optimized
|
8197
8197
|
# maintenance_strategies: {
|
8198
8198
|
# capacity_rebalance: {
|
8199
8199
|
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
@@ -59095,7 +59095,7 @@ module Aws::EC2
|
|
59095
59095
|
# {
|
59096
59096
|
# dry_run: false,
|
59097
59097
|
# spot_fleet_request_config: { # required
|
59098
|
-
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized
|
59098
|
+
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized, priceCapacityOptimized
|
59099
59099
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
59100
59100
|
# spot_maintenance_strategies: {
|
59101
59101
|
# capacity_rebalance: {
|
@@ -65424,7 +65424,7 @@ module Aws::EC2
|
|
65424
65424
|
# data as a hash:
|
65425
65425
|
#
|
65426
65426
|
# {
|
65427
|
-
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized
|
65427
|
+
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified, capacityOptimized, capacityOptimizedPrioritized, priceCapacityOptimized
|
65428
65428
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
65429
65429
|
# spot_maintenance_strategies: {
|
65430
65430
|
# capacity_rebalance: {
|
@@ -65712,31 +65712,49 @@ module Aws::EC2
|
|
65712
65712
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
65713
65713
|
# User Guide*.
|
65714
65714
|
#
|
65715
|
-
#
|
65716
|
-
#
|
65717
|
-
#
|
65718
|
-
#
|
65719
|
-
#
|
65720
|
-
#
|
65721
|
-
#
|
65722
|
-
#
|
65723
|
-
#
|
65724
|
-
#
|
65725
|
-
#
|
65726
|
-
#
|
65727
|
-
#
|
65728
|
-
#
|
65729
|
-
#
|
65730
|
-
#
|
65731
|
-
#
|
65732
|
-
#
|
65733
|
-
#
|
65734
|
-
#
|
65735
|
-
#
|
65736
|
-
#
|
65737
|
-
#
|
65738
|
-
#
|
65739
|
-
#
|
65715
|
+
# priceCapacityOptimized (recommended)
|
65716
|
+
#
|
65717
|
+
# : Spot Fleet identifies the pools with the highest capacity
|
65718
|
+
# availability for the number of instances that are launching. This
|
65719
|
+
# means that we will request Spot Instances from the pools that we
|
65720
|
+
# believe have the lowest chance of interruption in the near term.
|
65721
|
+
# Spot Fleet then requests Spot Instances from the lowest priced of
|
65722
|
+
# these pools.
|
65723
|
+
#
|
65724
|
+
# capacityOptimized
|
65725
|
+
#
|
65726
|
+
# : Spot Fleet identifies the pools with the highest capacity
|
65727
|
+
# availability for the number of instances that are launching. This
|
65728
|
+
# means that we will request Spot Instances from the pools that we
|
65729
|
+
# believe have the lowest chance of interruption in the near term.
|
65730
|
+
# To give certain instance types a higher chance of launching first,
|
65731
|
+
# use `capacityOptimizedPrioritized`. Set a priority for each
|
65732
|
+
# instance type by using the `Priority` parameter for
|
65733
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
65734
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
65735
|
+
# on a best-effort basis, but optimizes for capacity first.
|
65736
|
+
# `capacityOptimizedPrioritized` is supported only if your Spot
|
65737
|
+
# Fleet uses a launch template. Note that if the
|
65738
|
+
# `OnDemandAllocationStrategy` is set to `prioritized`, the same
|
65739
|
+
# priority is applied when fulfilling On-Demand capacity.
|
65740
|
+
#
|
65741
|
+
# diversified
|
65742
|
+
#
|
65743
|
+
# : Spot Fleet requests instances from all of the Spot Instance pools
|
65744
|
+
# that you specify.
|
65745
|
+
#
|
65746
|
+
# lowestPrice
|
65747
|
+
#
|
65748
|
+
# : Spot Fleet requests instances from the lowest priced Spot Instance
|
65749
|
+
# pool that has available capacity. If the lowest priced pool
|
65750
|
+
# doesn't have available capacity, the Spot Instances come from the
|
65751
|
+
# next lowest priced pool that has available capacity. If a pool
|
65752
|
+
# runs out of capacity before fulfilling your desired capacity, Spot
|
65753
|
+
# Fleet will continue to fulfill your request by drawing from the
|
65754
|
+
# next lowest priced pool. To ensure that your desired capacity is
|
65755
|
+
# met, you might receive Spot Instances from several pools. Because
|
65756
|
+
# this strategy only considers instance price and not capacity
|
65757
|
+
# availability, it might lead to high interruption rates.
|
65740
65758
|
#
|
65741
65759
|
# Default: `lowestPrice`
|
65742
65760
|
#
|
@@ -66323,31 +66341,49 @@ module Aws::EC2
|
|
66323
66341
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
66324
66342
|
# User Guide*.
|
66325
66343
|
#
|
66326
|
-
#
|
66327
|
-
#
|
66328
|
-
#
|
66329
|
-
#
|
66330
|
-
#
|
66331
|
-
#
|
66332
|
-
#
|
66333
|
-
#
|
66334
|
-
#
|
66335
|
-
#
|
66336
|
-
#
|
66337
|
-
#
|
66338
|
-
#
|
66339
|
-
#
|
66340
|
-
#
|
66341
|
-
#
|
66342
|
-
#
|
66343
|
-
#
|
66344
|
-
#
|
66345
|
-
#
|
66346
|
-
#
|
66347
|
-
#
|
66348
|
-
#
|
66349
|
-
#
|
66350
|
-
#
|
66344
|
+
# price-capacity-optimized (recommended)
|
66345
|
+
#
|
66346
|
+
# : EC2 Fleet identifies the pools with the highest capacity
|
66347
|
+
# availability for the number of instances that are launching. This
|
66348
|
+
# means that we will request Spot Instances from the pools that we
|
66349
|
+
# believe have the lowest chance of interruption in the near term.
|
66350
|
+
# EC2 Fleet then requests Spot Instances from the lowest priced of
|
66351
|
+
# these pools.
|
66352
|
+
#
|
66353
|
+
# capacity-optimized
|
66354
|
+
#
|
66355
|
+
# : EC2 Fleet identifies the pools with the highest capacity
|
66356
|
+
# availability for the number of instances that are launching. This
|
66357
|
+
# means that we will request Spot Instances from the pools that we
|
66358
|
+
# believe have the lowest chance of interruption in the near term.
|
66359
|
+
# To give certain instance types a higher chance of launching first,
|
66360
|
+
# use `capacity-optimized-prioritized`. Set a priority for each
|
66361
|
+
# instance type by using the `Priority` parameter for
|
66362
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
66363
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
66364
|
+
# on a best-effort basis, but optimizes for capacity first.
|
66365
|
+
# `capacity-optimized-prioritized` is supported only if your EC2
|
66366
|
+
# Fleet uses a launch template. Note that if the On-Demand
|
66367
|
+
# `AllocationStrategy` is set to `prioritized`, the same priority is
|
66368
|
+
# applied when fulfilling On-Demand capacity.
|
66369
|
+
#
|
66370
|
+
# diversified
|
66371
|
+
#
|
66372
|
+
# : EC2 Fleet requests instances from all of the Spot Instance pools
|
66373
|
+
# that you specify.
|
66374
|
+
#
|
66375
|
+
# lowest-price
|
66376
|
+
#
|
66377
|
+
# : EC2 Fleet requests instances from the lowest priced Spot Instance
|
66378
|
+
# pool that has available capacity. If the lowest priced pool
|
66379
|
+
# doesn't have available capacity, the Spot Instances come from the
|
66380
|
+
# next lowest priced pool that has available capacity. If a pool
|
66381
|
+
# runs out of capacity before fulfilling your desired capacity, EC2
|
66382
|
+
# Fleet will continue to fulfill your request by drawing from the
|
66383
|
+
# next lowest priced pool. To ensure that your desired capacity is
|
66384
|
+
# met, you might receive Spot Instances from several pools. Because
|
66385
|
+
# this strategy only considers instance price and not capacity
|
66386
|
+
# availability, it might lead to high interruption rates.
|
66351
66387
|
#
|
66352
66388
|
# Default: `lowest-price`
|
66353
66389
|
#
|
@@ -66443,7 +66479,7 @@ module Aws::EC2
|
|
66443
66479
|
# data as a hash:
|
66444
66480
|
#
|
66445
66481
|
# {
|
66446
|
-
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
66482
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized, price-capacity-optimized
|
66447
66483
|
# maintenance_strategies: {
|
66448
66484
|
# capacity_rebalance: {
|
66449
66485
|
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
@@ -66465,31 +66501,49 @@ module Aws::EC2
|
|
66465
66501
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
66466
66502
|
# User Guide*.
|
66467
66503
|
#
|
66468
|
-
#
|
66469
|
-
#
|
66470
|
-
#
|
66471
|
-
#
|
66472
|
-
#
|
66473
|
-
#
|
66474
|
-
#
|
66475
|
-
#
|
66476
|
-
#
|
66477
|
-
#
|
66478
|
-
#
|
66479
|
-
#
|
66480
|
-
#
|
66481
|
-
#
|
66482
|
-
#
|
66483
|
-
#
|
66484
|
-
#
|
66485
|
-
#
|
66486
|
-
#
|
66487
|
-
#
|
66488
|
-
#
|
66489
|
-
#
|
66490
|
-
#
|
66491
|
-
#
|
66492
|
-
#
|
66504
|
+
# price-capacity-optimized (recommended)
|
66505
|
+
#
|
66506
|
+
# : EC2 Fleet identifies the pools with the highest capacity
|
66507
|
+
# availability for the number of instances that are launching. This
|
66508
|
+
# means that we will request Spot Instances from the pools that we
|
66509
|
+
# believe have the lowest chance of interruption in the near term.
|
66510
|
+
# EC2 Fleet then requests Spot Instances from the lowest priced of
|
66511
|
+
# these pools.
|
66512
|
+
#
|
66513
|
+
# capacity-optimized
|
66514
|
+
#
|
66515
|
+
# : EC2 Fleet identifies the pools with the highest capacity
|
66516
|
+
# availability for the number of instances that are launching. This
|
66517
|
+
# means that we will request Spot Instances from the pools that we
|
66518
|
+
# believe have the lowest chance of interruption in the near term.
|
66519
|
+
# To give certain instance types a higher chance of launching first,
|
66520
|
+
# use `capacity-optimized-prioritized`. Set a priority for each
|
66521
|
+
# instance type by using the `Priority` parameter for
|
66522
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
66523
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
66524
|
+
# on a best-effort basis, but optimizes for capacity first.
|
66525
|
+
# `capacity-optimized-prioritized` is supported only if your EC2
|
66526
|
+
# Fleet uses a launch template. Note that if the On-Demand
|
66527
|
+
# `AllocationStrategy` is set to `prioritized`, the same priority is
|
66528
|
+
# applied when fulfilling On-Demand capacity.
|
66529
|
+
#
|
66530
|
+
# diversified
|
66531
|
+
#
|
66532
|
+
# : EC2 Fleet requests instances from all of the Spot Instance pools
|
66533
|
+
# that you specify.
|
66534
|
+
#
|
66535
|
+
# lowest-price
|
66536
|
+
#
|
66537
|
+
# : EC2 Fleet requests instances from the lowest priced Spot Instance
|
66538
|
+
# pool that has available capacity. If the lowest priced pool
|
66539
|
+
# doesn't have available capacity, the Spot Instances come from the
|
66540
|
+
# next lowest priced pool that has available capacity. If a pool
|
66541
|
+
# runs out of capacity before fulfilling your desired capacity, EC2
|
66542
|
+
# Fleet will continue to fulfill your request by drawing from the
|
66543
|
+
# next lowest priced pool. To ensure that your desired capacity is
|
66544
|
+
# met, you might receive Spot Instances from several pools. Because
|
66545
|
+
# this strategy only considers instance price and not capacity
|
66546
|
+
# availability, it might lead to high interruption rates.
|
66493
66547
|
#
|
66494
66548
|
# Default: `lowest-price`
|
66495
66549
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.349.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|