aws-sdk-ec2 1.264.0 → 1.268.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +8 -15
- data/lib/aws-sdk-ec2/client.rb +539 -134
- data/lib/aws-sdk-ec2/client_api.rb +191 -6
- data/lib/aws-sdk-ec2/instance.rb +29 -1
- data/lib/aws-sdk-ec2/resource.rb +8 -8
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1041 -214
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2/vpc_address.rb +8 -15
- data/lib/aws-sdk-ec2/waiters.rb +14 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -760,23 +760,19 @@ module Aws::EC2
|
|
760
760
|
#
|
761
761
|
# @option params [String] :network_border_group
|
762
762
|
# A unique set of Availability Zones, Local Zones, or Wavelength Zones
|
763
|
-
# from which
|
764
|
-
# the IP address to this location. IP addresses
|
765
|
-
# network border groups.
|
763
|
+
# from which Amazon Web Services advertises IP addresses. Use this
|
764
|
+
# parameter to limit the IP address to this location. IP addresses
|
765
|
+
# cannot move between network border groups.
|
766
766
|
#
|
767
767
|
# Use [DescribeAvailabilityZones][1] to view the network border groups.
|
768
768
|
#
|
769
|
-
#
|
770
|
-
# this operation on EC2
|
771
|
-
# `InvalidParameterCombination` error.
|
772
|
-
# Codes][2].
|
773
|
-
#
|
774
|
-
# </note>
|
769
|
+
# You cannot use a network border group with EC2 Classic. If you attempt
|
770
|
+
# this operation on EC2 Classic, you receive an
|
771
|
+
# `InvalidParameterCombination` error.
|
775
772
|
#
|
776
773
|
#
|
777
774
|
#
|
778
775
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
|
779
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
780
776
|
#
|
781
777
|
# @option params [String] :customer_owned_ipv_4_pool
|
782
778
|
# The ID of a customer-owned address pool. Use this parameter to let
|
@@ -3175,6 +3171,58 @@ module Aws::EC2
|
|
3175
3171
|
req.send_request(options)
|
3176
3172
|
end
|
3177
3173
|
|
3174
|
+
# Cancels one or more Capacity Reservation Fleets. When you cancel a
|
3175
|
+
# Capacity Reservation Fleet, the following happens:
|
3176
|
+
#
|
3177
|
+
# * The Capacity Reservation Fleet's status changes to `cancelled`.
|
3178
|
+
#
|
3179
|
+
# * The individual Capacity Reservations in the Fleet are cancelled.
|
3180
|
+
# Instances running in the Capacity Reservations at the time of
|
3181
|
+
# cancelling the Fleet continue to run in shared capacity.
|
3182
|
+
#
|
3183
|
+
# * The Fleet stops creating new Capacity Reservations.
|
3184
|
+
#
|
3185
|
+
# @option params [Boolean] :dry_run
|
3186
|
+
# Checks whether you have the required permissions for the action,
|
3187
|
+
# without actually making the request, and provides an error response.
|
3188
|
+
# If you have the required permissions, the error response is
|
3189
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3190
|
+
#
|
3191
|
+
# @option params [required, Array<String>] :capacity_reservation_fleet_ids
|
3192
|
+
# The IDs of the Capacity Reservation Fleets to cancel.
|
3193
|
+
#
|
3194
|
+
# @return [Types::CancelCapacityReservationFleetsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3195
|
+
#
|
3196
|
+
# * {Types::CancelCapacityReservationFleetsResult#successful_fleet_cancellations #successful_fleet_cancellations} => Array<Types::CapacityReservationFleetCancellationState>
|
3197
|
+
# * {Types::CancelCapacityReservationFleetsResult#failed_fleet_cancellations #failed_fleet_cancellations} => Array<Types::FailedCapacityReservationFleetCancellationResult>
|
3198
|
+
#
|
3199
|
+
# @example Request syntax with placeholder values
|
3200
|
+
#
|
3201
|
+
# resp = client.cancel_capacity_reservation_fleets({
|
3202
|
+
# dry_run: false,
|
3203
|
+
# capacity_reservation_fleet_ids: ["CapacityReservationFleetId"], # required
|
3204
|
+
# })
|
3205
|
+
#
|
3206
|
+
# @example Response structure
|
3207
|
+
#
|
3208
|
+
# resp.successful_fleet_cancellations #=> Array
|
3209
|
+
# resp.successful_fleet_cancellations[0].current_fleet_state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
3210
|
+
# resp.successful_fleet_cancellations[0].previous_fleet_state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
3211
|
+
# resp.successful_fleet_cancellations[0].capacity_reservation_fleet_id #=> String
|
3212
|
+
# resp.failed_fleet_cancellations #=> Array
|
3213
|
+
# resp.failed_fleet_cancellations[0].capacity_reservation_fleet_id #=> String
|
3214
|
+
# resp.failed_fleet_cancellations[0].cancel_capacity_reservation_fleet_error.code #=> String
|
3215
|
+
# resp.failed_fleet_cancellations[0].cancel_capacity_reservation_fleet_error.message #=> String
|
3216
|
+
#
|
3217
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservationFleets AWS API Documentation
|
3218
|
+
#
|
3219
|
+
# @overload cancel_capacity_reservation_fleets(params = {})
|
3220
|
+
# @param [Hash] params ({})
|
3221
|
+
def cancel_capacity_reservation_fleets(params = {}, options = {})
|
3222
|
+
req = build_request(:cancel_capacity_reservation_fleets, params)
|
3223
|
+
req.send_request(options)
|
3224
|
+
end
|
3225
|
+
|
3178
3226
|
# Cancels an active conversion task. The task can be the import of an
|
3179
3227
|
# instance or volume. The action removes all artifacts of the
|
3180
3228
|
# conversion, including a partially uploaded volume or instance. If the
|
@@ -3586,7 +3634,7 @@ module Aws::EC2
|
|
3586
3634
|
# @option params [String] :client_token
|
3587
3635
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3588
3636
|
# idempotency of the request. For more information, see [Ensuring
|
3589
|
-
#
|
3637
|
+
# idempotency][1].
|
3590
3638
|
#
|
3591
3639
|
#
|
3592
3640
|
#
|
@@ -4208,6 +4256,7 @@ module Aws::EC2
|
|
4208
4256
|
# resp.capacity_reservation.tags[0].key #=> String
|
4209
4257
|
# resp.capacity_reservation.tags[0].value #=> String
|
4210
4258
|
# resp.capacity_reservation.outpost_arn #=> String
|
4259
|
+
# resp.capacity_reservation.capacity_reservation_fleet_id #=> String
|
4211
4260
|
#
|
4212
4261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
|
4213
4262
|
#
|
@@ -4218,6 +4267,181 @@ module Aws::EC2
|
|
4218
4267
|
req.send_request(options)
|
4219
4268
|
end
|
4220
4269
|
|
4270
|
+
# Creates a Capacity Reservation Fleet. For more information, see
|
4271
|
+
# [Create a Capacity Reservation Fleet][1] in the Amazon EC2 User Guide.
|
4272
|
+
#
|
4273
|
+
#
|
4274
|
+
#
|
4275
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-cr-fleets.html#create-crfleet
|
4276
|
+
#
|
4277
|
+
# @option params [String] :allocation_strategy
|
4278
|
+
# The strategy used by the Capacity Reservation Fleet to determine which
|
4279
|
+
# of the specified instance types to use. Currently, only the
|
4280
|
+
# `prioritized` allocation strategy is supported. For more information,
|
4281
|
+
# see [ Allocation strategy][1] in the Amazon EC2 User Guide.
|
4282
|
+
#
|
4283
|
+
# Valid values: `prioritized`
|
4284
|
+
#
|
4285
|
+
#
|
4286
|
+
#
|
4287
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy
|
4288
|
+
#
|
4289
|
+
# @option params [String] :client_token
|
4290
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
4291
|
+
# idempotency of the request. For more information, see [Ensure
|
4292
|
+
# Idempotency][1].
|
4293
|
+
#
|
4294
|
+
# **A suitable default value is auto-generated.** You should normally
|
4295
|
+
# not need to pass this option.**
|
4296
|
+
#
|
4297
|
+
#
|
4298
|
+
#
|
4299
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4300
|
+
#
|
4301
|
+
# @option params [required, Array<Types::ReservationFleetInstanceSpecification>] :instance_type_specifications
|
4302
|
+
# Information about the instance types for which to reserve the
|
4303
|
+
# capacity.
|
4304
|
+
#
|
4305
|
+
# @option params [String] :tenancy
|
4306
|
+
# Indicates the tenancy of the Capacity Reservation Fleet. All Capacity
|
4307
|
+
# Reservations in the Fleet inherit this tenancy. The Capacity
|
4308
|
+
# Reservation Fleet can have one of the following tenancy settings:
|
4309
|
+
#
|
4310
|
+
# * `default` - The Capacity Reservation Fleet is created on hardware
|
4311
|
+
# that is shared with other Amazon Web Services accounts.
|
4312
|
+
#
|
4313
|
+
# * `dedicated` - The Capacity Reservations are created on single-tenant
|
4314
|
+
# hardware that is dedicated to a single Amazon Web Services account.
|
4315
|
+
#
|
4316
|
+
# @option params [required, Integer] :total_target_capacity
|
4317
|
+
# The total number of capacity units to be reserved by the Capacity
|
4318
|
+
# Reservation Fleet. This value, together with the instance type weights
|
4319
|
+
# that you assign to each instance type used by the Fleet determine the
|
4320
|
+
# number of instances for which the Fleet reserves capacity. Both values
|
4321
|
+
# are based on units that make sense for your workload. For more
|
4322
|
+
# information, see [ Total target capacity][1] in the Amazon EC2 User
|
4323
|
+
# Guide.
|
4324
|
+
#
|
4325
|
+
#
|
4326
|
+
#
|
4327
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
|
4328
|
+
#
|
4329
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
4330
|
+
# The date and time at which the Capacity Reservation Fleet expires.
|
4331
|
+
# When the Capacity Reservation Fleet expires, its state changes to
|
4332
|
+
# `expired` and all of the Capacity Reservations in the Fleet expire.
|
4333
|
+
#
|
4334
|
+
# The Capacity Reservation Fleet expires within an hour after the
|
4335
|
+
# specified time. For example, if you specify `5/31/2019`, `13:30:55`,
|
4336
|
+
# the Capacity Reservation Fleet is guaranteed to expire between
|
4337
|
+
# `13:30:55` and `14:30:55` on `5/31/2019`.
|
4338
|
+
#
|
4339
|
+
# @option params [String] :instance_match_criteria
|
4340
|
+
# Indicates the type of instance launches that the Capacity Reservation
|
4341
|
+
# Fleet accepts. All Capacity Reservations in the Fleet inherit this
|
4342
|
+
# instance matching criteria.
|
4343
|
+
#
|
4344
|
+
# Currently, Capacity Reservation Fleets support `open` instance
|
4345
|
+
# matching criteria only. This means that instances that have matching
|
4346
|
+
# attributes (instance type, platform, and Availability Zone) run in the
|
4347
|
+
# Capacity Reservations automatically. Instances do not need to
|
4348
|
+
# explicitly target a Capacity Reservation Fleet to use its reserved
|
4349
|
+
# capacity.
|
4350
|
+
#
|
4351
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4352
|
+
# The tags to assign to the Capacity Reservation Fleet. The tags are
|
4353
|
+
# automatically assigned to the Capacity Reservations in the Fleet.
|
4354
|
+
#
|
4355
|
+
# @option params [Boolean] :dry_run
|
4356
|
+
# Checks whether you have the required permissions for the action,
|
4357
|
+
# without actually making the request, and provides an error response.
|
4358
|
+
# If you have the required permissions, the error response is
|
4359
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4360
|
+
#
|
4361
|
+
# @return [Types::CreateCapacityReservationFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4362
|
+
#
|
4363
|
+
# * {Types::CreateCapacityReservationFleetResult#capacity_reservation_fleet_id #capacity_reservation_fleet_id} => String
|
4364
|
+
# * {Types::CreateCapacityReservationFleetResult#state #state} => String
|
4365
|
+
# * {Types::CreateCapacityReservationFleetResult#total_target_capacity #total_target_capacity} => Integer
|
4366
|
+
# * {Types::CreateCapacityReservationFleetResult#total_fulfilled_capacity #total_fulfilled_capacity} => Float
|
4367
|
+
# * {Types::CreateCapacityReservationFleetResult#instance_match_criteria #instance_match_criteria} => String
|
4368
|
+
# * {Types::CreateCapacityReservationFleetResult#allocation_strategy #allocation_strategy} => String
|
4369
|
+
# * {Types::CreateCapacityReservationFleetResult#create_time #create_time} => Time
|
4370
|
+
# * {Types::CreateCapacityReservationFleetResult#end_date #end_date} => Time
|
4371
|
+
# * {Types::CreateCapacityReservationFleetResult#tenancy #tenancy} => String
|
4372
|
+
# * {Types::CreateCapacityReservationFleetResult#fleet_capacity_reservations #fleet_capacity_reservations} => Array<Types::FleetCapacityReservation>
|
4373
|
+
# * {Types::CreateCapacityReservationFleetResult#tags #tags} => Array<Types::Tag>
|
4374
|
+
#
|
4375
|
+
# @example Request syntax with placeholder values
|
4376
|
+
#
|
4377
|
+
# resp = client.create_capacity_reservation_fleet({
|
4378
|
+
# allocation_strategy: "String",
|
4379
|
+
# client_token: "String",
|
4380
|
+
# instance_type_specifications: [ # required
|
4381
|
+
# {
|
4382
|
+
# 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
|
4383
|
+
# 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
|
4384
|
+
# weight: 1.0,
|
4385
|
+
# availability_zone: "String",
|
4386
|
+
# availability_zone_id: "String",
|
4387
|
+
# ebs_optimized: false,
|
4388
|
+
# priority: 1,
|
4389
|
+
# },
|
4390
|
+
# ],
|
4391
|
+
# tenancy: "default", # accepts default
|
4392
|
+
# total_target_capacity: 1, # required
|
4393
|
+
# end_date: Time.now,
|
4394
|
+
# instance_match_criteria: "open", # accepts open
|
4395
|
+
# tag_specifications: [
|
4396
|
+
# {
|
4397
|
+
# 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
|
4398
|
+
# tags: [
|
4399
|
+
# {
|
4400
|
+
# key: "String",
|
4401
|
+
# value: "String",
|
4402
|
+
# },
|
4403
|
+
# ],
|
4404
|
+
# },
|
4405
|
+
# ],
|
4406
|
+
# dry_run: false,
|
4407
|
+
# })
|
4408
|
+
#
|
4409
|
+
# @example Response structure
|
4410
|
+
#
|
4411
|
+
# resp.capacity_reservation_fleet_id #=> String
|
4412
|
+
# resp.state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
4413
|
+
# resp.total_target_capacity #=> Integer
|
4414
|
+
# resp.total_fulfilled_capacity #=> Float
|
4415
|
+
# resp.instance_match_criteria #=> String, one of "open"
|
4416
|
+
# resp.allocation_strategy #=> String
|
4417
|
+
# resp.create_time #=> Time
|
4418
|
+
# resp.end_date #=> Time
|
4419
|
+
# resp.tenancy #=> String, one of "default"
|
4420
|
+
# resp.fleet_capacity_reservations #=> Array
|
4421
|
+
# resp.fleet_capacity_reservations[0].capacity_reservation_id #=> String
|
4422
|
+
# resp.fleet_capacity_reservations[0].availability_zone_id #=> String
|
4423
|
+
# 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"
|
4424
|
+
# 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"
|
4425
|
+
# resp.fleet_capacity_reservations[0].availability_zone #=> String
|
4426
|
+
# resp.fleet_capacity_reservations[0].total_instance_count #=> Integer
|
4427
|
+
# resp.fleet_capacity_reservations[0].fulfilled_capacity #=> Float
|
4428
|
+
# resp.fleet_capacity_reservations[0].ebs_optimized #=> Boolean
|
4429
|
+
# resp.fleet_capacity_reservations[0].create_date #=> Time
|
4430
|
+
# resp.fleet_capacity_reservations[0].weight #=> Float
|
4431
|
+
# resp.fleet_capacity_reservations[0].priority #=> Integer
|
4432
|
+
# resp.tags #=> Array
|
4433
|
+
# resp.tags[0].key #=> String
|
4434
|
+
# resp.tags[0].value #=> String
|
4435
|
+
#
|
4436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationFleet AWS API Documentation
|
4437
|
+
#
|
4438
|
+
# @overload create_capacity_reservation_fleet(params = {})
|
4439
|
+
# @param [Hash] params ({})
|
4440
|
+
def create_capacity_reservation_fleet(params = {}, options = {})
|
4441
|
+
req = build_request(:create_capacity_reservation_fleet, params)
|
4442
|
+
req.send_request(options)
|
4443
|
+
end
|
4444
|
+
|
4221
4445
|
# Creates a carrier gateway. For more information about carrier
|
4222
4446
|
# gateways, see [Carrier gateways][1] in the *Amazon Web Services
|
4223
4447
|
# Wavelength Developer Guide*.
|
@@ -5219,7 +5443,7 @@ module Aws::EC2
|
|
5219
5443
|
# placement: {
|
5220
5444
|
# availability_zone: "String",
|
5221
5445
|
# affinity: "String",
|
5222
|
-
# group_name: "
|
5446
|
+
# group_name: "PlacementGroupName",
|
5223
5447
|
# partition_number: 1,
|
5224
5448
|
# host_id: "String",
|
5225
5449
|
# tenancy: "default", # accepts default, dedicated, host
|
@@ -5404,8 +5628,8 @@ module Aws::EC2
|
|
5404
5628
|
# least one field.
|
5405
5629
|
#
|
5406
5630
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
5407
|
-
# spaces. For the CLI,
|
5408
|
-
#
|
5631
|
+
# spaces. For the CLI, surround this parameter value with single quotes
|
5632
|
+
# on Linux or double quotes on Windows.
|
5409
5633
|
#
|
5410
5634
|
#
|
5411
5635
|
#
|
@@ -5489,8 +5713,8 @@ module Aws::EC2
|
|
5489
5713
|
#
|
5490
5714
|
# An AFI contains the FPGA bitstream that is ready to download to an
|
5491
5715
|
# FPGA. You can securely deploy an AFI on multiple FPGA-accelerated
|
5492
|
-
# instances. For more information, see the [
|
5493
|
-
# Development Kit][1].
|
5716
|
+
# instances. For more information, see the [Amazon Web Services FPGA
|
5717
|
+
# Hardware Development Kit][1].
|
5494
5718
|
#
|
5495
5719
|
#
|
5496
5720
|
#
|
@@ -6126,7 +6350,7 @@ module Aws::EC2
|
|
6126
6350
|
# to launch an instance. When you launch an instance using RunInstances,
|
6127
6351
|
# you can specify a launch template instead of providing the launch
|
6128
6352
|
# parameters in the request. For more information, see [Launching an
|
6129
|
-
# instance from a launch template][1]in the *Amazon Elastic Compute
|
6353
|
+
# instance from a launch template][1] in the *Amazon Elastic Compute
|
6130
6354
|
# Cloud User Guide*.
|
6131
6355
|
#
|
6132
6356
|
#
|
@@ -6795,15 +7019,15 @@ module Aws::EC2
|
|
6795
7019
|
# @option params [required, String] :local_gateway_route_table_id
|
6796
7020
|
# The ID of the local gateway route table.
|
6797
7021
|
#
|
7022
|
+
# @option params [required, String] :local_gateway_virtual_interface_group_id
|
7023
|
+
# The ID of the virtual interface group.
|
7024
|
+
#
|
6798
7025
|
# @option params [Boolean] :dry_run
|
6799
7026
|
# Checks whether you have the required permissions for the action,
|
6800
7027
|
# without actually making the request, and provides an error response.
|
6801
7028
|
# If you have the required permissions, the error response is
|
6802
7029
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6803
7030
|
#
|
6804
|
-
# @option params [required, String] :local_gateway_virtual_interface_group_id
|
6805
|
-
# The ID of the virtual interface group.
|
6806
|
-
#
|
6807
7031
|
# @return [Types::CreateLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6808
7032
|
#
|
6809
7033
|
# * {Types::CreateLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
|
@@ -6813,8 +7037,8 @@ module Aws::EC2
|
|
6813
7037
|
# resp = client.create_local_gateway_route({
|
6814
7038
|
# destination_cidr_block: "String", # required
|
6815
7039
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
6816
|
-
# dry_run: false,
|
6817
7040
|
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
7041
|
+
# dry_run: false,
|
6818
7042
|
# })
|
6819
7043
|
#
|
6820
7044
|
# @example Response structure
|
@@ -9046,6 +9270,12 @@ module Aws::EC2
|
|
9046
9270
|
# @option params [String] :availability_zone_id
|
9047
9271
|
# The AZ ID or the Local Zone ID of the subnet.
|
9048
9272
|
#
|
9273
|
+
# @option params [required, String] :cidr_block
|
9274
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
9275
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
9276
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
9277
|
+
# `100.68.0.0/18`.
|
9278
|
+
#
|
9049
9279
|
# @option params [String] :ipv_6_cidr_block
|
9050
9280
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
9051
9281
|
# size must use a /64 prefix length.
|
@@ -9064,12 +9294,6 @@ module Aws::EC2
|
|
9064
9294
|
# If you have the required permissions, the error response is
|
9065
9295
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9066
9296
|
#
|
9067
|
-
# @option params [required, String] :cidr_block
|
9068
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
9069
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
9070
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
9071
|
-
# `100.68.0.0/18`.
|
9072
|
-
#
|
9073
9297
|
# @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9074
9298
|
#
|
9075
9299
|
# * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
|
@@ -9113,11 +9337,11 @@ module Aws::EC2
|
|
9113
9337
|
# ],
|
9114
9338
|
# availability_zone: "String",
|
9115
9339
|
# availability_zone_id: "String",
|
9340
|
+
# cidr_block: "String", # required
|
9116
9341
|
# ipv_6_cidr_block: "String",
|
9117
9342
|
# outpost_arn: "String",
|
9118
9343
|
# vpc_id: "VpcId", # required
|
9119
9344
|
# dry_run: false,
|
9120
|
-
# cidr_block: "String", # required
|
9121
9345
|
# })
|
9122
9346
|
#
|
9123
9347
|
# @example Response structure
|
@@ -9351,8 +9575,8 @@ module Aws::EC2
|
|
9351
9575
|
#
|
9352
9576
|
# @option params [String] :client_token
|
9353
9577
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9354
|
-
# idempotency of the request. For more information, see [How to
|
9355
|
-
#
|
9578
|
+
# idempotency of the request. For more information, see [How to ensure
|
9579
|
+
# idempotency][1].
|
9356
9580
|
#
|
9357
9581
|
# **A suitable default value is auto-generated.** You should normally
|
9358
9582
|
# not need to pass this option.**
|
@@ -9444,7 +9668,7 @@ module Aws::EC2
|
|
9444
9668
|
# The ID of the filter that this rule is associated with.
|
9445
9669
|
#
|
9446
9670
|
# @option params [required, String] :traffic_direction
|
9447
|
-
# The type of traffic
|
9671
|
+
# The type of traffic.
|
9448
9672
|
#
|
9449
9673
|
# @option params [required, Integer] :rule_number
|
9450
9674
|
# The number of the Traffic Mirror rule. This number must be unique for
|
@@ -9452,7 +9676,7 @@ module Aws::EC2
|
|
9452
9676
|
# in ascending order by rule number.
|
9453
9677
|
#
|
9454
9678
|
# @option params [required, String] :rule_action
|
9455
|
-
# The action to take
|
9679
|
+
# The action to take on the filtered traffic.
|
9456
9680
|
#
|
9457
9681
|
# @option params [Types::TrafficMirrorPortRangeRequest] :destination_port_range
|
9458
9682
|
# The destination port range.
|
@@ -9487,8 +9711,8 @@ module Aws::EC2
|
|
9487
9711
|
#
|
9488
9712
|
# @option params [String] :client_token
|
9489
9713
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9490
|
-
# idempotency of the request. For more information, see [How to
|
9491
|
-
#
|
9714
|
+
# idempotency of the request. For more information, see [How to ensure
|
9715
|
+
# idempotency][1].
|
9492
9716
|
#
|
9493
9717
|
# **A suitable default value is auto-generated.** You should normally
|
9494
9718
|
# not need to pass this option.**
|
@@ -9619,8 +9843,8 @@ module Aws::EC2
|
|
9619
9843
|
#
|
9620
9844
|
# @option params [String] :client_token
|
9621
9845
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9622
|
-
# idempotency of the request. For more information, see [How to
|
9623
|
-
#
|
9846
|
+
# idempotency of the request. For more information, see [How to ensure
|
9847
|
+
# idempotency][1].
|
9624
9848
|
#
|
9625
9849
|
# **A suitable default value is auto-generated.** You should normally
|
9626
9850
|
# not need to pass this option.**
|
@@ -9722,8 +9946,8 @@ module Aws::EC2
|
|
9722
9946
|
#
|
9723
9947
|
# @option params [String] :client_token
|
9724
9948
|
# Unique, case-sensitive identifier that you provide to ensure the
|
9725
|
-
# idempotency of the request. For more information, see [How to
|
9726
|
-
#
|
9949
|
+
# idempotency of the request. For more information, see [How to ensure
|
9950
|
+
# idempotency][1].
|
9727
9951
|
#
|
9728
9952
|
# **A suitable default value is auto-generated.** You should normally
|
9729
9953
|
# not need to pass this option.**
|
@@ -10948,15 +11172,16 @@ module Aws::EC2
|
|
10948
11172
|
|
10949
11173
|
# Creates a VPC endpoint for a specified service. An endpoint enables
|
10950
11174
|
# you to create a private connection between your VPC and the service.
|
10951
|
-
# The service may be provided by
|
10952
|
-
#
|
10953
|
-
# the *Amazon Virtual
|
11175
|
+
# The service may be provided by Amazon Web Services, an Amazon Web
|
11176
|
+
# Services Marketplace Partner, or another Amazon Web Services account.
|
11177
|
+
# For more information, see [VPC Endpoints][1] in the *Amazon Virtual
|
11178
|
+
# Private Cloud User Guide*.
|
10954
11179
|
#
|
10955
11180
|
# A `gateway` endpoint serves as a target for a route in your route
|
10956
|
-
# table for traffic destined for the
|
10957
|
-
# endpoint policy to attach to the endpoint, which will control
|
10958
|
-
# to the service from your VPC. You can also specify the VPC
|
10959
|
-
# tables that use the endpoint.
|
11181
|
+
# table for traffic destined for the Amazon Web Service. You can specify
|
11182
|
+
# an endpoint policy to attach to the endpoint, which will control
|
11183
|
+
# access to the service from your VPC. You can also specify the VPC
|
11184
|
+
# route tables that use the endpoint.
|
10960
11185
|
#
|
10961
11186
|
# An `interface` endpoint is a network interface in your subnet that
|
10962
11187
|
# serves as an endpoint for communicating with the specified service.
|
@@ -11012,8 +11237,8 @@ module Aws::EC2
|
|
11012
11237
|
#
|
11013
11238
|
# @option params [String] :client_token
|
11014
11239
|
# Unique, case-sensitive identifier that you provide to ensure the
|
11015
|
-
# idempotency of the request. For more information, see [How to
|
11016
|
-
#
|
11240
|
+
# idempotency of the request. For more information, see [How to ensure
|
11241
|
+
# idempotency][1].
|
11017
11242
|
#
|
11018
11243
|
#
|
11019
11244
|
#
|
@@ -11142,8 +11367,8 @@ module Aws::EC2
|
|
11142
11367
|
#
|
11143
11368
|
# @option params [String] :client_token
|
11144
11369
|
# Unique, case-sensitive identifier that you provide to ensure the
|
11145
|
-
# idempotency of the request. For more information, see [How to
|
11146
|
-
#
|
11370
|
+
# idempotency of the request. For more information, see [How to ensure
|
11371
|
+
# idempotency][1].
|
11147
11372
|
#
|
11148
11373
|
#
|
11149
11374
|
#
|
@@ -11187,7 +11412,8 @@ module Aws::EC2
|
|
11187
11412
|
end
|
11188
11413
|
|
11189
11414
|
# Creates a VPC endpoint service configuration to which service
|
11190
|
-
# consumers (
|
11415
|
+
# consumers (Amazon Web Services accounts, IAM users, and IAM roles) can
|
11416
|
+
# connect.
|
11191
11417
|
#
|
11192
11418
|
# To create an endpoint service configuration, you must first create one
|
11193
11419
|
# of the following for your service:
|
@@ -11238,8 +11464,8 @@ module Aws::EC2
|
|
11238
11464
|
#
|
11239
11465
|
# @option params [String] :client_token
|
11240
11466
|
# Unique, case-sensitive identifier that you provide to ensure the
|
11241
|
-
# idempotency of the request. For more information, see [How to
|
11242
|
-
#
|
11467
|
+
# idempotency of the request. For more information, see [How to ensure
|
11468
|
+
# idempotency][1].
|
11243
11469
|
#
|
11244
11470
|
#
|
11245
11471
|
#
|
@@ -15016,8 +15242,8 @@ module Aws::EC2
|
|
15016
15242
|
# that zone.
|
15017
15243
|
#
|
15018
15244
|
# For more information about Availability Zones, Local Zones, and
|
15019
|
-
# Wavelength Zones, see [Regions
|
15020
|
-
#
|
15245
|
+
# Wavelength Zones, see [Regions and zones][1] in the *Amazon Elastic
|
15246
|
+
# Compute Cloud User Guide*.
|
15021
15247
|
#
|
15022
15248
|
#
|
15023
15249
|
#
|
@@ -15319,6 +15545,103 @@ module Aws::EC2
|
|
15319
15545
|
req.send_request(options)
|
15320
15546
|
end
|
15321
15547
|
|
15548
|
+
# Describes one or more Capacity Reservation Fleets.
|
15549
|
+
#
|
15550
|
+
# @option params [Array<String>] :capacity_reservation_fleet_ids
|
15551
|
+
# The IDs of the Capacity Reservation Fleets to describe.
|
15552
|
+
#
|
15553
|
+
# @option params [String] :next_token
|
15554
|
+
# The token to use to retrieve the next page of results.
|
15555
|
+
#
|
15556
|
+
# @option params [Integer] :max_results
|
15557
|
+
# The maximum number of results to return for the request in a single
|
15558
|
+
# page. The remaining results can be seen by sending another request
|
15559
|
+
# with the returned `nextToken` value. This value can be between 5 and
|
15560
|
+
# 500. If `maxResults` is given a larger value than 500, you receive an
|
15561
|
+
# error.
|
15562
|
+
#
|
15563
|
+
# @option params [Array<Types::Filter>] :filters
|
15564
|
+
# One or more filters.
|
15565
|
+
#
|
15566
|
+
# * `state` - The state of the Fleet (`submitted` \| `modifying` \|
|
15567
|
+
# `active` \| `partially_fulfilled` \| `expiring` \| `expired` \|
|
15568
|
+
# `cancelling` \| `cancelled` \| `failed`).
|
15569
|
+
#
|
15570
|
+
# * `instance-match-criteria` - The instance matching criteria for the
|
15571
|
+
# Fleet. Only `open` is supported.
|
15572
|
+
#
|
15573
|
+
# * `tenancy` - The tenancy of the Fleet (`default` \| `dedicated`).
|
15574
|
+
#
|
15575
|
+
# * `allocation-strategy` - The allocation strategy used by the Fleet.
|
15576
|
+
# Only `prioritized` is supported.
|
15577
|
+
#
|
15578
|
+
# @option params [Boolean] :dry_run
|
15579
|
+
# Checks whether you have the required permissions for the action,
|
15580
|
+
# without actually making the request, and provides an error response.
|
15581
|
+
# If you have the required permissions, the error response is
|
15582
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
15583
|
+
#
|
15584
|
+
# @return [Types::DescribeCapacityReservationFleetsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15585
|
+
#
|
15586
|
+
# * {Types::DescribeCapacityReservationFleetsResult#capacity_reservation_fleets #capacity_reservation_fleets} => Array<Types::CapacityReservationFleet>
|
15587
|
+
# * {Types::DescribeCapacityReservationFleetsResult#next_token #next_token} => String
|
15588
|
+
#
|
15589
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
15590
|
+
#
|
15591
|
+
# @example Request syntax with placeholder values
|
15592
|
+
#
|
15593
|
+
# resp = client.describe_capacity_reservation_fleets({
|
15594
|
+
# capacity_reservation_fleet_ids: ["CapacityReservationFleetId"],
|
15595
|
+
# next_token: "String",
|
15596
|
+
# max_results: 1,
|
15597
|
+
# filters: [
|
15598
|
+
# {
|
15599
|
+
# name: "String",
|
15600
|
+
# values: ["String"],
|
15601
|
+
# },
|
15602
|
+
# ],
|
15603
|
+
# dry_run: false,
|
15604
|
+
# })
|
15605
|
+
#
|
15606
|
+
# @example Response structure
|
15607
|
+
#
|
15608
|
+
# resp.capacity_reservation_fleets #=> Array
|
15609
|
+
# resp.capacity_reservation_fleets[0].capacity_reservation_fleet_id #=> String
|
15610
|
+
# resp.capacity_reservation_fleets[0].capacity_reservation_fleet_arn #=> String
|
15611
|
+
# resp.capacity_reservation_fleets[0].state #=> String, one of "submitted", "modifying", "active", "partially_fulfilled", "expiring", "expired", "cancelling", "cancelled", "failed"
|
15612
|
+
# resp.capacity_reservation_fleets[0].total_target_capacity #=> Integer
|
15613
|
+
# resp.capacity_reservation_fleets[0].total_fulfilled_capacity #=> Float
|
15614
|
+
# resp.capacity_reservation_fleets[0].tenancy #=> String, one of "default"
|
15615
|
+
# resp.capacity_reservation_fleets[0].end_date #=> Time
|
15616
|
+
# resp.capacity_reservation_fleets[0].create_time #=> Time
|
15617
|
+
# resp.capacity_reservation_fleets[0].instance_match_criteria #=> String, one of "open"
|
15618
|
+
# resp.capacity_reservation_fleets[0].allocation_strategy #=> String
|
15619
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications #=> Array
|
15620
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].capacity_reservation_id #=> String
|
15621
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].availability_zone_id #=> String
|
15622
|
+
# 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"
|
15623
|
+
# 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"
|
15624
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].availability_zone #=> String
|
15625
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].total_instance_count #=> Integer
|
15626
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].fulfilled_capacity #=> Float
|
15627
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].ebs_optimized #=> Boolean
|
15628
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].create_date #=> Time
|
15629
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].weight #=> Float
|
15630
|
+
# resp.capacity_reservation_fleets[0].instance_type_specifications[0].priority #=> Integer
|
15631
|
+
# resp.capacity_reservation_fleets[0].tags #=> Array
|
15632
|
+
# resp.capacity_reservation_fleets[0].tags[0].key #=> String
|
15633
|
+
# resp.capacity_reservation_fleets[0].tags[0].value #=> String
|
15634
|
+
# resp.next_token #=> String
|
15635
|
+
#
|
15636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationFleets AWS API Documentation
|
15637
|
+
#
|
15638
|
+
# @overload describe_capacity_reservation_fleets(params = {})
|
15639
|
+
# @param [Hash] params ({})
|
15640
|
+
def describe_capacity_reservation_fleets(params = {}, options = {})
|
15641
|
+
req = build_request(:describe_capacity_reservation_fleets, params)
|
15642
|
+
req.send_request(options)
|
15643
|
+
end
|
15644
|
+
|
15322
15645
|
# Describes one or more of your Capacity Reservations. The results
|
15323
15646
|
# describe only the Capacity Reservations in the Amazon Web Services
|
15324
15647
|
# Region that you're currently using.
|
@@ -15476,6 +15799,7 @@ module Aws::EC2
|
|
15476
15799
|
# resp.capacity_reservations[0].tags[0].key #=> String
|
15477
15800
|
# resp.capacity_reservations[0].tags[0].value #=> String
|
15478
15801
|
# resp.capacity_reservations[0].outpost_arn #=> String
|
15802
|
+
# resp.capacity_reservations[0].capacity_reservation_fleet_id #=> String
|
15479
15803
|
#
|
15480
15804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
|
15481
15805
|
#
|
@@ -16844,12 +17168,12 @@ module Aws::EC2
|
|
16844
17168
|
# and not miss a recorded event. EC2 Fleet events are available for 48
|
16845
17169
|
# hours.
|
16846
17170
|
#
|
16847
|
-
# For more information, see [
|
16848
|
-
# *Amazon EC2 User Guide*.
|
17171
|
+
# For more information, see [Monitor fleet events using Amazon
|
17172
|
+
# EventBridge][1] in the *Amazon EC2 User Guide*.
|
16849
17173
|
#
|
16850
17174
|
#
|
16851
17175
|
#
|
16852
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
17176
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html
|
16853
17177
|
#
|
16854
17178
|
# @option params [Boolean] :dry_run
|
16855
17179
|
# Checks whether you have the required permissions for the action,
|
@@ -17304,7 +17628,8 @@ module Aws::EC2
|
|
17304
17628
|
|
17305
17629
|
# Describes the Amazon FPGA Images (AFIs) available to you. These
|
17306
17630
|
# include public AFIs, private AFIs that you own, and AFIs owned by
|
17307
|
-
# other
|
17631
|
+
# other Amazon Web Services accounts for which you have load
|
17632
|
+
# permissions.
|
17308
17633
|
#
|
17309
17634
|
# @option params [Boolean] :dry_run
|
17310
17635
|
# Checks whether you have the required permissions for the action,
|
@@ -17316,9 +17641,9 @@ module Aws::EC2
|
|
17316
17641
|
# The AFI IDs.
|
17317
17642
|
#
|
17318
17643
|
# @option params [Array<String>] :owners
|
17319
|
-
# Filters the AFI by owner. Specify an
|
17320
|
-
# the sender of the request), or an
|
17321
|
-
# `amazon` \| `aws-marketplace`).
|
17644
|
+
# Filters the AFI by owner. Specify an Amazon Web Services account ID,
|
17645
|
+
# `self` (owner is the sender of the request), or an Amazon Web Services
|
17646
|
+
# owner alias (valid values are `amazon` \| `aws-marketplace`).
|
17322
17647
|
#
|
17323
17648
|
# @option params [Array<Types::Filter>] :filters
|
17324
17649
|
# The filters.
|
@@ -17331,12 +17656,12 @@ module Aws::EC2
|
|
17331
17656
|
#
|
17332
17657
|
# * `name` - The name of the AFI.
|
17333
17658
|
#
|
17334
|
-
# * `owner-id` - The
|
17659
|
+
# * `owner-id` - The Amazon Web Services account ID of the AFI owner.
|
17335
17660
|
#
|
17336
17661
|
# * `product-code` - The product code.
|
17337
17662
|
#
|
17338
|
-
# * `shell-version` - The version of the
|
17339
|
-
# create the bitstream.
|
17663
|
+
# * `shell-version` - The version of the Amazon Web Services Shell that
|
17664
|
+
# was used to create the bitstream.
|
17340
17665
|
#
|
17341
17666
|
# * `state` - The state of the AFI (`pending` \| `failed` \| `available`
|
17342
17667
|
# \| `unavailable`).
|
@@ -17824,12 +18149,13 @@ module Aws::EC2
|
|
17824
18149
|
# `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
|
17825
18150
|
#
|
17826
18151
|
# These settings apply to the IAM user who makes the request; they do
|
17827
|
-
# not apply to the entire
|
17828
|
-
# to the same settings as the root user, unless they
|
17829
|
-
# the settings by running the ModifyIdFormat
|
17830
|
-
# with longer IDs are visible to all IAM
|
17831
|
-
# settings and provided that they have
|
17832
|
-
# `Describe` command for the resource
|
18152
|
+
# not apply to the entire Amazon Web Services account. By default, an
|
18153
|
+
# IAM user defaults to the same settings as the root user, unless they
|
18154
|
+
# explicitly override the settings by running the ModifyIdFormat
|
18155
|
+
# command. Resources created with longer IDs are visible to all IAM
|
18156
|
+
# users, regardless of these settings and provided that they have
|
18157
|
+
# permission to use the relevant `Describe` command for the resource
|
18158
|
+
# type.
|
17833
18159
|
#
|
17834
18160
|
# @option params [String] :resource
|
17835
18161
|
# The type of resource: `bundle` \| `conversion-task` \|
|
@@ -19982,6 +20308,9 @@ module Aws::EC2
|
|
19982
20308
|
# resp.reservations[0].instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
19983
20309
|
# resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
|
19984
20310
|
# resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
20311
|
+
# resp.reservations[0].instances[0].platform_details #=> String
|
20312
|
+
# resp.reservations[0].instances[0].usage_operation #=> String
|
20313
|
+
# resp.reservations[0].instances[0].usage_operation_update_time #=> Time
|
19985
20314
|
# resp.reservations[0].owner_id #=> String
|
19986
20315
|
# resp.reservations[0].requester_id #=> String
|
19987
20316
|
# resp.reservations[0].reservation_id #=> String
|
@@ -22861,15 +23190,16 @@ module Aws::EC2
|
|
22861
23190
|
# Describes the Regions that are enabled for your account, or all
|
22862
23191
|
# Regions.
|
22863
23192
|
#
|
22864
|
-
# For a list of the Regions supported by Amazon EC2, see [
|
22865
|
-
#
|
23193
|
+
# For a list of the Regions supported by Amazon EC2, see [ Amazon
|
23194
|
+
# Elastic Compute Cloud endpoints and quotas][1].
|
22866
23195
|
#
|
22867
23196
|
# For information about enabling and disabling Regions for your account,
|
22868
|
-
# see [Managing
|
23197
|
+
# see [Managing Amazon Web Services Regions][2] in the *Amazon Web
|
23198
|
+
# Services General Reference*.
|
22869
23199
|
#
|
22870
23200
|
#
|
22871
23201
|
#
|
22872
|
-
# [1]: https://docs.aws.amazon.com/general/latest/gr/
|
23202
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/ec2-service.html
|
22873
23203
|
# [2]: https://docs.aws.amazon.com/general/latest/gr/rande-manage.html
|
22874
23204
|
#
|
22875
23205
|
# @option params [Array<Types::Filter>] :filters
|
@@ -25008,6 +25338,13 @@ module Aws::EC2
|
|
25008
25338
|
# and not miss a recorded event. Spot Fleet events are available for 48
|
25009
25339
|
# hours.
|
25010
25340
|
#
|
25341
|
+
# For more information, see [Monitor fleet events using Amazon
|
25342
|
+
# EventBridge][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
25343
|
+
#
|
25344
|
+
#
|
25345
|
+
#
|
25346
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html
|
25347
|
+
#
|
25011
25348
|
# @option params [Boolean] :dry_run
|
25012
25349
|
# Checks whether you have the required permissions for the action,
|
25013
25350
|
# without actually making the request, and provides an error response.
|
@@ -28340,8 +28677,8 @@ module Aws::EC2
|
|
28340
28677
|
#
|
28341
28678
|
# * `service-id` - The ID of the service.
|
28342
28679
|
#
|
28343
|
-
# * `vpc-endpoint-owner` - The
|
28344
|
-
# endpoint.
|
28680
|
+
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID
|
28681
|
+
# that owns the endpoint.
|
28345
28682
|
#
|
28346
28683
|
# * `vpc-endpoint-state` - The state of the endpoint
|
28347
28684
|
# (`pendingAcceptance` \| `pending` \| `available` \| `deleting` \|
|
@@ -32874,9 +33211,9 @@ module Aws::EC2
|
|
32874
33211
|
req.send_request(options)
|
32875
33212
|
end
|
32876
33213
|
|
32877
|
-
# Download an
|
32878
|
-
# customer gateway device specified for your
|
32879
|
-
# connection.
|
33214
|
+
# Download an Amazon Web Services-provided sample configuration file to
|
33215
|
+
# be used with the customer gateway device specified for your
|
33216
|
+
# Site-to-Site VPN connection.
|
32880
33217
|
#
|
32881
33218
|
# @option params [required, String] :vpn_connection_id
|
32882
33219
|
# The `VpnConnectionId` specifies the Site-to-Site VPN connection used
|
@@ -33163,13 +33500,12 @@ module Aws::EC2
|
|
33163
33500
|
# The tags to apply to the import image task during creation.
|
33164
33501
|
#
|
33165
33502
|
# @option params [String] :usage_operation
|
33166
|
-
# The usage operation value. For more information, see [
|
33167
|
-
#
|
33168
|
-
# Guide*.
|
33503
|
+
# The usage operation value. For more information, see [Licensing
|
33504
|
+
# options][1] in the *VM Import/Export User Guide*.
|
33169
33505
|
#
|
33170
33506
|
#
|
33171
33507
|
#
|
33172
|
-
# [1]: https://docs.aws.amazon.com/
|
33508
|
+
# [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites
|
33173
33509
|
#
|
33174
33510
|
# @option params [String] :boot_mode
|
33175
33511
|
# The boot mode of the virtual machine.
|
@@ -33357,7 +33693,7 @@ module Aws::EC2
|
|
33357
33693
|
# placement: {
|
33358
33694
|
# availability_zone: "String",
|
33359
33695
|
# affinity: "String",
|
33360
|
-
# group_name: "
|
33696
|
+
# group_name: "PlacementGroupName",
|
33361
33697
|
# partition_number: 1,
|
33362
33698
|
# host_id: "String",
|
33363
33699
|
# tenancy: "default", # accepts default, dedicated, host
|
@@ -33814,7 +34150,7 @@ module Aws::EC2
|
|
33814
34150
|
# @option params [required, String] :opt_in_status
|
33815
34151
|
# Indicates whether you are opted in to the Local Zone group or
|
33816
34152
|
# Wavelength Zone group. The only valid value is `opted-in`. You must
|
33817
|
-
# contact [
|
34153
|
+
# contact [Amazon Web Services Support][1] to opt out of a Local Zone or
|
33818
34154
|
# Wavelength Zone group.
|
33819
34155
|
#
|
33820
34156
|
#
|
@@ -33933,6 +34269,86 @@ module Aws::EC2
|
|
33933
34269
|
req.send_request(options)
|
33934
34270
|
end
|
33935
34271
|
|
34272
|
+
# Modifies a Capacity Reservation Fleet.
|
34273
|
+
#
|
34274
|
+
# When you modify the total target capacity of a Capacity Reservation
|
34275
|
+
# Fleet, the Fleet automatically creates new Capacity Reservations, or
|
34276
|
+
# modifies or cancels existing Capacity Reservations in the Fleet to
|
34277
|
+
# meet the new total target capacity. When you modify the end date for
|
34278
|
+
# the Fleet, the end dates for all of the individual Capacity
|
34279
|
+
# Reservations in the Fleet are updated accordingly.
|
34280
|
+
#
|
34281
|
+
# @option params [required, String] :capacity_reservation_fleet_id
|
34282
|
+
# The ID of the Capacity Reservation Fleet to modify.
|
34283
|
+
#
|
34284
|
+
# @option params [Integer] :total_target_capacity
|
34285
|
+
# The total number of capacity units to be reserved by the Capacity
|
34286
|
+
# Reservation Fleet. This value, together with the instance type weights
|
34287
|
+
# that you assign to each instance type used by the Fleet determine the
|
34288
|
+
# number of instances for which the Fleet reserves capacity. Both values
|
34289
|
+
# are based on units that make sense for your workload. For more
|
34290
|
+
# information, see [Total target capacity][1] in the Amazon EC2 User
|
34291
|
+
# Guide.
|
34292
|
+
#
|
34293
|
+
#
|
34294
|
+
#
|
34295
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
|
34296
|
+
#
|
34297
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
34298
|
+
# The date and time at which the Capacity Reservation Fleet expires.
|
34299
|
+
# When the Capacity Reservation Fleet expires, its state changes to
|
34300
|
+
# `expired` and all of the Capacity Reservations in the Fleet expire.
|
34301
|
+
#
|
34302
|
+
# The Capacity Reservation Fleet expires within an hour after the
|
34303
|
+
# specified time. For example, if you specify `5/31/2019`, `13:30:55`,
|
34304
|
+
# the Capacity Reservation Fleet is guaranteed to expire between
|
34305
|
+
# `13:30:55` and `14:30:55` on `5/31/2019`.
|
34306
|
+
#
|
34307
|
+
# You can't specify **EndDate** and <b> RemoveEndDate</b> in the same
|
34308
|
+
# request.
|
34309
|
+
#
|
34310
|
+
# @option params [Boolean] :dry_run
|
34311
|
+
# Checks whether you have the required permissions for the action,
|
34312
|
+
# without actually making the request, and provides an error response.
|
34313
|
+
# If you have the required permissions, the error response is
|
34314
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34315
|
+
#
|
34316
|
+
# @option params [Boolean] :remove_end_date
|
34317
|
+
# Indicates whether to remove the end date from the Capacity Reservation
|
34318
|
+
# Fleet. If you remove the end date, the Capacity Reservation Fleet does
|
34319
|
+
# not expire and it remains active until you explicitly cancel it using
|
34320
|
+
# the **CancelCapacityReservationFleet** action.
|
34321
|
+
#
|
34322
|
+
# You can't specify **RemoveEndDate** and <b> EndDate</b> in the same
|
34323
|
+
# request.
|
34324
|
+
#
|
34325
|
+
# @return [Types::ModifyCapacityReservationFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34326
|
+
#
|
34327
|
+
# * {Types::ModifyCapacityReservationFleetResult#return #return} => Boolean
|
34328
|
+
#
|
34329
|
+
# @example Request syntax with placeholder values
|
34330
|
+
#
|
34331
|
+
# resp = client.modify_capacity_reservation_fleet({
|
34332
|
+
# capacity_reservation_fleet_id: "CapacityReservationFleetId", # required
|
34333
|
+
# total_target_capacity: 1,
|
34334
|
+
# end_date: Time.now,
|
34335
|
+
# dry_run: false,
|
34336
|
+
# remove_end_date: false,
|
34337
|
+
# })
|
34338
|
+
#
|
34339
|
+
# @example Response structure
|
34340
|
+
#
|
34341
|
+
# resp.return #=> Boolean
|
34342
|
+
#
|
34343
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationFleet AWS API Documentation
|
34344
|
+
#
|
34345
|
+
# @overload modify_capacity_reservation_fleet(params = {})
|
34346
|
+
# @param [Hash] params ({})
|
34347
|
+
def modify_capacity_reservation_fleet(params = {}, options = {})
|
34348
|
+
req = build_request(:modify_capacity_reservation_fleet, params)
|
34349
|
+
req.send_request(options)
|
34350
|
+
end
|
34351
|
+
|
33936
34352
|
# Modifies the specified Client VPN endpoint. Modifying the DNS server
|
33937
34353
|
# resets existing client connections.
|
33938
34354
|
#
|
@@ -34269,7 +34685,7 @@ module Aws::EC2
|
|
34269
34685
|
# placement: {
|
34270
34686
|
# availability_zone: "String",
|
34271
34687
|
# affinity: "String",
|
34272
|
-
# group_name: "
|
34688
|
+
# group_name: "PlacementGroupName",
|
34273
34689
|
# partition_number: 1,
|
34274
34690
|
# host_id: "String",
|
34275
34691
|
# tenancy: "default", # accepts default, dedicated, host
|
@@ -34322,8 +34738,8 @@ module Aws::EC2
|
|
34322
34738
|
# The operation type.
|
34323
34739
|
#
|
34324
34740
|
# @option params [Array<String>] :user_ids
|
34325
|
-
# The
|
34326
|
-
# `loadPermission` attribute.
|
34741
|
+
# The Amazon Web Services account IDs. This parameter is valid only when
|
34742
|
+
# modifying the `loadPermission` attribute.
|
34327
34743
|
#
|
34328
34744
|
# @option params [Array<String>] :user_groups
|
34329
34745
|
# The user groups. This parameter is valid only when modifying the
|
@@ -34495,12 +34911,12 @@ module Aws::EC2
|
|
34495
34911
|
# `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
|
34496
34912
|
#
|
34497
34913
|
# This setting applies to the IAM user who makes the request; it does
|
34498
|
-
# not apply to the entire
|
34499
|
-
# to the same settings as the root user. If you're
|
34500
|
-
# the root user, then these settings apply to the
|
34501
|
-
# an IAM user explicitly overrides these settings
|
34502
|
-
# more information, see [Resource IDs][1] in the
|
34503
|
-
# Cloud User Guide*.
|
34914
|
+
# not apply to the entire Amazon Web Services account. By default, an
|
34915
|
+
# IAM user defaults to the same settings as the root user. If you're
|
34916
|
+
# using this action as the root user, then these settings apply to the
|
34917
|
+
# entire account, unless an IAM user explicitly overrides these settings
|
34918
|
+
# for themselves. For more information, see [Resource IDs][1] in the
|
34919
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
34504
34920
|
#
|
34505
34921
|
# Resources created with longer IDs are visible to all IAM roles and
|
34506
34922
|
# users, regardless of these settings and provided that they have
|
@@ -35349,8 +35765,7 @@ module Aws::EC2
|
|
35349
35765
|
#
|
35350
35766
|
# * Change the Dedicated Host with which an instance is associated.
|
35351
35767
|
#
|
35352
|
-
# * Change the instance tenancy of an instance
|
35353
|
-
# `dedicated`, or from `dedicated` to `host`.
|
35768
|
+
# * Change the instance tenancy of an instance.
|
35354
35769
|
#
|
35355
35770
|
# * Move an instance to or from a [placement group][2].
|
35356
35771
|
#
|
@@ -35387,11 +35802,13 @@ module Aws::EC2
|
|
35387
35802
|
# @option params [String] :tenancy
|
35388
35803
|
# The tenancy for the instance.
|
35389
35804
|
#
|
35390
|
-
# For T3 instances, you can't change the tenancy from `dedicated` to
|
35805
|
+
# <note markdown="1"> For T3 instances, you can't change the tenancy from `dedicated` to
|
35391
35806
|
# `host`, or from `host` to `dedicated`. Attempting to make one of these
|
35392
35807
|
# unsupported tenancy changes results in the `InvalidTenancy` error
|
35393
35808
|
# code.
|
35394
35809
|
#
|
35810
|
+
# </note>
|
35811
|
+
#
|
35395
35812
|
# @option params [Integer] :partition_number
|
35396
35813
|
# Reserved for future use.
|
35397
35814
|
#
|
@@ -36052,7 +36469,7 @@ module Aws::EC2
|
|
36052
36469
|
# {
|
36053
36470
|
# 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
|
36054
36471
|
# spot_price: "String",
|
36055
|
-
# subnet_id: "
|
36472
|
+
# subnet_id: "SubnetId",
|
36056
36473
|
# availability_zone: "String",
|
36057
36474
|
# weighted_capacity: 1.0,
|
36058
36475
|
# priority: 1.0,
|
@@ -36164,13 +36581,6 @@ module Aws::EC2
|
|
36164
36581
|
# `RemoveNetworkServices` to remove the network services from the
|
36165
36582
|
# Traffic Mirror filter.
|
36166
36583
|
#
|
36167
|
-
# For information about filter rule properties, see [Network
|
36168
|
-
# Services][1] in the <i>Traffic Mirroring User Guide </i>.
|
36169
|
-
#
|
36170
|
-
#
|
36171
|
-
#
|
36172
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html
|
36173
|
-
#
|
36174
36584
|
# @option params [required, String] :traffic_mirror_filter_id
|
36175
36585
|
# The ID of the Traffic Mirror filter.
|
36176
36586
|
#
|
@@ -36256,7 +36666,7 @@ module Aws::EC2
|
|
36256
36666
|
# The ID of the Traffic Mirror rule.
|
36257
36667
|
#
|
36258
36668
|
# @option params [String] :traffic_direction
|
36259
|
-
# The type of traffic
|
36669
|
+
# The type of traffic to assign to the rule.
|
36260
36670
|
#
|
36261
36671
|
# @option params [Integer] :rule_number
|
36262
36672
|
# The number of the Traffic Mirror rule. This number must be unique for
|
@@ -37146,7 +37556,7 @@ module Aws::EC2
|
|
37146
37556
|
|
37147
37557
|
# Modifies the permissions for your [VPC endpoint service][1]. You can
|
37148
37558
|
# add or remove permissions for service consumers (IAM users, IAM roles,
|
37149
|
-
# and
|
37559
|
+
# and Amazon Web Services accounts) to connect to your endpoint service.
|
37150
37560
|
#
|
37151
37561
|
# If you grant permissions to all principals, the service is public. Any
|
37152
37562
|
# users who know the name of a public service can send a request to
|
@@ -39048,22 +39458,14 @@ module Aws::EC2
|
|
39048
39458
|
#
|
39049
39459
|
# @option params [String] :network_border_group
|
39050
39460
|
# The set of Availability Zones, Local Zones, or Wavelength Zones from
|
39051
|
-
# which
|
39052
|
-
#
|
39053
|
-
# If you provide an incorrect network border group, you will receive an
|
39054
|
-
# `InvalidAddress.NotFound` error. For more information, see [Error
|
39055
|
-
# Codes][1].
|
39461
|
+
# which Amazon Web Services advertises IP addresses.
|
39056
39462
|
#
|
39057
|
-
#
|
39058
|
-
#
|
39059
|
-
# `InvalidParameterCombination` error. For more information, see [Error
|
39060
|
-
# Codes][1].
|
39061
|
-
#
|
39062
|
-
# </note>
|
39463
|
+
# If you provide an incorrect network border group, you receive an
|
39464
|
+
# `InvalidAddress.NotFound` error.
|
39063
39465
|
#
|
39064
|
-
#
|
39065
|
-
#
|
39066
|
-
#
|
39466
|
+
# You cannot use a network border group with EC2 Classic. If you attempt
|
39467
|
+
# this operation on EC2 classic, you receive an
|
39468
|
+
# `InvalidParameterCombination` error.
|
39067
39469
|
#
|
39068
39470
|
# @option params [Boolean] :dry_run
|
39069
39471
|
# Checks whether you have the required permissions for the action,
|
@@ -39955,7 +40357,7 @@ module Aws::EC2
|
|
39955
40357
|
# ipv_6_address: "String",
|
39956
40358
|
# },
|
39957
40359
|
# ],
|
39958
|
-
# network_interface_id: "
|
40360
|
+
# network_interface_id: "NetworkInterfaceId",
|
39959
40361
|
# private_ip_address: "String",
|
39960
40362
|
# private_ip_addresses: [
|
39961
40363
|
# {
|
@@ -40016,7 +40418,7 @@ module Aws::EC2
|
|
40016
40418
|
# {
|
40017
40419
|
# 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
|
40018
40420
|
# spot_price: "String",
|
40019
|
-
# subnet_id: "
|
40421
|
+
# subnet_id: "SubnetId",
|
40020
40422
|
# availability_zone: "String",
|
40021
40423
|
# weighted_capacity: 1.0,
|
40022
40424
|
# priority: 1.0,
|
@@ -40302,7 +40704,7 @@ module Aws::EC2
|
|
40302
40704
|
# ipv_6_address: "String",
|
40303
40705
|
# },
|
40304
40706
|
# ],
|
40305
|
-
# network_interface_id: "
|
40707
|
+
# network_interface_id: "NetworkInterfaceId",
|
40306
40708
|
# private_ip_address: "String",
|
40307
40709
|
# private_ip_addresses: [
|
40308
40710
|
# {
|
@@ -41764,7 +42166,7 @@ module Aws::EC2
|
|
41764
42166
|
# placement: {
|
41765
42167
|
# availability_zone: "String",
|
41766
42168
|
# affinity: "String",
|
41767
|
-
# group_name: "
|
42169
|
+
# group_name: "PlacementGroupName",
|
41768
42170
|
# partition_number: 1,
|
41769
42171
|
# host_id: "String",
|
41770
42172
|
# tenancy: "default", # accepts default, dedicated, host
|
@@ -41799,7 +42201,7 @@ module Aws::EC2
|
|
41799
42201
|
# ipv_6_address: "String",
|
41800
42202
|
# },
|
41801
42203
|
# ],
|
41802
|
-
# network_interface_id: "
|
42204
|
+
# network_interface_id: "NetworkInterfaceId",
|
41803
42205
|
# private_ip_address: "String",
|
41804
42206
|
# private_ip_addresses: [
|
41805
42207
|
# {
|
@@ -42027,6 +42429,9 @@ module Aws::EC2
|
|
42027
42429
|
# resp.instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
42028
42430
|
# resp.instances[0].enclave_options.enabled #=> Boolean
|
42029
42431
|
# resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
42432
|
+
# resp.instances[0].platform_details #=> String
|
42433
|
+
# resp.instances[0].usage_operation #=> String
|
42434
|
+
# resp.instances[0].usage_operation_update_time #=> Time
|
42030
42435
|
# resp.owner_id #=> String
|
42031
42436
|
# resp.requester_id #=> String
|
42032
42437
|
# resp.reservation_id #=> String
|
@@ -42245,6 +42650,9 @@ module Aws::EC2
|
|
42245
42650
|
# @option params [required, String] :local_gateway_route_table_id
|
42246
42651
|
# The ID of the local gateway route table.
|
42247
42652
|
#
|
42653
|
+
# @option params [Array<Types::Filter>] :filters
|
42654
|
+
# One or more filters.
|
42655
|
+
#
|
42248
42656
|
# @option params [Integer] :max_results
|
42249
42657
|
# The maximum number of results to return with a single call. To
|
42250
42658
|
# retrieve the remaining results, make another call with the returned
|
@@ -42259,9 +42667,6 @@ module Aws::EC2
|
|
42259
42667
|
# If you have the required permissions, the error response is
|
42260
42668
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
42261
42669
|
#
|
42262
|
-
# @option params [required, Array<Types::Filter>] :filters
|
42263
|
-
# One or more filters.
|
42264
|
-
#
|
42265
42670
|
# @return [Types::SearchLocalGatewayRoutesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
42266
42671
|
#
|
42267
42672
|
# * {Types::SearchLocalGatewayRoutesResult#routes #routes} => Array<Types::LocalGatewayRoute>
|
@@ -42273,15 +42678,15 @@ module Aws::EC2
|
|
42273
42678
|
#
|
42274
42679
|
# resp = client.search_local_gateway_routes({
|
42275
42680
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
42276
|
-
#
|
42277
|
-
# next_token: "String",
|
42278
|
-
# dry_run: false,
|
42279
|
-
# filters: [ # required
|
42681
|
+
# filters: [
|
42280
42682
|
# {
|
42281
42683
|
# name: "String",
|
42282
42684
|
# values: ["String"],
|
42283
42685
|
# },
|
42284
42686
|
# ],
|
42687
|
+
# max_results: 1,
|
42688
|
+
# next_token: "String",
|
42689
|
+
# dry_run: false,
|
42285
42690
|
# })
|
42286
42691
|
#
|
42287
42692
|
# @example Response structure
|
@@ -43756,7 +44161,7 @@ module Aws::EC2
|
|
43756
44161
|
params: params,
|
43757
44162
|
config: config)
|
43758
44163
|
context[:gem_name] = 'aws-sdk-ec2'
|
43759
|
-
context[:gem_version] = '1.
|
44164
|
+
context[:gem_version] = '1.268.0'
|
43760
44165
|
Seahorse::Client::Request.new(handlers, context)
|
43761
44166
|
end
|
43762
44167
|
|