aws-sdk-ec2 1.123.0 → 1.128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 371c26746dfbaa934fd7f46a920a5ae5fe21abe6
4
- data.tar.gz: 35c4afde5911d9334260a37e33cc475dec89cbb8
3
+ metadata.gz: da9319d62639c6532b654cbae5c5e7d3093eb98f
4
+ data.tar.gz: 4adaabd2af56f38fd713e664d650317e5ce3fd5e
5
5
  SHA512:
6
- metadata.gz: 323e43ffd6848582d2f0340d07fd542e20ae3ca99d3659af97239555fa5c4ba81b6e5bffbd45d045e42166a667399aa7a1da5d7ed03e5a4bcb98a8bd05820d57
7
- data.tar.gz: c46ff76d3adcad7daa868e2ff923025e82287435f08afddf48bd06af9fe1ce84777870a1722ba8e058d99b8bd376614f575034003df584a40550199078265e0b
6
+ metadata.gz: 30e7cea1784f674e5c135bd49edc81c603a64f621bd09d34fa56ef13f0cd80f10aec87e8487c19ddc4f6cf83643a4bd45953ffa6ab4db99328a124108ffc1dd1
7
+ data.tar.gz: e6cde7965c29d2a8efe810feae942d667ad4e5616c61147ad42ba83aacf92e1062f18fb3dc8dce1215d842bf76988f94286d023a3a496f583f6fd6aeaf1f203c
@@ -66,6 +66,6 @@ require_relative 'aws-sdk-ec2/customizations'
66
66
  # @service
67
67
  module Aws::EC2
68
68
 
69
- GEM_VERSION = '1.123.0'
69
+ GEM_VERSION = '1.128.0'
70
70
 
71
71
  end
@@ -4277,7 +4277,7 @@ module Aws::EC2
4277
4277
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
4278
4278
  #
4279
4279
  # @option params [String] :client_token
4280
- # Unique, case-sensitive identifier you provide to ensure the
4280
+ # Unique, case-sensitive identifier that you provide to ensure the
4281
4281
  # idempotency of the request. For more information, see [Ensuring
4282
4282
  # Idempotency][1].
4283
4283
  #
@@ -4369,6 +4369,9 @@ module Aws::EC2
4369
4369
  # },
4370
4370
  # on_demand_options: {
4371
4371
  # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
4372
+ # capacity_reservation_options: {
4373
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
4374
+ # },
4372
4375
  # single_instance_type: false,
4373
4376
  # single_availability_zone: false,
4374
4377
  # min_target_capacity: 1,
@@ -5214,6 +5217,7 @@ module Aws::EC2
5214
5217
  # elastic_inference_accelerators: [
5215
5218
  # {
5216
5219
  # type: "String", # required
5220
+ # count: 1,
5217
5221
  # },
5218
5222
  # ],
5219
5223
  # security_group_ids: ["String"],
@@ -5475,6 +5479,7 @@ module Aws::EC2
5475
5479
  # elastic_inference_accelerators: [
5476
5480
  # {
5477
5481
  # type: "String", # required
5482
+ # count: 1,
5478
5483
  # },
5479
5484
  # ],
5480
5485
  # security_group_ids: ["String"],
@@ -5579,6 +5584,7 @@ module Aws::EC2
5579
5584
  # resp.launch_template_version.launch_template_data.elastic_gpu_specifications[0].type #=> String
5580
5585
  # resp.launch_template_version.launch_template_data.elastic_inference_accelerators #=> Array
5581
5586
  # resp.launch_template_version.launch_template_data.elastic_inference_accelerators[0].type #=> String
5587
+ # resp.launch_template_version.launch_template_data.elastic_inference_accelerators[0].count #=> Integer
5582
5588
  # resp.launch_template_version.launch_template_data.security_group_ids #=> Array
5583
5589
  # resp.launch_template_version.launch_template_data.security_group_ids[0] #=> String
5584
5590
  # resp.launch_template_version.launch_template_data.security_groups #=> Array
@@ -11541,8 +11547,10 @@ module Aws::EC2
11541
11547
  # * `default-vpc`\: The ID of the default VPC for your account, or
11542
11548
  # `none`.
11543
11549
  #
11544
- # * `max-instances`\: The maximum number of On-Demand Instances that you
11545
- # can run.
11550
+ # * `max-instances`\: This attribute is no longer supported. The
11551
+ # returned value does not reflect your actual vCPU limit for running
11552
+ # On-Demand Instances. For more information, see [On-Demand Instance
11553
+ # Limits][1] in the *Amazon Elastic Compute Cloud User Guide*.
11546
11554
  #
11547
11555
  # * `vpc-max-security-groups-per-interface`\: The maximum number of
11548
11556
  # security groups that you can assign to a network interface.
@@ -11553,6 +11561,10 @@ module Aws::EC2
11553
11561
  # * `vpc-max-elastic-ips`\: The maximum number of Elastic IP addresses
11554
11562
  # that you can allocate for use with EC2-VPC.
11555
11563
  #
11564
+ #
11565
+ #
11566
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits
11567
+ #
11556
11568
  # @option params [Array<String>] :attribute_names
11557
11569
  # The account attribute names.
11558
11570
  #
@@ -13235,6 +13247,9 @@ module Aws::EC2
13235
13247
  # resp.elastic_gpu_set[0].elastic_gpu_health.status #=> String, one of "OK", "IMPAIRED"
13236
13248
  # resp.elastic_gpu_set[0].elastic_gpu_state #=> String, one of "ATTACHED"
13237
13249
  # resp.elastic_gpu_set[0].instance_id #=> String
13250
+ # resp.elastic_gpu_set[0].tags #=> Array
13251
+ # resp.elastic_gpu_set[0].tags[0].key #=> String
13252
+ # resp.elastic_gpu_set[0].tags[0].value #=> String
13238
13253
  # resp.max_results #=> Integer
13239
13254
  # resp.next_token #=> String
13240
13255
  #
@@ -13564,7 +13579,7 @@ module Aws::EC2
13564
13579
  req.send_request(options)
13565
13580
  end
13566
13581
 
13567
- # Describes the specified EC2 Fleets or all your EC2 Fleets.
13582
+ # Describes the specified EC2 Fleets or all of your EC2 Fleets.
13568
13583
  #
13569
13584
  # @option params [Boolean] :dry_run
13570
13585
  # Checks whether you have the required permissions for the action,
@@ -13664,6 +13679,7 @@ module Aws::EC2
13664
13679
  # resp.fleets[0].spot_options.min_target_capacity #=> Integer
13665
13680
  # resp.fleets[0].spot_options.max_total_price #=> String
13666
13681
  # resp.fleets[0].on_demand_options.allocation_strategy #=> String, one of "lowest-price", "prioritized"
13682
+ # resp.fleets[0].on_demand_options.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
13667
13683
  # resp.fleets[0].on_demand_options.single_instance_type #=> Boolean
13668
13684
  # resp.fleets[0].on_demand_options.single_availability_zone #=> Boolean
13669
13685
  # resp.fleets[0].on_demand_options.min_target_capacity #=> Integer
@@ -15614,8 +15630,8 @@ module Aws::EC2
15614
15630
  # resp.instance_types[0].free_tier_eligible #=> Boolean
15615
15631
  # resp.instance_types[0].supported_usage_classes #=> Array
15616
15632
  # resp.instance_types[0].supported_usage_classes[0] #=> String, one of "spot", "on-demand"
15617
- # resp.instance_types[0].supported_root_devices #=> Array
15618
- # resp.instance_types[0].supported_root_devices[0] #=> String, one of "ebs", "instance-store"
15633
+ # resp.instance_types[0].supported_root_device_types #=> Array
15634
+ # resp.instance_types[0].supported_root_device_types[0] #=> String, one of "ebs", "instance-store"
15619
15635
  # resp.instance_types[0].bare_metal #=> Boolean
15620
15636
  # resp.instance_types[0].hypervisor #=> String, one of "nitro", "xen"
15621
15637
  # resp.instance_types[0].processor_info.supported_architectures #=> Array
@@ -15741,8 +15757,9 @@ module Aws::EC2
15741
15757
  # * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
15742
15758
  #
15743
15759
  # * `iam-instance-profile.arn` - The instance profile associated with
15744
- # the instance. Specified as an ARN. `image-id` - The ID of the image
15745
- # used to launch the instance.
15760
+ # the instance. Specified as an ARN.
15761
+ #
15762
+ # * `image-id` - The ID of the image used to launch the instance.
15746
15763
  #
15747
15764
  # * `instance-id` - The ID of the instance.
15748
15765
  #
@@ -16612,6 +16629,7 @@ module Aws::EC2
16612
16629
  # resp.launch_template_versions[0].launch_template_data.elastic_gpu_specifications[0].type #=> String
16613
16630
  # resp.launch_template_versions[0].launch_template_data.elastic_inference_accelerators #=> Array
16614
16631
  # resp.launch_template_versions[0].launch_template_data.elastic_inference_accelerators[0].type #=> String
16632
+ # resp.launch_template_versions[0].launch_template_data.elastic_inference_accelerators[0].count #=> Integer
16615
16633
  # resp.launch_template_versions[0].launch_template_data.security_group_ids #=> Array
16616
16634
  # resp.launch_template_versions[0].launch_template_data.security_group_ids[0] #=> String
16617
16635
  # resp.launch_template_versions[0].launch_template_data.security_groups #=> Array
@@ -26075,6 +26093,7 @@ module Aws::EC2
26075
26093
  # resp.launch_template_data.elastic_gpu_specifications[0].type #=> String
26076
26094
  # resp.launch_template_data.elastic_inference_accelerators #=> Array
26077
26095
  # resp.launch_template_data.elastic_inference_accelerators[0].type #=> String
26096
+ # resp.launch_template_data.elastic_inference_accelerators[0].count #=> Integer
26078
26097
  # resp.launch_template_data.security_group_ids #=> Array
26079
26098
  # resp.launch_template_data.security_group_ids[0] #=> String
26080
26099
  # resp.launch_template_data.security_groups #=> Array
@@ -33932,6 +33951,7 @@ module Aws::EC2
33932
33951
  # elastic_inference_accelerators: [
33933
33952
  # {
33934
33953
  # type: "String", # required
33954
+ # count: 1,
33935
33955
  # },
33936
33956
  # ],
33937
33957
  # tag_specifications: [
@@ -35420,7 +35440,7 @@ module Aws::EC2
35420
35440
  params: params,
35421
35441
  config: config)
35422
35442
  context[:gem_name] = 'aws-sdk-ec2'
35423
- context[:gem_version] = '1.123.0'
35443
+ context[:gem_version] = '1.128.0'
35424
35444
  Seahorse::Client::Request.new(handlers, context)
35425
35445
  end
35426
35446
 
@@ -157,6 +157,8 @@ module Aws::EC2
157
157
  CapacityReservationId = Shapes::StringShape.new(name: 'CapacityReservationId')
158
158
  CapacityReservationIdSet = Shapes::ListShape.new(name: 'CapacityReservationIdSet')
159
159
  CapacityReservationInstancePlatform = Shapes::StringShape.new(name: 'CapacityReservationInstancePlatform')
160
+ CapacityReservationOptions = Shapes::StructureShape.new(name: 'CapacityReservationOptions')
161
+ CapacityReservationOptionsRequest = Shapes::StructureShape.new(name: 'CapacityReservationOptionsRequest')
160
162
  CapacityReservationPreference = Shapes::StringShape.new(name: 'CapacityReservationPreference')
161
163
  CapacityReservationSet = Shapes::ListShape.new(name: 'CapacityReservationSet')
162
164
  CapacityReservationSpecification = Shapes::StructureShape.new(name: 'CapacityReservationSpecification')
@@ -803,6 +805,7 @@ module Aws::EC2
803
805
  ElasticInferenceAccelerator = Shapes::StructureShape.new(name: 'ElasticInferenceAccelerator')
804
806
  ElasticInferenceAcceleratorAssociation = Shapes::StructureShape.new(name: 'ElasticInferenceAcceleratorAssociation')
805
807
  ElasticInferenceAcceleratorAssociationList = Shapes::ListShape.new(name: 'ElasticInferenceAcceleratorAssociationList')
808
+ ElasticInferenceAcceleratorCount = Shapes::IntegerShape.new(name: 'ElasticInferenceAcceleratorCount')
806
809
  ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
807
810
  EnaSupport = Shapes::StringShape.new(name: 'EnaSupport')
808
811
  EnableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultRequest')
@@ -858,6 +861,7 @@ module Aws::EC2
858
861
  Filter = Shapes::StructureShape.new(name: 'Filter')
859
862
  FilterList = Shapes::ListShape.new(name: 'FilterList')
860
863
  FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
864
+ FleetCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'FleetCapacityReservationUsageStrategy')
861
865
  FleetData = Shapes::StructureShape.new(name: 'FleetData')
862
866
  FleetEventType = Shapes::StringShape.new(name: 'FleetEventType')
863
867
  FleetExcessCapacityTerminationPolicy = Shapes::StringShape.new(name: 'FleetExcessCapacityTerminationPolicy')
@@ -1136,6 +1140,7 @@ module Aws::EC2
1136
1140
  LaunchTemplateEbsBlockDevice = Shapes::StructureShape.new(name: 'LaunchTemplateEbsBlockDevice')
1137
1141
  LaunchTemplateEbsBlockDeviceRequest = Shapes::StructureShape.new(name: 'LaunchTemplateEbsBlockDeviceRequest')
1138
1142
  LaunchTemplateElasticInferenceAccelerator = Shapes::StructureShape.new(name: 'LaunchTemplateElasticInferenceAccelerator')
1143
+ LaunchTemplateElasticInferenceAcceleratorCount = Shapes::IntegerShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorCount')
1139
1144
  LaunchTemplateElasticInferenceAcceleratorList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorList')
1140
1145
  LaunchTemplateElasticInferenceAcceleratorResponse = Shapes::StructureShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponse')
1141
1146
  LaunchTemplateElasticInferenceAcceleratorResponseList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponseList')
@@ -2412,6 +2417,12 @@ module Aws::EC2
2412
2417
 
2413
2418
  CapacityReservationIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
2414
2419
 
2420
+ CapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: FleetCapacityReservationUsageStrategy, location_name: "usageStrategy"))
2421
+ CapacityReservationOptions.struct_class = Types::CapacityReservationOptions
2422
+
2423
+ CapacityReservationOptionsRequest.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: FleetCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
2424
+ CapacityReservationOptionsRequest.struct_class = Types::CapacityReservationOptionsRequest
2425
+
2415
2426
  CapacityReservationSet.member = Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "item")
2416
2427
 
2417
2428
  CapacityReservationSpecification.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: CapacityReservationPreference, location_name: "CapacityReservationPreference"))
@@ -5098,9 +5109,11 @@ module Aws::EC2
5098
5109
  ElasticGpus.add_member(:elastic_gpu_health, Shapes::ShapeRef.new(shape: ElasticGpuHealth, location_name: "elasticGpuHealth"))
5099
5110
  ElasticGpus.add_member(:elastic_gpu_state, Shapes::ShapeRef.new(shape: ElasticGpuState, location_name: "elasticGpuState"))
5100
5111
  ElasticGpus.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
5112
+ ElasticGpus.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
5101
5113
  ElasticGpus.struct_class = Types::ElasticGpus
5102
5114
 
5103
5115
  ElasticInferenceAccelerator.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
5116
+ ElasticInferenceAccelerator.add_member(:count, Shapes::ShapeRef.new(shape: ElasticInferenceAcceleratorCount, location_name: "Count"))
5104
5117
  ElasticInferenceAccelerator.struct_class = Types::ElasticInferenceAccelerator
5105
5118
 
5106
5119
  ElasticInferenceAcceleratorAssociation.add_member(:elastic_inference_accelerator_arn, Shapes::ShapeRef.new(shape: String, location_name: "elasticInferenceAcceleratorArn"))
@@ -6214,7 +6227,7 @@ module Aws::EC2
6214
6227
  InstanceTypeInfo.add_member(:current_generation, Shapes::ShapeRef.new(shape: CurrentGenerationFlag, location_name: "currentGeneration"))
6215
6228
  InstanceTypeInfo.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: FreeTierEligibleFlag, location_name: "freeTierEligible"))
6216
6229
  InstanceTypeInfo.add_member(:supported_usage_classes, Shapes::ShapeRef.new(shape: UsageClassTypeList, location_name: "supportedUsageClasses"))
6217
- InstanceTypeInfo.add_member(:supported_root_devices, Shapes::ShapeRef.new(shape: RootDeviceTypeList, location_name: "supportedRootDevices"))
6230
+ InstanceTypeInfo.add_member(:supported_root_device_types, Shapes::ShapeRef.new(shape: RootDeviceTypeList, location_name: "supportedRootDeviceTypes"))
6218
6231
  InstanceTypeInfo.add_member(:bare_metal, Shapes::ShapeRef.new(shape: BareMetalFlag, location_name: "bareMetal"))
6219
6232
  InstanceTypeInfo.add_member(:hypervisor, Shapes::ShapeRef.new(shape: InstanceTypeHypervisor, location_name: "hypervisor"))
6220
6233
  InstanceTypeInfo.add_member(:processor_info, Shapes::ShapeRef.new(shape: ProcessorInfo, location_name: "processorInfo"))
@@ -6409,11 +6422,13 @@ module Aws::EC2
6409
6422
  LaunchTemplateEbsBlockDeviceRequest.struct_class = Types::LaunchTemplateEbsBlockDeviceRequest
6410
6423
 
6411
6424
  LaunchTemplateElasticInferenceAccelerator.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
6425
+ LaunchTemplateElasticInferenceAccelerator.add_member(:count, Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorCount, location_name: "Count"))
6412
6426
  LaunchTemplateElasticInferenceAccelerator.struct_class = Types::LaunchTemplateElasticInferenceAccelerator
6413
6427
 
6414
6428
  LaunchTemplateElasticInferenceAcceleratorList.member = Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAccelerator, location_name: "item")
6415
6429
 
6416
6430
  LaunchTemplateElasticInferenceAcceleratorResponse.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
6431
+ LaunchTemplateElasticInferenceAcceleratorResponse.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "count"))
6417
6432
  LaunchTemplateElasticInferenceAcceleratorResponse.struct_class = Types::LaunchTemplateElasticInferenceAcceleratorResponse
6418
6433
 
6419
6434
  LaunchTemplateElasticInferenceAcceleratorResponseList.member = Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorResponse, location_name: "item")
@@ -7232,6 +7247,7 @@ module Aws::EC2
7232
7247
  OccurrenceDaySet.member = Shapes::ShapeRef.new(shape: Integer, location_name: "item")
7233
7248
 
7234
7249
  OnDemandOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: FleetOnDemandAllocationStrategy, location_name: "allocationStrategy"))
7250
+ OnDemandOptions.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: CapacityReservationOptions, location_name: "capacityReservationOptions"))
7235
7251
  OnDemandOptions.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleInstanceType"))
7236
7252
  OnDemandOptions.add_member(:single_availability_zone, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleAvailabilityZone"))
7237
7253
  OnDemandOptions.add_member(:min_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "minTargetCapacity"))
@@ -7239,6 +7255,7 @@ module Aws::EC2
7239
7255
  OnDemandOptions.struct_class = Types::OnDemandOptions
7240
7256
 
7241
7257
  OnDemandOptionsRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: FleetOnDemandAllocationStrategy, location_name: "AllocationStrategy"))
7258
+ OnDemandOptionsRequest.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: CapacityReservationOptionsRequest, location_name: "CapacityReservationOptions"))
7242
7259
  OnDemandOptionsRequest.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleInstanceType"))
7243
7260
  OnDemandOptionsRequest.add_member(:single_availability_zone, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleAvailabilityZone"))
7244
7261
  OnDemandOptionsRequest.add_member(:min_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "MinTargetCapacity"))
@@ -263,8 +263,9 @@ module Aws::EC2
263
263
  # * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
264
264
  #
265
265
  # * `iam-instance-profile.arn` - The instance profile associated with
266
- # the instance. Specified as an ARN. `image-id` - The ID of the image
267
- # used to launch the instance.
266
+ # the instance. Specified as an ARN.
267
+ #
268
+ # * `image-id` - The ID of the image used to launch the instance.
268
269
  #
269
270
  # * `instance-id` - The ID of the instance.
270
271
  #
@@ -144,6 +144,7 @@ module Aws::EC2
144
144
  # elastic_inference_accelerators: [
145
145
  # {
146
146
  # type: "String", # required
147
+ # count: 1,
147
148
  # },
148
149
  # ],
149
150
  # tag_specifications: [
@@ -1639,8 +1640,9 @@ module Aws::EC2
1639
1640
  # * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
1640
1641
  #
1641
1642
  # * `iam-instance-profile.arn` - The instance profile associated with
1642
- # the instance. Specified as an ARN. `image-id` - The ID of the image
1643
- # used to launch the instance.
1643
+ # the instance. Specified as an ARN.
1644
+ #
1645
+ # * `image-id` - The ID of the image used to launch the instance.
1644
1646
  #
1645
1647
  # * `instance-id` - The ID of the instance.
1646
1648
  #
@@ -346,6 +346,7 @@ module Aws::EC2
346
346
  # elastic_inference_accelerators: [
347
347
  # {
348
348
  # type: "String", # required
349
+ # count: 1,
349
350
  # },
350
351
  # ],
351
352
  # tag_specifications: [
@@ -889,8 +890,9 @@ module Aws::EC2
889
890
  # * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
890
891
  #
891
892
  # * `iam-instance-profile.arn` - The instance profile associated with
892
- # the instance. Specified as an ARN. `image-id` - The ID of the image
893
- # used to launch the instance.
893
+ # the instance. Specified as an ARN.
894
+ #
895
+ # * `image-id` - The ID of the image used to launch the instance.
894
896
  #
895
897
  # * `instance-id` - The ID of the instance.
896
898
  #
@@ -2899,6 +2899,99 @@ module Aws::EC2
2899
2899
  include Aws::Structure
2900
2900
  end
2901
2901
 
2902
+ # Describes the strategy for using unused Capacity Reservations for
2903
+ # fulfilling On-Demand capacity.
2904
+ #
2905
+ # <note markdown="1"> This strategy can only be used if the EC2 Fleet is of type `instant`.
2906
+ #
2907
+ # </note>
2908
+ #
2909
+ # For more information about Capacity Reservations, see [On-Demand
2910
+ # Capacity Reservations][1] in the *Amazon Elastic Compute Cloud User
2911
+ # Guide*. For examples of using Capacity Reservations in an EC2 Fleet,
2912
+ # see [EC2 Fleet Example Configurations][2] in the *Amazon Elastic
2913
+ # Compute Cloud User Guide*.
2914
+ #
2915
+ #
2916
+ #
2917
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html
2918
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html
2919
+ #
2920
+ # @!attribute [rw] usage_strategy
2921
+ # Indicates whether to use unused Capacity Reservations for fulfilling
2922
+ # On-Demand capacity.
2923
+ #
2924
+ # If you specify `use-capacity-reservations-first`, the fleet uses
2925
+ # unused Capacity Reservations to fulfill On-Demand capacity up to the
2926
+ # target On-Demand capacity. If multiple instance pools have unused
2927
+ # Capacity Reservations, the On-Demand allocation strategy
2928
+ # (`lowest-price` or `prioritized`) is applied. If the number of
2929
+ # unused Capacity Reservations is less than the On-Demand target
2930
+ # capacity, the remaining On-Demand target capacity is launched
2931
+ # according to the On-Demand allocation strategy (`lowest-price` or
2932
+ # `prioritized`).
2933
+ #
2934
+ # If you do not specify a value, the fleet fulfils the On-Demand
2935
+ # capacity according to the chosen On-Demand allocation strategy.
2936
+ # @return [String]
2937
+ #
2938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationOptions AWS API Documentation
2939
+ #
2940
+ class CapacityReservationOptions < Struct.new(
2941
+ :usage_strategy)
2942
+ include Aws::Structure
2943
+ end
2944
+
2945
+ # Describes the strategy for using unused Capacity Reservations for
2946
+ # fulfilling On-Demand capacity.
2947
+ #
2948
+ # <note markdown="1"> This strategy can only be used if the EC2 Fleet is of type `instant`.
2949
+ #
2950
+ # </note>
2951
+ #
2952
+ # For more information about Capacity Reservations, see [On-Demand
2953
+ # Capacity Reservations][1] in the *Amazon Elastic Compute Cloud User
2954
+ # Guide*. For examples of using Capacity Reservations in an EC2 Fleet,
2955
+ # see [EC2 Fleet Example Configurations][2] in the *Amazon Elastic
2956
+ # Compute Cloud User Guide*.
2957
+ #
2958
+ #
2959
+ #
2960
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html
2961
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html
2962
+ #
2963
+ # @note When making an API call, you may pass CapacityReservationOptionsRequest
2964
+ # data as a hash:
2965
+ #
2966
+ # {
2967
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
2968
+ # }
2969
+ #
2970
+ # @!attribute [rw] usage_strategy
2971
+ # Indicates whether to use unused Capacity Reservations for fulfilling
2972
+ # On-Demand capacity.
2973
+ #
2974
+ # If you specify `use-capacity-reservations-first`, the fleet uses
2975
+ # unused Capacity Reservations to fulfill On-Demand capacity up to the
2976
+ # target On-Demand capacity. If multiple instance pools have unused
2977
+ # Capacity Reservations, the On-Demand allocation strategy
2978
+ # (`lowest-price` or `prioritized`) is applied. If the number of
2979
+ # unused Capacity Reservations is less than the On-Demand target
2980
+ # capacity, the remaining On-Demand target capacity is launched
2981
+ # according to the On-Demand allocation strategy (`lowest-price` or
2982
+ # `prioritized`).
2983
+ #
2984
+ # If you do not specify a value, the fleet fulfils the On-Demand
2985
+ # capacity according to the chosen On-Demand allocation strategy.
2986
+ # @return [String]
2987
+ #
2988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationOptionsRequest AWS API Documentation
2989
+ #
2990
+ class CapacityReservationOptionsRequest < Struct.new(
2991
+ :usage_strategy)
2992
+ include Aws::Structure
2993
+ end
2994
+
2902
2995
  # Describes an instance's Capacity Reservation targeting option. You
2903
2996
  # can specify only one parameter at a time. If you specify
2904
2997
  # `CapacityReservationPreference` and `CapacityReservationTarget`, the
@@ -4970,8 +5063,8 @@ module Aws::EC2
4970
5063
  #
4971
5064
  # @!attribute [rw] launch_template_and_overrides
4972
5065
  # The launch templates and overrides that were used for launching the
4973
- # instances. Any parameters that you specify in the Overrides override
4974
- # the same parameters in the launch template.
5066
+ # instances. The values that you specify in the Overrides replace the
5067
+ # values in the launch template.
4975
5068
  # @return [Types::LaunchTemplateAndOverridesResponse]
4976
5069
  #
4977
5070
  # @!attribute [rw] lifecycle
@@ -4991,7 +5084,7 @@ module Aws::EC2
4991
5084
  #
4992
5085
  # @!attribute [rw] error_message
4993
5086
  # The error message that describes why the instance could not be
4994
- # launched. For more information about error messages, see ee [Error
5087
+ # launched. For more information about error messages, see [Error
4995
5088
  # Codes][1].
4996
5089
  #
4997
5090
  #
@@ -5013,8 +5106,8 @@ module Aws::EC2
5013
5106
  #
5014
5107
  # @!attribute [rw] launch_template_and_overrides
5015
5108
  # The launch templates and overrides that were used for launching the
5016
- # instances. Any parameters that you specify in the Overrides override
5017
- # the same parameters in the launch template.
5109
+ # instances. The values that you specify in the Overrides replace the
5110
+ # values in the launch template.
5018
5111
  # @return [Types::LaunchTemplateAndOverridesResponse]
5019
5112
  #
5020
5113
  # @!attribute [rw] lifecycle
@@ -5031,7 +5124,8 @@ module Aws::EC2
5031
5124
  # @return [String]
5032
5125
  #
5033
5126
  # @!attribute [rw] platform
5034
- # The value is `Windows` for Windows instances; otherwise blank.
5127
+ # The value is `Windows` for Windows instances. Otherwise, the value
5128
+ # is blank.
5035
5129
  # @return [String]
5036
5130
  #
5037
5131
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleetInstance AWS API Documentation
@@ -5062,6 +5156,9 @@ module Aws::EC2
5062
5156
  # },
5063
5157
  # on_demand_options: {
5064
5158
  # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
5159
+ # capacity_reservation_options: {
5160
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
5161
+ # },
5065
5162
  # single_instance_type: false,
5066
5163
  # single_availability_zone: false,
5067
5164
  # min_target_capacity: 1,
@@ -5129,7 +5226,7 @@ module Aws::EC2
5129
5226
  # @return [Boolean]
5130
5227
  #
5131
5228
  # @!attribute [rw] client_token
5132
- # Unique, case-sensitive identifier you provide to ensure the
5229
+ # Unique, case-sensitive identifier that you provide to ensure the
5133
5230
  # idempotency of the request. For more information, see [Ensuring
5134
5231
  # Idempotency][1].
5135
5232
  #
@@ -5804,6 +5901,7 @@ module Aws::EC2
5804
5901
  # elastic_inference_accelerators: [
5805
5902
  # {
5806
5903
  # type: "String", # required
5904
+ # count: 1,
5807
5905
  # },
5808
5906
  # ],
5809
5907
  # security_group_ids: ["String"],
@@ -6008,6 +6106,7 @@ module Aws::EC2
6008
6106
  # elastic_inference_accelerators: [
6009
6107
  # {
6010
6108
  # type: "String", # required
6109
+ # count: 1,
6011
6110
  # },
6012
6111
  # ],
6013
6112
  # security_group_ids: ["String"],
@@ -12552,8 +12651,8 @@ module Aws::EC2
12552
12651
  #
12553
12652
  # @!attribute [rw] launch_template_and_overrides
12554
12653
  # The launch templates and overrides that were used for launching the
12555
- # instances. Any parameters that you specify in the Overrides override
12556
- # the same parameters in the launch template.
12654
+ # instances. The values that you specify in the Overrides replace the
12655
+ # values in the launch template.
12557
12656
  # @return [Types::LaunchTemplateAndOverridesResponse]
12558
12657
  #
12559
12658
  # @!attribute [rw] lifecycle
@@ -12573,7 +12672,7 @@ module Aws::EC2
12573
12672
  #
12574
12673
  # @!attribute [rw] error_message
12575
12674
  # The error message that describes why the instance could not be
12576
- # launched. For more information about error messages, see ee [Error
12675
+ # launched. For more information about error messages, see [Error
12577
12676
  # Codes][1].
12578
12677
  #
12579
12678
  #
@@ -12767,8 +12866,8 @@ module Aws::EC2
12767
12866
  #
12768
12867
  # @!attribute [rw] launch_template_and_overrides
12769
12868
  # The launch templates and overrides that were used for launching the
12770
- # instances. Any parameters that you specify in the Overrides override
12771
- # the same parameters in the launch template.
12869
+ # instances. The values that you specify in the Overrides replace the
12870
+ # values in the launch template.
12772
12871
  # @return [Types::LaunchTemplateAndOverridesResponse]
12773
12872
  #
12774
12873
  # @!attribute [rw] lifecycle
@@ -12785,7 +12884,8 @@ module Aws::EC2
12785
12884
  # @return [String]
12786
12885
  #
12787
12886
  # @!attribute [rw] platform
12788
- # The value is `Windows` for Windows instances; otherwise blank.
12887
+ # The value is `Windows` for Windows instances. Otherwise, the value
12888
+ # is blank.
12789
12889
  # @return [String]
12790
12890
  #
12791
12891
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetsInstances AWS API Documentation
@@ -14404,8 +14504,9 @@ module Aws::EC2
14404
14504
  # `xen`).
14405
14505
  #
14406
14506
  # * `iam-instance-profile.arn` - The instance profile associated with
14407
- # the instance. Specified as an ARN. `image-id` - The ID of the
14408
- # image used to launch the instance.
14507
+ # the instance. Specified as an ARN.
14508
+ #
14509
+ # * `image-id` - The ID of the image used to launch the instance.
14409
14510
  #
14410
14511
  # * `instance-id` - The ID of the instance.
14411
14512
  #
@@ -21761,7 +21862,7 @@ module Aws::EC2
21761
21862
  # Describes the disk.
21762
21863
  #
21763
21864
  # @!attribute [rw] size_in_gb
21764
- # The size of the disk in GiB.
21865
+ # The size of the disk in GB.
21765
21866
  # @return [Integer]
21766
21867
  #
21767
21868
  # @!attribute [rw] count
@@ -21899,7 +22000,8 @@ module Aws::EC2
21899
22000
  #
21900
22001
  # @!attribute [rw] volume_type
21901
22002
  # The volume type. If you set the type to `io1`, you must also specify
21902
- # the IOPS that the volume supports.
22003
+ # the **Iops** parameter. If you set the type to `gp2`, `st1`, `sc1`,
22004
+ # or `standard`, you must omit the **Iops** parameter.
21903
22005
  #
21904
22006
  # Default: `gp2`
21905
22007
  # @return [String]
@@ -22156,6 +22258,10 @@ module Aws::EC2
22156
22258
  # attached.
22157
22259
  # @return [String]
22158
22260
  #
22261
+ # @!attribute [rw] tags
22262
+ # The tags assigned to the Elastic Graphics accelerator.
22263
+ # @return [Array<Types::Tag>]
22264
+ #
22159
22265
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpus AWS API Documentation
22160
22266
  #
22161
22267
  class ElasticGpus < Struct.new(
@@ -22164,7 +22270,8 @@ module Aws::EC2
22164
22270
  :elastic_gpu_type,
22165
22271
  :elastic_gpu_health,
22166
22272
  :elastic_gpu_state,
22167
- :instance_id)
22273
+ :instance_id,
22274
+ :tags)
22168
22275
  include Aws::Structure
22169
22276
  end
22170
22277
 
@@ -22175,17 +22282,25 @@ module Aws::EC2
22175
22282
  #
22176
22283
  # {
22177
22284
  # type: "String", # required
22285
+ # count: 1,
22178
22286
  # }
22179
22287
  #
22180
22288
  # @!attribute [rw] type
22181
22289
  # The type of elastic inference accelerator. The possible values are
22182
- # `eia1.small`, `eia1.medium`, and `eia1.large`.
22290
+ # `eia1.medium`, `eia1.large`, and `eia1.xlarge`.
22183
22291
  # @return [String]
22184
22292
  #
22293
+ # @!attribute [rw] count
22294
+ # The number of elastic inference accelerators of given type to be
22295
+ # attached to the instance. Only positive values allowed. If not
22296
+ # specified defaults to 1.
22297
+ # @return [Integer]
22298
+ #
22185
22299
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticInferenceAccelerator AWS API Documentation
22186
22300
  #
22187
22301
  class ElasticInferenceAccelerator < Struct.new(
22188
- :type)
22302
+ :type,
22303
+ :count)
22189
22304
  include Aws::Structure
22190
22305
  end
22191
22306
 
@@ -23276,7 +23391,7 @@ module Aws::EC2
23276
23391
  # @return [String]
23277
23392
  #
23278
23393
  # @!attribute [rw] client_token
23279
- # Unique, case-sensitive identifier you provide to ensure the
23394
+ # Unique, case-sensitive identifier that you provide to ensure the
23280
23395
  # idempotency of the request. For more information, see [Ensuring
23281
23396
  # Idempotency][1].
23282
23397
  #
@@ -23325,11 +23440,11 @@ module Aws::EC2
23325
23440
  # the target capacity, or also attempts to `maintain` it. If you
23326
23441
  # request a certain target capacity, EC2 Fleet only places the
23327
23442
  # required requests; it does not attempt to replenish instances if
23328
- # capacity is diminished, and does not submit requests in alternative
23329
- # capacity pools if capacity is unavailable. To maintain a certain
23330
- # target capacity, EC2 Fleet places the required requests to meet this
23331
- # target capacity. It also automatically replenishes any interrupted
23332
- # Spot Instances. Default: `maintain`.
23443
+ # capacity is diminished, and it does not submit requests in
23444
+ # alternative capacity pools if capacity is unavailable. To maintain a
23445
+ # certain target capacity, EC2 Fleet places the required requests to
23446
+ # meet this target capacity. It also automatically replenishes any
23447
+ # interrupted Spot Instances. Default: `maintain`.
23333
23448
  # @return [String]
23334
23449
  #
23335
23450
  # @!attribute [rw] valid_from
@@ -28155,7 +28270,7 @@ module Aws::EC2
28155
28270
  # Describes the disks that are available for the instance type.
28156
28271
  #
28157
28272
  # @!attribute [rw] total_size_in_gb
28158
- # The total size of the disks, in GiB.
28273
+ # The total size of the disks, in GB.
28159
28274
  # @return [Integer]
28160
28275
  #
28161
28276
  # @!attribute [rw] disks
@@ -28194,8 +28309,8 @@ module Aws::EC2
28194
28309
  # On-Demand.
28195
28310
  # @return [Array<String>]
28196
28311
  #
28197
- # @!attribute [rw] supported_root_devices
28198
- # Indicates the supported root devices.
28312
+ # @!attribute [rw] supported_root_device_types
28313
+ # Indicates the supported root device types.
28199
28314
  # @return [Array<String>]
28200
28315
  #
28201
28316
  # @!attribute [rw] bare_metal
@@ -28275,7 +28390,7 @@ module Aws::EC2
28275
28390
  :current_generation,
28276
28391
  :free_tier_eligible,
28277
28392
  :supported_usage_classes,
28278
- :supported_root_devices,
28393
+ :supported_root_device_types,
28279
28394
  :bare_metal,
28280
28395
  :hypervisor,
28281
28396
  :processor_info,
@@ -29205,6 +29320,7 @@ module Aws::EC2
29205
29320
  #
29206
29321
  # {
29207
29322
  # type: "String", # required
29323
+ # count: 1,
29208
29324
  # }
29209
29325
  #
29210
29326
  # @!attribute [rw] type
@@ -29212,10 +29328,17 @@ module Aws::EC2
29212
29328
  # eia1.medium, eia1.large, and eia1.xlarge.
29213
29329
  # @return [String]
29214
29330
  #
29331
+ # @!attribute [rw] count
29332
+ # The number of elastic inference accelerators of given type to be
29333
+ # attached to the instance. Only positive values allowed. If not
29334
+ # specified defaults to 1.
29335
+ # @return [Integer]
29336
+ #
29215
29337
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateElasticInferenceAccelerator AWS API Documentation
29216
29338
  #
29217
29339
  class LaunchTemplateElasticInferenceAccelerator < Struct.new(
29218
- :type)
29340
+ :type,
29341
+ :count)
29219
29342
  include Aws::Structure
29220
29343
  end
29221
29344
 
@@ -29226,10 +29349,17 @@ module Aws::EC2
29226
29349
  # eia1.medium, eia1.large, and eia1.xlarge.
29227
29350
  # @return [String]
29228
29351
  #
29352
+ # @!attribute [rw] count
29353
+ # The number of elastic inference accelerators of given type to be
29354
+ # attached to the instance. Only positive values allowed. If not
29355
+ # specified defaults to 1.
29356
+ # @return [Integer]
29357
+ #
29229
29358
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateElasticInferenceAcceleratorResponse AWS API Documentation
29230
29359
  #
29231
29360
  class LaunchTemplateElasticInferenceAcceleratorResponse < Struct.new(
29232
- :type)
29361
+ :type,
29362
+ :count)
29233
29363
  include Aws::Structure
29234
29364
  end
29235
29365
 
@@ -34041,6 +34171,11 @@ module Aws::EC2
34041
34171
  # `lowest-price`.
34042
34172
  # @return [String]
34043
34173
  #
34174
+ # @!attribute [rw] capacity_reservation_options
34175
+ # The strategy for using unused Capacity Reservations for fulfilling
34176
+ # On-Demand capacity. Only available for fleets of type `instant`.
34177
+ # @return [Types::CapacityReservationOptions]
34178
+ #
34044
34179
  # @!attribute [rw] single_instance_type
34045
34180
  # Indicates that the fleet uses a single instance type to launch all
34046
34181
  # On-Demand Instances in the fleet.
@@ -34066,6 +34201,7 @@ module Aws::EC2
34066
34201
  #
34067
34202
  class OnDemandOptions < Struct.new(
34068
34203
  :allocation_strategy,
34204
+ :capacity_reservation_options,
34069
34205
  :single_instance_type,
34070
34206
  :single_availability_zone,
34071
34207
  :min_target_capacity,
@@ -34080,6 +34216,9 @@ module Aws::EC2
34080
34216
  #
34081
34217
  # {
34082
34218
  # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
34219
+ # capacity_reservation_options: {
34220
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
34221
+ # },
34083
34222
  # single_instance_type: false,
34084
34223
  # single_availability_zone: false,
34085
34224
  # min_target_capacity: 1,
@@ -34096,6 +34235,11 @@ module Aws::EC2
34096
34235
  # `lowest-price`.
34097
34236
  # @return [String]
34098
34237
  #
34238
+ # @!attribute [rw] capacity_reservation_options
34239
+ # The strategy for using unused Capacity Reservations for fulfilling
34240
+ # On-Demand capacity. Only available for fleets of type `instant`.
34241
+ # @return [Types::CapacityReservationOptionsRequest]
34242
+ #
34099
34243
  # @!attribute [rw] single_instance_type
34100
34244
  # Indicates that the fleet uses a single instance type to launch all
34101
34245
  # On-Demand Instances in the fleet.
@@ -34121,6 +34265,7 @@ module Aws::EC2
34121
34265
  #
34122
34266
  class OnDemandOptionsRequest < Struct.new(
34123
34267
  :allocation_strategy,
34268
+ :capacity_reservation_options,
34124
34269
  :single_instance_type,
34125
34270
  :single_availability_zone,
34126
34271
  :min_target_capacity,
@@ -34586,7 +34731,7 @@ module Aws::EC2
34586
34731
  # Describes the placement of an instance.
34587
34732
  #
34588
34733
  # @!attribute [rw] group_name
34589
- # The name of the placement group the instance is in.
34734
+ # The name of the placement group that the instance is in.
34590
34735
  # @return [String]
34591
34736
  #
34592
34737
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementResponse AWS API Documentation
@@ -36482,6 +36627,7 @@ module Aws::EC2
36482
36627
  # elastic_inference_accelerators: [
36483
36628
  # {
36484
36629
  # type: "String", # required
36630
+ # count: 1,
36485
36631
  # },
36486
36632
  # ],
36487
36633
  # security_group_ids: ["String"],
@@ -38891,6 +39037,7 @@ module Aws::EC2
38891
39037
  # elastic_inference_accelerators: [
38892
39038
  # {
38893
39039
  # type: "String", # required
39040
+ # count: 1,
38894
39041
  # },
38895
39042
  # ],
38896
39043
  # tag_specifications: [
@@ -42135,7 +42282,7 @@ module Aws::EC2
42135
42282
  # is the default allocation strategy.
42136
42283
  #
42137
42284
  # If the allocation strategy is `diversified`, EC2 Fleet launches
42138
- # instances from all the Spot Instance pools that you specify.
42285
+ # instances from all of the Spot Instance pools that you specify.
42139
42286
  #
42140
42287
  # If the allocation strategy is `capacity-optimized`, EC2 Fleet
42141
42288
  # launches instances from Spot Instance pools with optimal capacity
@@ -42213,7 +42360,7 @@ module Aws::EC2
42213
42360
  # is the default allocation strategy.
42214
42361
  #
42215
42362
  # If the allocation strategy is `diversified`, EC2 Fleet launches
42216
- # instances from all the Spot Instance pools that you specify.
42363
+ # instances from all of the Spot Instance pools that you specify.
42217
42364
  #
42218
42365
  # If the allocation strategy is `capacity-optimized`, EC2 Fleet
42219
42366
  # launches instances from Spot Instance pools with optimal capacity
@@ -42932,13 +43079,13 @@ module Aws::EC2
42932
43079
  # of 0 and add capacity later.
42933
43080
  #
42934
43081
  # You can use the On-Demand Instance `MaxTotalPrice` parameter, the Spot
42935
- # Instance `MaxTotalPrice`, or both to ensure your fleet cost does not
42936
- # exceed your budget. If you set a maximum price per hour for the
43082
+ # Instance `MaxTotalPrice`, or both to ensure that your fleet cost does
43083
+ # not exceed your budget. If you set a maximum price per hour for the
42937
43084
  # On-Demand Instances and Spot Instances in your request, EC2 Fleet will
42938
- # launch instances until it reaches the maximum amount you're willing
42939
- # to pay. When the maximum amount you're willing to pay is reached, the
42940
- # fleet stops launching instances even if it hasn’t met the target
42941
- # capacity. The `MaxTotalPrice` parameters are located in and
43085
+ # launch instances until it reaches the maximum amount that you're
43086
+ # willing to pay. When the maximum amount you're willing to pay is
43087
+ # reached, the fleet stops launching instances even if it hasn’t met the
43088
+ # target capacity. The `MaxTotalPrice` parameters are located in and
42942
43089
  #
42943
43090
  # @!attribute [rw] total_target_capacity
42944
43091
  # The number of units to request, filled using
@@ -42984,9 +43131,9 @@ module Aws::EC2
42984
43131
  # your fleet cost does not exceed your budget. If you set a maximum
42985
43132
  # price per hour for the On-Demand Instances and Spot Instances in your
42986
43133
  # request, EC2 Fleet will launch instances until it reaches the maximum
42987
- # amount you're willing to pay. When the maximum amount you're willing
42988
- # to pay is reached, the fleet stops launching instances even if it
42989
- # hasn’t met the target capacity. The `MaxTotalPrice` parameters are
43134
+ # amount that you're willing to pay. When the maximum amount you're
43135
+ # willing to pay is reached, the fleet stops launching instances even if
43136
+ # it hasn’t met the target capacity. The `MaxTotalPrice` parameters are
42990
43137
  # located in and .
42991
43138
  #
42992
43139
  # @note When making an API call, you may pass TargetCapacitySpecificationRequest
@@ -859,8 +859,9 @@ module Aws::EC2
859
859
  # * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
860
860
  #
861
861
  # * `iam-instance-profile.arn` - The instance profile associated with
862
- # the instance. Specified as an ARN. `image-id` - The ID of the image
863
- # used to launch the instance.
862
+ # the instance. Specified as an ARN.
863
+ #
864
+ # * `image-id` - The ID of the image used to launch the instance.
864
865
  #
865
866
  # * `instance-id` - The ID of the instance.
866
867
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.123.0
4
+ version: 1.128.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-03 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4