aws-sdk-ec2 1.432.0 → 1.437.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3069,6 +3069,8 @@ module Aws::EC2
3069
3069
  # * {Types::VolumeAttachment#state #state} => String
3070
3070
  # * {Types::VolumeAttachment#volume_id #volume_id} => String
3071
3071
  # * {Types::VolumeAttachment#delete_on_termination #delete_on_termination} => Boolean
3072
+ # * {Types::VolumeAttachment#associated_resource #associated_resource} => String
3073
+ # * {Types::VolumeAttachment#instance_owning_service #instance_owning_service} => String
3072
3074
  #
3073
3075
  #
3074
3076
  # @example Example: To attach a volume to an instance
@@ -3107,6 +3109,8 @@ module Aws::EC2
3107
3109
  # resp.state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
3108
3110
  # resp.volume_id #=> String
3109
3111
  # resp.delete_on_termination #=> Boolean
3112
+ # resp.associated_resource #=> String
3113
+ # resp.instance_owning_service #=> String
3110
3114
  #
3111
3115
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume AWS API Documentation
3112
3116
  #
@@ -5888,7 +5892,7 @@ module Aws::EC2
5888
5892
  # resp.subnet.map_public_ip_on_launch #=> Boolean
5889
5893
  # resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
5890
5894
  # resp.subnet.customer_owned_ipv_4_pool #=> String
5891
- # resp.subnet.state #=> String, one of "pending", "available"
5895
+ # resp.subnet.state #=> String, one of "pending", "available", "unavailable"
5892
5896
  # resp.subnet.subnet_id #=> String
5893
5897
  # resp.subnet.vpc_id #=> String
5894
5898
  # resp.subnet.owner_id #=> String
@@ -6136,7 +6140,7 @@ module Aws::EC2
6136
6140
  #
6137
6141
  # @option params [String] :client_token
6138
6142
  # Unique, case-sensitive identifier that you provide to ensure the
6139
- # idempotency of the request. For more information, see [How to ensure
6143
+ # idempotency of the request. For more information, see [Ensuring
6140
6144
  # idempotency][1].
6141
6145
  #
6142
6146
  #
@@ -6429,6 +6433,7 @@ module Aws::EC2
6429
6433
  # max: 1.0,
6430
6434
  # },
6431
6435
  # allowed_instance_types: ["AllowedInstanceType"],
6436
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
6432
6437
  # },
6433
6438
  # image_id: "ImageId",
6434
6439
  # },
@@ -6515,6 +6520,7 @@ module Aws::EC2
6515
6520
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
6516
6521
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
6517
6522
  # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
6523
+ # resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
6518
6524
  # resp.errors[0].launch_template_and_overrides.overrides.image_id #=> String
6519
6525
  # resp.errors[0].lifecycle #=> String, one of "spot", "on-demand"
6520
6526
  # resp.errors[0].error_code #=> String
@@ -6570,6 +6576,7 @@ module Aws::EC2
6570
6576
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
6571
6577
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
6572
6578
  # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
6579
+ # resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
6573
6580
  # resp.instances[0].launch_template_and_overrides.overrides.image_id #=> String
6574
6581
  # resp.instances[0].lifecycle #=> String, one of "spot", "on-demand"
6575
6582
  # resp.instances[0].instance_ids #=> Array
@@ -8412,6 +8419,7 @@ module Aws::EC2
8412
8419
  # max: 1.0,
8413
8420
  # },
8414
8421
  # allowed_instance_types: ["AllowedInstanceType"],
8422
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
8415
8423
  # },
8416
8424
  # private_dns_name_options: {
8417
8425
  # hostname_type: "ip-name", # accepts ip-name, resource-name
@@ -8808,6 +8816,7 @@ module Aws::EC2
8808
8816
  # max: 1.0,
8809
8817
  # },
8810
8818
  # allowed_instance_types: ["AllowedInstanceType"],
8819
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
8811
8820
  # },
8812
8821
  # private_dns_name_options: {
8813
8822
  # hostname_type: "ip-name", # accepts ip-name, resource-name
@@ -8974,6 +8983,7 @@ module Aws::EC2
8974
8983
  # resp.launch_template_version.launch_template_data.instance_requirements.network_bandwidth_gbps.max #=> Float
8975
8984
  # resp.launch_template_version.launch_template_data.instance_requirements.allowed_instance_types #=> Array
8976
8985
  # resp.launch_template_version.launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
8986
+ # resp.launch_template_version.launch_template_data.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
8977
8987
  # resp.launch_template_version.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
8978
8988
  # resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
8979
8989
  # resp.launch_template_version.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
@@ -9394,7 +9404,7 @@ module Aws::EC2
9394
9404
  #
9395
9405
  # @option params [String] :client_token
9396
9406
  # Unique, case-sensitive identifier that you provide to ensure the
9397
- # idempotency of the request. For more information, see [How to ensure
9407
+ # idempotency of the request. For more information, see [Ensuring
9398
9408
  # idempotency][1].
9399
9409
  #
9400
9410
  # Constraint: Maximum 64 ASCII characters.
@@ -9573,9 +9583,22 @@ module Aws::EC2
9573
9583
  # @option params [Array<Types::TagSpecification>] :tag_specifications
9574
9584
  # The tags to assign to the network ACL.
9575
9585
  #
9586
+ # @option params [String] :client_token
9587
+ # Unique, case-sensitive identifier that you provide to ensure the
9588
+ # idempotency of the request. For more information, see [Ensuring
9589
+ # idempotency][1].
9590
+ #
9591
+ # **A suitable default value is auto-generated.** You should normally
9592
+ # not need to pass this option.**
9593
+ #
9594
+ #
9595
+ #
9596
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
9597
+ #
9576
9598
  # @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9577
9599
  #
9578
9600
  # * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
9601
+ # * {Types::CreateNetworkAclResult#client_token #client_token} => String
9579
9602
  #
9580
9603
  #
9581
9604
  # @example Example: To create a network ACL
@@ -9631,6 +9654,7 @@ module Aws::EC2
9631
9654
  # ],
9632
9655
  # },
9633
9656
  # ],
9657
+ # client_token: "String",
9634
9658
  # })
9635
9659
  #
9636
9660
  # @example Response structure
@@ -9657,6 +9681,7 @@ module Aws::EC2
9657
9681
  # resp.network_acl.tags[0].value #=> String
9658
9682
  # resp.network_acl.vpc_id #=> String
9659
9683
  # resp.network_acl.owner_id #=> String
9684
+ # resp.client_token #=> String
9660
9685
  #
9661
9686
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl AWS API Documentation
9662
9687
  #
@@ -11198,9 +11223,22 @@ module Aws::EC2
11198
11223
  # @option params [Array<Types::TagSpecification>] :tag_specifications
11199
11224
  # The tags to assign to the route table.
11200
11225
  #
11226
+ # @option params [String] :client_token
11227
+ # Unique, case-sensitive identifier that you provide to ensure the
11228
+ # idempotency of the request. For more information, see [Ensuring
11229
+ # idempotency][1].
11230
+ #
11231
+ # **A suitable default value is auto-generated.** You should normally
11232
+ # not need to pass this option.**
11233
+ #
11234
+ #
11235
+ #
11236
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
11237
+ #
11201
11238
  # @return [Types::CreateRouteTableResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11202
11239
  #
11203
11240
  # * {Types::CreateRouteTableResult#route_table #route_table} => Types::RouteTable
11241
+ # * {Types::CreateRouteTableResult#client_token #client_token} => String
11204
11242
  #
11205
11243
  #
11206
11244
  # @example Example: To create a route table
@@ -11248,6 +11286,7 @@ module Aws::EC2
11248
11286
  # ],
11249
11287
  # },
11250
11288
  # ],
11289
+ # client_token: "String",
11251
11290
  # })
11252
11291
  #
11253
11292
  # @example Response structure
@@ -11285,6 +11324,7 @@ module Aws::EC2
11285
11324
  # resp.route_table.tags[0].value #=> String
11286
11325
  # resp.route_table.vpc_id #=> String
11287
11326
  # resp.route_table.owner_id #=> String
11327
+ # resp.client_token #=> String
11288
11328
  #
11289
11329
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable AWS API Documentation
11290
11330
  #
@@ -12013,7 +12053,7 @@ module Aws::EC2
12013
12053
  # resp.subnet.map_public_ip_on_launch #=> Boolean
12014
12054
  # resp.subnet.map_customer_owned_ip_on_launch #=> Boolean
12015
12055
  # resp.subnet.customer_owned_ipv_4_pool #=> String
12016
- # resp.subnet.state #=> String, one of "pending", "available"
12056
+ # resp.subnet.state #=> String, one of "pending", "available", "unavailable"
12017
12057
  # resp.subnet.subnet_id #=> String
12018
12058
  # resp.subnet.vpc_id #=> String
12019
12059
  # resp.subnet.owner_id #=> String
@@ -14260,6 +14300,8 @@ module Aws::EC2
14260
14300
  # resp.attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
14261
14301
  # resp.attachments[0].volume_id #=> String
14262
14302
  # resp.attachments[0].delete_on_termination #=> Boolean
14303
+ # resp.attachments[0].associated_resource #=> String
14304
+ # resp.attachments[0].instance_owning_service #=> String
14263
14305
  # resp.availability_zone #=> String
14264
14306
  # resp.create_time #=> Time
14265
14307
  # resp.encrypted #=> Boolean
@@ -19785,11 +19827,11 @@ module Aws::EC2
19785
19827
  # * `opt-in-status` - The opt-in status (`opted-in` \| `not-opted-in` \|
19786
19828
  # `opt-in-not-required`).
19787
19829
  #
19788
- # * `parent-zoneID` - The ID of the zone that handles some of the Local
19830
+ # * `parent-zone-id` - The ID of the zone that handles some of the Local
19789
19831
  # Zone and Wavelength Zone control plane operations, such as API
19790
19832
  # calls.
19791
19833
  #
19792
- # * `parent-zoneName` - The ID of the zone that handles some of the
19834
+ # * `parent-zone-name` - The ID of the zone that handles some of the
19793
19835
  # Local Zone and Wavelength Zone control plane operations, such as API
19794
19836
  # calls.
19795
19837
  #
@@ -19895,7 +19937,7 @@ module Aws::EC2
19895
19937
  # @example Response structure
19896
19938
  #
19897
19939
  # resp.availability_zones #=> Array
19898
- # resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable"
19940
+ # resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable", "constrained"
19899
19941
  # resp.availability_zones[0].opt_in_status #=> String, one of "opt-in-not-required", "opted-in", "not-opted-in"
19900
19942
  # resp.availability_zones[0].messages #=> Array
19901
19943
  # resp.availability_zones[0].messages[0].message #=> String
@@ -20160,11 +20202,13 @@ module Aws::EC2
20160
20202
  # The token to use to retrieve the next page of results.
20161
20203
  #
20162
20204
  # @option params [Integer] :max_results
20163
- # The maximum number of results to return for the request in a single
20164
- # page. The remaining results can be seen by sending another request
20165
- # with the returned `nextToken` value. This value can be between 5 and
20166
- # 500. If `maxResults` is given a larger value than 500, you receive an
20167
- # error.
20205
+ # The maximum number of items to return for this request. To get the
20206
+ # next page of items, make another request with the token returned in
20207
+ # the output. For more information, see [Pagination][1].
20208
+ #
20209
+ #
20210
+ #
20211
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20168
20212
  #
20169
20213
  # @return [Types::DescribeCapacityBlockOfferingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
20170
20214
  #
@@ -20219,11 +20263,13 @@ module Aws::EC2
20219
20263
  # The token to use to retrieve the next page of results.
20220
20264
  #
20221
20265
  # @option params [Integer] :max_results
20222
- # The maximum number of results to return for the request in a single
20223
- # page. The remaining results can be seen by sending another request
20224
- # with the returned `nextToken` value. This value can be between 5 and
20225
- # 500. If `maxResults` is given a larger value than 500, you receive an
20226
- # error.
20266
+ # The maximum number of items to return for this request. To get the
20267
+ # next page of items, make another request with the token returned in
20268
+ # the output. For more information, see [Pagination][1].
20269
+ #
20270
+ #
20271
+ #
20272
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20227
20273
  #
20228
20274
  # @option params [Array<Types::Filter>] :filters
20229
20275
  # One or more filters.
@@ -20318,11 +20364,13 @@ module Aws::EC2
20318
20364
  # The token to use to retrieve the next page of results.
20319
20365
  #
20320
20366
  # @option params [Integer] :max_results
20321
- # The maximum number of results to return for the request in a single
20322
- # page. The remaining results can be seen by sending another request
20323
- # with the returned `nextToken` value. This value can be between 5 and
20324
- # 500. If `maxResults` is given a larger value than 500, you receive an
20325
- # error.
20367
+ # The maximum number of items to return for this request. To get the
20368
+ # next page of items, make another request with the token returned in
20369
+ # the output. For more information, see [Pagination][1].
20370
+ #
20371
+ #
20372
+ #
20373
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20326
20374
  #
20327
20375
  # @option params [Array<Types::Filter>] :filters
20328
20376
  # One or more filters.
@@ -21556,6 +21604,12 @@ module Aws::EC2
21556
21604
  req.send_request(options)
21557
21605
  end
21558
21606
 
21607
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
21608
+ # workloads that require graphics acceleration, we recommend that you
21609
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
21610
+ #
21611
+ # </note>
21612
+ #
21559
21613
  # Describes the Elastic Graphics accelerator associated with your
21560
21614
  # instances. For more information about Elastic Graphics, see [Amazon
21561
21615
  # Elastic Graphics][1].
@@ -22236,6 +22290,7 @@ module Aws::EC2
22236
22290
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
22237
22291
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types #=> Array
22238
22292
  # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types[0] #=> String
22293
+ # resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
22239
22294
  # resp.fleets[0].launch_template_configs[0].overrides[0].image_id #=> String
22240
22295
  # resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
22241
22296
  # resp.fleets[0].target_capacity_specification.on_demand_target_capacity #=> Integer
@@ -22316,6 +22371,7 @@ module Aws::EC2
22316
22371
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
22317
22372
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
22318
22373
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
22374
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
22319
22375
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.image_id #=> String
22320
22376
  # resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand"
22321
22377
  # resp.fleets[0].errors[0].error_code #=> String
@@ -22371,6 +22427,7 @@ module Aws::EC2
22371
22427
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.network_bandwidth_gbps.max #=> Float
22372
22428
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types #=> Array
22373
22429
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.allowed_instance_types[0] #=> String
22430
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
22374
22431
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.image_id #=> String
22375
22432
  # resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand"
22376
22433
  # resp.fleets[0].instances[0].instance_ids #=> Array
@@ -23924,6 +23981,8 @@ module Aws::EC2
23924
23981
  # resp.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
23925
23982
  # resp.block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
23926
23983
  # resp.block_device_mappings[0].ebs.volume_id #=> String
23984
+ # resp.block_device_mappings[0].ebs.associated_resource #=> String
23985
+ # resp.block_device_mappings[0].ebs.volume_owner_id #=> String
23927
23986
  # resp.disable_api_termination.value #=> Boolean
23928
23987
  # resp.ena_support.value #=> Boolean
23929
23988
  # resp.enclave_options.enabled #=> Boolean
@@ -25672,6 +25731,8 @@ module Aws::EC2
25672
25731
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
25673
25732
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
25674
25733
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_id #=> String
25734
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.associated_resource #=> String
25735
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
25675
25736
  # resp.reservations[0].instances[0].client_token #=> String
25676
25737
  # resp.reservations[0].instances[0].ebs_optimized #=> Boolean
25677
25738
  # resp.reservations[0].instances[0].ena_support #=> Boolean
@@ -26928,6 +26989,7 @@ module Aws::EC2
26928
26989
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.network_bandwidth_gbps.max #=> Float
26929
26990
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.allowed_instance_types #=> Array
26930
26991
  # resp.launch_template_versions[0].launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
26992
+ # resp.launch_template_versions[0].launch_template_data.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
26931
26993
  # resp.launch_template_versions[0].launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
26932
26994
  # resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
26933
26995
  # resp.launch_template_versions[0].launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
@@ -30946,6 +31008,9 @@ module Aws::EC2
30946
31008
  # @option params [Array<Types::Filter>] :filters
30947
31009
  # The filters.
30948
31010
  #
31011
+ # * `association.gateway-id` - The ID of the gateway involved in the
31012
+ # association.
31013
+ #
30949
31014
  # * `association.route-table-association-id` - The ID of an association
30950
31015
  # ID for the route table.
30951
31016
  #
@@ -32681,6 +32746,7 @@ module Aws::EC2
32681
32746
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.network_bandwidth_gbps.max #=> Float
32682
32747
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.allowed_instance_types #=> Array
32683
32748
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.allowed_instance_types[0] #=> String
32749
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
32684
32750
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs #=> Array
32685
32751
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].launch_template_specification.launch_template_id #=> String
32686
32752
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].launch_template_specification.launch_template_name #=> String
@@ -32732,6 +32798,7 @@ module Aws::EC2
32732
32798
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
32733
32799
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types #=> Array
32734
32800
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.allowed_instance_types[0] #=> String
32801
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
32735
32802
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_price #=> String
32736
32803
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.target_capacity #=> Integer
32737
32804
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_target_capacity #=> Integer
@@ -33676,7 +33743,7 @@ module Aws::EC2
33676
33743
  # resp.subnets[0].map_public_ip_on_launch #=> Boolean
33677
33744
  # resp.subnets[0].map_customer_owned_ip_on_launch #=> Boolean
33678
33745
  # resp.subnets[0].customer_owned_ipv_4_pool #=> String
33679
- # resp.subnets[0].state #=> String, one of "pending", "available"
33746
+ # resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
33680
33747
  # resp.subnets[0].subnet_id #=> String
33681
33748
  # resp.subnets[0].vpc_id #=> String
33682
33749
  # resp.subnets[0].owner_id #=> String
@@ -35949,6 +36016,8 @@ module Aws::EC2
35949
36016
  # resp.volumes[0].attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
35950
36017
  # resp.volumes[0].attachments[0].volume_id #=> String
35951
36018
  # resp.volumes[0].attachments[0].delete_on_termination #=> Boolean
36019
+ # resp.volumes[0].attachments[0].associated_resource #=> String
36020
+ # resp.volumes[0].attachments[0].instance_owning_service #=> String
35952
36021
  # resp.volumes[0].availability_zone #=> String
35953
36022
  # resp.volumes[0].create_time #=> Time
35954
36023
  # resp.volumes[0].encrypted #=> Boolean
@@ -37716,6 +37785,11 @@ module Aws::EC2
37716
37785
  # detached from an instance, the product code is no longer associated
37717
37786
  # with the instance.
37718
37787
  #
37788
+ # You can't detach or force detach volumes that are attached to Amazon
37789
+ # ECS or Fargate tasks. Attempting to do this results in the
37790
+ # `UnsupportedOperationException` exception with the `Unable to detach
37791
+ # volume attached to ECS tasks` error message.
37792
+ #
37719
37793
  # For more information, see [Detach an Amazon EBS volume][1] in the
37720
37794
  # *Amazon Elastic Compute Cloud User Guide*.
37721
37795
  #
@@ -37757,6 +37831,8 @@ module Aws::EC2
37757
37831
  # * {Types::VolumeAttachment#state #state} => String
37758
37832
  # * {Types::VolumeAttachment#volume_id #volume_id} => String
37759
37833
  # * {Types::VolumeAttachment#delete_on_termination #delete_on_termination} => Boolean
37834
+ # * {Types::VolumeAttachment#associated_resource #associated_resource} => String
37835
+ # * {Types::VolumeAttachment#instance_owning_service #instance_owning_service} => String
37760
37836
  #
37761
37837
  #
37762
37838
  # @example Example: To detach a volume from an instance
@@ -37794,6 +37870,8 @@ module Aws::EC2
37794
37870
  # resp.state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
37795
37871
  # resp.volume_id #=> String
37796
37872
  # resp.delete_on_termination #=> Boolean
37873
+ # resp.associated_resource #=> String
37874
+ # resp.instance_owning_service #=> String
37797
37875
  #
37798
37876
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume AWS API Documentation
37799
37877
  #
@@ -39379,12 +39457,16 @@ module Aws::EC2
39379
39457
  # Enables Infrastructure Performance subscriptions.
39380
39458
  #
39381
39459
  # @option params [String] :source
39382
- # The source Region or Availability Zone that the metric subscription is
39383
- # enabled for. For example, `us-east-1`.
39460
+ # The source Region (like `us-east-1`) or Availability Zone ID (like
39461
+ # `use1-az1`) that the metric subscription is enabled for. If you use
39462
+ # Availability Zone IDs, the Source and Destination Availability Zones
39463
+ # must be in the same Region.
39384
39464
  #
39385
39465
  # @option params [String] :destination
39386
- # The target Region or Availability Zone that the metric subscription is
39387
- # enabled for. For example, `eu-west-1`.
39466
+ # The target Region (like `us-east-2`) or Availability Zone ID (like
39467
+ # `use2-az2`) that the metric subscription is enabled for. If you use
39468
+ # Availability Zone IDs, the Source and Destination Availability Zones
39469
+ # must be in the same Region.
39388
39470
  #
39389
39471
  # @option params [String] :metric
39390
39472
  # The metric used for the enabled subscription.
@@ -39961,6 +40043,9 @@ module Aws::EC2
39961
40043
  # request new public sharing. However, snapshots that are already
39962
40044
  # publicly shared, remain publicly available.
39963
40045
  #
40046
+ # `unblocked` is not a valid value for
40047
+ # **EnableSnapshotBlockPublicAccess**.
40048
+ #
39964
40049
  # @option params [Boolean] :dry_run
39965
40050
  # Checks whether you have the required permissions for the action,
39966
40051
  # without actually making the request, and provides an error response.
@@ -40668,13 +40753,13 @@ module Aws::EC2
40668
40753
  # The token to use to retrieve the next page of results.
40669
40754
  #
40670
40755
  # @option params [Integer] :max_results
40671
- # The maximum number of results to return for the request in a single
40672
- # page. The remaining results can be seen by sending another request
40673
- # with the returned `nextToken` value. This value can be between 5 and
40674
- # 500. If `maxResults` is given a larger value than 500, you receive an
40675
- # error.
40756
+ # The maximum number of items to return for this request. To get the
40757
+ # next page of items, make another request with the token returned in
40758
+ # the output. For more information, see [Pagination][1].
40676
40759
  #
40677
- # Valid range: Minimum value of 1. Maximum value of 1000.
40760
+ #
40761
+ #
40762
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
40678
40763
  #
40679
40764
  # @option params [Boolean] :dry_run
40680
40765
  # Checks whether you have the required permissions for the action,
@@ -41135,11 +41220,13 @@ module Aws::EC2
41135
41220
  # The token to use to retrieve the next page of results.
41136
41221
  #
41137
41222
  # @option params [Integer] :max_results
41138
- # The maximum number of results to return for the request in a single
41139
- # page. The remaining results can be seen by sending another request
41140
- # with the returned `nextToken` value. This value can be between 5 and
41141
- # 500. If `maxResults` is given a larger value than 500, you receive an
41142
- # error.
41223
+ # The maximum number of items to return for this request. To get the
41224
+ # next page of items, make another request with the token returned in
41225
+ # the output. For more information, see [Pagination][1].
41226
+ #
41227
+ #
41228
+ #
41229
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
41143
41230
  #
41144
41231
  # @option params [Boolean] :dry_run
41145
41232
  # Checks whether you have the required permissions for the action,
@@ -41389,6 +41476,7 @@ module Aws::EC2
41389
41476
  # max: 1.0,
41390
41477
  # },
41391
41478
  # allowed_instance_types: ["AllowedInstanceType"],
41479
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
41392
41480
  # },
41393
41481
  # max_results: 1,
41394
41482
  # next_token: "String",
@@ -42050,9 +42138,9 @@ module Aws::EC2
42050
42138
  # information. Depending on your instance configuration, you may need to
42051
42139
  # allow the following actions in your IAM policy:
42052
42140
  # `DescribeSpotInstanceRequests`,
42053
- # `DescribeInstanceCreditSpecifications`, `DescribeVolumes`,
42054
- # `DescribeInstanceAttribute`, and `DescribeElasticGpus`. Or, you can
42055
- # allow `describe*` depending on your instance requirements.
42141
+ # `DescribeInstanceCreditSpecifications`, `DescribeVolumes`, and
42142
+ # `DescribeInstanceAttribute`. Or, you can allow `describe*` depending
42143
+ # on your instance requirements.
42056
42144
  #
42057
42145
  # @option params [Boolean] :dry_run
42058
42146
  # Checks whether you have the required permissions for the action,
@@ -42281,6 +42369,7 @@ module Aws::EC2
42281
42369
  # resp.launch_template_data.instance_requirements.network_bandwidth_gbps.max #=> Float
42282
42370
  # resp.launch_template_data.instance_requirements.allowed_instance_types #=> Array
42283
42371
  # resp.launch_template_data.instance_requirements.allowed_instance_types[0] #=> String
42372
+ # resp.launch_template_data.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
42284
42373
  # resp.launch_template_data.private_dns_name_options.hostname_type #=> String, one of "ip-name", "resource-name"
42285
42374
  # resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_a_record #=> Boolean
42286
42375
  # resp.launch_template_data.private_dns_name_options.enable_resource_name_dns_aaaa_record #=> Boolean
@@ -43241,8 +43330,6 @@ module Aws::EC2
43241
43330
  # @option params [String] :target_capacity_unit_type
43242
43331
  # The unit for the target capacity.
43243
43332
  #
43244
- # Default: `units` (translates to number of instances)
43245
- #
43246
43333
  # @option params [Boolean] :single_availability_zone
43247
43334
  # Specify `true` so that the response returns a list of scored
43248
43335
  # Availability Zones. Otherwise, the response returns a list of scored
@@ -43351,6 +43438,7 @@ module Aws::EC2
43351
43438
  # max: 1.0,
43352
43439
  # },
43353
43440
  # allowed_instance_types: ["AllowedInstanceType"],
43441
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
43354
43442
  # },
43355
43443
  # },
43356
43444
  # dry_run: false,
@@ -45937,6 +46025,7 @@ module Aws::EC2
45937
46025
  # max: 1.0,
45938
46026
  # },
45939
46027
  # allowed_instance_types: ["AllowedInstanceType"],
46028
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
45940
46029
  # },
45941
46030
  # image_id: "ImageId",
45942
46031
  # },
@@ -46501,7 +46590,9 @@ module Aws::EC2
46501
46590
  # Modifies the `DeleteOnTermination` attribute for volumes that are
46502
46591
  # currently attached. The volume must be owned by the caller. If no
46503
46592
  # value is specified for `DeleteOnTermination`, the default is `true`
46504
- # and the volume is deleted when the instance is terminated.
46593
+ # and the volume is deleted when the instance is terminated. You can't
46594
+ # modify the `DeleteOnTermination` attribute for volumes that are
46595
+ # attached to Fargate tasks.
46505
46596
  #
46506
46597
  # To add instance store volumes to an Amazon EBS-backed instance, you
46507
46598
  # must add them when you launch the instance. For more information, see
@@ -47037,23 +47128,22 @@ module Aws::EC2
47037
47128
  # The ID of the instance.
47038
47129
  #
47039
47130
  # @option params [String] :http_tokens
47040
- # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
47041
- # `optional` (in other words, set the use of IMDSv2 to `optional`) or
47042
- # `required` (in other words, set the use of IMDSv2 to `required`).
47043
- #
47044
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
47045
- # instance metadata with or without a session token in your request.
47046
- # If you retrieve the IAM role credentials without a token, the IMDSv1
47047
- # role credentials are returned. If you retrieve the IAM role
47048
- # credentials using a valid session token, the IMDSv2 role credentials
47049
- # are returned.
47050
- #
47051
- # * `required` - When IMDSv2 is required, you must send a session token
47052
- # with any instance metadata retrieval requests. In this state,
47131
+ # Indicates whether IMDSv2 is required.
47132
+ #
47133
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
47134
+ # session token in your instance metadata retrieval requests. If you
47135
+ # retrieve IAM role credentials without a session token, you receive
47136
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
47137
+ # using a valid session token, you receive the IMDSv2 role
47138
+ # credentials.
47139
+ #
47140
+ # * `required` - IMDSv2 is required. You must send a session token in
47141
+ # your instance metadata retrieval requests. With this option,
47053
47142
  # retrieving the IAM role credentials always returns IMDSv2
47054
47143
  # credentials; IMDSv1 credentials are not available.
47055
47144
  #
47056
- # Default: `optional`
47145
+ # Default: If the value of `ImdsSupport` for the Amazon Machine Image
47146
+ # (AMI) for your instance is `v2.0`, the default is `required`.
47057
47147
  #
47058
47148
  # @option params [Integer] :http_put_response_hop_limit
47059
47149
  # The desired HTTP PUT response hop limit for instance metadata
@@ -48557,6 +48647,7 @@ module Aws::EC2
48557
48647
  # max: 1.0,
48558
48648
  # },
48559
48649
  # allowed_instance_types: ["AllowedInstanceType"],
48650
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
48560
48651
  # },
48561
48652
  # },
48562
48653
  # ],
@@ -48620,6 +48711,15 @@ module Aws::EC2
48620
48711
  # instances created in the specified subnet should be assigned a public
48621
48712
  # IPv4 address.
48622
48713
  #
48714
+ # Starting on February 1, 2024, Amazon Web Services will charge for all
48715
+ # public IPv4 addresses, including public IPv4 addresses associated with
48716
+ # running instances and Elastic IP addresses. For more information, see
48717
+ # the *Public IPv4 Address* tab on the [Amazon VPC pricing page][1].
48718
+ #
48719
+ #
48720
+ #
48721
+ # [1]: http://aws.amazon.com/vpc/pricing/
48722
+ #
48623
48723
  # @option params [required, String] :subnet_id
48624
48724
  # The ID of the subnet.
48625
48725
  #
@@ -53827,6 +53927,7 @@ module Aws::EC2
53827
53927
  # max: 1.0,
53828
53928
  # },
53829
53929
  # allowed_instance_types: ["AllowedInstanceType"],
53930
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
53830
53931
  # },
53831
53932
  # },
53832
53933
  # ],
@@ -53896,6 +53997,7 @@ module Aws::EC2
53896
53997
  # max: 1.0,
53897
53998
  # },
53898
53999
  # allowed_instance_types: ["AllowedInstanceType"],
54000
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
53899
54001
  # },
53900
54002
  # },
53901
54003
  # ],
@@ -55615,14 +55717,13 @@ module Aws::EC2
55615
55717
  # the same request.
55616
55718
  #
55617
55719
  # @option params [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
55618
- # An elastic GPU to associate with the instance. An Elastic GPU is a GPU
55619
- # resource that you can attach to your Windows instance to accelerate
55620
- # the graphics performance of your applications. For more information,
55621
- # see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
55622
- #
55720
+ # Deprecated.
55623
55721
  #
55722
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
55723
+ # workloads that require graphics acceleration, we recommend that you
55724
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
55624
55725
  #
55625
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
55726
+ # </note>
55626
55727
  #
55627
55728
  # @option params [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
55628
55729
  # An elastic inference accelerator to associate with the instance.
@@ -55654,8 +55755,6 @@ module Aws::EC2
55654
55755
  #
55655
55756
  # * Volumes
55656
55757
  #
55657
- # * Elastic graphics
55658
- #
55659
55758
  # * Spot Instance requests
55660
55759
  #
55661
55760
  # * Network interfaces
@@ -56074,6 +56173,8 @@ module Aws::EC2
56074
56173
  # resp.instances[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
56075
56174
  # resp.instances[0].block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
56076
56175
  # resp.instances[0].block_device_mappings[0].ebs.volume_id #=> String
56176
+ # resp.instances[0].block_device_mappings[0].ebs.associated_resource #=> String
56177
+ # resp.instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
56077
56178
  # resp.instances[0].client_token #=> String
56078
56179
  # resp.instances[0].ebs_optimized #=> Boolean
56079
56180
  # resp.instances[0].ena_support #=> Boolean
@@ -56676,7 +56777,7 @@ module Aws::EC2
56676
56777
  # as its root device returns an error.
56677
56778
  #
56678
56779
  # If you attempt to start a T3 instance with `host` tenancy and the
56679
- # `unlimted` CPU credit option, the request fails. The `unlimited` CPU
56780
+ # `unlimited` CPU credit option, the request fails. The `unlimited` CPU
56680
56781
  # credit option is not supported on Dedicated Hosts. Before you start
56681
56782
  # the instance, either change its CPU credit option to `standard`, or
56682
56783
  # change its tenancy to `default` or `dedicated`.
@@ -58675,7 +58776,7 @@ module Aws::EC2
58675
58776
  params: params,
58676
58777
  config: config)
58677
58778
  context[:gem_name] = 'aws-sdk-ec2'
58678
- context[:gem_version] = '1.432.0'
58779
+ context[:gem_version] = '1.437.0'
58679
58780
  Seahorse::Client::Request.new(handlers, context)
58680
58781
  end
58681
58782