aws-sdk-ec2 1.334.0 → 1.335.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 +39 -77
- data/lib/aws-sdk-ec2/client_api.rb +10 -0
- data/lib/aws-sdk-ec2/types.rb +156 -144
- 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: 3f255672daf49a88a32eabb0e290c7d4a72fe9e2c5cd8b34ad79dfe64dfbd0f0
|
4
|
+
data.tar.gz: 70edeacbf0c116267351cd3d779a67884146a9bcf451c03555e127d47db2f2e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 432a17cdc82556fe2632af4c6748ddad45907679493e6b2a84637b9e844e1a54dffa73e80bd23b0ffac97a188576fb921da01baeec2ad8016df15a679caa330d
|
7
|
+
data.tar.gz: e7b48c152ab5072987dc40f06ac64996beec753a7e00c3f1b6ace7c82b749e9286be9a1639796f822390983f5988bde706dc9c44830854539b7cf53ab7f51552
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.335.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4530,6 +4530,9 @@ module Aws::EC2
|
|
4530
4530
|
# resp.capacity_reservation.outpost_arn #=> String
|
4531
4531
|
# resp.capacity_reservation.capacity_reservation_fleet_id #=> String
|
4532
4532
|
# resp.capacity_reservation.placement_group_arn #=> String
|
4533
|
+
# resp.capacity_reservation.capacity_allocations #=> Array
|
4534
|
+
# resp.capacity_reservation.capacity_allocations[0].allocation_type #=> String, one of "used"
|
4535
|
+
# resp.capacity_reservation.capacity_allocations[0].count #=> Integer
|
4533
4536
|
#
|
4534
4537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
|
4535
4538
|
#
|
@@ -18343,6 +18346,9 @@ module Aws::EC2
|
|
18343
18346
|
# resp.capacity_reservations[0].outpost_arn #=> String
|
18344
18347
|
# resp.capacity_reservations[0].capacity_reservation_fleet_id #=> String
|
18345
18348
|
# resp.capacity_reservations[0].placement_group_arn #=> String
|
18349
|
+
# resp.capacity_reservations[0].capacity_allocations #=> Array
|
18350
|
+
# resp.capacity_reservations[0].capacity_allocations[0].allocation_type #=> String, one of "used"
|
18351
|
+
# resp.capacity_reservations[0].capacity_allocations[0].count #=> Integer
|
18346
18352
|
#
|
18347
18353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
|
18348
18354
|
#
|
@@ -22583,16 +22589,6 @@ module Aws::EC2
|
|
22583
22589
|
# the call fails. If you describe instances and specify only instance
|
22584
22590
|
# IDs that are in an unaffected zone, the call works normally.
|
22585
22591
|
#
|
22586
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
22587
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
22588
|
-
# from EC2-Classic to a VPC][1] in the *Amazon EC2 User Guide*.
|
22589
|
-
#
|
22590
|
-
# </note>
|
22591
|
-
#
|
22592
|
-
#
|
22593
|
-
#
|
22594
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
22595
|
-
#
|
22596
22592
|
# @option params [Array<Types::Filter>] :filters
|
22597
22593
|
# The filters.
|
22598
22594
|
#
|
@@ -26833,17 +26829,9 @@ module Aws::EC2
|
|
26833
26829
|
# For more information about Reserved Instances, see [Reserved
|
26834
26830
|
# Instances][1] in the *Amazon EC2 User Guide*.
|
26835
26831
|
#
|
26836
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
26837
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
26838
|
-
# from EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud
|
26839
|
-
# User Guide*.
|
26840
|
-
#
|
26841
|
-
# </note>
|
26842
|
-
#
|
26843
26832
|
#
|
26844
26833
|
#
|
26845
26834
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
|
26846
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
26847
26835
|
#
|
26848
26836
|
# @option params [Array<Types::Filter>] :filters
|
26849
26837
|
# One or more filters.
|
@@ -27077,17 +27065,9 @@ module Aws::EC2
|
|
27077
27065
|
# For more information, see [Modifying Reserved Instances][1] in the
|
27078
27066
|
# *Amazon EC2 User Guide*.
|
27079
27067
|
#
|
27080
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
27081
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
27082
|
-
# from EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud
|
27083
|
-
# User Guide*.
|
27084
|
-
#
|
27085
|
-
# </note>
|
27086
|
-
#
|
27087
27068
|
#
|
27088
27069
|
#
|
27089
27070
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html
|
27090
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
27091
27071
|
#
|
27092
27072
|
# @option params [Array<Types::Filter>] :filters
|
27093
27073
|
# One or more filters.
|
@@ -27198,17 +27178,9 @@ module Aws::EC2
|
|
27198
27178
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
27199
27179
|
# *Amazon EC2 User Guide*.
|
27200
27180
|
#
|
27201
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
27202
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
27203
|
-
# from EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud
|
27204
|
-
# User Guide*.
|
27205
|
-
#
|
27206
|
-
# </note>
|
27207
|
-
#
|
27208
27181
|
#
|
27209
27182
|
#
|
27210
27183
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
|
27211
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
27212
27184
|
#
|
27213
27185
|
# @option params [String] :availability_zone
|
27214
27186
|
# The Availability Zone in which the Reserved Instance can be used.
|
@@ -27617,17 +27589,6 @@ module Aws::EC2
|
|
27617
27589
|
# PurchaseScheduledInstances to purchase Scheduled Instances with that
|
27618
27590
|
# schedule.
|
27619
27591
|
#
|
27620
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
27621
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
27622
|
-
# from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
|
27623
|
-
# User Guide*.
|
27624
|
-
#
|
27625
|
-
# </note>
|
27626
|
-
#
|
27627
|
-
#
|
27628
|
-
#
|
27629
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
27630
|
-
#
|
27631
27592
|
# @option params [Boolean] :dry_run
|
27632
27593
|
# Checks whether you have the required permissions for the action,
|
27633
27594
|
# without actually making the request, and provides an error response.
|
@@ -27789,17 +27750,6 @@ module Aws::EC2
|
|
27789
27750
|
# Describes the specified Scheduled Instances or all your Scheduled
|
27790
27751
|
# Instances.
|
27791
27752
|
#
|
27792
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
27793
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
27794
|
-
# from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
|
27795
|
-
# User Guide*.
|
27796
|
-
#
|
27797
|
-
# </note>
|
27798
|
-
#
|
27799
|
-
#
|
27800
|
-
#
|
27801
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
27802
|
-
#
|
27803
27753
|
# @option params [Boolean] :dry_run
|
27804
27754
|
# Checks whether you have the required permissions for the action,
|
27805
27755
|
# without actually making the request, and provides an error response.
|
@@ -41237,16 +41187,16 @@ module Aws::EC2
|
|
41237
41187
|
# `optional`.
|
41238
41188
|
#
|
41239
41189
|
# If the state is `optional`, you can choose to retrieve instance
|
41240
|
-
# metadata with or without a
|
41190
|
+
# metadata with or without a session token on your request. If you
|
41241
41191
|
# retrieve the IAM role credentials without a token, the version 1.0
|
41242
41192
|
# role credentials are returned. If you retrieve the IAM role
|
41243
|
-
# credentials using a valid
|
41193
|
+
# credentials using a valid session token, the version 2.0 role
|
41244
41194
|
# credentials are returned.
|
41245
41195
|
#
|
41246
|
-
# If the state is `required`, you must send a
|
41247
|
-
#
|
41248
|
-
#
|
41249
|
-
#
|
41196
|
+
# If the state is `required`, you must send a session token with any
|
41197
|
+
# instance metadata retrieval requests. In this state, retrieving the
|
41198
|
+
# IAM role credentials always returns the version 2.0 credentials; the
|
41199
|
+
# version 1.0 credentials are not available.
|
41250
41200
|
#
|
41251
41201
|
# @option params [Integer] :http_put_response_hop_limit
|
41252
41202
|
# The desired HTTP PUT response hop limit for instance metadata
|
@@ -42168,18 +42118,18 @@ module Aws::EC2
|
|
42168
42118
|
req.send_request(options)
|
42169
42119
|
end
|
42170
42120
|
|
42171
|
-
# Modifies the
|
42172
|
-
#
|
42173
|
-
#
|
42174
|
-
#
|
42121
|
+
# Modifies the configuration of your Reserved Instances, such as the
|
42122
|
+
# Availability Zone, instance count, or instance type. The Reserved
|
42123
|
+
# Instances to be modified must be identical, except for Availability
|
42124
|
+
# Zone, network platform, and instance type.
|
42175
42125
|
#
|
42176
42126
|
# For more information, see [Modifying Reserved Instances][1] in the
|
42177
42127
|
# *Amazon EC2 User Guide*.
|
42178
42128
|
#
|
42179
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
42180
|
-
#
|
42181
|
-
#
|
42182
|
-
#
|
42129
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
42130
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
42131
|
+
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
42132
|
+
# Guide*.
|
42183
42133
|
#
|
42184
42134
|
# </note>
|
42185
42135
|
#
|
@@ -45075,10 +45025,18 @@ module Aws::EC2
|
|
45075
45025
|
# For more information, see [Reserved Instances][1] and [Reserved
|
45076
45026
|
# Instance Marketplace][2] in the *Amazon EC2 User Guide*.
|
45077
45027
|
#
|
45028
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
45029
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
45030
|
+
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
45031
|
+
# Guide*.
|
45032
|
+
#
|
45033
|
+
# </note>
|
45034
|
+
#
|
45078
45035
|
#
|
45079
45036
|
#
|
45080
45037
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
|
45081
45038
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
|
45039
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
45082
45040
|
#
|
45083
45041
|
# @option params [required, Integer] :instance_count
|
45084
45042
|
# The number of Reserved Instances to purchase.
|
@@ -45131,6 +45089,10 @@ module Aws::EC2
|
|
45131
45089
|
req.send_request(options)
|
45132
45090
|
end
|
45133
45091
|
|
45092
|
+
# <note markdown="1"> You can no longer purchase Scheduled Instances.
|
45093
|
+
#
|
45094
|
+
# </note>
|
45095
|
+
#
|
45134
45096
|
# Purchases the Scheduled Instances with the specified schedule.
|
45135
45097
|
#
|
45136
45098
|
# Scheduled Instances enable you to purchase Amazon EC2 compute capacity
|
@@ -47198,9 +47160,9 @@ module Aws::EC2
|
|
47198
47160
|
# Spot Instances, see [Which is the best Spot request method to use?][2]
|
47199
47161
|
# in the *Amazon EC2 User Guide for Linux Instances*.
|
47200
47162
|
#
|
47201
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
47202
|
-
#
|
47203
|
-
#
|
47163
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
47164
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
47165
|
+
# EC2-Classic to a VPC][3] in the *Amazon EC2 User Guide for Linux
|
47204
47166
|
# Instances*.
|
47205
47167
|
#
|
47206
47168
|
# </note>
|
@@ -48636,9 +48598,9 @@ module Aws::EC2
|
|
48636
48598
|
# For troubleshooting, see [What to do if an instance immediately
|
48637
48599
|
# terminates][7], and [Troubleshooting connecting to your instance][8].
|
48638
48600
|
#
|
48639
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
48640
|
-
#
|
48641
|
-
#
|
48601
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
48602
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
48603
|
+
# EC2-Classic to a VPC][9] in the *Amazon EC2 User Guide*.
|
48642
48604
|
#
|
48643
48605
|
# </note>
|
48644
48606
|
#
|
@@ -51311,7 +51273,7 @@ module Aws::EC2
|
|
51311
51273
|
params: params,
|
51312
51274
|
config: config)
|
51313
51275
|
context[:gem_name] = 'aws-sdk-ec2'
|
51314
|
-
context[:gem_version] = '1.
|
51276
|
+
context[:gem_version] = '1.335.0'
|
51315
51277
|
Seahorse::Client::Request.new(handlers, context)
|
51316
51278
|
end
|
51317
51279
|
|
@@ -79,6 +79,7 @@ module Aws::EC2
|
|
79
79
|
AllocationIds = Shapes::ListShape.new(name: 'AllocationIds')
|
80
80
|
AllocationState = Shapes::StringShape.new(name: 'AllocationState')
|
81
81
|
AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
|
82
|
+
AllocationType = Shapes::StringShape.new(name: 'AllocationType')
|
82
83
|
AllowedPrincipal = Shapes::StructureShape.new(name: 'AllowedPrincipal')
|
83
84
|
AllowedPrincipalSet = Shapes::ListShape.new(name: 'AllowedPrincipalSet')
|
84
85
|
AllowsMultipleInstanceTypes = Shapes::StringShape.new(name: 'AllowsMultipleInstanceTypes')
|
@@ -235,6 +236,8 @@ module Aws::EC2
|
|
235
236
|
CancelSpotInstanceRequestsResult = Shapes::StructureShape.new(name: 'CancelSpotInstanceRequestsResult')
|
236
237
|
CancelledSpotInstanceRequest = Shapes::StructureShape.new(name: 'CancelledSpotInstanceRequest')
|
237
238
|
CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
|
239
|
+
CapacityAllocation = Shapes::StructureShape.new(name: 'CapacityAllocation')
|
240
|
+
CapacityAllocations = Shapes::ListShape.new(name: 'CapacityAllocations')
|
238
241
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
239
242
|
CapacityReservationFleet = Shapes::StructureShape.new(name: 'CapacityReservationFleet')
|
240
243
|
CapacityReservationFleetCancellationState = Shapes::StructureShape.new(name: 'CapacityReservationFleetCancellationState')
|
@@ -3521,6 +3524,12 @@ module Aws::EC2
|
|
3521
3524
|
|
3522
3525
|
CancelledSpotInstanceRequestList.member = Shapes::ShapeRef.new(shape: CancelledSpotInstanceRequest, location_name: "item")
|
3523
3526
|
|
3527
|
+
CapacityAllocation.add_member(:allocation_type, Shapes::ShapeRef.new(shape: AllocationType, location_name: "allocationType"))
|
3528
|
+
CapacityAllocation.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "count"))
|
3529
|
+
CapacityAllocation.struct_class = Types::CapacityAllocation
|
3530
|
+
|
3531
|
+
CapacityAllocations.member = Shapes::ShapeRef.new(shape: CapacityAllocation, location_name: "item")
|
3532
|
+
|
3524
3533
|
CapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
3525
3534
|
CapacityReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
3526
3535
|
CapacityReservation.add_member(:capacity_reservation_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationArn"))
|
@@ -3543,6 +3552,7 @@ module Aws::EC2
|
|
3543
3552
|
CapacityReservation.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "outpostArn"))
|
3544
3553
|
CapacityReservation.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationFleetId"))
|
3545
3554
|
CapacityReservation.add_member(:placement_group_arn, Shapes::ShapeRef.new(shape: PlacementGroupArn, location_name: "placementGroupArn"))
|
3555
|
+
CapacityReservation.add_member(:capacity_allocations, Shapes::ShapeRef.new(shape: CapacityAllocations, location_name: "capacityAllocationSet"))
|
3546
3556
|
CapacityReservation.struct_class = Types::CapacityReservation
|
3547
3557
|
|
3548
3558
|
CapacityReservationFleet.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: CapacityReservationFleetId, location_name: "capacityReservationFleetId"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4391,6 +4391,28 @@ module Aws::EC2
|
|
4391
4391
|
include Aws::Structure
|
4392
4392
|
end
|
4393
4393
|
|
4394
|
+
# Information about instance capacity usage for a Capacity Reservation.
|
4395
|
+
#
|
4396
|
+
# @!attribute [rw] allocation_type
|
4397
|
+
# The usage type. `used` indicates that the instance capacity is in
|
4398
|
+
# use by instances that are running in the Capacity Reservation.
|
4399
|
+
# @return [String]
|
4400
|
+
#
|
4401
|
+
# @!attribute [rw] count
|
4402
|
+
# The amount of instance capacity associated with the usage. For
|
4403
|
+
# example a value of `4` indicates that instance capacity for 4
|
4404
|
+
# instances is currently in use.
|
4405
|
+
# @return [Integer]
|
4406
|
+
#
|
4407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityAllocation AWS API Documentation
|
4408
|
+
#
|
4409
|
+
class CapacityAllocation < Struct.new(
|
4410
|
+
:allocation_type,
|
4411
|
+
:count)
|
4412
|
+
SENSITIVE = []
|
4413
|
+
include Aws::Structure
|
4414
|
+
end
|
4415
|
+
|
4394
4416
|
# Describes a Capacity Reservation.
|
4395
4417
|
#
|
4396
4418
|
# @!attribute [rw] capacity_reservation_id
|
@@ -4552,6 +4574,10 @@ module Aws::EC2
|
|
4552
4574
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html
|
4553
4575
|
# @return [String]
|
4554
4576
|
#
|
4577
|
+
# @!attribute [rw] capacity_allocations
|
4578
|
+
# Information about instance capacity usage.
|
4579
|
+
# @return [Array<Types::CapacityAllocation>]
|
4580
|
+
#
|
4555
4581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservation AWS API Documentation
|
4556
4582
|
#
|
4557
4583
|
class CapacityReservation < Struct.new(
|
@@ -4576,7 +4602,8 @@ module Aws::EC2
|
|
4576
4602
|
:tags,
|
4577
4603
|
:outpost_arn,
|
4578
4604
|
:capacity_reservation_fleet_id,
|
4579
|
-
:placement_group_arn
|
4605
|
+
:placement_group_arn,
|
4606
|
+
:capacity_allocations)
|
4580
4607
|
SENSITIVE = []
|
4581
4608
|
include Aws::Structure
|
4582
4609
|
end
|
@@ -35054,7 +35081,7 @@ module Aws::EC2
|
|
35054
35081
|
# @!attribute [rw] instance_type
|
35055
35082
|
# The instance type.
|
35056
35083
|
#
|
35057
|
-
# <note markdown="1"> If you specify `
|
35084
|
+
# <note markdown="1"> If you specify `InstanceType`, you can't specify
|
35058
35085
|
# `InstanceRequirements`.
|
35059
35086
|
#
|
35060
35087
|
# </note>
|
@@ -35111,7 +35138,7 @@ module Aws::EC2
|
|
35111
35138
|
# attributes.
|
35112
35139
|
#
|
35113
35140
|
# <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
|
35114
|
-
# `
|
35141
|
+
# `InstanceType`.
|
35115
35142
|
#
|
35116
35143
|
# </note>
|
35117
35144
|
# @return [Types::InstanceRequirements]
|
@@ -35205,7 +35232,7 @@ module Aws::EC2
|
|
35205
35232
|
# @!attribute [rw] instance_type
|
35206
35233
|
# The instance type.
|
35207
35234
|
#
|
35208
|
-
# <note markdown="1"> If you specify `
|
35235
|
+
# <note markdown="1"> If you specify `InstanceType`, you can't specify
|
35209
35236
|
# `InstanceRequirements`.
|
35210
35237
|
#
|
35211
35238
|
# </note>
|
@@ -35265,7 +35292,7 @@ module Aws::EC2
|
|
35265
35292
|
# attributes.
|
35266
35293
|
#
|
35267
35294
|
# <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
|
35268
|
-
# `
|
35295
|
+
# `InstanceType`.
|
35269
35296
|
#
|
35270
35297
|
# </note>
|
35271
35298
|
# @return [Types::InstanceRequirementsRequest]
|
@@ -41775,16 +41802,16 @@ module Aws::EC2
|
|
41775
41802
|
# The state of token usage for your instance metadata requests.
|
41776
41803
|
#
|
41777
41804
|
# If the state is `optional`, you can choose to retrieve instance
|
41778
|
-
# metadata with or without a
|
41779
|
-
#
|
41780
|
-
#
|
41781
|
-
# credentials using a valid
|
41805
|
+
# metadata with or without a session token on your request. If you
|
41806
|
+
# retrieve the IAM role credentials without a token, the version 1.0
|
41807
|
+
# role credentials are returned. If you retrieve the IAM role
|
41808
|
+
# credentials using a valid session token, the version 2.0 role
|
41782
41809
|
# credentials are returned.
|
41783
41810
|
#
|
41784
|
-
# If the state is `required`, you must send a
|
41785
|
-
#
|
41786
|
-
#
|
41787
|
-
#
|
41811
|
+
# If the state is `required`, you must send a session token with any
|
41812
|
+
# instance metadata retrieval requests. In this state, retrieving the
|
41813
|
+
# IAM role credentials always returns the version 2.0 credentials; the
|
41814
|
+
# version 1.0 credentials are not available.
|
41788
41815
|
#
|
41789
41816
|
# Default: `optional`
|
41790
41817
|
# @return [String]
|
@@ -41854,16 +41881,16 @@ module Aws::EC2
|
|
41854
41881
|
# The state of token usage for your instance metadata requests.
|
41855
41882
|
#
|
41856
41883
|
# If the state is `optional`, you can choose to retrieve instance
|
41857
|
-
# metadata with or without a
|
41858
|
-
#
|
41859
|
-
#
|
41860
|
-
# credentials using a valid
|
41884
|
+
# metadata with or without a session token on your request. If you
|
41885
|
+
# retrieve the IAM role credentials without a token, the version 1.0
|
41886
|
+
# role credentials are returned. If you retrieve the IAM role
|
41887
|
+
# credentials using a valid session token, the version 2.0 role
|
41861
41888
|
# credentials are returned.
|
41862
41889
|
#
|
41863
|
-
# If the state is `required`, you must send a
|
41864
|
-
#
|
41865
|
-
#
|
41866
|
-
#
|
41890
|
+
# If the state is `required`, you must send a session token with any
|
41891
|
+
# instance metadata retrieval requests. In this state, retrieving the
|
41892
|
+
# IAM role credentials always returns the version 2.0 credentials; the
|
41893
|
+
# version 1.0 credentials are not available.
|
41867
41894
|
#
|
41868
41895
|
# Default: `optional`
|
41869
41896
|
# @return [String]
|
@@ -42374,13 +42401,13 @@ module Aws::EC2
|
|
42374
42401
|
# attributes, Amazon EC2 will identify instance types with these
|
42375
42402
|
# attributes.
|
42376
42403
|
#
|
42377
|
-
# When you specify multiple
|
42378
|
-
# satisfy all of the specified
|
42379
|
-
# values for
|
42380
|
-
# specified values.
|
42404
|
+
# When you specify multiple attributes, you get instance types that
|
42405
|
+
# satisfy all of the specified attributes. If you specify multiple
|
42406
|
+
# values for an attribute, you get instance types that satisfy any of
|
42407
|
+
# the specified values.
|
42381
42408
|
#
|
42382
|
-
# <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other
|
42383
|
-
# optional. Any unspecified optional
|
42409
|
+
# <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
|
42410
|
+
# optional. Any unspecified optional attribute is set to its default.
|
42384
42411
|
#
|
42385
42412
|
# </note>
|
42386
42413
|
#
|
@@ -42481,10 +42508,12 @@ module Aws::EC2
|
|
42481
42508
|
# @return [Types::MemoryGiBPerVCpu]
|
42482
42509
|
#
|
42483
42510
|
# @!attribute [rw] excluded_instance_types
|
42484
|
-
# The instance types to exclude.
|
42485
|
-
#
|
42486
|
-
#
|
42487
|
-
#
|
42511
|
+
# The instance types to exclude.
|
42512
|
+
#
|
42513
|
+
# You can use strings with one or more wild cards, represented by an
|
42514
|
+
# asterisk (`*`), to exclude an instance type, size, or generation.
|
42515
|
+
# The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`,
|
42516
|
+
# `*3*`.
|
42488
42517
|
#
|
42489
42518
|
# For example, if you specify `c5*`,Amazon EC2 will exclude the entire
|
42490
42519
|
# C5 instance family, which includes all C5a and C5n instance types.
|
@@ -42734,6 +42763,11 @@ module Aws::EC2
|
|
42734
42763
|
#
|
42735
42764
|
# * For instance types with Xilinx VU9P FPGAs, specify `vu9p`.
|
42736
42765
|
#
|
42766
|
+
# * For instance types with Amazon Web Services Inferentia GPUs,
|
42767
|
+
# specify `inferentia`.
|
42768
|
+
#
|
42769
|
+
# * For instance types with NVIDIA GRID K520 GPUs, specify `k520`.
|
42770
|
+
#
|
42737
42771
|
# Default: Any accelerator
|
42738
42772
|
# @return [Array<String>]
|
42739
42773
|
#
|
@@ -42775,13 +42809,13 @@ module Aws::EC2
|
|
42775
42809
|
# attributes, Amazon EC2 will identify instance types with these
|
42776
42810
|
# attributes.
|
42777
42811
|
#
|
42778
|
-
# When you specify multiple
|
42779
|
-
# satisfy all of the specified
|
42780
|
-
# values for
|
42781
|
-
# specified values.
|
42812
|
+
# When you specify multiple attributes, you get instance types that
|
42813
|
+
# satisfy all of the specified attributes. If you specify multiple
|
42814
|
+
# values for an attribute, you get instance types that satisfy any of
|
42815
|
+
# the specified values.
|
42782
42816
|
#
|
42783
|
-
# <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other
|
42784
|
-
# optional. Any unspecified optional
|
42817
|
+
# <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
|
42818
|
+
# optional. Any unspecified optional attribute is set to its default.
|
42785
42819
|
#
|
42786
42820
|
# </note>
|
42787
42821
|
#
|
@@ -42882,10 +42916,12 @@ module Aws::EC2
|
|
42882
42916
|
# @return [Types::MemoryGiBPerVCpuRequest]
|
42883
42917
|
#
|
42884
42918
|
# @!attribute [rw] excluded_instance_types
|
42885
|
-
# The instance types to exclude.
|
42886
|
-
#
|
42887
|
-
#
|
42888
|
-
#
|
42919
|
+
# The instance types to exclude.
|
42920
|
+
#
|
42921
|
+
# You can use strings with one or more wild cards, represented by an
|
42922
|
+
# asterisk (`*`), to exclude an instance family, type, size, or
|
42923
|
+
# generation. The following are examples: `m5.8xlarge`, `c5*.*`,
|
42924
|
+
# `m5a.*`, `r*`, `*3*`.
|
42889
42925
|
#
|
42890
42926
|
# For example, if you specify `c5*`,Amazon EC2 will exclude the entire
|
42891
42927
|
# C5 instance family, which includes all C5a and C5n instance types.
|
@@ -43135,6 +43171,11 @@ module Aws::EC2
|
|
43135
43171
|
#
|
43136
43172
|
# * For instance types with Xilinx VU9P FPGAs, specify ` vu9p`.
|
43137
43173
|
#
|
43174
|
+
# * For instance types with Amazon Web Services Inferentia GPUs,
|
43175
|
+
# specify `inferentia`.
|
43176
|
+
#
|
43177
|
+
# * For instance types with NVIDIA GRID K520 GPUs, specify `k520`.
|
43178
|
+
#
|
43138
43179
|
# Default: Any accelerator
|
43139
43180
|
# @return [Array<String>]
|
43140
43181
|
#
|
@@ -45123,17 +45164,6 @@ module Aws::EC2
|
|
45123
45164
|
|
45124
45165
|
# Describes the launch specification for an instance.
|
45125
45166
|
#
|
45126
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
45127
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
45128
|
-
# from EC2-Classic to a VPC][1] in the *Amazon EC2 User Guide for Linux
|
45129
|
-
# Instances*.
|
45130
|
-
#
|
45131
|
-
# </note>
|
45132
|
-
#
|
45133
|
-
#
|
45134
|
-
#
|
45135
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
45136
|
-
#
|
45137
45167
|
# @!attribute [rw] user_data
|
45138
45168
|
# The Base64-encoded user data for the instance.
|
45139
45169
|
# @return [String]
|
@@ -46661,7 +46691,7 @@ module Aws::EC2
|
|
46661
46691
|
# same way as when you specify a list of instance types.
|
46662
46692
|
#
|
46663
46693
|
# <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
|
46664
|
-
# `
|
46694
|
+
# `InstanceType`.
|
46665
46695
|
#
|
46666
46696
|
# </note>
|
46667
46697
|
# @return [Types::InstanceRequirements]
|
@@ -49631,16 +49661,16 @@ module Aws::EC2
|
|
49631
49661
|
# `optional`.
|
49632
49662
|
#
|
49633
49663
|
# If the state is `optional`, you can choose to retrieve instance
|
49634
|
-
# metadata with or without a
|
49635
|
-
#
|
49636
|
-
#
|
49637
|
-
# credentials using a valid
|
49664
|
+
# metadata with or without a session token on your request. If you
|
49665
|
+
# retrieve the IAM role credentials without a token, the version 1.0
|
49666
|
+
# role credentials are returned. If you retrieve the IAM role
|
49667
|
+
# credentials using a valid session token, the version 2.0 role
|
49638
49668
|
# credentials are returned.
|
49639
49669
|
#
|
49640
|
-
# If the state is `required`, you must send a
|
49641
|
-
#
|
49642
|
-
#
|
49643
|
-
#
|
49670
|
+
# If the state is `required`, you must send a session token with any
|
49671
|
+
# instance metadata retrieval requests. In this state, retrieving the
|
49672
|
+
# IAM role credentials always returns the version 2.0 credentials; the
|
49673
|
+
# version 1.0 credentials are not available.
|
49644
49674
|
# @return [String]
|
49645
49675
|
#
|
49646
49676
|
# @!attribute [rw] http_put_response_hop_limit
|
@@ -58192,7 +58222,7 @@ module Aws::EC2
|
|
58192
58222
|
# attributes.
|
58193
58223
|
#
|
58194
58224
|
# If you specify `InstanceRequirements`, you can't specify
|
58195
|
-
# `
|
58225
|
+
# `InstanceType`.
|
58196
58226
|
# @return [Types::InstanceRequirementsRequest]
|
58197
58227
|
#
|
58198
58228
|
# @!attribute [rw] private_dns_name_options
|
@@ -59035,16 +59065,6 @@ module Aws::EC2
|
|
59035
59065
|
# owner, requester, and security group information that applies to all
|
59036
59066
|
# instances in the launch request.
|
59037
59067
|
#
|
59038
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
59039
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
59040
|
-
# from EC2-Classic to a VPC][1] in the *Amazon EC2 User Guide*.
|
59041
|
-
#
|
59042
|
-
# </note>
|
59043
|
-
#
|
59044
|
-
#
|
59045
|
-
#
|
59046
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
59047
|
-
#
|
59048
59068
|
# @!attribute [rw] groups
|
59049
59069
|
# \[EC2-Classic only\] The security groups.
|
59050
59070
|
# @return [Array<Types::GroupIdentifier>]
|
@@ -59345,17 +59365,6 @@ module Aws::EC2
|
|
59345
59365
|
# Describes the configuration settings for the modified Reserved
|
59346
59366
|
# Instances.
|
59347
59367
|
#
|
59348
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
59349
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
59350
|
-
# from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
|
59351
|
-
# User Guide*.
|
59352
|
-
#
|
59353
|
-
# </note>
|
59354
|
-
#
|
59355
|
-
#
|
59356
|
-
#
|
59357
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
59358
|
-
#
|
59359
59368
|
# @note When making an API call, you may pass ReservedInstancesConfiguration
|
59360
59369
|
# data as a hash:
|
59361
59370
|
#
|
@@ -61968,17 +61977,6 @@ module Aws::EC2
|
|
61968
61977
|
|
61969
61978
|
# Describes a Scheduled Instance.
|
61970
61979
|
#
|
61971
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
61972
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
61973
|
-
# from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
|
61974
|
-
# User Guide*.
|
61975
|
-
#
|
61976
|
-
# </note>
|
61977
|
-
#
|
61978
|
-
#
|
61979
|
-
#
|
61980
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
61981
|
-
#
|
61982
61980
|
# @!attribute [rw] availability_zone
|
61983
61981
|
# The Availability Zone.
|
61984
61982
|
# @return [String]
|
@@ -62063,17 +62061,6 @@ module Aws::EC2
|
|
62063
62061
|
|
62064
62062
|
# Describes a schedule that is available for your Scheduled Instances.
|
62065
62063
|
#
|
62066
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
62067
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
62068
|
-
# from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
|
62069
|
-
# User Guide*.
|
62070
|
-
#
|
62071
|
-
# </note>
|
62072
|
-
#
|
62073
|
-
#
|
62074
|
-
#
|
62075
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
62076
|
-
#
|
62077
62064
|
# @!attribute [rw] availability_zone
|
62078
62065
|
# The Availability Zone.
|
62079
62066
|
# @return [String]
|
@@ -64232,17 +64219,9 @@ module Aws::EC2
|
|
64232
64219
|
# `SpotFleetLaunchSpecification`; you must use
|
64233
64220
|
# [LaunchTemplateConfig][1].
|
64234
64221
|
#
|
64235
|
-
# <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
64236
|
-
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
64237
|
-
# from EC2-Classic to a VPC][2] in the *Amazon EC2 User Guide for Linux
|
64238
|
-
# Instances*.
|
64239
|
-
#
|
64240
|
-
# </note>
|
64241
|
-
#
|
64242
64222
|
#
|
64243
64223
|
#
|
64244
64224
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html
|
64245
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
64246
64225
|
#
|
64247
64226
|
# @note When making an API call, you may pass SpotFleetLaunchSpecification
|
64248
64227
|
# data as a hash:
|
@@ -64518,7 +64497,7 @@ module Aws::EC2
|
|
64518
64497
|
# attributes.
|
64519
64498
|
#
|
64520
64499
|
# <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
|
64521
|
-
# `
|
64500
|
+
# `InstanceType`.
|
64522
64501
|
#
|
64523
64502
|
# </note>
|
64524
64503
|
# @return [Types::InstanceRequirements]
|
@@ -64894,20 +64873,28 @@ module Aws::EC2
|
|
64894
64873
|
# }
|
64895
64874
|
#
|
64896
64875
|
# @!attribute [rw] allocation_strategy
|
64897
|
-
#
|
64898
|
-
# the Spot Instance pools specified by the
|
64899
|
-
#
|
64900
|
-
#
|
64901
|
-
#
|
64902
|
-
#
|
64903
|
-
#
|
64904
|
-
#
|
64905
|
-
#
|
64876
|
+
# The strategy that determines how to allocate the target Spot
|
64877
|
+
# Instance capacity across the Spot Instance pools specified by the
|
64878
|
+
# Spot Fleet launch configuration. For more information, see
|
64879
|
+
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
64880
|
+
# User Guide for Linux Instances*.
|
64881
|
+
#
|
64882
|
+
# `lowestPrice` - Spot Fleet launches instances from the lowest-price
|
64883
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
64884
|
+
# doesn't have available capacity, the Spot Instances come from the
|
64885
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
64886
|
+
# of capacity before fulfilling your desired capacity, Spot Fleet will
|
64887
|
+
# continue to fulfill your request by drawing from the next cheapest
|
64888
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
64889
|
+
# Spot Instances from several pools.
|
64890
|
+
#
|
64891
|
+
# `diversified` - Spot Fleet launches instances from all of the Spot
|
64892
|
+
# Instance pools that you specify.
|
64906
64893
|
#
|
64907
|
-
#
|
64908
|
-
#
|
64909
|
-
#
|
64910
|
-
#
|
64894
|
+
# `capacityOptimized` (recommended) - Spot Fleet launches instances
|
64895
|
+
# from Spot Instance pools with optimal capacity for the number of
|
64896
|
+
# instances that are launching. To give certain instance types a
|
64897
|
+
# higher chance of launching first, use
|
64911
64898
|
# `capacityOptimizedPrioritized`. Set a priority for each instance
|
64912
64899
|
# type by using the `Priority` parameter for
|
64913
64900
|
# `LaunchTemplateOverrides`. You can assign the same priority to
|
@@ -64917,6 +64904,12 @@ module Aws::EC2
|
|
64917
64904
|
# uses a launch template. Note that if the
|
64918
64905
|
# `OnDemandAllocationStrategy` is set to `prioritized`, the same
|
64919
64906
|
# priority is applied when fulfilling On-Demand capacity.
|
64907
|
+
#
|
64908
|
+
# Default: `lowestPrice`
|
64909
|
+
#
|
64910
|
+
#
|
64911
|
+
#
|
64912
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html
|
64920
64913
|
# @return [String]
|
64921
64914
|
#
|
64922
64915
|
# @!attribute [rw] on_demand_allocation_strategy
|
@@ -65125,15 +65118,14 @@ module Aws::EC2
|
|
65125
65118
|
# The value for `ResourceType` must be `spot-fleet-request`, otherwise
|
65126
65119
|
# the Spot Fleet request fails. To tag instances at launch, specify
|
65127
65120
|
# the tags in the [launch template][1] (valid only if you use
|
65128
|
-
# `LaunchTemplateConfigs`) or in the
|
65129
|
-
#
|
65130
|
-
# about tagging after launch, see [Tagging Your Resources][
|
65121
|
+
# `LaunchTemplateConfigs`) or in the ` SpotFleetTagSpecification `
|
65122
|
+
# (valid only if you use `LaunchSpecifications`). For information
|
65123
|
+
# about tagging after launch, see [Tagging Your Resources][2].
|
65131
65124
|
#
|
65132
65125
|
#
|
65133
65126
|
#
|
65134
65127
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
|
65135
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/
|
65136
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
|
65128
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
|
65137
65129
|
# @return [Array<Types::TagSpecification>]
|
65138
65130
|
#
|
65139
65131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
|
@@ -65187,12 +65179,8 @@ module Aws::EC2
|
|
65187
65179
|
# @!attribute [rw] resource_type
|
65188
65180
|
# The type of resource. Currently, the only resource type that is
|
65189
65181
|
# supported is `instance`. To tag the Spot Fleet request on creation,
|
65190
|
-
# use the `TagSpecifications` parameter in
|
65191
|
-
#
|
65192
|
-
#
|
65193
|
-
#
|
65194
|
-
#
|
65195
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html
|
65182
|
+
# use the `TagSpecifications` parameter in `
|
65183
|
+
# SpotFleetRequestConfigData `.
|
65196
65184
|
# @return [String]
|
65197
65185
|
#
|
65198
65186
|
# @!attribute [rw] tags
|
@@ -65498,10 +65486,18 @@ module Aws::EC2
|
|
65498
65486
|
# @!attribute [rw] allocation_strategy
|
65499
65487
|
# The strategy that determines how to allocate the target Spot
|
65500
65488
|
# Instance capacity across the Spot Instance pools specified by the
|
65501
|
-
# EC2 Fleet.
|
65489
|
+
# EC2 Fleet launch configuration. For more information, see
|
65490
|
+
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
65491
|
+
# User Guide*.
|
65502
65492
|
#
|
65503
|
-
# `lowest-price` - EC2 Fleet launches instances from the
|
65504
|
-
#
|
65493
|
+
# `lowest-price` - EC2 Fleet launches instances from the lowest-price
|
65494
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
65495
|
+
# doesn't have available capacity, the Spot Instances come from the
|
65496
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
65497
|
+
# of capacity before fulfilling your desired capacity, EC2 Fleet will
|
65498
|
+
# continue to fulfill your request by drawing from the next cheapest
|
65499
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
65500
|
+
# Spot Instances from several pools.
|
65505
65501
|
#
|
65506
65502
|
# `diversified` - EC2 Fleet launches instances from all of the Spot
|
65507
65503
|
# Instance pools that you specify.
|
@@ -65521,6 +65517,10 @@ module Aws::EC2
|
|
65521
65517
|
# applied when fulfilling On-Demand capacity.
|
65522
65518
|
#
|
65523
65519
|
# Default: `lowest-price`
|
65520
|
+
#
|
65521
|
+
#
|
65522
|
+
#
|
65523
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html
|
65524
65524
|
# @return [String]
|
65525
65525
|
#
|
65526
65526
|
# @!attribute [rw] maintenance_strategies
|
@@ -65628,10 +65628,18 @@ module Aws::EC2
|
|
65628
65628
|
# @!attribute [rw] allocation_strategy
|
65629
65629
|
# The strategy that determines how to allocate the target Spot
|
65630
65630
|
# Instance capacity across the Spot Instance pools specified by the
|
65631
|
-
# EC2 Fleet.
|
65631
|
+
# EC2 Fleet launch configuration. For more information, see
|
65632
|
+
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
65633
|
+
# User Guide*.
|
65632
65634
|
#
|
65633
|
-
# `lowest-price` - EC2 Fleet launches instances from the
|
65634
|
-
#
|
65635
|
+
# `lowest-price` - EC2 Fleet launches instances from the lowest-price
|
65636
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
65637
|
+
# doesn't have available capacity, the Spot Instances come from the
|
65638
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
65639
|
+
# of capacity before fulfilling your desired capacity, EC2 Fleet will
|
65640
|
+
# continue to fulfill your request by drawing from the next cheapest
|
65641
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
65642
|
+
# Spot Instances from several pools.
|
65635
65643
|
#
|
65636
65644
|
# `diversified` - EC2 Fleet launches instances from all of the Spot
|
65637
65645
|
# Instance pools that you specify.
|
@@ -65651,6 +65659,10 @@ module Aws::EC2
|
|
65651
65659
|
# applied when fulfilling On-Demand capacity.
|
65652
65660
|
#
|
65653
65661
|
# Default: `lowest-price`
|
65662
|
+
#
|
65663
|
+
#
|
65664
|
+
#
|
65665
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html
|
65654
65666
|
# @return [String]
|
65655
65667
|
#
|
65656
65668
|
# @!attribute [rw] maintenance_strategies
|
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.335.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-09-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|