aws-sdk-ec2 1.265.0 → 1.266.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3335,6 +3335,72 @@ module Aws::EC2
3335
3335
  include Aws::Structure
3336
3336
  end
3337
3337
 
3338
+ # Describes a Capacity Reservation Fleet cancellation error.
3339
+ #
3340
+ # @!attribute [rw] code
3341
+ # The error code.
3342
+ # @return [String]
3343
+ #
3344
+ # @!attribute [rw] message
3345
+ # The error message.
3346
+ # @return [String]
3347
+ #
3348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservationFleetError AWS API Documentation
3349
+ #
3350
+ class CancelCapacityReservationFleetError < Struct.new(
3351
+ :code,
3352
+ :message)
3353
+ SENSITIVE = []
3354
+ include Aws::Structure
3355
+ end
3356
+
3357
+ # @note When making an API call, you may pass CancelCapacityReservationFleetsRequest
3358
+ # data as a hash:
3359
+ #
3360
+ # {
3361
+ # dry_run: false,
3362
+ # capacity_reservation_fleet_ids: ["CapacityReservationFleetId"], # required
3363
+ # }
3364
+ #
3365
+ # @!attribute [rw] dry_run
3366
+ # Checks whether you have the required permissions for the action,
3367
+ # without actually making the request, and provides an error response.
3368
+ # If you have the required permissions, the error response is
3369
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3370
+ # @return [Boolean]
3371
+ #
3372
+ # @!attribute [rw] capacity_reservation_fleet_ids
3373
+ # The IDs of the Capacity Reservation Fleets to cancel.
3374
+ # @return [Array<String>]
3375
+ #
3376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservationFleetsRequest AWS API Documentation
3377
+ #
3378
+ class CancelCapacityReservationFleetsRequest < Struct.new(
3379
+ :dry_run,
3380
+ :capacity_reservation_fleet_ids)
3381
+ SENSITIVE = []
3382
+ include Aws::Structure
3383
+ end
3384
+
3385
+ # @!attribute [rw] successful_fleet_cancellations
3386
+ # Information about the Capacity Reservation Fleets that were
3387
+ # successfully cancelled.
3388
+ # @return [Array<Types::CapacityReservationFleetCancellationState>]
3389
+ #
3390
+ # @!attribute [rw] failed_fleet_cancellations
3391
+ # Information about the Capacity Reservation Fleets that could not be
3392
+ # cancelled.
3393
+ # @return [Array<Types::FailedCapacityReservationFleetCancellationResult>]
3394
+ #
3395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservationFleetsResult AWS API Documentation
3396
+ #
3397
+ class CancelCapacityReservationFleetsResult < Struct.new(
3398
+ :successful_fleet_cancellations,
3399
+ :failed_fleet_cancellations)
3400
+ SENSITIVE = []
3401
+ include Aws::Structure
3402
+ end
3403
+
3338
3404
  # @note When making an API call, you may pass CancelCapacityReservationRequest
3339
3405
  # data as a hash:
3340
3406
  #
@@ -3849,6 +3915,12 @@ module Aws::EC2
3849
3915
  # Reservation was created.
3850
3916
  # @return [String]
3851
3917
  #
3918
+ # @!attribute [rw] capacity_reservation_fleet_id
3919
+ # The ID of the Capacity Reservation Fleet to which the Capacity
3920
+ # Reservation belongs. Only valid for Capacity Reservations that were
3921
+ # created by a Capacity Reservation Fleet.
3922
+ # @return [String]
3923
+ #
3852
3924
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservation AWS API Documentation
3853
3925
  #
3854
3926
  class CapacityReservation < Struct.new(
@@ -3871,7 +3943,172 @@ module Aws::EC2
3871
3943
  :instance_match_criteria,
3872
3944
  :create_date,
3873
3945
  :tags,
3874
- :outpost_arn)
3946
+ :outpost_arn,
3947
+ :capacity_reservation_fleet_id)
3948
+ SENSITIVE = []
3949
+ include Aws::Structure
3950
+ end
3951
+
3952
+ # Information about a Capacity Reservation Fleet.
3953
+ #
3954
+ # @!attribute [rw] capacity_reservation_fleet_id
3955
+ # The ID of the Capacity Reservation Fleet.
3956
+ # @return [String]
3957
+ #
3958
+ # @!attribute [rw] capacity_reservation_fleet_arn
3959
+ # The ARN of the Capacity Reservation Fleet.
3960
+ # @return [String]
3961
+ #
3962
+ # @!attribute [rw] state
3963
+ # The state of the Capacity Reservation Fleet. Possible states
3964
+ # include:
3965
+ #
3966
+ # * `submitted` - The Capacity Reservation Fleet request has been
3967
+ # submitted and Amazon Elastic Compute Cloud is preparing to create
3968
+ # the Capacity Reservations.
3969
+ #
3970
+ # * `modifying` - The Capacity Reservation Fleet is being modified.
3971
+ # The Fleet remains in this state until the modification is
3972
+ # complete.
3973
+ #
3974
+ # * `active` - The Capacity Reservation Fleet has fulfilled its total
3975
+ # target capacity and it is attempting to maintain this capacity.
3976
+ # The Fleet remains in this state until it is modified or deleted.
3977
+ #
3978
+ # * `partially_fulfilled` - The Capacity Reservation Fleet has
3979
+ # partially fulfilled its total target capacity. There is
3980
+ # insufficient Amazon EC2 to fulfill the total target capacity. The
3981
+ # Fleet is attempting to asynchronously fulfill its total target
3982
+ # capacity.
3983
+ #
3984
+ # * `expiring` - The Capacity Reservation Fleet has reach its end date
3985
+ # and it is in the process of expiring. One or more of its Capacity
3986
+ # reservations might still be active.
3987
+ #
3988
+ # * `expired` - The Capacity Reservation Fleet has reach its end date.
3989
+ # The Fleet and its Capacity Reservations are expired. The Fleet
3990
+ # can't create new Capacity Reservations.
3991
+ #
3992
+ # * `cancelling` - The Capacity Reservation Fleet is in the process of
3993
+ # being cancelled. One or more of its Capacity reservations might
3994
+ # still be active.
3995
+ #
3996
+ # * `cancelled` - The Capacity Reservation Fleet has been manually
3997
+ # cancelled. The Fleet and its Capacity Reservations are cancelled
3998
+ # and the Fleet can't create new Capacity Reservations.
3999
+ #
4000
+ # * `failed` - The Capacity Reservation Fleet failed to reserve
4001
+ # capacity for the specified instance types.
4002
+ # @return [String]
4003
+ #
4004
+ # @!attribute [rw] total_target_capacity
4005
+ # The total number of capacity units for which the Capacity
4006
+ # Reservation Fleet reserves capacity. For more information, see
4007
+ # [Total target capacity][1] in the Amazon EC2 User Guide.
4008
+ #
4009
+ #
4010
+ #
4011
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
4012
+ # @return [Integer]
4013
+ #
4014
+ # @!attribute [rw] total_fulfilled_capacity
4015
+ # The capacity units that have been fulfilled.
4016
+ # @return [Float]
4017
+ #
4018
+ # @!attribute [rw] tenancy
4019
+ # The tenancy of the Capacity Reservation Fleet. Tenancies include:
4020
+ #
4021
+ # * `default` - The Capacity Reservation Fleet is created on hardware
4022
+ # that is shared with other Amazon Web Services accounts.
4023
+ #
4024
+ # * `dedicated` - The Capacity Reservation Fleet is created on
4025
+ # single-tenant hardware that is dedicated to a single Amazon Web
4026
+ # Services account.
4027
+ # @return [String]
4028
+ #
4029
+ # @!attribute [rw] end_date
4030
+ # The date and time at which the Capacity Reservation Fleet expires.
4031
+ # @return [Time]
4032
+ #
4033
+ # @!attribute [rw] create_time
4034
+ # The date and time at which the Capacity Reservation Fleet was
4035
+ # created.
4036
+ # @return [Time]
4037
+ #
4038
+ # @!attribute [rw] instance_match_criteria
4039
+ # Indicates the type of instance launches that the Capacity
4040
+ # Reservation Fleet accepts. All Capacity Reservations in the Fleet
4041
+ # inherit this instance matching criteria.
4042
+ #
4043
+ # Currently, Capacity Reservation Fleets support `open` instance
4044
+ # matching criteria only. This means that instances that have matching
4045
+ # attributes (instance type, platform, and Availability Zone) run in
4046
+ # the Capacity Reservations automatically. Instances do not need to
4047
+ # explicitly target a Capacity Reservation Fleet to use its reserved
4048
+ # capacity.
4049
+ # @return [String]
4050
+ #
4051
+ # @!attribute [rw] allocation_strategy
4052
+ # The strategy used by the Capacity Reservation Fleet to determine
4053
+ # which of the specified instance types to use. For more information,
4054
+ # see For more information, see [ Allocation strategy][1] in the
4055
+ # Amazon EC2 User Guide.
4056
+ #
4057
+ #
4058
+ #
4059
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy
4060
+ # @return [String]
4061
+ #
4062
+ # @!attribute [rw] instance_type_specifications
4063
+ # Information about the instance types for which to reserve the
4064
+ # capacity.
4065
+ # @return [Array<Types::FleetCapacityReservation>]
4066
+ #
4067
+ # @!attribute [rw] tags
4068
+ # The tags assigned to the Capacity Reservation Fleet.
4069
+ # @return [Array<Types::Tag>]
4070
+ #
4071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationFleet AWS API Documentation
4072
+ #
4073
+ class CapacityReservationFleet < Struct.new(
4074
+ :capacity_reservation_fleet_id,
4075
+ :capacity_reservation_fleet_arn,
4076
+ :state,
4077
+ :total_target_capacity,
4078
+ :total_fulfilled_capacity,
4079
+ :tenancy,
4080
+ :end_date,
4081
+ :create_time,
4082
+ :instance_match_criteria,
4083
+ :allocation_strategy,
4084
+ :instance_type_specifications,
4085
+ :tags)
4086
+ SENSITIVE = []
4087
+ include Aws::Structure
4088
+ end
4089
+
4090
+ # Describes a Capacity Reservation Fleet that was successfully
4091
+ # cancelled.
4092
+ #
4093
+ # @!attribute [rw] current_fleet_state
4094
+ # The current state of the Capacity Reservation Fleet.
4095
+ # @return [String]
4096
+ #
4097
+ # @!attribute [rw] previous_fleet_state
4098
+ # The previous state of the Capacity Reservation Fleet.
4099
+ # @return [String]
4100
+ #
4101
+ # @!attribute [rw] capacity_reservation_fleet_id
4102
+ # The ID of the Capacity Reservation Fleet that was successfully
4103
+ # cancelled.
4104
+ # @return [String]
4105
+ #
4106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationFleetCancellationState AWS API Documentation
4107
+ #
4108
+ class CapacityReservationFleetCancellationState < Struct.new(
4109
+ :current_fleet_state,
4110
+ :previous_fleet_state,
4111
+ :capacity_reservation_fleet_id)
3875
4112
  SENSITIVE = []
3876
4113
  include Aws::Structure
3877
4114
  end
@@ -5622,6 +5859,218 @@ module Aws::EC2
5622
5859
  include Aws::Structure
5623
5860
  end
5624
5861
 
5862
+ # @note When making an API call, you may pass CreateCapacityReservationFleetRequest
5863
+ # data as a hash:
5864
+ #
5865
+ # {
5866
+ # allocation_strategy: "String",
5867
+ # client_token: "String",
5868
+ # instance_type_specifications: [ # required
5869
+ # {
5870
+ # 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
5871
+ # 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
5872
+ # weight: 1.0,
5873
+ # availability_zone: "String",
5874
+ # availability_zone_id: "String",
5875
+ # ebs_optimized: false,
5876
+ # priority: 1,
5877
+ # },
5878
+ # ],
5879
+ # tenancy: "default", # accepts default
5880
+ # total_target_capacity: 1, # required
5881
+ # end_date: Time.now,
5882
+ # instance_match_criteria: "open", # accepts open
5883
+ # tag_specifications: [
5884
+ # {
5885
+ # 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
5886
+ # tags: [
5887
+ # {
5888
+ # key: "String",
5889
+ # value: "String",
5890
+ # },
5891
+ # ],
5892
+ # },
5893
+ # ],
5894
+ # dry_run: false,
5895
+ # }
5896
+ #
5897
+ # @!attribute [rw] allocation_strategy
5898
+ # The strategy used by the Capacity Reservation Fleet to determine
5899
+ # which of the specified instance types to use. Currently, only the
5900
+ # `prioritized` allocation strategy is supported. For more
5901
+ # information, see [ Allocation strategy][1] in the Amazon EC2 User
5902
+ # Guide.
5903
+ #
5904
+ # Valid values: `prioritized`
5905
+ #
5906
+ #
5907
+ #
5908
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy
5909
+ # @return [String]
5910
+ #
5911
+ # @!attribute [rw] client_token
5912
+ # Unique, case-sensitive identifier that you provide to ensure the
5913
+ # idempotency of the request. For more information, see [Ensure
5914
+ # Idempotency][1].
5915
+ #
5916
+ # **A suitable default value is auto-generated.** You should normally
5917
+ # not need to pass this option.
5918
+ #
5919
+ #
5920
+ #
5921
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5922
+ # @return [String]
5923
+ #
5924
+ # @!attribute [rw] instance_type_specifications
5925
+ # Information about the instance types for which to reserve the
5926
+ # capacity.
5927
+ # @return [Array<Types::ReservationFleetInstanceSpecification>]
5928
+ #
5929
+ # @!attribute [rw] tenancy
5930
+ # Indicates the tenancy of the Capacity Reservation Fleet. All
5931
+ # Capacity Reservations in the Fleet inherit this tenancy. The
5932
+ # Capacity Reservation Fleet can have one of the following tenancy
5933
+ # settings:
5934
+ #
5935
+ # * `default` - The Capacity Reservation Fleet is created on hardware
5936
+ # that is shared with other Amazon Web Services accounts.
5937
+ #
5938
+ # * `dedicated` - The Capacity Reservations are created on
5939
+ # single-tenant hardware that is dedicated to a single Amazon Web
5940
+ # Services account.
5941
+ # @return [String]
5942
+ #
5943
+ # @!attribute [rw] total_target_capacity
5944
+ # The total number of capacity units to be reserved by the Capacity
5945
+ # Reservation Fleet. This value, together with the instance type
5946
+ # weights that you assign to each instance type used by the Fleet
5947
+ # determine the number of instances for which the Fleet reserves
5948
+ # capacity. Both values are based on units that make sense for your
5949
+ # workload. For more information, see [ Total target capacity][1] in
5950
+ # the Amazon EC2 User Guide.
5951
+ #
5952
+ #
5953
+ #
5954
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
5955
+ # @return [Integer]
5956
+ #
5957
+ # @!attribute [rw] end_date
5958
+ # The date and time at which the Capacity Reservation Fleet expires.
5959
+ # When the Capacity Reservation Fleet expires, its state changes to
5960
+ # `expired` and all of the Capacity Reservations in the Fleet expire.
5961
+ #
5962
+ # The Capacity Reservation Fleet expires within an hour after the
5963
+ # specified time. For example, if you specify `5/31/2019`, `13:30:55`,
5964
+ # the Capacity Reservation Fleet is guaranteed to expire between
5965
+ # `13:30:55` and `14:30:55` on `5/31/2019`.
5966
+ # @return [Time]
5967
+ #
5968
+ # @!attribute [rw] instance_match_criteria
5969
+ # Indicates the type of instance launches that the Capacity
5970
+ # Reservation Fleet accepts. All Capacity Reservations in the Fleet
5971
+ # inherit this instance matching criteria.
5972
+ #
5973
+ # Currently, Capacity Reservation Fleets support `open` instance
5974
+ # matching criteria only. This means that instances that have matching
5975
+ # attributes (instance type, platform, and Availability Zone) run in
5976
+ # the Capacity Reservations automatically. Instances do not need to
5977
+ # explicitly target a Capacity Reservation Fleet to use its reserved
5978
+ # capacity.
5979
+ # @return [String]
5980
+ #
5981
+ # @!attribute [rw] tag_specifications
5982
+ # The tags to assign to the Capacity Reservation Fleet. The tags are
5983
+ # automatically assigned to the Capacity Reservations in the Fleet.
5984
+ # @return [Array<Types::TagSpecification>]
5985
+ #
5986
+ # @!attribute [rw] dry_run
5987
+ # Checks whether you have the required permissions for the action,
5988
+ # without actually making the request, and provides an error response.
5989
+ # If you have the required permissions, the error response is
5990
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5991
+ # @return [Boolean]
5992
+ #
5993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationFleetRequest AWS API Documentation
5994
+ #
5995
+ class CreateCapacityReservationFleetRequest < Struct.new(
5996
+ :allocation_strategy,
5997
+ :client_token,
5998
+ :instance_type_specifications,
5999
+ :tenancy,
6000
+ :total_target_capacity,
6001
+ :end_date,
6002
+ :instance_match_criteria,
6003
+ :tag_specifications,
6004
+ :dry_run)
6005
+ SENSITIVE = []
6006
+ include Aws::Structure
6007
+ end
6008
+
6009
+ # @!attribute [rw] capacity_reservation_fleet_id
6010
+ # The ID of the Capacity Reservation Fleet.
6011
+ # @return [String]
6012
+ #
6013
+ # @!attribute [rw] state
6014
+ # The status of the Capacity Reservation Fleet.
6015
+ # @return [String]
6016
+ #
6017
+ # @!attribute [rw] total_target_capacity
6018
+ # The total number of capacity units for which the Capacity
6019
+ # Reservation Fleet reserves capacity.
6020
+ # @return [Integer]
6021
+ #
6022
+ # @!attribute [rw] total_fulfilled_capacity
6023
+ # The requested capacity units that have been successfully reserved.
6024
+ # @return [Float]
6025
+ #
6026
+ # @!attribute [rw] instance_match_criteria
6027
+ # The instance matching criteria for the Capacity Reservation Fleet.
6028
+ # @return [String]
6029
+ #
6030
+ # @!attribute [rw] allocation_strategy
6031
+ # The allocation strategy used by the Capacity Reservation Fleet.
6032
+ # @return [String]
6033
+ #
6034
+ # @!attribute [rw] create_time
6035
+ # The date and time at which the Capacity Reservation Fleet was
6036
+ # created.
6037
+ # @return [Time]
6038
+ #
6039
+ # @!attribute [rw] end_date
6040
+ # The date and time at which the Capacity Reservation Fleet expires.
6041
+ # @return [Time]
6042
+ #
6043
+ # @!attribute [rw] tenancy
6044
+ # Indicates the tenancy of Capacity Reservation Fleet.
6045
+ # @return [String]
6046
+ #
6047
+ # @!attribute [rw] fleet_capacity_reservations
6048
+ # Information about the individual Capacity Reservations in the
6049
+ # Capacity Reservation Fleet.
6050
+ # @return [Array<Types::FleetCapacityReservation>]
6051
+ #
6052
+ # @!attribute [rw] tags
6053
+ # The tags assigned to the Capacity Reservation Fleet.
6054
+ # @return [Array<Types::Tag>]
6055
+ #
6056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationFleetResult AWS API Documentation
6057
+ #
6058
+ class CreateCapacityReservationFleetResult < Struct.new(
6059
+ :capacity_reservation_fleet_id,
6060
+ :state,
6061
+ :total_target_capacity,
6062
+ :total_fulfilled_capacity,
6063
+ :instance_match_criteria,
6064
+ :allocation_strategy,
6065
+ :create_time,
6066
+ :end_date,
6067
+ :tenancy,
6068
+ :fleet_capacity_reservations,
6069
+ :tags)
6070
+ SENSITIVE = []
6071
+ include Aws::Structure
6072
+ end
6073
+
5625
6074
  # @note When making an API call, you may pass CreateCapacityReservationRequest
5626
6075
  # data as a hash:
5627
6076
  #
@@ -15309,6 +15758,91 @@ module Aws::EC2
15309
15758
  include Aws::Structure
15310
15759
  end
15311
15760
 
15761
+ # @note When making an API call, you may pass DescribeCapacityReservationFleetsRequest
15762
+ # data as a hash:
15763
+ #
15764
+ # {
15765
+ # capacity_reservation_fleet_ids: ["CapacityReservationFleetId"],
15766
+ # next_token: "String",
15767
+ # max_results: 1,
15768
+ # filters: [
15769
+ # {
15770
+ # name: "String",
15771
+ # values: ["String"],
15772
+ # },
15773
+ # ],
15774
+ # dry_run: false,
15775
+ # }
15776
+ #
15777
+ # @!attribute [rw] capacity_reservation_fleet_ids
15778
+ # The IDs of the Capacity Reservation Fleets to describe.
15779
+ # @return [Array<String>]
15780
+ #
15781
+ # @!attribute [rw] next_token
15782
+ # The token to use to retrieve the next page of results.
15783
+ # @return [String]
15784
+ #
15785
+ # @!attribute [rw] max_results
15786
+ # The maximum number of results to return for the request in a single
15787
+ # page. The remaining results can be seen by sending another request
15788
+ # with the returned `nextToken` value. This value can be between 5 and
15789
+ # 500. If `maxResults` is given a larger value than 500, you receive
15790
+ # an error.
15791
+ # @return [Integer]
15792
+ #
15793
+ # @!attribute [rw] filters
15794
+ # One or more filters.
15795
+ #
15796
+ # * `state` - The state of the Fleet (`submitted` \| `modifying` \|
15797
+ # `active` \| `partially_fulfilled` \| `expiring` \| `expired` \|
15798
+ # `cancelling` \| `cancelled` \| `failed`).
15799
+ #
15800
+ # * `instance-match-criteria` - The instance matching criteria for the
15801
+ # Fleet. Only `open` is supported.
15802
+ #
15803
+ # * `tenancy` - The tenancy of the Fleet (`default` \| `dedicated`).
15804
+ #
15805
+ # * `allocation-strategy` - The allocation strategy used by the Fleet.
15806
+ # Only `prioritized` is supported.
15807
+ # @return [Array<Types::Filter>]
15808
+ #
15809
+ # @!attribute [rw] dry_run
15810
+ # Checks whether you have the required permissions for the action,
15811
+ # without actually making the request, and provides an error response.
15812
+ # If you have the required permissions, the error response is
15813
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
15814
+ # @return [Boolean]
15815
+ #
15816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationFleetsRequest AWS API Documentation
15817
+ #
15818
+ class DescribeCapacityReservationFleetsRequest < Struct.new(
15819
+ :capacity_reservation_fleet_ids,
15820
+ :next_token,
15821
+ :max_results,
15822
+ :filters,
15823
+ :dry_run)
15824
+ SENSITIVE = []
15825
+ include Aws::Structure
15826
+ end
15827
+
15828
+ # @!attribute [rw] capacity_reservation_fleets
15829
+ # Information about the Capacity Reservation Fleets.
15830
+ # @return [Array<Types::CapacityReservationFleet>]
15831
+ #
15832
+ # @!attribute [rw] next_token
15833
+ # The token to use to retrieve the next page of results. This value is
15834
+ # `null` when there are no more results to return.
15835
+ # @return [String]
15836
+ #
15837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationFleetsResult AWS API Documentation
15838
+ #
15839
+ class DescribeCapacityReservationFleetsResult < Struct.new(
15840
+ :capacity_reservation_fleets,
15841
+ :next_token)
15842
+ SENSITIVE = []
15843
+ include Aws::Structure
15844
+ end
15845
+
15312
15846
  # @note When making an API call, you may pass DescribeCapacityReservationsRequest
15313
15847
  # data as a hash:
15314
15848
  #
@@ -29752,6 +30286,26 @@ module Aws::EC2
29752
30286
  include Aws::Structure
29753
30287
  end
29754
30288
 
30289
+ # Describes a Capacity Reservation Fleet that could not be cancelled.
30290
+ #
30291
+ # @!attribute [rw] capacity_reservation_fleet_id
30292
+ # The ID of the Capacity Reservation Fleet that could not be
30293
+ # cancelled.
30294
+ # @return [String]
30295
+ #
30296
+ # @!attribute [rw] cancel_capacity_reservation_fleet_error
30297
+ # Information about the Capacity Reservation Fleet cancellation error.
30298
+ # @return [Types::CancelCapacityReservationFleetError]
30299
+ #
30300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FailedCapacityReservationFleetCancellationResult AWS API Documentation
30301
+ #
30302
+ class FailedCapacityReservationFleetCancellationResult < Struct.new(
30303
+ :capacity_reservation_fleet_id,
30304
+ :cancel_capacity_reservation_fleet_error)
30305
+ SENSITIVE = []
30306
+ include Aws::Structure
30307
+ end
30308
+
29755
30309
  # Describes a Reserved Instance whose queued purchase was not deleted.
29756
30310
  #
29757
30311
  # @!attribute [rw] error
@@ -29850,6 +30404,95 @@ module Aws::EC2
29850
30404
  include Aws::Structure
29851
30405
  end
29852
30406
 
30407
+ # Information about a Capacity Reservation in a Capacity Reservation
30408
+ # Fleet.
30409
+ #
30410
+ # @!attribute [rw] capacity_reservation_id
30411
+ # The ID of the Capacity Reservation.
30412
+ # @return [String]
30413
+ #
30414
+ # @!attribute [rw] availability_zone_id
30415
+ # The ID of the Availability Zone in which the Capacity Reservation
30416
+ # reserves capacity.
30417
+ # @return [String]
30418
+ #
30419
+ # @!attribute [rw] instance_type
30420
+ # The instance type for which the Capacity Reservation reserves
30421
+ # capacity.
30422
+ # @return [String]
30423
+ #
30424
+ # @!attribute [rw] instance_platform
30425
+ # The type of operating system for which the Capacity Reservation
30426
+ # reserves capacity.
30427
+ # @return [String]
30428
+ #
30429
+ # @!attribute [rw] availability_zone
30430
+ # The Availability Zone in which the Capacity Reservation reserves
30431
+ # capacity.
30432
+ # @return [String]
30433
+ #
30434
+ # @!attribute [rw] total_instance_count
30435
+ # The total number of instances for which the Capacity Reservation
30436
+ # reserves capacity.
30437
+ # @return [Integer]
30438
+ #
30439
+ # @!attribute [rw] fulfilled_capacity
30440
+ # The number of capacity units fulfilled by the Capacity Reservation.
30441
+ # For more information, see [ Total target capacity][1] in the Amazon
30442
+ # EC2 User Guide.
30443
+ #
30444
+ #
30445
+ #
30446
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
30447
+ # @return [Float]
30448
+ #
30449
+ # @!attribute [rw] ebs_optimized
30450
+ # Indicates whether the Capacity Reservation reserves capacity for
30451
+ # EBS-optimized instance types.
30452
+ # @return [Boolean]
30453
+ #
30454
+ # @!attribute [rw] create_date
30455
+ # The date and time at which the Capacity Reservation was created.
30456
+ # @return [Time]
30457
+ #
30458
+ # @!attribute [rw] weight
30459
+ # The weight of the instance type in the Capacity Reservation Fleet.
30460
+ # For more information, see [ Instance type weight][1] in the Amazon
30461
+ # EC2 User Guide.
30462
+ #
30463
+ #
30464
+ #
30465
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight
30466
+ # @return [Float]
30467
+ #
30468
+ # @!attribute [rw] priority
30469
+ # The priority of the instance type in the Capacity Reservation Fleet.
30470
+ # For more information, see [ Instance type priority][1] in the Amazon
30471
+ # EC2 User Guide.
30472
+ #
30473
+ #
30474
+ #
30475
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority
30476
+ # @return [Integer]
30477
+ #
30478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetCapacityReservation AWS API Documentation
30479
+ #
30480
+ class FleetCapacityReservation < Struct.new(
30481
+ :capacity_reservation_id,
30482
+ :availability_zone_id,
30483
+ :instance_type,
30484
+ :instance_platform,
30485
+ :availability_zone,
30486
+ :total_instance_count,
30487
+ :fulfilled_capacity,
30488
+ :ebs_optimized,
30489
+ :create_date,
30490
+ :weight,
30491
+ :priority)
30492
+ SENSITIVE = []
30493
+ include Aws::Structure
30494
+ end
30495
+
29853
30496
  # Describes an EC2 Fleet.
29854
30497
  #
29855
30498
  # @!attribute [rw] activity_status
@@ -35886,7 +36529,7 @@ module Aws::EC2
35886
36529
  # ipv_6_address: "String",
35887
36530
  # },
35888
36531
  # ],
35889
- # network_interface_id: "String",
36532
+ # network_interface_id: "NetworkInterfaceId",
35890
36533
  # private_ip_address: "String",
35891
36534
  # private_ip_addresses: [
35892
36535
  # {
@@ -37532,7 +38175,7 @@ module Aws::EC2
37532
38175
  # {
37533
38176
  # 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
37534
38177
  # spot_price: "String",
37535
- # subnet_id: "String",
38178
+ # subnet_id: "SubnetId",
37536
38179
  # availability_zone: "String",
37537
38180
  # weighted_capacity: 1.0,
37538
38181
  # priority: 1.0,
@@ -38505,7 +39148,7 @@ module Aws::EC2
38505
39148
  # {
38506
39149
  # 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
38507
39150
  # spot_price: "String",
38508
- # subnet_id: "String",
39151
+ # subnet_id: "SubnetId",
38509
39152
  # availability_zone: "String",
38510
39153
  # weighted_capacity: 1.0,
38511
39154
  # priority: 1.0,
@@ -39604,6 +40247,92 @@ module Aws::EC2
39604
40247
  include Aws::Structure
39605
40248
  end
39606
40249
 
40250
+ # @note When making an API call, you may pass ModifyCapacityReservationFleetRequest
40251
+ # data as a hash:
40252
+ #
40253
+ # {
40254
+ # capacity_reservation_fleet_id: "CapacityReservationFleetId", # required
40255
+ # total_target_capacity: 1,
40256
+ # end_date: Time.now,
40257
+ # dry_run: false,
40258
+ # remove_end_date: false,
40259
+ # }
40260
+ #
40261
+ # @!attribute [rw] capacity_reservation_fleet_id
40262
+ # The ID of the Capacity Reservation Fleet to modify.
40263
+ # @return [String]
40264
+ #
40265
+ # @!attribute [rw] total_target_capacity
40266
+ # The total number of capacity units to be reserved by the Capacity
40267
+ # Reservation Fleet. This value, together with the instance type
40268
+ # weights that you assign to each instance type used by the Fleet
40269
+ # determine the number of instances for which the Fleet reserves
40270
+ # capacity. Both values are based on units that make sense for your
40271
+ # workload. For more information, see [Total target capacity][1] in
40272
+ # the Amazon EC2 User Guide.
40273
+ #
40274
+ #
40275
+ #
40276
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
40277
+ # @return [Integer]
40278
+ #
40279
+ # @!attribute [rw] end_date
40280
+ # The date and time at which the Capacity Reservation Fleet expires.
40281
+ # When the Capacity Reservation Fleet expires, its state changes to
40282
+ # `expired` and all of the Capacity Reservations in the Fleet expire.
40283
+ #
40284
+ # The Capacity Reservation Fleet expires within an hour after the
40285
+ # specified time. For example, if you specify `5/31/2019`, `13:30:55`,
40286
+ # the Capacity Reservation Fleet is guaranteed to expire between
40287
+ # `13:30:55` and `14:30:55` on `5/31/2019`.
40288
+ #
40289
+ # You can't specify **EndDate** and <b> RemoveEndDate</b> in the same
40290
+ # request.
40291
+ # @return [Time]
40292
+ #
40293
+ # @!attribute [rw] dry_run
40294
+ # Checks whether you have the required permissions for the action,
40295
+ # without actually making the request, and provides an error response.
40296
+ # If you have the required permissions, the error response is
40297
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
40298
+ # @return [Boolean]
40299
+ #
40300
+ # @!attribute [rw] remove_end_date
40301
+ # Indicates whether to remove the end date from the Capacity
40302
+ # Reservation Fleet. If you remove the end date, the Capacity
40303
+ # Reservation Fleet does not expire and it remains active until you
40304
+ # explicitly cancel it using the **CancelCapacityReservationFleet**
40305
+ # action.
40306
+ #
40307
+ # You can't specify **RemoveEndDate** and <b> EndDate</b> in the same
40308
+ # request.
40309
+ # @return [Boolean]
40310
+ #
40311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationFleetRequest AWS API Documentation
40312
+ #
40313
+ class ModifyCapacityReservationFleetRequest < Struct.new(
40314
+ :capacity_reservation_fleet_id,
40315
+ :total_target_capacity,
40316
+ :end_date,
40317
+ :dry_run,
40318
+ :remove_end_date)
40319
+ SENSITIVE = []
40320
+ include Aws::Structure
40321
+ end
40322
+
40323
+ # @!attribute [rw] return
40324
+ # Returns `true` if the request succeeds; otherwise, it returns an
40325
+ # error.
40326
+ # @return [Boolean]
40327
+ #
40328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationFleetResult AWS API Documentation
40329
+ #
40330
+ class ModifyCapacityReservationFleetResult < Struct.new(
40331
+ :return)
40332
+ SENSITIVE = []
40333
+ include Aws::Structure
40334
+ end
40335
+
39607
40336
  # @note When making an API call, you may pass ModifyCapacityReservationRequest
39608
40337
  # data as a hash:
39609
40338
  #
@@ -41476,7 +42205,7 @@ module Aws::EC2
41476
42205
  # {
41477
42206
  # 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
41478
42207
  # spot_price: "String",
41479
- # subnet_id: "String",
42208
+ # subnet_id: "SubnetId",
41480
42209
  # availability_zone: "String",
41481
42210
  # weighted_capacity: 1.0,
41482
42211
  # priority: 1.0,
@@ -47887,7 +48616,7 @@ module Aws::EC2
47887
48616
  # ipv_6_address: "String",
47888
48617
  # },
47889
48618
  # ],
47890
- # network_interface_id: "String",
48619
+ # network_interface_id: "NetworkInterfaceId",
47891
48620
  # private_ip_address: "String",
47892
48621
  # private_ip_addresses: [
47893
48622
  # {
@@ -47948,7 +48677,7 @@ module Aws::EC2
47948
48677
  # {
47949
48678
  # 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
47950
48679
  # spot_price: "String",
47951
- # subnet_id: "String",
48680
+ # subnet_id: "SubnetId",
47952
48681
  # availability_zone: "String",
47953
48682
  # weighted_capacity: 1.0,
47954
48683
  # priority: 1.0,
@@ -48092,7 +48821,7 @@ module Aws::EC2
48092
48821
  # ipv_6_address: "String",
48093
48822
  # },
48094
48823
  # ],
48095
- # network_interface_id: "String",
48824
+ # network_interface_id: "NetworkInterfaceId",
48096
48825
  # private_ip_address: "String",
48097
48826
  # private_ip_addresses: [
48098
48827
  # {
@@ -48350,7 +49079,7 @@ module Aws::EC2
48350
49079
  # ipv_6_address: "String",
48351
49080
  # },
48352
49081
  # ],
48353
- # network_interface_id: "String",
49082
+ # network_interface_id: "NetworkInterfaceId",
48354
49083
  # private_ip_address: "String",
48355
49084
  # private_ip_addresses: [
48356
49085
  # {
@@ -48532,6 +49261,94 @@ module Aws::EC2
48532
49261
  include Aws::Structure
48533
49262
  end
48534
49263
 
49264
+ # Information about an instance type to use in a Capacity Reservation
49265
+ # Fleet.
49266
+ #
49267
+ # @note When making an API call, you may pass ReservationFleetInstanceSpecification
49268
+ # data as a hash:
49269
+ #
49270
+ # {
49271
+ # 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
49272
+ # 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
49273
+ # weight: 1.0,
49274
+ # availability_zone: "String",
49275
+ # availability_zone_id: "String",
49276
+ # ebs_optimized: false,
49277
+ # priority: 1,
49278
+ # }
49279
+ #
49280
+ # @!attribute [rw] instance_type
49281
+ # The instance type for which the Capacity Reservation Fleet reserves
49282
+ # capacity.
49283
+ # @return [String]
49284
+ #
49285
+ # @!attribute [rw] instance_platform
49286
+ # The type of operating system for which the Capacity Reservation
49287
+ # Fleet reserves capacity.
49288
+ # @return [String]
49289
+ #
49290
+ # @!attribute [rw] weight
49291
+ # The number of capacity units provided by the specified instance
49292
+ # type. This value, together with the total target capacity that you
49293
+ # specify for the Fleet determine the number of instances for which
49294
+ # the Fleet reserves capacity. Both values are based on units that
49295
+ # make sense for your workload. For more information, see [Total
49296
+ # target capacity][1] in the Amazon EC2 User Guide.
49297
+ #
49298
+ #
49299
+ #
49300
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity
49301
+ # @return [Float]
49302
+ #
49303
+ # @!attribute [rw] availability_zone
49304
+ # The Availability Zone in which the Capacity Reservation Fleet
49305
+ # reserves the capacity. A Capacity Reservation Fleet can't span
49306
+ # Availability Zones. All instance type specifications that you
49307
+ # specify for the Fleet must use the same Availability Zone.
49308
+ # @return [String]
49309
+ #
49310
+ # @!attribute [rw] availability_zone_id
49311
+ # The ID of the Availability Zone in which the Capacity Reservation
49312
+ # Fleet reserves the capacity. A Capacity Reservation Fleet can't
49313
+ # span Availability Zones. All instance type specifications that you
49314
+ # specify for the Fleet must use the same Availability Zone.
49315
+ # @return [String]
49316
+ #
49317
+ # @!attribute [rw] ebs_optimized
49318
+ # Indicates whether the Capacity Reservation Fleet supports
49319
+ # EBS-optimized instances types. This optimization provides dedicated
49320
+ # throughput to Amazon EBS and an optimized configuration stack to
49321
+ # provide optimal I/O performance. This optimization isn't available
49322
+ # with all instance types. Additional usage charges apply when using
49323
+ # EBS-optimized instance types.
49324
+ # @return [Boolean]
49325
+ #
49326
+ # @!attribute [rw] priority
49327
+ # The priority to assign to the instance type. This value is used to
49328
+ # determine which of the instance types specified for the Fleet should
49329
+ # be prioritized for use. A lower value indicates a high priority. For
49330
+ # more information, see [Instance type priority][1] in the Amazon EC2
49331
+ # User Guide.
49332
+ #
49333
+ #
49334
+ #
49335
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority
49336
+ # @return [Integer]
49337
+ #
49338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservationFleetInstanceSpecification AWS API Documentation
49339
+ #
49340
+ class ReservationFleetInstanceSpecification < Struct.new(
49341
+ :instance_type,
49342
+ :instance_platform,
49343
+ :weight,
49344
+ :availability_zone,
49345
+ :availability_zone_id,
49346
+ :ebs_optimized,
49347
+ :priority)
49348
+ SENSITIVE = []
49349
+ include Aws::Structure
49350
+ end
49351
+
48535
49352
  # The cost associated with the Reserved Instance.
48536
49353
  #
48537
49354
  # @!attribute [rw] hourly_price
@@ -50228,7 +51045,7 @@ module Aws::EC2
50228
51045
  # ipv_6_address: "String",
50229
51046
  # },
50230
51047
  # ],
50231
- # network_interface_id: "String",
51048
+ # network_interface_id: "NetworkInterfaceId",
50232
51049
  # private_ip_address: "String",
50233
51050
  # private_ip_addresses: [
50234
51051
  # {
@@ -53100,7 +53917,7 @@ module Aws::EC2
53100
53917
  # ipv_6_address: "String",
53101
53918
  # },
53102
53919
  # ],
53103
- # network_interface_id: "String",
53920
+ # network_interface_id: "NetworkInterfaceId",
53104
53921
  # private_ip_address: "String",
53105
53922
  # private_ip_addresses: [
53106
53923
  # {
@@ -53426,7 +54243,7 @@ module Aws::EC2
53426
54243
  # ipv_6_address: "String",
53427
54244
  # },
53428
54245
  # ],
53429
- # network_interface_id: "String",
54246
+ # network_interface_id: "NetworkInterfaceId",
53430
54247
  # private_ip_address: "String",
53431
54248
  # private_ip_addresses: [
53432
54249
  # {
@@ -53487,7 +54304,7 @@ module Aws::EC2
53487
54304
  # {
53488
54305
  # 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
53489
54306
  # spot_price: "String",
53490
- # subnet_id: "String",
54307
+ # subnet_id: "SubnetId",
53491
54308
  # availability_zone: "String",
53492
54309
  # weighted_capacity: 1.0,
53493
54310
  # priority: 1.0,