aws-sdk-ec2 1.265.0 → 1.266.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 +412 -6
- data/lib/aws-sdk-ec2/client_api.rb +184 -2
- data/lib/aws-sdk-ec2/resource.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +830 -13
- data/lib/aws-sdk-ec2/waiters.rb +14 -6
- 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: d786dee9ab062cd3bc3f065416456f594e423bb5d402bce9b61913900e914f37
|
4
|
+
data.tar.gz: b9da9286e50163ceac97b1b808c0471fb45647ed7da93035c21bf643eb28ff90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e2ed87d0c6e615ee3b57d12ff9d9dcb720a9374fbb42e619312f6269d2df6f8f2f0cb87b8f04e5f5cbc33b5e79417b24caf4570eed2ddc06a9c39e16d3917da
|
7
|
+
data.tar.gz: 1bb41d88035757c6950151f5dd1213625eb35833c82fdd1029e70d1bf9e104179dca9a84a767f827f3e877e36410959313a234b3717c11c0a94f8bfa4d988b50
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.266.0 (2021-10-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Released Capacity Reservation Fleet, a feature of Amazon EC2 Capacity Reservations, which provides a way to manage reserved capacity across instance types. For more information: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-fleets.html
|
8
|
+
|
4
9
|
1.265.0 (2021-09-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.266.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3175,6 +3175,58 @@ module Aws::EC2
|
|
3175
3175
|
req.send_request(options)
|
3176
3176
|
end
|
3177
3177
|
|
3178
|
+
# Cancels one or more Capacity Reservation Fleets. When you cancel a
|
3179
|
+
# Capacity Reservation Fleet, the following happens:
|
3180
|
+
#
|
3181
|
+
# * The Capacity Reservation Fleet's status changes to `cancelled`.
|
3182
|
+
#
|
3183
|
+
# * The individual Capacity Reservations in the Fleet are cancelled.
|
3184
|
+
# Instances running in the Capacity Reservations at the time of
|
3185
|
+
# cancelling the Fleet continue to run in shared capacity.
|
3186
|
+
#
|
3187
|
+
# * The Fleet stops creating new Capacity Reservations.
|
3188
|
+
#
|
3189
|
+
# @option params [Boolean] :dry_run
|
3190
|
+
# Checks whether you have the required permissions for the action,
|
3191
|
+
# without actually making the request, and provides an error response.
|
3192
|
+
# If you have the required permissions, the error response is
|
3193
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3194
|
+
#
|
3195
|
+
# @option params [required, Array<String>] :capacity_reservation_fleet_ids
|
3196
|
+
# The IDs of the Capacity Reservation Fleets to cancel.
|
3197
|
+
#
|
3198
|
+
# @return [Types::CancelCapacityReservationFleetsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3199
|
+
#
|
3200
|
+
# * {Types::CancelCapacityReservationFleetsResult#successful_fleet_cancellations #successful_fleet_cancellations} => Array<Types::CapacityReservationFleetCancellationState>
|
3201
|
+
# * {Types::CancelCapacityReservationFleetsResult#failed_fleet_cancellations #failed_fleet_cancellations} => Array<Types::FailedCapacityReservationFleetCancellationResult>
|
3202
|
+
#
|
3203
|
+
# @example Request syntax with placeholder values
|
3204
|
+
#
|
3205
|
+
# resp = client.cancel_capacity_reservation_fleets({
|
3206
|
+
# dry_run: false,
|
3207
|
+
# capacity_reservation_fleet_ids: ["CapacityReservationFleetId"], # required
|
3208
|
+
# })
|
3209
|
+
#
|
3210
|
+
# @example Response structure
|
3211
|
+
#
|
3212
|
+
# resp.successful_fleet_cancellations #=> Array
|
3213
|
+
# resp.successful_fleet_cancellations[0].current_fleet_state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
3214
|
+
# resp.successful_fleet_cancellations[0].previous_fleet_state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
3215
|
+
# resp.successful_fleet_cancellations[0].capacity_reservation_fleet_id #=> String
|
3216
|
+
# resp.failed_fleet_cancellations #=> Array
|
3217
|
+
# resp.failed_fleet_cancellations[0].capacity_reservation_fleet_id #=> String
|
3218
|
+
# resp.failed_fleet_cancellations[0].cancel_capacity_reservation_fleet_error.code #=> String
|
3219
|
+
# resp.failed_fleet_cancellations[0].cancel_capacity_reservation_fleet_error.message #=> String
|
3220
|
+
#
|
3221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservationFleets AWS API Documentation
|
3222
|
+
#
|
3223
|
+
# @overload cancel_capacity_reservation_fleets(params = {})
|
3224
|
+
# @param [Hash] params ({})
|
3225
|
+
def cancel_capacity_reservation_fleets(params = {}, options = {})
|
3226
|
+
req = build_request(:cancel_capacity_reservation_fleets, params)
|
3227
|
+
req.send_request(options)
|
3228
|
+
end
|
3229
|
+
|
3178
3230
|
# Cancels an active conversion task. The task can be the import of an
|
3179
3231
|
# instance or volume. The action removes all artifacts of the
|
3180
3232
|
# conversion, including a partially uploaded volume or instance. If the
|
@@ -4208,6 +4260,7 @@ module Aws::EC2
|
|
4208
4260
|
# resp.capacity_reservation.tags[0].key #=> String
|
4209
4261
|
# resp.capacity_reservation.tags[0].value #=> String
|
4210
4262
|
# resp.capacity_reservation.outpost_arn #=> String
|
4263
|
+
# resp.capacity_reservation.capacity_reservation_fleet_id #=> String
|
4211
4264
|
#
|
4212
4265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
|
4213
4266
|
#
|
@@ -4218,6 +4271,181 @@ module Aws::EC2
|
|
4218
4271
|
req.send_request(options)
|
4219
4272
|
end
|
4220
4273
|
|
4274
|
+
# Creates a Capacity Reservation Fleet. For more information, see
|
4275
|
+
# [Create a Capacity Reservation Fleet][1] in the Amazon EC2 User Guide.
|
4276
|
+
#
|
4277
|
+
#
|
4278
|
+
#
|
4279
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-cr-fleets.html#create-crfleet
|
4280
|
+
#
|
4281
|
+
# @option params [String] :allocation_strategy
|
4282
|
+
# The strategy used by the Capacity Reservation Fleet to determine which
|
4283
|
+
# of the specified instance types to use. Currently, only the
|
4284
|
+
# `prioritized` allocation strategy is supported. For more information,
|
4285
|
+
# see [ Allocation strategy][1] in the Amazon EC2 User Guide.
|
4286
|
+
#
|
4287
|
+
# Valid values: `prioritized`
|
4288
|
+
#
|
4289
|
+
#
|
4290
|
+
#
|
4291
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy
|
4292
|
+
#
|
4293
|
+
# @option params [String] :client_token
|
4294
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
4295
|
+
# idempotency of the request. For more information, see [Ensure
|
4296
|
+
# Idempotency][1].
|
4297
|
+
#
|
4298
|
+
# **A suitable default value is auto-generated.** You should normally
|
4299
|
+
# not need to pass this option.**
|
4300
|
+
#
|
4301
|
+
#
|
4302
|
+
#
|
4303
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4304
|
+
#
|
4305
|
+
# @option params [required, Array<Types::ReservationFleetInstanceSpecification>] :instance_type_specifications
|
4306
|
+
# Information about the instance types for which to reserve the
|
4307
|
+
# capacity.
|
4308
|
+
#
|
4309
|
+
# @option params [String] :tenancy
|
4310
|
+
# Indicates the tenancy of the Capacity Reservation Fleet. All Capacity
|
4311
|
+
# Reservations in the Fleet inherit this tenancy. The Capacity
|
4312
|
+
# Reservation Fleet can have one of the following tenancy settings:
|
4313
|
+
#
|
4314
|
+
# * `default` - The Capacity Reservation Fleet is created on hardware
|
4315
|
+
# that is shared with other Amazon Web Services accounts.
|
4316
|
+
#
|
4317
|
+
# * `dedicated` - The Capacity Reservations are created on single-tenant
|
4318
|
+
# hardware that is dedicated to a single Amazon Web Services account.
|
4319
|
+
#
|
4320
|
+
# @option params [required, Integer] :total_target_capacity
|
4321
|
+
# The total number of capacity units to be reserved by the Capacity
|
4322
|
+
# Reservation Fleet. This value, together with the instance type weights
|
4323
|
+
# that you assign to each instance type used by the Fleet determine the
|
4324
|
+
# number of instances for which the Fleet reserves capacity. Both values
|
4325
|
+
# are based on units that make sense for your workload. For more
|
4326
|
+
# information, see [ Total target capacity][1] in the Amazon EC2 User
|
4327
|
+
# Guide.
|
4328
|
+
#
|
4329
|
+
#
|
4330
|
+
#
|
4331
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
|
4332
|
+
#
|
4333
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
4334
|
+
# The date and time at which the Capacity Reservation Fleet expires.
|
4335
|
+
# When the Capacity Reservation Fleet expires, its state changes to
|
4336
|
+
# `expired` and all of the Capacity Reservations in the Fleet expire.
|
4337
|
+
#
|
4338
|
+
# The Capacity Reservation Fleet expires within an hour after the
|
4339
|
+
# specified time. For example, if you specify `5/31/2019`, `13:30:55`,
|
4340
|
+
# the Capacity Reservation Fleet is guaranteed to expire between
|
4341
|
+
# `13:30:55` and `14:30:55` on `5/31/2019`.
|
4342
|
+
#
|
4343
|
+
# @option params [String] :instance_match_criteria
|
4344
|
+
# Indicates the type of instance launches that the Capacity Reservation
|
4345
|
+
# Fleet accepts. All Capacity Reservations in the Fleet inherit this
|
4346
|
+
# instance matching criteria.
|
4347
|
+
#
|
4348
|
+
# Currently, Capacity Reservation Fleets support `open` instance
|
4349
|
+
# matching criteria only. This means that instances that have matching
|
4350
|
+
# attributes (instance type, platform, and Availability Zone) run in the
|
4351
|
+
# Capacity Reservations automatically. Instances do not need to
|
4352
|
+
# explicitly target a Capacity Reservation Fleet to use its reserved
|
4353
|
+
# capacity.
|
4354
|
+
#
|
4355
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4356
|
+
# The tags to assign to the Capacity Reservation Fleet. The tags are
|
4357
|
+
# automatically assigned to the Capacity Reservations in the Fleet.
|
4358
|
+
#
|
4359
|
+
# @option params [Boolean] :dry_run
|
4360
|
+
# Checks whether you have the required permissions for the action,
|
4361
|
+
# without actually making the request, and provides an error response.
|
4362
|
+
# If you have the required permissions, the error response is
|
4363
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4364
|
+
#
|
4365
|
+
# @return [Types::CreateCapacityReservationFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4366
|
+
#
|
4367
|
+
# * {Types::CreateCapacityReservationFleetResult#capacity_reservation_fleet_id #capacity_reservation_fleet_id} => String
|
4368
|
+
# * {Types::CreateCapacityReservationFleetResult#state #state} => String
|
4369
|
+
# * {Types::CreateCapacityReservationFleetResult#total_target_capacity #total_target_capacity} => Integer
|
4370
|
+
# * {Types::CreateCapacityReservationFleetResult#total_fulfilled_capacity #total_fulfilled_capacity} => Float
|
4371
|
+
# * {Types::CreateCapacityReservationFleetResult#instance_match_criteria #instance_match_criteria} => String
|
4372
|
+
# * {Types::CreateCapacityReservationFleetResult#allocation_strategy #allocation_strategy} => String
|
4373
|
+
# * {Types::CreateCapacityReservationFleetResult#create_time #create_time} => Time
|
4374
|
+
# * {Types::CreateCapacityReservationFleetResult#end_date #end_date} => Time
|
4375
|
+
# * {Types::CreateCapacityReservationFleetResult#tenancy #tenancy} => String
|
4376
|
+
# * {Types::CreateCapacityReservationFleetResult#fleet_capacity_reservations #fleet_capacity_reservations} => Array<Types::FleetCapacityReservation>
|
4377
|
+
# * {Types::CreateCapacityReservationFleetResult#tags #tags} => Array<Types::Tag>
|
4378
|
+
#
|
4379
|
+
# @example Request syntax with placeholder values
|
4380
|
+
#
|
4381
|
+
# resp = client.create_capacity_reservation_fleet({
|
4382
|
+
# allocation_strategy: "String",
|
4383
|
+
# client_token: "String",
|
4384
|
+
# instance_type_specifications: [ # required
|
4385
|
+
# {
|
4386
|
+
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge
|
4387
|
+
# instance_platform: "Linux/UNIX", # accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise
|
4388
|
+
# weight: 1.0,
|
4389
|
+
# availability_zone: "String",
|
4390
|
+
# availability_zone_id: "String",
|
4391
|
+
# ebs_optimized: false,
|
4392
|
+
# priority: 1,
|
4393
|
+
# },
|
4394
|
+
# ],
|
4395
|
+
# tenancy: "default", # accepts default
|
4396
|
+
# total_target_capacity: 1, # required
|
4397
|
+
# end_date: Time.now,
|
4398
|
+
# instance_match_criteria: "open", # accepts open
|
4399
|
+
# tag_specifications: [
|
4400
|
+
# {
|
4401
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
4402
|
+
# tags: [
|
4403
|
+
# {
|
4404
|
+
# key: "String",
|
4405
|
+
# value: "String",
|
4406
|
+
# },
|
4407
|
+
# ],
|
4408
|
+
# },
|
4409
|
+
# ],
|
4410
|
+
# dry_run: false,
|
4411
|
+
# })
|
4412
|
+
#
|
4413
|
+
# @example Response structure
|
4414
|
+
#
|
4415
|
+
# resp.capacity_reservation_fleet_id #=> String
|
4416
|
+
# resp.state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
4417
|
+
# resp.total_target_capacity #=> Integer
|
4418
|
+
# resp.total_fulfilled_capacity #=> Float
|
4419
|
+
# resp.instance_match_criteria #=> String, one of "open"
|
4420
|
+
# resp.allocation_strategy #=> String
|
4421
|
+
# resp.create_time #=> Time
|
4422
|
+
# resp.end_date #=> Time
|
4423
|
+
# resp.tenancy #=> String, one of "default"
|
4424
|
+
# resp.fleet_capacity_reservations #=> Array
|
4425
|
+
# resp.fleet_capacity_reservations[0].capacity_reservation_id #=> String
|
4426
|
+
# resp.fleet_capacity_reservations[0].availability_zone_id #=> String
|
4427
|
+
# resp.fleet_capacity_reservations[0].instance_type #=> String, one of "t1.micro", "t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "t3.nano", "t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge", "t3a.nano", "t3a.micro", "t3a.small", "t3a.medium", "t3a.large", "t3a.xlarge", "t3a.2xlarge", "t4g.nano", "t4g.micro", "t4g.small", "t4g.medium", "t4g.large", "t4g.xlarge", "t4g.2xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.16xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "cr1.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r6g.metal", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6gd.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "i2.xlarge", "i2.2xlarge", "i2.4xlarge", "i2.8xlarge", "i3.large", "i3.xlarge", "i3.2xlarge", "i3.4xlarge", "i3.8xlarge", "i3.16xlarge", "i3.metal", "i3en.large", "i3en.xlarge", "i3en.2xlarge", "i3en.3xlarge", "i3en.6xlarge", "i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "hi1.4xlarge", "hs1.8xlarge", "c1.medium", "c1.xlarge", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge", "c5.12xlarge", "c5.18xlarge", "c5.24xlarge", "c5.metal", "c5a.large", "c5a.xlarge", "c5a.2xlarge", "c5a.4xlarge", "c5a.8xlarge", "c5a.12xlarge", "c5a.16xlarge", "c5a.24xlarge", "c5ad.large", "c5ad.xlarge", "c5ad.2xlarge", "c5ad.4xlarge", "c5ad.8xlarge", "c5ad.12xlarge", "c5ad.16xlarge", "c5ad.24xlarge", "c5d.large", "c5d.xlarge", "c5d.2xlarge", "c5d.4xlarge", "c5d.9xlarge", "c5d.12xlarge", "c5d.18xlarge", "c5d.24xlarge", "c5d.metal", "c5n.large", "c5n.xlarge", "c5n.2xlarge", "c5n.4xlarge", "c5n.9xlarge", "c5n.18xlarge", "c5n.metal", "c6g.metal", "c6g.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6gd.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.xlarge", "g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "d2.xlarge", "d2.2xlarge", "d2.4xlarge", "d2.8xlarge", "d3.xlarge", "d3.2xlarge", "d3.4xlarge", "d3.8xlarge", "d3en.xlarge", "d3en.2xlarge", "d3en.4xlarge", "d3en.6xlarge", "d3en.8xlarge", "d3en.12xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "m5.large", "m5.xlarge", "m5.2xlarge", "m5.4xlarge", "m5.8xlarge", "m5.12xlarge", "m5.16xlarge", "m5.24xlarge", "m5.metal", "m5a.large", "m5a.xlarge", "m5a.2xlarge", "m5a.4xlarge", "m5a.8xlarge", "m5a.12xlarge", "m5a.16xlarge", "m5a.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.metal", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "u-6tb1.56xlarge", "u-6tb1.112xlarge", "u-9tb1.112xlarge", "u-12tb1.112xlarge", "u-6tb1.metal", "u-9tb1.metal", "u-12tb1.metal", "u-18tb1.metal", "u-24tb1.metal", "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "m5dn.large", "m5dn.xlarge", "m5dn.2xlarge", "m5dn.4xlarge", "m5dn.8xlarge", "m5dn.12xlarge", "m5dn.16xlarge", "m5dn.24xlarge", "m5dn.metal", "m5n.large", "m5n.xlarge", "m5n.2xlarge", "m5n.4xlarge", "m5n.8xlarge", "m5n.12xlarge", "m5n.16xlarge", "m5n.24xlarge", "m5n.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "m6g.metal", "m6g.medium", "m6g.large", "m6g.xlarge", "m6g.2xlarge", "m6g.4xlarge", "m6g.8xlarge", "m6g.12xlarge", "m6g.16xlarge", "m6gd.metal", "m6gd.medium", "m6gd.large", "m6gd.xlarge", "m6gd.2xlarge", "m6gd.4xlarge", "m6gd.8xlarge", "m6gd.12xlarge", "m6gd.16xlarge", "m6i.large", "m6i.xlarge", "m6i.2xlarge", "m6i.4xlarge", "m6i.8xlarge", "m6i.12xlarge", "m6i.16xlarge", "m6i.24xlarge", "m6i.32xlarge", "mac1.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal", "vt1.3xlarge", "vt1.6xlarge", "vt1.24xlarge"
|
4428
|
+
# resp.fleet_capacity_reservations[0].instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise"
|
4429
|
+
# resp.fleet_capacity_reservations[0].availability_zone #=> String
|
4430
|
+
# resp.fleet_capacity_reservations[0].total_instance_count #=> Integer
|
4431
|
+
# resp.fleet_capacity_reservations[0].fulfilled_capacity #=> Float
|
4432
|
+
# resp.fleet_capacity_reservations[0].ebs_optimized #=> Boolean
|
4433
|
+
# resp.fleet_capacity_reservations[0].create_date #=> Time
|
4434
|
+
# resp.fleet_capacity_reservations[0].weight #=> Float
|
4435
|
+
# resp.fleet_capacity_reservations[0].priority #=> Integer
|
4436
|
+
# resp.tags #=> Array
|
4437
|
+
# resp.tags[0].key #=> String
|
4438
|
+
# resp.tags[0].value #=> String
|
4439
|
+
#
|
4440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationFleet AWS API Documentation
|
4441
|
+
#
|
4442
|
+
# @overload create_capacity_reservation_fleet(params = {})
|
4443
|
+
# @param [Hash] params ({})
|
4444
|
+
def create_capacity_reservation_fleet(params = {}, options = {})
|
4445
|
+
req = build_request(:create_capacity_reservation_fleet, params)
|
4446
|
+
req.send_request(options)
|
4447
|
+
end
|
4448
|
+
|
4221
4449
|
# Creates a carrier gateway. For more information about carrier
|
4222
4450
|
# gateways, see [Carrier gateways][1] in the *Amazon Web Services
|
4223
4451
|
# Wavelength Developer Guide*.
|
@@ -15319,6 +15547,103 @@ module Aws::EC2
|
|
15319
15547
|
req.send_request(options)
|
15320
15548
|
end
|
15321
15549
|
|
15550
|
+
# Describes one or more Capacity Reservation Fleets.
|
15551
|
+
#
|
15552
|
+
# @option params [Array<String>] :capacity_reservation_fleet_ids
|
15553
|
+
# The IDs of the Capacity Reservation Fleets to describe.
|
15554
|
+
#
|
15555
|
+
# @option params [String] :next_token
|
15556
|
+
# The token to use to retrieve the next page of results.
|
15557
|
+
#
|
15558
|
+
# @option params [Integer] :max_results
|
15559
|
+
# The maximum number of results to return for the request in a single
|
15560
|
+
# page. The remaining results can be seen by sending another request
|
15561
|
+
# with the returned `nextToken` value. This value can be between 5 and
|
15562
|
+
# 500. If `maxResults` is given a larger value than 500, you receive an
|
15563
|
+
# error.
|
15564
|
+
#
|
15565
|
+
# @option params [Array<Types::Filter>] :filters
|
15566
|
+
# One or more filters.
|
15567
|
+
#
|
15568
|
+
# * `state` - The state of the Fleet (`submitted` \| `modifying` \|
|
15569
|
+
# `active` \| `partially_fulfilled` \| `expiring` \| `expired` \|
|
15570
|
+
# `cancelling` \| `cancelled` \| `failed`).
|
15571
|
+
#
|
15572
|
+
# * `instance-match-criteria` - The instance matching criteria for the
|
15573
|
+
# Fleet. Only `open` is supported.
|
15574
|
+
#
|
15575
|
+
# * `tenancy` - The tenancy of the Fleet (`default` \| `dedicated`).
|
15576
|
+
#
|
15577
|
+
# * `allocation-strategy` - The allocation strategy used by the Fleet.
|
15578
|
+
# Only `prioritized` is supported.
|
15579
|
+
#
|
15580
|
+
# @option params [Boolean] :dry_run
|
15581
|
+
# Checks whether you have the required permissions for the action,
|
15582
|
+
# without actually making the request, and provides an error response.
|
15583
|
+
# If you have the required permissions, the error response is
|
15584
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
15585
|
+
#
|
15586
|
+
# @return [Types::DescribeCapacityReservationFleetsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15587
|
+
#
|
15588
|
+
# * {Types::DescribeCapacityReservationFleetsResult#capacity_reservation_fleets #capacity_reservation_fleets} => Array<Types::CapacityReservationFleet>
|
15589
|
+
# * {Types::DescribeCapacityReservationFleetsResult#next_token #next_token} => String
|
15590
|
+
#
|
15591
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
15592
|
+
#
|
15593
|
+
# @example Request syntax with placeholder values
|
15594
|
+
#
|
15595
|
+
# resp = client.describe_capacity_reservation_fleets({
|
15596
|
+
# capacity_reservation_fleet_ids: ["CapacityReservationFleetId"],
|
15597
|
+
# next_token: "String",
|
15598
|
+
# max_results: 1,
|
15599
|
+
# filters: [
|
15600
|
+
# {
|
15601
|
+
# name: "String",
|
15602
|
+
# values: ["String"],
|
15603
|
+
# },
|
15604
|
+
# ],
|
15605
|
+
# dry_run: false,
|
15606
|
+
# })
|
15607
|
+
#
|
15608
|
+
# @example Response structure
|
15609
|
+
#
|
15610
|
+
# resp.capacity_reservation_fleets #=> Array
|
15611
|
+
# resp.capacity_reservation_fleets[0].capacity_reservation_fleet_id #=> String
|
15612
|
+
# resp.capacity_reservation_fleets[0].capacity_reservation_fleet_arn #=> String
|
15613
|
+
# resp.capacity_reservation_fleets[0].state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
15614
|
+
# resp.capacity_reservation_fleets[0].total_target_capacity #=> Integer
|
15615
|
+
# resp.capacity_reservation_fleets[0].total_fulfilled_capacity #=> Float
|
15616
|
+
# resp.capacity_reservation_fleets[0].tenancy #=> String, one of "default"
|
15617
|
+
# resp.capacity_reservation_fleets[0].end_date #=> Time
|
15618
|
+
# resp.capacity_reservation_fleets[0].create_time #=> Time
|
15619
|
+
# resp.capacity_reservation_fleets[0].instance_match_criteria #=> String, one of "open"
|
15620
|
+
# resp.capacity_reservation_fleets[0].allocation_strategy #=> String
|
15621
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications #=> Array
|
15622
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].capacity_reservation_id #=> String
|
15623
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].availability_zone_id #=> String
|
15624
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].instance_type #=> String, one of "t1.micro", "t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "t3.nano", "t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge", "t3a.nano", "t3a.micro", "t3a.small", "t3a.medium", "t3a.large", "t3a.xlarge", "t3a.2xlarge", "t4g.nano", "t4g.micro", "t4g.small", "t4g.medium", "t4g.large", "t4g.xlarge", "t4g.2xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.16xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "cr1.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r6g.metal", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6gd.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "i2.xlarge", "i2.2xlarge", "i2.4xlarge", "i2.8xlarge", "i3.large", "i3.xlarge", "i3.2xlarge", "i3.4xlarge", "i3.8xlarge", "i3.16xlarge", "i3.metal", "i3en.large", "i3en.xlarge", "i3en.2xlarge", "i3en.3xlarge", "i3en.6xlarge", "i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "hi1.4xlarge", "hs1.8xlarge", "c1.medium", "c1.xlarge", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge", "c5.12xlarge", "c5.18xlarge", "c5.24xlarge", "c5.metal", "c5a.large", "c5a.xlarge", "c5a.2xlarge", "c5a.4xlarge", "c5a.8xlarge", "c5a.12xlarge", "c5a.16xlarge", "c5a.24xlarge", "c5ad.large", "c5ad.xlarge", "c5ad.2xlarge", "c5ad.4xlarge", "c5ad.8xlarge", "c5ad.12xlarge", "c5ad.16xlarge", "c5ad.24xlarge", "c5d.large", "c5d.xlarge", "c5d.2xlarge", "c5d.4xlarge", "c5d.9xlarge", "c5d.12xlarge", "c5d.18xlarge", "c5d.24xlarge", "c5d.metal", "c5n.large", "c5n.xlarge", "c5n.2xlarge", "c5n.4xlarge", "c5n.9xlarge", "c5n.18xlarge", "c5n.metal", "c6g.metal", "c6g.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6gd.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.xlarge", "g4ad.2xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "d2.xlarge", "d2.2xlarge", "d2.4xlarge", "d2.8xlarge", "d3.xlarge", "d3.2xlarge", "d3.4xlarge", "d3.8xlarge", "d3en.xlarge", "d3en.2xlarge", "d3en.4xlarge", "d3en.6xlarge", "d3en.8xlarge", "d3en.12xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "m5.large", "m5.xlarge", "m5.2xlarge", "m5.4xlarge", "m5.8xlarge", "m5.12xlarge", "m5.16xlarge", "m5.24xlarge", "m5.metal", "m5a.large", "m5a.xlarge", "m5a.2xlarge", "m5a.4xlarge", "m5a.8xlarge", "m5a.12xlarge", "m5a.16xlarge", "m5a.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.metal", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "u-6tb1.56xlarge", "u-6tb1.112xlarge", "u-9tb1.112xlarge", "u-12tb1.112xlarge", "u-6tb1.metal", "u-9tb1.metal", "u-12tb1.metal", "u-18tb1.metal", "u-24tb1.metal", "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "m5dn.large", "m5dn.xlarge", "m5dn.2xlarge", "m5dn.4xlarge", "m5dn.8xlarge", "m5dn.12xlarge", "m5dn.16xlarge", "m5dn.24xlarge", "m5dn.metal", "m5n.large", "m5n.xlarge", "m5n.2xlarge", "m5n.4xlarge", "m5n.8xlarge", "m5n.12xlarge", "m5n.16xlarge", "m5n.24xlarge", "m5n.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "m6g.metal", "m6g.medium", "m6g.large", "m6g.xlarge", "m6g.2xlarge", "m6g.4xlarge", "m6g.8xlarge", "m6g.12xlarge", "m6g.16xlarge", "m6gd.metal", "m6gd.medium", "m6gd.large", "m6gd.xlarge", "m6gd.2xlarge", "m6gd.4xlarge", "m6gd.8xlarge", "m6gd.12xlarge", "m6gd.16xlarge", "m6i.large", "m6i.xlarge", "m6i.2xlarge", "m6i.4xlarge", "m6i.8xlarge", "m6i.12xlarge", "m6i.16xlarge", "m6i.24xlarge", "m6i.32xlarge", "mac1.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal", "vt1.3xlarge", "vt1.6xlarge", "vt1.24xlarge"
|
15625
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise"
|
15626
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].availability_zone #=> String
|
15627
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].total_instance_count #=> Integer
|
15628
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].fulfilled_capacity #=> Float
|
15629
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
|
15630
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].create_date #=> Time
|
15631
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].weight #=> Float
|
15632
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].priority #=> Integer
|
15633
|
+
# resp.capacity_reservation_fleets[0].tags #=> Array
|
15634
|
+
# resp.capacity_reservation_fleets[0].tags[0].key #=> String
|
15635
|
+
# resp.capacity_reservation_fleets[0].tags[0].value #=> String
|
15636
|
+
# resp.next_token #=> String
|
15637
|
+
#
|
15638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationFleets AWS API Documentation
|
15639
|
+
#
|
15640
|
+
# @overload describe_capacity_reservation_fleets(params = {})
|
15641
|
+
# @param [Hash] params ({})
|
15642
|
+
def describe_capacity_reservation_fleets(params = {}, options = {})
|
15643
|
+
req = build_request(:describe_capacity_reservation_fleets, params)
|
15644
|
+
req.send_request(options)
|
15645
|
+
end
|
15646
|
+
|
15322
15647
|
# Describes one or more of your Capacity Reservations. The results
|
15323
15648
|
# describe only the Capacity Reservations in the Amazon Web Services
|
15324
15649
|
# Region that you're currently using.
|
@@ -15476,6 +15801,7 @@ module Aws::EC2
|
|
15476
15801
|
# resp.capacity_reservations[0].tags[0].key #=> String
|
15477
15802
|
# resp.capacity_reservations[0].tags[0].value #=> String
|
15478
15803
|
# resp.capacity_reservations[0].outpost_arn #=> String
|
15804
|
+
# resp.capacity_reservations[0].capacity_reservation_fleet_id #=> String
|
15479
15805
|
#
|
15480
15806
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
|
15481
15807
|
#
|
@@ -33936,6 +34262,86 @@ module Aws::EC2
|
|
33936
34262
|
req.send_request(options)
|
33937
34263
|
end
|
33938
34264
|
|
34265
|
+
# Modifies a Capacity Reservation Fleet.
|
34266
|
+
#
|
34267
|
+
# When you modify the total target capacity of a Capacity Reservation
|
34268
|
+
# Fleet, the Fleet automatically creates new Capacity Reservations, or
|
34269
|
+
# modifies or cancels existing Capacity Reservations in the Fleet to
|
34270
|
+
# meet the new total target capacity. When you modify the end date for
|
34271
|
+
# the Fleet, the end dates for all of the individual Capacity
|
34272
|
+
# Reservations in the Fleet are updated accordingly.
|
34273
|
+
#
|
34274
|
+
# @option params [required, String] :capacity_reservation_fleet_id
|
34275
|
+
# The ID of the Capacity Reservation Fleet to modify.
|
34276
|
+
#
|
34277
|
+
# @option params [Integer] :total_target_capacity
|
34278
|
+
# The total number of capacity units to be reserved by the Capacity
|
34279
|
+
# Reservation Fleet. This value, together with the instance type weights
|
34280
|
+
# that you assign to each instance type used by the Fleet determine the
|
34281
|
+
# number of instances for which the Fleet reserves capacity. Both values
|
34282
|
+
# are based on units that make sense for your workload. For more
|
34283
|
+
# information, see [Total target capacity][1] in the Amazon EC2 User
|
34284
|
+
# Guide.
|
34285
|
+
#
|
34286
|
+
#
|
34287
|
+
#
|
34288
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
|
34289
|
+
#
|
34290
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
34291
|
+
# The date and time at which the Capacity Reservation Fleet expires.
|
34292
|
+
# When the Capacity Reservation Fleet expires, its state changes to
|
34293
|
+
# `expired` and all of the Capacity Reservations in the Fleet expire.
|
34294
|
+
#
|
34295
|
+
# The Capacity Reservation Fleet expires within an hour after the
|
34296
|
+
# specified time. For example, if you specify `5/31/2019`, `13:30:55`,
|
34297
|
+
# the Capacity Reservation Fleet is guaranteed to expire between
|
34298
|
+
# `13:30:55` and `14:30:55` on `5/31/2019`.
|
34299
|
+
#
|
34300
|
+
# You can't specify **EndDate** and <b> RemoveEndDate</b> in the same
|
34301
|
+
# request.
|
34302
|
+
#
|
34303
|
+
# @option params [Boolean] :dry_run
|
34304
|
+
# Checks whether you have the required permissions for the action,
|
34305
|
+
# without actually making the request, and provides an error response.
|
34306
|
+
# If you have the required permissions, the error response is
|
34307
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34308
|
+
#
|
34309
|
+
# @option params [Boolean] :remove_end_date
|
34310
|
+
# Indicates whether to remove the end date from the Capacity Reservation
|
34311
|
+
# Fleet. If you remove the end date, the Capacity Reservation Fleet does
|
34312
|
+
# not expire and it remains active until you explicitly cancel it using
|
34313
|
+
# the **CancelCapacityReservationFleet** action.
|
34314
|
+
#
|
34315
|
+
# You can't specify **RemoveEndDate** and <b> EndDate</b> in the same
|
34316
|
+
# request.
|
34317
|
+
#
|
34318
|
+
# @return [Types::ModifyCapacityReservationFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34319
|
+
#
|
34320
|
+
# * {Types::ModifyCapacityReservationFleetResult#return #return} => Boolean
|
34321
|
+
#
|
34322
|
+
# @example Request syntax with placeholder values
|
34323
|
+
#
|
34324
|
+
# resp = client.modify_capacity_reservation_fleet({
|
34325
|
+
# capacity_reservation_fleet_id: "CapacityReservationFleetId", # required
|
34326
|
+
# total_target_capacity: 1,
|
34327
|
+
# end_date: Time.now,
|
34328
|
+
# dry_run: false,
|
34329
|
+
# remove_end_date: false,
|
34330
|
+
# })
|
34331
|
+
#
|
34332
|
+
# @example Response structure
|
34333
|
+
#
|
34334
|
+
# resp.return #=> Boolean
|
34335
|
+
#
|
34336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationFleet AWS API Documentation
|
34337
|
+
#
|
34338
|
+
# @overload modify_capacity_reservation_fleet(params = {})
|
34339
|
+
# @param [Hash] params ({})
|
34340
|
+
def modify_capacity_reservation_fleet(params = {}, options = {})
|
34341
|
+
req = build_request(:modify_capacity_reservation_fleet, params)
|
34342
|
+
req.send_request(options)
|
34343
|
+
end
|
34344
|
+
|
33939
34345
|
# Modifies the specified Client VPN endpoint. Modifying the DNS server
|
33940
34346
|
# resets existing client connections.
|
33941
34347
|
#
|
@@ -36056,7 +36462,7 @@ module Aws::EC2
|
|
36056
36462
|
# {
|
36057
36463
|
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge
|
36058
36464
|
# spot_price: "String",
|
36059
|
-
# subnet_id: "
|
36465
|
+
# subnet_id: "SubnetId",
|
36060
36466
|
# availability_zone: "String",
|
36061
36467
|
# weighted_capacity: 1.0,
|
36062
36468
|
# priority: 1.0,
|
@@ -39959,7 +40365,7 @@ module Aws::EC2
|
|
39959
40365
|
# ipv_6_address: "String",
|
39960
40366
|
# },
|
39961
40367
|
# ],
|
39962
|
-
# network_interface_id: "
|
40368
|
+
# network_interface_id: "NetworkInterfaceId",
|
39963
40369
|
# private_ip_address: "String",
|
39964
40370
|
# private_ip_addresses: [
|
39965
40371
|
# {
|
@@ -40020,7 +40426,7 @@ module Aws::EC2
|
|
40020
40426
|
# {
|
40021
40427
|
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge
|
40022
40428
|
# spot_price: "String",
|
40023
|
-
# subnet_id: "
|
40429
|
+
# subnet_id: "SubnetId",
|
40024
40430
|
# availability_zone: "String",
|
40025
40431
|
# weighted_capacity: 1.0,
|
40026
40432
|
# priority: 1.0,
|
@@ -40306,7 +40712,7 @@ module Aws::EC2
|
|
40306
40712
|
# ipv_6_address: "String",
|
40307
40713
|
# },
|
40308
40714
|
# ],
|
40309
|
-
# network_interface_id: "
|
40715
|
+
# network_interface_id: "NetworkInterfaceId",
|
40310
40716
|
# private_ip_address: "String",
|
40311
40717
|
# private_ip_addresses: [
|
40312
40718
|
# {
|
@@ -41803,7 +42209,7 @@ module Aws::EC2
|
|
41803
42209
|
# ipv_6_address: "String",
|
41804
42210
|
# },
|
41805
42211
|
# ],
|
41806
|
-
# network_interface_id: "
|
42212
|
+
# network_interface_id: "NetworkInterfaceId",
|
41807
42213
|
# private_ip_address: "String",
|
41808
42214
|
# private_ip_addresses: [
|
41809
42215
|
# {
|
@@ -43763,7 +44169,7 @@ module Aws::EC2
|
|
43763
44169
|
params: params,
|
43764
44170
|
config: config)
|
43765
44171
|
context[:gem_name] = 'aws-sdk-ec2'
|
43766
|
-
context[:gem_version] = '1.
|
44172
|
+
context[:gem_version] = '1.266.0'
|
43767
44173
|
Seahorse::Client::Request.new(handlers, context)
|
43768
44174
|
end
|
43769
44175
|
|