aws-sdk-ec2 1.265.0 → 1.269.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 +531 -129
- data/lib/aws-sdk-ec2/client_api.rb +189 -5
- data/lib/aws-sdk-ec2/resource.rb +7 -7
- data/lib/aws-sdk-ec2/subnet.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +1015 -209
- 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*.
|
@@ -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` \|
|
@@ -19248,9 +19574,12 @@ module Aws::EC2
|
|
19248
19574
|
# * `instance-storage-info.disk.type` - The storage technology for the
|
19249
19575
|
# local instance storage disks (`hdd` \| `ssd`).
|
19250
19576
|
#
|
19577
|
+
# * `instance-storage-info.encryption-supported` - Indicates whether
|
19578
|
+
# data is encrypted at rest (`required` \| `unsupported`).
|
19579
|
+
#
|
19251
19580
|
# * `instance-storage-info.nvme-support` - Indicates whether
|
19252
19581
|
# non-volatile memory express (NVMe) is supported for instance store
|
19253
|
-
# (`required` \| `supported`
|
19582
|
+
# (`required` \| `supported` \| `unsupported`).
|
19254
19583
|
#
|
19255
19584
|
# * `instance-storage-info.total-size-in-gb` - The total amount of
|
19256
19585
|
# storage available from all local instance storage, in GB.
|
@@ -19369,7 +19698,7 @@ module Aws::EC2
|
|
19369
19698
|
# resp.instance_types[0].bare_metal #=> Boolean
|
19370
19699
|
# resp.instance_types[0].hypervisor #=> String, one of "nitro", "xen"
|
19371
19700
|
# resp.instance_types[0].processor_info.supported_architectures #=> Array
|
19372
|
-
# resp.instance_types[0].processor_info.supported_architectures[0] #=> String, one of "i386", "x86_64", "arm64"
|
19701
|
+
# resp.instance_types[0].processor_info.supported_architectures[0] #=> String, one of "i386", "x86_64", "arm64", "x86_64_mac"
|
19373
19702
|
# resp.instance_types[0].processor_info.sustained_clock_speed_in_ghz #=> Float
|
19374
19703
|
# resp.instance_types[0].v_cpu_info.default_v_cpus #=> Integer
|
19375
19704
|
# resp.instance_types[0].v_cpu_info.default_cores #=> Integer
|
@@ -19386,6 +19715,7 @@ module Aws::EC2
|
|
19386
19715
|
# resp.instance_types[0].instance_storage_info.disks[0].count #=> Integer
|
19387
19716
|
# resp.instance_types[0].instance_storage_info.disks[0].type #=> String, one of "hdd", "ssd"
|
19388
19717
|
# resp.instance_types[0].instance_storage_info.nvme_support #=> String, one of "unsupported", "supported", "required"
|
19718
|
+
# resp.instance_types[0].instance_storage_info.encryption_support #=> String, one of "unsupported", "required"
|
19389
19719
|
# resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
|
19390
19720
|
# resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
|
19391
19721
|
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
|
@@ -22864,15 +23194,16 @@ module Aws::EC2
|
|
22864
23194
|
# Describes the Regions that are enabled for your account, or all
|
22865
23195
|
# Regions.
|
22866
23196
|
#
|
22867
|
-
# For a list of the Regions supported by Amazon EC2, see [
|
22868
|
-
#
|
23197
|
+
# For a list of the Regions supported by Amazon EC2, see [ Amazon
|
23198
|
+
# Elastic Compute Cloud endpoints and quotas][1].
|
22869
23199
|
#
|
22870
23200
|
# For information about enabling and disabling Regions for your account,
|
22871
|
-
# see [Managing
|
23201
|
+
# see [Managing Amazon Web Services Regions][2] in the *Amazon Web
|
23202
|
+
# Services General Reference*.
|
22872
23203
|
#
|
22873
23204
|
#
|
22874
23205
|
#
|
22875
|
-
# [1]: https://docs.aws.amazon.com/general/latest/gr/
|
23206
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/ec2-service.html
|
22876
23207
|
# [2]: https://docs.aws.amazon.com/general/latest/gr/rande-manage.html
|
22877
23208
|
#
|
22878
23209
|
# @option params [Array<Types::Filter>] :filters
|
@@ -25011,6 +25342,13 @@ module Aws::EC2
|
|
25011
25342
|
# and not miss a recorded event. Spot Fleet events are available for 48
|
25012
25343
|
# hours.
|
25013
25344
|
#
|
25345
|
+
# For more information, see [Monitor fleet events using Amazon
|
25346
|
+
# EventBridge][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
25347
|
+
#
|
25348
|
+
#
|
25349
|
+
#
|
25350
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html
|
25351
|
+
#
|
25014
25352
|
# @option params [Boolean] :dry_run
|
25015
25353
|
# Checks whether you have the required permissions for the action,
|
25016
25354
|
# without actually making the request, and provides an error response.
|
@@ -28343,8 +28681,8 @@ module Aws::EC2
|
|
28343
28681
|
#
|
28344
28682
|
# * `service-id` - The ID of the service.
|
28345
28683
|
#
|
28346
|
-
# * `vpc-endpoint-owner` - The
|
28347
|
-
# endpoint.
|
28684
|
+
# * `vpc-endpoint-owner` - The ID of the Amazon Web Services account ID
|
28685
|
+
# that owns the endpoint.
|
28348
28686
|
#
|
28349
28687
|
# * `vpc-endpoint-state` - The state of the endpoint
|
28350
28688
|
# (`pendingAcceptance` \| `pending` \| `available` \| `deleting` \|
|
@@ -32877,9 +33215,9 @@ module Aws::EC2
|
|
32877
33215
|
req.send_request(options)
|
32878
33216
|
end
|
32879
33217
|
|
32880
|
-
# Download an
|
32881
|
-
# customer gateway device specified for your
|
32882
|
-
# connection.
|
33218
|
+
# Download an Amazon Web Services-provided sample configuration file to
|
33219
|
+
# be used with the customer gateway device specified for your
|
33220
|
+
# Site-to-Site VPN connection.
|
32883
33221
|
#
|
32884
33222
|
# @option params [required, String] :vpn_connection_id
|
32885
33223
|
# The `VpnConnectionId` specifies the Site-to-Site VPN connection used
|
@@ -33166,13 +33504,12 @@ module Aws::EC2
|
|
33166
33504
|
# The tags to apply to the import image task during creation.
|
33167
33505
|
#
|
33168
33506
|
# @option params [String] :usage_operation
|
33169
|
-
# The usage operation value. For more information, see [
|
33170
|
-
#
|
33171
|
-
# Guide*.
|
33507
|
+
# The usage operation value. For more information, see [Licensing
|
33508
|
+
# options][1] in the *VM Import/Export User Guide*.
|
33172
33509
|
#
|
33173
33510
|
#
|
33174
33511
|
#
|
33175
|
-
# [1]: https://docs.aws.amazon.com/
|
33512
|
+
# [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites
|
33176
33513
|
#
|
33177
33514
|
# @option params [String] :boot_mode
|
33178
33515
|
# The boot mode of the virtual machine.
|
@@ -33817,7 +34154,7 @@ module Aws::EC2
|
|
33817
34154
|
# @option params [required, String] :opt_in_status
|
33818
34155
|
# Indicates whether you are opted in to the Local Zone group or
|
33819
34156
|
# Wavelength Zone group. The only valid value is `opted-in`. You must
|
33820
|
-
# contact [
|
34157
|
+
# contact [Amazon Web Services Support][1] to opt out of a Local Zone or
|
33821
34158
|
# Wavelength Zone group.
|
33822
34159
|
#
|
33823
34160
|
#
|
@@ -33936,6 +34273,86 @@ module Aws::EC2
|
|
33936
34273
|
req.send_request(options)
|
33937
34274
|
end
|
33938
34275
|
|
34276
|
+
# Modifies a Capacity Reservation Fleet.
|
34277
|
+
#
|
34278
|
+
# When you modify the total target capacity of a Capacity Reservation
|
34279
|
+
# Fleet, the Fleet automatically creates new Capacity Reservations, or
|
34280
|
+
# modifies or cancels existing Capacity Reservations in the Fleet to
|
34281
|
+
# meet the new total target capacity. When you modify the end date for
|
34282
|
+
# the Fleet, the end dates for all of the individual Capacity
|
34283
|
+
# Reservations in the Fleet are updated accordingly.
|
34284
|
+
#
|
34285
|
+
# @option params [required, String] :capacity_reservation_fleet_id
|
34286
|
+
# The ID of the Capacity Reservation Fleet to modify.
|
34287
|
+
#
|
34288
|
+
# @option params [Integer] :total_target_capacity
|
34289
|
+
# The total number of capacity units to be reserved by the Capacity
|
34290
|
+
# Reservation Fleet. This value, together with the instance type weights
|
34291
|
+
# that you assign to each instance type used by the Fleet determine the
|
34292
|
+
# number of instances for which the Fleet reserves capacity. Both values
|
34293
|
+
# are based on units that make sense for your workload. For more
|
34294
|
+
# information, see [Total target capacity][1] in the Amazon EC2 User
|
34295
|
+
# Guide.
|
34296
|
+
#
|
34297
|
+
#
|
34298
|
+
#
|
34299
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
|
34300
|
+
#
|
34301
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
34302
|
+
# The date and time at which the Capacity Reservation Fleet expires.
|
34303
|
+
# When the Capacity Reservation Fleet expires, its state changes to
|
34304
|
+
# `expired` and all of the Capacity Reservations in the Fleet expire.
|
34305
|
+
#
|
34306
|
+
# The Capacity Reservation Fleet expires within an hour after the
|
34307
|
+
# specified time. For example, if you specify `5/31/2019`, `13:30:55`,
|
34308
|
+
# the Capacity Reservation Fleet is guaranteed to expire between
|
34309
|
+
# `13:30:55` and `14:30:55` on `5/31/2019`.
|
34310
|
+
#
|
34311
|
+
# You can't specify **EndDate** and <b> RemoveEndDate</b> in the same
|
34312
|
+
# request.
|
34313
|
+
#
|
34314
|
+
# @option params [Boolean] :dry_run
|
34315
|
+
# Checks whether you have the required permissions for the action,
|
34316
|
+
# without actually making the request, and provides an error response.
|
34317
|
+
# If you have the required permissions, the error response is
|
34318
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34319
|
+
#
|
34320
|
+
# @option params [Boolean] :remove_end_date
|
34321
|
+
# Indicates whether to remove the end date from the Capacity Reservation
|
34322
|
+
# Fleet. If you remove the end date, the Capacity Reservation Fleet does
|
34323
|
+
# not expire and it remains active until you explicitly cancel it using
|
34324
|
+
# the **CancelCapacityReservationFleet** action.
|
34325
|
+
#
|
34326
|
+
# You can't specify **RemoveEndDate** and <b> EndDate</b> in the same
|
34327
|
+
# request.
|
34328
|
+
#
|
34329
|
+
# @return [Types::ModifyCapacityReservationFleetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34330
|
+
#
|
34331
|
+
# * {Types::ModifyCapacityReservationFleetResult#return #return} => Boolean
|
34332
|
+
#
|
34333
|
+
# @example Request syntax with placeholder values
|
34334
|
+
#
|
34335
|
+
# resp = client.modify_capacity_reservation_fleet({
|
34336
|
+
# capacity_reservation_fleet_id: "CapacityReservationFleetId", # required
|
34337
|
+
# total_target_capacity: 1,
|
34338
|
+
# end_date: Time.now,
|
34339
|
+
# dry_run: false,
|
34340
|
+
# remove_end_date: false,
|
34341
|
+
# })
|
34342
|
+
#
|
34343
|
+
# @example Response structure
|
34344
|
+
#
|
34345
|
+
# resp.return #=> Boolean
|
34346
|
+
#
|
34347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationFleet AWS API Documentation
|
34348
|
+
#
|
34349
|
+
# @overload modify_capacity_reservation_fleet(params = {})
|
34350
|
+
# @param [Hash] params ({})
|
34351
|
+
def modify_capacity_reservation_fleet(params = {}, options = {})
|
34352
|
+
req = build_request(:modify_capacity_reservation_fleet, params)
|
34353
|
+
req.send_request(options)
|
34354
|
+
end
|
34355
|
+
|
33939
34356
|
# Modifies the specified Client VPN endpoint. Modifying the DNS server
|
33940
34357
|
# resets existing client connections.
|
33941
34358
|
#
|
@@ -34325,8 +34742,8 @@ module Aws::EC2
|
|
34325
34742
|
# The operation type.
|
34326
34743
|
#
|
34327
34744
|
# @option params [Array<String>] :user_ids
|
34328
|
-
# The
|
34329
|
-
# `loadPermission` attribute.
|
34745
|
+
# The Amazon Web Services account IDs. This parameter is valid only when
|
34746
|
+
# modifying the `loadPermission` attribute.
|
34330
34747
|
#
|
34331
34748
|
# @option params [Array<String>] :user_groups
|
34332
34749
|
# The user groups. This parameter is valid only when modifying the
|
@@ -34498,12 +34915,12 @@ module Aws::EC2
|
|
34498
34915
|
# `vpc-peering-connection` \| `vpn-connection` \| `vpn-gateway`.
|
34499
34916
|
#
|
34500
34917
|
# This setting applies to the IAM user who makes the request; it does
|
34501
|
-
# not apply to the entire
|
34502
|
-
# to the same settings as the root user. If you're
|
34503
|
-
# the root user, then these settings apply to the
|
34504
|
-
# an IAM user explicitly overrides these settings
|
34505
|
-
# more information, see [Resource IDs][1] in the
|
34506
|
-
# Cloud User Guide*.
|
34918
|
+
# not apply to the entire Amazon Web Services account. By default, an
|
34919
|
+
# IAM user defaults to the same settings as the root user. If you're
|
34920
|
+
# using this action as the root user, then these settings apply to the
|
34921
|
+
# entire account, unless an IAM user explicitly overrides these settings
|
34922
|
+
# for themselves. For more information, see [Resource IDs][1] in the
|
34923
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
34507
34924
|
#
|
34508
34925
|
# Resources created with longer IDs are visible to all IAM roles and
|
34509
34926
|
# users, regardless of these settings and provided that they have
|
@@ -36056,7 +36473,7 @@ module Aws::EC2
|
|
36056
36473
|
# {
|
36057
36474
|
# 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
36475
|
# spot_price: "String",
|
36059
|
-
# subnet_id: "
|
36476
|
+
# subnet_id: "SubnetId",
|
36060
36477
|
# availability_zone: "String",
|
36061
36478
|
# weighted_capacity: 1.0,
|
36062
36479
|
# priority: 1.0,
|
@@ -36168,13 +36585,6 @@ module Aws::EC2
|
|
36168
36585
|
# `RemoveNetworkServices` to remove the network services from the
|
36169
36586
|
# Traffic Mirror filter.
|
36170
36587
|
#
|
36171
|
-
# For information about filter rule properties, see [Network
|
36172
|
-
# Services][1] in the <i>Traffic Mirroring User Guide </i>.
|
36173
|
-
#
|
36174
|
-
#
|
36175
|
-
#
|
36176
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html
|
36177
|
-
#
|
36178
36588
|
# @option params [required, String] :traffic_mirror_filter_id
|
36179
36589
|
# The ID of the Traffic Mirror filter.
|
36180
36590
|
#
|
@@ -36260,7 +36670,7 @@ module Aws::EC2
|
|
36260
36670
|
# The ID of the Traffic Mirror rule.
|
36261
36671
|
#
|
36262
36672
|
# @option params [String] :traffic_direction
|
36263
|
-
# The type of traffic
|
36673
|
+
# The type of traffic to assign to the rule.
|
36264
36674
|
#
|
36265
36675
|
# @option params [Integer] :rule_number
|
36266
36676
|
# The number of the Traffic Mirror rule. This number must be unique for
|
@@ -37150,7 +37560,7 @@ module Aws::EC2
|
|
37150
37560
|
|
37151
37561
|
# Modifies the permissions for your [VPC endpoint service][1]. You can
|
37152
37562
|
# add or remove permissions for service consumers (IAM users, IAM roles,
|
37153
|
-
# and
|
37563
|
+
# and Amazon Web Services accounts) to connect to your endpoint service.
|
37154
37564
|
#
|
37155
37565
|
# If you grant permissions to all principals, the service is public. Any
|
37156
37566
|
# users who know the name of a public service can send a request to
|
@@ -39052,22 +39462,14 @@ module Aws::EC2
|
|
39052
39462
|
#
|
39053
39463
|
# @option params [String] :network_border_group
|
39054
39464
|
# The set of Availability Zones, Local Zones, or Wavelength Zones from
|
39055
|
-
# which
|
39056
|
-
#
|
39057
|
-
# If you provide an incorrect network border group, you will receive an
|
39058
|
-
# `InvalidAddress.NotFound` error. For more information, see [Error
|
39059
|
-
# Codes][1].
|
39465
|
+
# which Amazon Web Services advertises IP addresses.
|
39060
39466
|
#
|
39061
|
-
#
|
39062
|
-
#
|
39063
|
-
# `InvalidParameterCombination` error. For more information, see [Error
|
39064
|
-
# Codes][1].
|
39065
|
-
#
|
39066
|
-
# </note>
|
39467
|
+
# If you provide an incorrect network border group, you receive an
|
39468
|
+
# `InvalidAddress.NotFound` error.
|
39067
39469
|
#
|
39068
|
-
#
|
39069
|
-
#
|
39070
|
-
#
|
39470
|
+
# You cannot use a network border group with EC2 Classic. If you attempt
|
39471
|
+
# this operation on EC2 classic, you receive an
|
39472
|
+
# `InvalidParameterCombination` error.
|
39071
39473
|
#
|
39072
39474
|
# @option params [Boolean] :dry_run
|
39073
39475
|
# Checks whether you have the required permissions for the action,
|
@@ -39959,7 +40361,7 @@ module Aws::EC2
|
|
39959
40361
|
# ipv_6_address: "String",
|
39960
40362
|
# },
|
39961
40363
|
# ],
|
39962
|
-
# network_interface_id: "
|
40364
|
+
# network_interface_id: "NetworkInterfaceId",
|
39963
40365
|
# private_ip_address: "String",
|
39964
40366
|
# private_ip_addresses: [
|
39965
40367
|
# {
|
@@ -40020,7 +40422,7 @@ module Aws::EC2
|
|
40020
40422
|
# {
|
40021
40423
|
# 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
40424
|
# spot_price: "String",
|
40023
|
-
# subnet_id: "
|
40425
|
+
# subnet_id: "SubnetId",
|
40024
40426
|
# availability_zone: "String",
|
40025
40427
|
# weighted_capacity: 1.0,
|
40026
40428
|
# priority: 1.0,
|
@@ -40306,7 +40708,7 @@ module Aws::EC2
|
|
40306
40708
|
# ipv_6_address: "String",
|
40307
40709
|
# },
|
40308
40710
|
# ],
|
40309
|
-
# network_interface_id: "
|
40711
|
+
# network_interface_id: "NetworkInterfaceId",
|
40310
40712
|
# private_ip_address: "String",
|
40311
40713
|
# private_ip_addresses: [
|
40312
40714
|
# {
|
@@ -41803,7 +42205,7 @@ module Aws::EC2
|
|
41803
42205
|
# ipv_6_address: "String",
|
41804
42206
|
# },
|
41805
42207
|
# ],
|
41806
|
-
# network_interface_id: "
|
42208
|
+
# network_interface_id: "NetworkInterfaceId",
|
41807
42209
|
# private_ip_address: "String",
|
41808
42210
|
# private_ip_addresses: [
|
41809
42211
|
# {
|
@@ -42252,6 +42654,9 @@ module Aws::EC2
|
|
42252
42654
|
# @option params [required, String] :local_gateway_route_table_id
|
42253
42655
|
# The ID of the local gateway route table.
|
42254
42656
|
#
|
42657
|
+
# @option params [Array<Types::Filter>] :filters
|
42658
|
+
# One or more filters.
|
42659
|
+
#
|
42255
42660
|
# @option params [Integer] :max_results
|
42256
42661
|
# The maximum number of results to return with a single call. To
|
42257
42662
|
# retrieve the remaining results, make another call with the returned
|
@@ -42266,9 +42671,6 @@ module Aws::EC2
|
|
42266
42671
|
# If you have the required permissions, the error response is
|
42267
42672
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
42268
42673
|
#
|
42269
|
-
# @option params [required, Array<Types::Filter>] :filters
|
42270
|
-
# One or more filters.
|
42271
|
-
#
|
42272
42674
|
# @return [Types::SearchLocalGatewayRoutesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
42273
42675
|
#
|
42274
42676
|
# * {Types::SearchLocalGatewayRoutesResult#routes #routes} => Array<Types::LocalGatewayRoute>
|
@@ -42280,15 +42682,15 @@ module Aws::EC2
|
|
42280
42682
|
#
|
42281
42683
|
# resp = client.search_local_gateway_routes({
|
42282
42684
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
42283
|
-
#
|
42284
|
-
# next_token: "String",
|
42285
|
-
# dry_run: false,
|
42286
|
-
# filters: [ # required
|
42685
|
+
# filters: [
|
42287
42686
|
# {
|
42288
42687
|
# name: "String",
|
42289
42688
|
# values: ["String"],
|
42290
42689
|
# },
|
42291
42690
|
# ],
|
42691
|
+
# max_results: 1,
|
42692
|
+
# next_token: "String",
|
42693
|
+
# dry_run: false,
|
42292
42694
|
# })
|
42293
42695
|
#
|
42294
42696
|
# @example Response structure
|
@@ -43763,7 +44165,7 @@ module Aws::EC2
|
|
43763
44165
|
params: params,
|
43764
44166
|
config: config)
|
43765
44167
|
context[:gem_name] = 'aws-sdk-ec2'
|
43766
|
-
context[:gem_version] = '1.
|
44168
|
+
context[:gem_version] = '1.269.0'
|
43767
44169
|
Seahorse::Client::Request.new(handlers, context)
|
43768
44170
|
end
|
43769
44171
|
|