aws-sdk-ec2 1.432.0 → 1.434.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96408afc652baebc3b234495c7bd4cd3b03b879c1a0970416686c23ded49b8ff
4
- data.tar.gz: 881d5e7191a5e91b0e45a382ccf60190c167af02195f116dd3527422ca86bab8
3
+ metadata.gz: 46192bc7624b39568e1e3de8fc71a7d4321153d6bf9c6ccf1cae5c01640276b2
4
+ data.tar.gz: 65ef071dab5fa1d41648a974b0e81fb390345c5c2c381c53c7f94aea26985ced
5
5
  SHA512:
6
- metadata.gz: 9809e3c1c91f1a5a5c6ff0a4d6863d4f2dccde8791872a774d055ee703bc46fa59d103fea12ca0640cdafaaa2ccf0d7b1546181d3bb8e22496b20d5e14f529b7
7
- data.tar.gz: '08d82ddf729b5708e0744a156b6b89ff9461ea769b979b134dddc4ce54ce2b75c33a46307b812bcf7fa36711d05bbbdfdf62919d65777156b9b7e9fea7b38bcf'
6
+ metadata.gz: 4d5f12d7243f39947467a452ce9ab180b546f162a6f03a4e5e5c04d1aa84b3e65817cabe019043fea7b605612f1799fc9c900d298d50b978685e4dcc3f11a80e
7
+ data.tar.gz: 6133f74bb0b3aa715bd680992635e238512829c1c16aa295a04cc009eb4a4bfffd549db463cd93a8f484bae7176fa2f7d79d4760dd95ffece20d9191da354752
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.434.0 (2024-01-22)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amazon EC2.
8
+
9
+ 1.433.0 (2024-01-11)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for adding an ElasticBlockStorage volume configurations in ECS RunTask/StartTask/CreateService/UpdateService APIs. The configuration allows for attaching EBS volumes to ECS Tasks.
13
+
4
14
  1.432.0 (2024-01-08)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.432.0
1
+ 1.434.0
@@ -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
  #
@@ -14260,6 +14264,8 @@ module Aws::EC2
14260
14264
  # resp.attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
14261
14265
  # resp.attachments[0].volume_id #=> String
14262
14266
  # resp.attachments[0].delete_on_termination #=> Boolean
14267
+ # resp.attachments[0].associated_resource #=> String
14268
+ # resp.attachments[0].instance_owning_service #=> String
14263
14269
  # resp.availability_zone #=> String
14264
14270
  # resp.create_time #=> Time
14265
14271
  # resp.encrypted #=> Boolean
@@ -19785,11 +19791,11 @@ module Aws::EC2
19785
19791
  # * `opt-in-status` - The opt-in status (`opted-in` \| `not-opted-in` \|
19786
19792
  # `opt-in-not-required`).
19787
19793
  #
19788
- # * `parent-zoneID` - The ID of the zone that handles some of the Local
19794
+ # * `parent-zone-id` - The ID of the zone that handles some of the Local
19789
19795
  # Zone and Wavelength Zone control plane operations, such as API
19790
19796
  # calls.
19791
19797
  #
19792
- # * `parent-zoneName` - The ID of the zone that handles some of the
19798
+ # * `parent-zone-name` - The ID of the zone that handles some of the
19793
19799
  # Local Zone and Wavelength Zone control plane operations, such as API
19794
19800
  # calls.
19795
19801
  #
@@ -20160,11 +20166,13 @@ module Aws::EC2
20160
20166
  # The token to use to retrieve the next page of results.
20161
20167
  #
20162
20168
  # @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.
20169
+ # The maximum number of items to return for this request. To get the
20170
+ # next page of items, make another request with the token returned in
20171
+ # the output. For more information, see [Pagination][1].
20172
+ #
20173
+ #
20174
+ #
20175
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20168
20176
  #
20169
20177
  # @return [Types::DescribeCapacityBlockOfferingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
20170
20178
  #
@@ -20219,11 +20227,13 @@ module Aws::EC2
20219
20227
  # The token to use to retrieve the next page of results.
20220
20228
  #
20221
20229
  # @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.
20230
+ # The maximum number of items to return for this request. To get the
20231
+ # next page of items, make another request with the token returned in
20232
+ # the output. For more information, see [Pagination][1].
20233
+ #
20234
+ #
20235
+ #
20236
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20227
20237
  #
20228
20238
  # @option params [Array<Types::Filter>] :filters
20229
20239
  # One or more filters.
@@ -20318,11 +20328,13 @@ module Aws::EC2
20318
20328
  # The token to use to retrieve the next page of results.
20319
20329
  #
20320
20330
  # @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.
20331
+ # The maximum number of items to return for this request. To get the
20332
+ # next page of items, make another request with the token returned in
20333
+ # the output. For more information, see [Pagination][1].
20334
+ #
20335
+ #
20336
+ #
20337
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
20326
20338
  #
20327
20339
  # @option params [Array<Types::Filter>] :filters
20328
20340
  # One or more filters.
@@ -21556,6 +21568,12 @@ module Aws::EC2
21556
21568
  req.send_request(options)
21557
21569
  end
21558
21570
 
21571
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
21572
+ # workloads that require graphics acceleration, we recommend that you
21573
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
21574
+ #
21575
+ # </note>
21576
+ #
21559
21577
  # Describes the Elastic Graphics accelerator associated with your
21560
21578
  # instances. For more information about Elastic Graphics, see [Amazon
21561
21579
  # Elastic Graphics][1].
@@ -23924,6 +23942,8 @@ module Aws::EC2
23924
23942
  # resp.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
23925
23943
  # resp.block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
23926
23944
  # resp.block_device_mappings[0].ebs.volume_id #=> String
23945
+ # resp.block_device_mappings[0].ebs.associated_resource #=> String
23946
+ # resp.block_device_mappings[0].ebs.volume_owner_id #=> String
23927
23947
  # resp.disable_api_termination.value #=> Boolean
23928
23948
  # resp.ena_support.value #=> Boolean
23929
23949
  # resp.enclave_options.enabled #=> Boolean
@@ -25672,6 +25692,8 @@ module Aws::EC2
25672
25692
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
25673
25693
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
25674
25694
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_id #=> String
25695
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.associated_resource #=> String
25696
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
25675
25697
  # resp.reservations[0].instances[0].client_token #=> String
25676
25698
  # resp.reservations[0].instances[0].ebs_optimized #=> Boolean
25677
25699
  # resp.reservations[0].instances[0].ena_support #=> Boolean
@@ -30946,6 +30968,9 @@ module Aws::EC2
30946
30968
  # @option params [Array<Types::Filter>] :filters
30947
30969
  # The filters.
30948
30970
  #
30971
+ # * `association.gateway-id` - The ID of the gateway involved in the
30972
+ # association.
30973
+ #
30949
30974
  # * `association.route-table-association-id` - The ID of an association
30950
30975
  # ID for the route table.
30951
30976
  #
@@ -35949,6 +35974,8 @@ module Aws::EC2
35949
35974
  # resp.volumes[0].attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
35950
35975
  # resp.volumes[0].attachments[0].volume_id #=> String
35951
35976
  # resp.volumes[0].attachments[0].delete_on_termination #=> Boolean
35977
+ # resp.volumes[0].attachments[0].associated_resource #=> String
35978
+ # resp.volumes[0].attachments[0].instance_owning_service #=> String
35952
35979
  # resp.volumes[0].availability_zone #=> String
35953
35980
  # resp.volumes[0].create_time #=> Time
35954
35981
  # resp.volumes[0].encrypted #=> Boolean
@@ -37716,6 +37743,11 @@ module Aws::EC2
37716
37743
  # detached from an instance, the product code is no longer associated
37717
37744
  # with the instance.
37718
37745
  #
37746
+ # You can't detach or force detach volumes that are attached to Amazon
37747
+ # ECS or Fargate tasks. Attempting to do this results in the
37748
+ # `UnsupportedOperationException` exception with the `Unable to detach
37749
+ # volume attached to ECS tasks` error message.
37750
+ #
37719
37751
  # For more information, see [Detach an Amazon EBS volume][1] in the
37720
37752
  # *Amazon Elastic Compute Cloud User Guide*.
37721
37753
  #
@@ -37757,6 +37789,8 @@ module Aws::EC2
37757
37789
  # * {Types::VolumeAttachment#state #state} => String
37758
37790
  # * {Types::VolumeAttachment#volume_id #volume_id} => String
37759
37791
  # * {Types::VolumeAttachment#delete_on_termination #delete_on_termination} => Boolean
37792
+ # * {Types::VolumeAttachment#associated_resource #associated_resource} => String
37793
+ # * {Types::VolumeAttachment#instance_owning_service #instance_owning_service} => String
37760
37794
  #
37761
37795
  #
37762
37796
  # @example Example: To detach a volume from an instance
@@ -37794,6 +37828,8 @@ module Aws::EC2
37794
37828
  # resp.state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
37795
37829
  # resp.volume_id #=> String
37796
37830
  # resp.delete_on_termination #=> Boolean
37831
+ # resp.associated_resource #=> String
37832
+ # resp.instance_owning_service #=> String
37797
37833
  #
37798
37834
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume AWS API Documentation
37799
37835
  #
@@ -39379,12 +39415,16 @@ module Aws::EC2
39379
39415
  # Enables Infrastructure Performance subscriptions.
39380
39416
  #
39381
39417
  # @option params [String] :source
39382
- # The source Region or Availability Zone that the metric subscription is
39383
- # enabled for. For example, `us-east-1`.
39418
+ # The source Region (like `us-east-1`) or Availability Zone ID (like
39419
+ # `use1-az1`) that the metric subscription is enabled for. If you use
39420
+ # Availability Zone IDs, the Source and Destination Availability Zones
39421
+ # must be in the same Region.
39384
39422
  #
39385
39423
  # @option params [String] :destination
39386
- # The target Region or Availability Zone that the metric subscription is
39387
- # enabled for. For example, `eu-west-1`.
39424
+ # The target Region (like `us-east-2`) or Availability Zone ID (like
39425
+ # `use2-az2`) that the metric subscription is enabled for. If you use
39426
+ # Availability Zone IDs, the Source and Destination Availability Zones
39427
+ # must be in the same Region.
39388
39428
  #
39389
39429
  # @option params [String] :metric
39390
39430
  # The metric used for the enabled subscription.
@@ -39961,6 +40001,9 @@ module Aws::EC2
39961
40001
  # request new public sharing. However, snapshots that are already
39962
40002
  # publicly shared, remain publicly available.
39963
40003
  #
40004
+ # `unblocked` is not a valid value for
40005
+ # **EnableSnapshotBlockPublicAccess**.
40006
+ #
39964
40007
  # @option params [Boolean] :dry_run
39965
40008
  # Checks whether you have the required permissions for the action,
39966
40009
  # without actually making the request, and provides an error response.
@@ -40668,13 +40711,13 @@ module Aws::EC2
40668
40711
  # The token to use to retrieve the next page of results.
40669
40712
  #
40670
40713
  # @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.
40714
+ # The maximum number of items to return for this request. To get the
40715
+ # next page of items, make another request with the token returned in
40716
+ # the output. For more information, see [Pagination][1].
40717
+ #
40676
40718
  #
40677
- # Valid range: Minimum value of 1. Maximum value of 1000.
40719
+ #
40720
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
40678
40721
  #
40679
40722
  # @option params [Boolean] :dry_run
40680
40723
  # Checks whether you have the required permissions for the action,
@@ -41135,11 +41178,13 @@ module Aws::EC2
41135
41178
  # The token to use to retrieve the next page of results.
41136
41179
  #
41137
41180
  # @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.
41181
+ # The maximum number of items to return for this request. To get the
41182
+ # next page of items, make another request with the token returned in
41183
+ # the output. For more information, see [Pagination][1].
41184
+ #
41185
+ #
41186
+ #
41187
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
41143
41188
  #
41144
41189
  # @option params [Boolean] :dry_run
41145
41190
  # Checks whether you have the required permissions for the action,
@@ -42050,9 +42095,9 @@ module Aws::EC2
42050
42095
  # information. Depending on your instance configuration, you may need to
42051
42096
  # allow the following actions in your IAM policy:
42052
42097
  # `DescribeSpotInstanceRequests`,
42053
- # `DescribeInstanceCreditSpecifications`, `DescribeVolumes`,
42054
- # `DescribeInstanceAttribute`, and `DescribeElasticGpus`. Or, you can
42055
- # allow `describe*` depending on your instance requirements.
42098
+ # `DescribeInstanceCreditSpecifications`, `DescribeVolumes`, and
42099
+ # `DescribeInstanceAttribute`. Or, you can allow `describe*` depending
42100
+ # on your instance requirements.
42056
42101
  #
42057
42102
  # @option params [Boolean] :dry_run
42058
42103
  # Checks whether you have the required permissions for the action,
@@ -43241,8 +43286,6 @@ module Aws::EC2
43241
43286
  # @option params [String] :target_capacity_unit_type
43242
43287
  # The unit for the target capacity.
43243
43288
  #
43244
- # Default: `units` (translates to number of instances)
43245
- #
43246
43289
  # @option params [Boolean] :single_availability_zone
43247
43290
  # Specify `true` so that the response returns a list of scored
43248
43291
  # Availability Zones. Otherwise, the response returns a list of scored
@@ -46501,7 +46544,9 @@ module Aws::EC2
46501
46544
  # Modifies the `DeleteOnTermination` attribute for volumes that are
46502
46545
  # currently attached. The volume must be owned by the caller. If no
46503
46546
  # value is specified for `DeleteOnTermination`, the default is `true`
46504
- # and the volume is deleted when the instance is terminated.
46547
+ # and the volume is deleted when the instance is terminated. You can't
46548
+ # modify the `DeleteOnTermination` attribute for volumes that are
46549
+ # attached to Fargate tasks.
46505
46550
  #
46506
46551
  # To add instance store volumes to an Amazon EBS-backed instance, you
46507
46552
  # must add them when you launch the instance. For more information, see
@@ -47037,23 +47082,22 @@ module Aws::EC2
47037
47082
  # The ID of the instance.
47038
47083
  #
47039
47084
  # @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,
47085
+ # Indicates whether IMDSv2 is required.
47086
+ #
47087
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
47088
+ # session token in your instance metadata retrieval requests. If you
47089
+ # retrieve IAM role credentials without a session token, you receive
47090
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
47091
+ # using a valid session token, you receive the IMDSv2 role
47092
+ # credentials.
47093
+ #
47094
+ # * `required` - IMDSv2 is required. You must send a session token in
47095
+ # your instance metadata retrieval requests. With this option,
47053
47096
  # retrieving the IAM role credentials always returns IMDSv2
47054
47097
  # credentials; IMDSv1 credentials are not available.
47055
47098
  #
47056
- # Default: `optional`
47099
+ # Default: If the value of `ImdsSupport` for the Amazon Machine Image
47100
+ # (AMI) for your instance is `v2.0`, the default is `required`.
47057
47101
  #
47058
47102
  # @option params [Integer] :http_put_response_hop_limit
47059
47103
  # The desired HTTP PUT response hop limit for instance metadata
@@ -48620,6 +48664,15 @@ module Aws::EC2
48620
48664
  # instances created in the specified subnet should be assigned a public
48621
48665
  # IPv4 address.
48622
48666
  #
48667
+ # Starting on February 1, 2024, Amazon Web Services will charge for all
48668
+ # public IPv4 addresses, including public IPv4 addresses associated with
48669
+ # running instances and Elastic IP addresses. For more information, see
48670
+ # the *Public IPv4 Address* tab on the [Amazon VPC pricing page][1].
48671
+ #
48672
+ #
48673
+ #
48674
+ # [1]: http://aws.amazon.com/vpc/pricing/
48675
+ #
48623
48676
  # @option params [required, String] :subnet_id
48624
48677
  # The ID of the subnet.
48625
48678
  #
@@ -55615,14 +55668,13 @@ module Aws::EC2
55615
55668
  # the same request.
55616
55669
  #
55617
55670
  # @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
- #
55671
+ # Deprecated.
55623
55672
  #
55673
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
55674
+ # workloads that require graphics acceleration, we recommend that you
55675
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
55624
55676
  #
55625
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
55677
+ # </note>
55626
55678
  #
55627
55679
  # @option params [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
55628
55680
  # An elastic inference accelerator to associate with the instance.
@@ -55654,8 +55706,6 @@ module Aws::EC2
55654
55706
  #
55655
55707
  # * Volumes
55656
55708
  #
55657
- # * Elastic graphics
55658
- #
55659
55709
  # * Spot Instance requests
55660
55710
  #
55661
55711
  # * Network interfaces
@@ -56074,6 +56124,8 @@ module Aws::EC2
56074
56124
  # resp.instances[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
56075
56125
  # resp.instances[0].block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
56076
56126
  # resp.instances[0].block_device_mappings[0].ebs.volume_id #=> String
56127
+ # resp.instances[0].block_device_mappings[0].ebs.associated_resource #=> String
56128
+ # resp.instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
56077
56129
  # resp.instances[0].client_token #=> String
56078
56130
  # resp.instances[0].ebs_optimized #=> Boolean
56079
56131
  # resp.instances[0].ena_support #=> Boolean
@@ -56676,7 +56728,7 @@ module Aws::EC2
56676
56728
  # as its root device returns an error.
56677
56729
  #
56678
56730
  # If you attempt to start a T3 instance with `host` tenancy and the
56679
- # `unlimted` CPU credit option, the request fails. The `unlimited` CPU
56731
+ # `unlimited` CPU credit option, the request fails. The `unlimited` CPU
56680
56732
  # credit option is not supported on Dedicated Hosts. Before you start
56681
56733
  # the instance, either change its CPU credit option to `standard`, or
56682
56734
  # change its tenancy to `default` or `dedicated`.
@@ -58675,7 +58727,7 @@ module Aws::EC2
58675
58727
  params: params,
58676
58728
  config: config)
58677
58729
  context[:gem_name] = 'aws-sdk-ec2'
58678
- context[:gem_version] = '1.432.0'
58730
+ context[:gem_version] = '1.434.0'
58679
58731
  Seahorse::Client::Request.new(handlers, context)
58680
58732
  end
58681
58733
 
@@ -8201,6 +8201,8 @@ module Aws::EC2
8201
8201
  EbsInstanceBlockDevice.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
8202
8202
  EbsInstanceBlockDevice.add_member(:status, Shapes::ShapeRef.new(shape: AttachmentStatus, location_name: "status"))
8203
8203
  EbsInstanceBlockDevice.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
8204
+ EbsInstanceBlockDevice.add_member(:associated_resource, Shapes::ShapeRef.new(shape: String, location_name: "associatedResource"))
8205
+ EbsInstanceBlockDevice.add_member(:volume_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeOwnerId"))
8204
8206
  EbsInstanceBlockDevice.struct_class = Types::EbsInstanceBlockDevice
8205
8207
 
8206
8208
  EbsInstanceBlockDeviceSpecification.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
@@ -15216,6 +15218,8 @@ module Aws::EC2
15216
15218
  VolumeAttachment.add_member(:state, Shapes::ShapeRef.new(shape: VolumeAttachmentState, location_name: "status"))
15217
15219
  VolumeAttachment.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
15218
15220
  VolumeAttachment.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
15221
+ VolumeAttachment.add_member(:associated_resource, Shapes::ShapeRef.new(shape: String, location_name: "associatedResource"))
15222
+ VolumeAttachment.add_member(:instance_owning_service, Shapes::ShapeRef.new(shape: String, location_name: "instanceOwningService"))
15219
15223
  VolumeAttachment.struct_class = Types::VolumeAttachment
15220
15224
 
15221
15225
  VolumeAttachmentList.member = Shapes::ShapeRef.new(shape: VolumeAttachment, location_name: "item")
@@ -221,7 +221,13 @@ module Aws::EC2
221
221
  data[:instance_lifecycle]
222
222
  end
223
223
 
224
- # The Elastic GPU associated with the instance.
224
+ # Deprecated.
225
+ #
226
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
227
+ # workloads that require graphics acceleration, we recommend that you
228
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
229
+ #
230
+ # </note>
225
231
  # @return [Array<Types::ElasticGpuAssociation>]
226
232
  def elastic_gpu_associations
227
233
  data[:elastic_gpu_associations]
@@ -1088,7 +1094,9 @@ module Aws::EC2
1088
1094
  # Modifies the `DeleteOnTermination` attribute for volumes that are
1089
1095
  # currently attached. The volume must be owned by the caller. If no
1090
1096
  # value is specified for `DeleteOnTermination`, the default is `true`
1091
- # and the volume is deleted when the instance is terminated.
1097
+ # and the volume is deleted when the instance is terminated. You can't
1098
+ # modify the `DeleteOnTermination` attribute for volumes that are
1099
+ # attached to Fargate tasks.
1092
1100
  #
1093
1101
  # To add instance store volumes to an Amazon EBS-backed instance, you
1094
1102
  # must add them when you launch the instance. For more information, see
@@ -481,14 +481,13 @@ module Aws::EC2
481
481
  # You cannot specify this option and the network interfaces option in
482
482
  # the same request.
483
483
  # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
484
- # An elastic GPU to associate with the instance. An Elastic GPU is a GPU
485
- # resource that you can attach to your Windows instance to accelerate
486
- # the graphics performance of your applications. For more information,
487
- # see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
484
+ # Deprecated.
488
485
  #
486
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
487
+ # workloads that require graphics acceleration, we recommend that you
488
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
489
489
  #
490
- #
491
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
490
+ # </note>
492
491
  # @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
493
492
  # An elastic inference accelerator to associate with the instance.
494
493
  # Elastic inference accelerators are a resource you can attach to your
@@ -518,8 +517,6 @@ module Aws::EC2
518
517
  #
519
518
  # * Volumes
520
519
  #
521
- # * Elastic graphics
522
- #
523
520
  # * Spot Instance requests
524
521
  #
525
522
  # * Network interfaces
@@ -3475,6 +3472,9 @@ module Aws::EC2
3475
3472
  # @option options [Array<Types::Filter>] :filters
3476
3473
  # The filters.
3477
3474
  #
3475
+ # * `association.gateway-id` - The ID of the gateway involved in the
3476
+ # association.
3477
+ #
3478
3478
  # * `association.route-table-association-id` - The ID of an association
3479
3479
  # ID for the route table.
3480
3480
  #
@@ -77,6 +77,15 @@ module Aws::EC2
77
77
 
78
78
  # Indicates whether instances launched in this subnet receive a public
79
79
  # IPv4 address.
80
+ #
81
+ # Starting on February 1, 2024, Amazon Web Services will charge for all
82
+ # public IPv4 addresses, including public IPv4 addresses associated with
83
+ # running instances and Elastic IP addresses. For more information, see
84
+ # the *Public IPv4 Address* tab on the [Amazon VPC pricing page][1].
85
+ #
86
+ #
87
+ #
88
+ # [1]: http://aws.amazon.com/vpc/pricing/
80
89
  # @return [Boolean]
81
90
  def map_public_ip_on_launch
82
91
  data[:map_public_ip_on_launch]
@@ -702,14 +711,13 @@ module Aws::EC2
702
711
  # You cannot specify this option and the network interfaces option in
703
712
  # the same request.
704
713
  # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
705
- # An elastic GPU to associate with the instance. An Elastic GPU is a GPU
706
- # resource that you can attach to your Windows instance to accelerate
707
- # the graphics performance of your applications. For more information,
708
- # see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
714
+ # Deprecated.
709
715
  #
716
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
717
+ # workloads that require graphics acceleration, we recommend that you
718
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
710
719
  #
711
- #
712
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
720
+ # </note>
713
721
  # @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
714
722
  # An elastic inference accelerator to associate with the instance.
715
723
  # Elastic inference accelerators are a resource you can attach to your
@@ -739,8 +747,6 @@ module Aws::EC2
739
747
  #
740
748
  # * Volumes
741
749
  #
742
- # * Elastic graphics
743
- #
744
750
  # * Spot Instance requests
745
751
  #
746
752
  # * Network interfaces
@@ -16477,11 +16477,11 @@ module Aws::EC2
16477
16477
  # * `opt-in-status` - The opt-in status (`opted-in` \| `not-opted-in`
16478
16478
  # \| `opt-in-not-required`).
16479
16479
  #
16480
- # * `parent-zoneID` - The ID of the zone that handles some of the
16480
+ # * `parent-zone-id` - The ID of the zone that handles some of the
16481
16481
  # Local Zone and Wavelength Zone control plane operations, such as
16482
16482
  # API calls.
16483
16483
  #
16484
- # * `parent-zoneName` - The ID of the zone that handles some of the
16484
+ # * `parent-zone-name` - The ID of the zone that handles some of the
16485
16485
  # Local Zone and Wavelength Zone control plane operations, such as
16486
16486
  # API calls.
16487
16487
  #
@@ -16744,11 +16744,13 @@ module Aws::EC2
16744
16744
  # @return [String]
16745
16745
  #
16746
16746
  # @!attribute [rw] max_results
16747
- # The maximum number of results to return for the request in a single
16748
- # page. The remaining results can be seen by sending another request
16749
- # with the returned `nextToken` value. This value can be between 5 and
16750
- # 500. If `maxResults` is given a larger value than 500, you receive
16751
- # an error.
16747
+ # The maximum number of items to return for this request. To get the
16748
+ # next page of items, make another request with the token returned in
16749
+ # the output. For more information, see [Pagination][1].
16750
+ #
16751
+ #
16752
+ #
16753
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
16752
16754
  # @return [Integer]
16753
16755
  #
16754
16756
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
@@ -16793,11 +16795,13 @@ module Aws::EC2
16793
16795
  # @return [String]
16794
16796
  #
16795
16797
  # @!attribute [rw] max_results
16796
- # The maximum number of results to return for the request in a single
16797
- # page. The remaining results can be seen by sending another request
16798
- # with the returned `nextToken` value. This value can be between 5 and
16799
- # 500. If `maxResults` is given a larger value than 500, you receive
16800
- # an error.
16798
+ # The maximum number of items to return for this request. To get the
16799
+ # next page of items, make another request with the token returned in
16800
+ # the output. For more information, see [Pagination][1].
16801
+ #
16802
+ #
16803
+ #
16804
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
16801
16805
  # @return [Integer]
16802
16806
  #
16803
16807
  # @!attribute [rw] filters
@@ -16862,11 +16866,13 @@ module Aws::EC2
16862
16866
  # @return [String]
16863
16867
  #
16864
16868
  # @!attribute [rw] max_results
16865
- # The maximum number of results to return for the request in a single
16866
- # page. The remaining results can be seen by sending another request
16867
- # with the returned `nextToken` value. This value can be between 5 and
16868
- # 500. If `maxResults` is given a larger value than 500, you receive
16869
- # an error.
16869
+ # The maximum number of items to return for this request. To get the
16870
+ # next page of items, make another request with the token returned in
16871
+ # the output. For more information, see [Pagination][1].
16872
+ #
16873
+ #
16874
+ #
16875
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
16870
16876
  # @return [Integer]
16871
16877
  #
16872
16878
  # @!attribute [rw] filters
@@ -23736,6 +23742,9 @@ module Aws::EC2
23736
23742
  # @!attribute [rw] filters
23737
23743
  # The filters.
23738
23744
  #
23745
+ # * `association.gateway-id` - The ID of the gateway involved in the
23746
+ # association.
23747
+ #
23739
23748
  # * `association.route-table-association-id` - The ID of an
23740
23749
  # association ID for the route table.
23741
23750
  #
@@ -30065,13 +30074,27 @@ module Aws::EC2
30065
30074
  # The ID of the EBS volume.
30066
30075
  # @return [String]
30067
30076
  #
30077
+ # @!attribute [rw] associated_resource
30078
+ # The ARN of the Amazon ECS or Fargate task to which the volume is
30079
+ # attached.
30080
+ # @return [String]
30081
+ #
30082
+ # @!attribute [rw] volume_owner_id
30083
+ # The ID of the Amazon Web Services account that owns the volume.
30084
+ #
30085
+ # This parameter is returned only for volumes that are attached to
30086
+ # Fargate tasks.
30087
+ # @return [String]
30088
+ #
30068
30089
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice AWS API Documentation
30069
30090
  #
30070
30091
  class EbsInstanceBlockDevice < Struct.new(
30071
30092
  :attach_time,
30072
30093
  :delete_on_termination,
30073
30094
  :status,
30074
- :volume_id)
30095
+ :volume_id,
30096
+ :associated_resource,
30097
+ :volume_owner_id)
30075
30098
  SENSITIVE = []
30076
30099
  include Aws::Structure
30077
30100
  end
@@ -30281,6 +30304,12 @@ module Aws::EC2
30281
30304
  include Aws::Structure
30282
30305
  end
30283
30306
 
30307
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30308
+ # workloads that require graphics acceleration, we recommend that you
30309
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30310
+ #
30311
+ # </note>
30312
+ #
30284
30313
  # Describes the association between an instance and an Elastic Graphics
30285
30314
  # accelerator.
30286
30315
  #
@@ -30313,6 +30342,12 @@ module Aws::EC2
30313
30342
  include Aws::Structure
30314
30343
  end
30315
30344
 
30345
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30346
+ # workloads that require graphics acceleration, we recommend that you
30347
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30348
+ #
30349
+ # </note>
30350
+ #
30316
30351
  # Describes the status of an Elastic Graphics accelerator.
30317
30352
  #
30318
30353
  # @!attribute [rw] status
@@ -30327,6 +30362,12 @@ module Aws::EC2
30327
30362
  include Aws::Structure
30328
30363
  end
30329
30364
 
30365
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30366
+ # workloads that require graphics acceleration, we recommend that you
30367
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30368
+ #
30369
+ # </note>
30370
+ #
30330
30371
  # A specification for an Elastic Graphics accelerator.
30331
30372
  #
30332
30373
  # @!attribute [rw] type
@@ -30348,10 +30389,22 @@ module Aws::EC2
30348
30389
  include Aws::Structure
30349
30390
  end
30350
30391
 
30351
- # Describes an elastic GPU.
30392
+ # Deprecated.
30393
+ #
30394
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30395
+ # workloads that require graphics acceleration, we recommend that you
30396
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30397
+ #
30398
+ # </note>
30352
30399
  #
30353
30400
  # @!attribute [rw] type
30354
- # The elastic GPU type.
30401
+ # Deprecated.
30402
+ #
30403
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30404
+ # workloads that require graphics acceleration, we recommend that you
30405
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30406
+ #
30407
+ # </note>
30355
30408
  # @return [String]
30356
30409
  #
30357
30410
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecificationResponse AWS API Documentation
@@ -30362,6 +30415,12 @@ module Aws::EC2
30362
30415
  include Aws::Structure
30363
30416
  end
30364
30417
 
30418
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30419
+ # workloads that require graphics acceleration, we recommend that you
30420
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30421
+ #
30422
+ # </note>
30423
+ #
30365
30424
  # Describes an Elastic Graphics accelerator.
30366
30425
  #
30367
30426
  # @!attribute [rw] elastic_gpu_id
@@ -30594,13 +30653,17 @@ module Aws::EC2
30594
30653
  end
30595
30654
 
30596
30655
  # @!attribute [rw] source
30597
- # The source Region or Availability Zone that the metric subscription
30598
- # is enabled for. For example, `us-east-1`.
30656
+ # The source Region (like `us-east-1`) or Availability Zone ID (like
30657
+ # `use1-az1`) that the metric subscription is enabled for. If you use
30658
+ # Availability Zone IDs, the Source and Destination Availability Zones
30659
+ # must be in the same Region.
30599
30660
  # @return [String]
30600
30661
  #
30601
30662
  # @!attribute [rw] destination
30602
- # The target Region or Availability Zone that the metric subscription
30603
- # is enabled for. For example, `eu-west-1`.
30663
+ # The target Region (like `us-east-2`) or Availability Zone ID (like
30664
+ # `use2-az2`) that the metric subscription is enabled for. If you use
30665
+ # Availability Zone IDs, the Source and Destination Availability Zones
30666
+ # must be in the same Region.
30604
30667
  # @return [String]
30605
30668
  #
30606
30669
  # @!attribute [rw] metric
@@ -31187,6 +31250,9 @@ module Aws::EC2
31187
31250
  # snapshots in the Region. Users in the account will no longer be
31188
31251
  # able to request new public sharing. However, snapshots that are
31189
31252
  # already publicly shared, remain publicly available.
31253
+ #
31254
+ # `unblocked` is not a valid value for
31255
+ # **EnableSnapshotBlockPublicAccess**.
31190
31256
  # @return [String]
31191
31257
  #
31192
31258
  # @!attribute [rw] dry_run
@@ -33767,13 +33833,13 @@ module Aws::EC2
33767
33833
  # @return [String]
33768
33834
  #
33769
33835
  # @!attribute [rw] max_results
33770
- # The maximum number of results to return for the request in a single
33771
- # page. The remaining results can be seen by sending another request
33772
- # with the returned `nextToken` value. This value can be between 5 and
33773
- # 500. If `maxResults` is given a larger value than 500, you receive
33774
- # an error.
33836
+ # The maximum number of items to return for this request. To get the
33837
+ # next page of items, make another request with the token returned in
33838
+ # the output. For more information, see [Pagination][1].
33775
33839
  #
33776
- # Valid range: Minimum value of 1. Maximum value of 1000.
33840
+ #
33841
+ #
33842
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
33777
33843
  # @return [Integer]
33778
33844
  #
33779
33845
  # @!attribute [rw] dry_run
@@ -34174,11 +34240,13 @@ module Aws::EC2
34174
34240
  # @return [String]
34175
34241
  #
34176
34242
  # @!attribute [rw] max_results
34177
- # The maximum number of results to return for the request in a single
34178
- # page. The remaining results can be seen by sending another request
34179
- # with the returned `nextToken` value. This value can be between 5 and
34180
- # 500. If `maxResults` is given a larger value than 500, you receive
34181
- # an error.
34243
+ # The maximum number of items to return for this request. To get the
34244
+ # next page of items, make another request with the token returned in
34245
+ # the output. For more information, see [Pagination][1].
34246
+ #
34247
+ #
34248
+ #
34249
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
34182
34250
  # @return [Integer]
34183
34251
  #
34184
34252
  # @!attribute [rw] dry_run
@@ -35386,8 +35454,6 @@ module Aws::EC2
35386
35454
  #
35387
35455
  # @!attribute [rw] target_capacity_unit_type
35388
35456
  # The unit for the target capacity.
35389
- #
35390
- # Default: `units` (translates to number of instances)
35391
35457
  # @return [String]
35392
35458
  #
35393
35459
  # @!attribute [rw] single_availability_zone
@@ -38453,7 +38519,13 @@ module Aws::EC2
38453
38519
  # @return [String]
38454
38520
  #
38455
38521
  # @!attribute [rw] elastic_gpu_associations
38456
- # The Elastic GPU associated with the instance.
38522
+ # Deprecated.
38523
+ #
38524
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
38525
+ # workloads that require graphics acceleration, we recommend that you
38526
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
38527
+ #
38528
+ # </note>
38457
38529
  # @return [Array<Types::ElasticGpuAssociation>]
38458
38530
  #
38459
38531
  # @!attribute [rw] elastic_inference_accelerator_associations
@@ -39348,23 +39420,22 @@ module Aws::EC2
39348
39420
  # The metadata options for the instance.
39349
39421
  #
39350
39422
  # @!attribute [rw] http_tokens
39351
- # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
39352
- # `optional` (in other words, set the use of IMDSv2 to `optional`) or
39353
- # `required` (in other words, set the use of IMDSv2 to `required`).
39354
- #
39355
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
39356
- # instance metadata with or without a session token in your request.
39357
- # If you retrieve the IAM role credentials without a token, the
39358
- # IMDSv1 role credentials are returned. If you retrieve the IAM role
39359
- # credentials using a valid session token, the IMDSv2 role
39360
- # credentials are returned.
39361
- #
39362
- # * `required` - When IMDSv2 is required, you must send a session
39363
- # token with any instance metadata retrieval requests. In this
39364
- # state, retrieving the IAM role credentials always returns IMDSv2
39423
+ # Indicates whether IMDSv2 is required.
39424
+ #
39425
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
39426
+ # session token in your instance metadata retrieval requests. If you
39427
+ # retrieve IAM role credentials without a session token, you receive
39428
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
39429
+ # using a valid session token, you receive the IMDSv2 role
39430
+ # credentials.
39431
+ #
39432
+ # * `required` - IMDSv2 is required. You must send a session token in
39433
+ # your instance metadata retrieval requests. With this option,
39434
+ # retrieving the IAM role credentials always returns IMDSv2
39365
39435
  # credentials; IMDSv1 credentials are not available.
39366
39436
  #
39367
- # Default: `optional`
39437
+ # Default: If the value of `ImdsSupport` for the Amazon Machine Image
39438
+ # (AMI) for your instance is `v2.0`, the default is `required`.
39368
39439
  # @return [String]
39369
39440
  #
39370
39441
  # @!attribute [rw] http_put_response_hop_limit
@@ -39429,24 +39500,19 @@ module Aws::EC2
39429
39500
  # @return [String]
39430
39501
  #
39431
39502
  # @!attribute [rw] http_tokens
39432
- # IMDSv2 uses token-backed sessions. Indicates whether the use of HTTP
39433
- # tokens is `optional` (in other words, indicates whether the use of
39434
- # IMDSv2 is `optional`) or `required` (in other words, indicates
39435
- # whether the use of IMDSv2 is `required`).
39436
- #
39437
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
39438
- # instance metadata with or without a session token in your request.
39439
- # If you retrieve the IAM role credentials without a token, the
39440
- # IMDSv1 role credentials are returned. If you retrieve the IAM role
39441
- # credentials using a valid session token, the IMDSv2 role
39442
- # credentials are returned.
39443
- #
39444
- # * `required` - When IMDSv2 is required, you must send a session
39445
- # token with any instance metadata retrieval requests. In this
39446
- # state, retrieving the IAM role credentials always returns IMDSv2
39447
- # credentials; IMDSv1 credentials are not available.
39503
+ # Indicates whether IMDSv2 is required.
39504
+ #
39505
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
39506
+ # session token in your instance metadata retrieval requests. If you
39507
+ # retrieve IAM role credentials without a session token, you receive
39508
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
39509
+ # using a valid session token, you receive the IMDSv2 role
39510
+ # credentials.
39448
39511
  #
39449
- # Default: `optional`
39512
+ # * `required` - IMDSv2 is required. You must send a session token in
39513
+ # your instance metadata retrieval requests. With this option,
39514
+ # retrieving the IAM role credentials always returns IMDSv2
39515
+ # credentials; IMDSv1 credentials are not available.
39450
39516
  # @return [String]
39451
39517
  #
39452
39518
  # @!attribute [rw] http_put_response_hop_limit
@@ -45047,10 +45113,9 @@ module Aws::EC2
45047
45113
  # Valid Values lists all resource types for Amazon EC2 that can be
45048
45114
  # tagged. When you create a launch template, you can specify tags for
45049
45115
  # the following resource types only: `instance` \| `volume` \|
45050
- # `elastic-gpu` \| `network-interface` \| `spot-instances-request`. If
45051
- # the instance does not include the resource type that you specify,
45052
- # the instance launch fails. For example, not all instance types
45053
- # include an Elastic GPU.
45116
+ # `network-interface` \| `spot-instances-request`. If the instance
45117
+ # does not include the resource type that you specify, the instance
45118
+ # launch fails. For example, not all instance types include a volume.
45054
45119
  #
45055
45120
  # To tag a resource after it has been created, see [CreateTags][1].
45056
45121
  #
@@ -47051,7 +47116,9 @@ module Aws::EC2
47051
47116
  # Modifies the `DeleteOnTermination` attribute for volumes that are
47052
47117
  # currently attached. The volume must be owned by the caller. If no
47053
47118
  # value is specified for `DeleteOnTermination`, the default is `true`
47054
- # and the volume is deleted when the instance is terminated.
47119
+ # and the volume is deleted when the instance is terminated. You
47120
+ # can't modify the `DeleteOnTermination` attribute for volumes that
47121
+ # are attached to Fargate tasks.
47055
47122
  #
47056
47123
  # To add instance store volumes to an Amazon EBS-backed instance, you
47057
47124
  # must add them when you launch the instance. For more information,
@@ -47451,23 +47518,22 @@ module Aws::EC2
47451
47518
  # @return [String]
47452
47519
  #
47453
47520
  # @!attribute [rw] http_tokens
47454
- # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
47455
- # `optional` (in other words, set the use of IMDSv2 to `optional`) or
47456
- # `required` (in other words, set the use of IMDSv2 to `required`).
47457
- #
47458
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
47459
- # instance metadata with or without a session token in your request.
47460
- # If you retrieve the IAM role credentials without a token, the
47461
- # IMDSv1 role credentials are returned. If you retrieve the IAM role
47462
- # credentials using a valid session token, the IMDSv2 role
47463
- # credentials are returned.
47464
- #
47465
- # * `required` - When IMDSv2 is required, you must send a session
47466
- # token with any instance metadata retrieval requests. In this
47467
- # state, retrieving the IAM role credentials always returns IMDSv2
47521
+ # Indicates whether IMDSv2 is required.
47522
+ #
47523
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
47524
+ # session token in your instance metadata retrieval requests. If you
47525
+ # retrieve IAM role credentials without a session token, you receive
47526
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
47527
+ # using a valid session token, you receive the IMDSv2 role
47528
+ # credentials.
47529
+ #
47530
+ # * `required` - IMDSv2 is required. You must send a session token in
47531
+ # your instance metadata retrieval requests. With this option,
47532
+ # retrieving the IAM role credentials always returns IMDSv2
47468
47533
  # credentials; IMDSv1 credentials are not available.
47469
47534
  #
47470
- # Default: `optional`
47535
+ # Default: If the value of `ImdsSupport` for the Amazon Machine Image
47536
+ # (AMI) for your instance is `v2.0`, the default is `required`.
47471
47537
  # @return [String]
47472
47538
  #
47473
47539
  # @!attribute [rw] http_put_response_hop_limit
@@ -48499,6 +48565,16 @@ module Aws::EC2
48499
48565
  # Specify `true` to indicate that network interfaces attached to
48500
48566
  # instances created in the specified subnet should be assigned a
48501
48567
  # public IPv4 address.
48568
+ #
48569
+ # Starting on February 1, 2024, Amazon Web Services will charge for
48570
+ # all public IPv4 addresses, including public IPv4 addresses
48571
+ # associated with running instances and Elastic IP addresses. For more
48572
+ # information, see the *Public IPv4 Address* tab on the [Amazon VPC
48573
+ # pricing page][1].
48574
+ #
48575
+ #
48576
+ #
48577
+ # [1]: http://aws.amazon.com/vpc/pricing/
48502
48578
  # @return [Types::AttributeBooleanValue]
48503
48579
  #
48504
48580
  # @!attribute [rw] subnet_id
@@ -50471,7 +50547,7 @@ module Aws::EC2
50471
50547
  #
50472
50548
  # Constraints: A value between 60 and half of `Phase2LifetimeSeconds`.
50473
50549
  #
50474
- # Default: `540`
50550
+ # Default: `270`
50475
50551
  # @return [Integer]
50476
50552
  #
50477
50553
  # @!attribute [rw] rekey_fuzz_percentage
@@ -55680,7 +55756,13 @@ module Aws::EC2
55680
55756
  # @return [Array<Types::LaunchTemplateTagSpecificationRequest>]
55681
55757
  #
55682
55758
  # @!attribute [rw] elastic_gpu_specifications
55683
- # An elastic GPU to associate with the instance.
55759
+ # Deprecated.
55760
+ #
55761
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
55762
+ # workloads that require graphics acceleration, we recommend that you
55763
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
55764
+ #
55765
+ # </note>
55684
55766
  # @return [Array<Types::ElasticGpuSpecification>]
55685
55767
  #
55686
55768
  # @!attribute [rw] elastic_inference_accelerators
@@ -57132,7 +57214,13 @@ module Aws::EC2
57132
57214
  # @return [Array<Types::LaunchTemplateTagSpecification>]
57133
57215
  #
57134
57216
  # @!attribute [rw] elastic_gpu_specifications
57135
- # The elastic GPU specification.
57217
+ # Deprecated.
57218
+ #
57219
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
57220
+ # workloads that require graphics acceleration, we recommend that you
57221
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
57222
+ #
57223
+ # </note>
57136
57224
  # @return [Array<Types::ElasticGpuSpecificationResponse>]
57137
57225
  #
57138
57226
  # @!attribute [rw] elastic_inference_accelerators
@@ -58324,15 +58412,13 @@ module Aws::EC2
58324
58412
  # @return [String]
58325
58413
  #
58326
58414
  # @!attribute [rw] elastic_gpu_specification
58327
- # An elastic GPU to associate with the instance. An Elastic GPU is a
58328
- # GPU resource that you can attach to your Windows instance to
58329
- # accelerate the graphics performance of your applications. For more
58330
- # information, see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2
58331
- # User Guide*.
58332
- #
58415
+ # Deprecated.
58333
58416
  #
58417
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
58418
+ # workloads that require graphics acceleration, we recommend that you
58419
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
58334
58420
  #
58335
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
58421
+ # </note>
58336
58422
  # @return [Array<Types::ElasticGpuSpecification>]
58337
58423
  #
58338
58424
  # @!attribute [rw] elastic_inference_accelerators
@@ -58367,8 +58453,6 @@ module Aws::EC2
58367
58453
  #
58368
58454
  # * Volumes
58369
58455
  #
58370
- # * Elastic graphics
58371
- #
58372
58456
  # * Spot Instance requests
58373
58457
  #
58374
58458
  # * Network interfaces
@@ -59171,6 +59255,16 @@ module Aws::EC2
59171
59255
  # network interface, not an existing one. You cannot specify more than
59172
59256
  # one network interface in the request. If launching into a default
59173
59257
  # subnet, the default value is `true`.
59258
+ #
59259
+ # Starting on February 1, 2024, Amazon Web Services will charge for
59260
+ # all public IPv4 addresses, including public IPv4 addresses
59261
+ # associated with running instances and Elastic IP addresses. For more
59262
+ # information, see the *Public IPv4 Address* tab on the [Amazon VPC
59263
+ # pricing page][1].
59264
+ #
59265
+ #
59266
+ #
59267
+ # [1]: http://aws.amazon.com/vpc/pricing/
59174
59268
  # @return [Boolean]
59175
59269
  #
59176
59270
  # @!attribute [rw] delete_on_termination
@@ -61201,10 +61295,10 @@ module Aws::EC2
61201
61295
  # @return [String]
61202
61296
  #
61203
61297
  # @!attribute [rw] target_capacity_unit_type
61204
- # The unit for the target capacity. `TargetCapacityUnitType` can only
61205
- # be specified when `InstanceRequirements` is specified.
61298
+ # The unit for the target capacity. You can specify this parameter
61299
+ # only when using attribute-based instance type selection.
61206
61300
  #
61207
- # Default: `units` (translates to number of instances)
61301
+ # Default: `units` (the number of instances)
61208
61302
  # @return [String]
61209
61303
  #
61210
61304
  # @!attribute [rw] tag_specifications
@@ -62273,7 +62367,7 @@ module Aws::EC2
62273
62367
  # because of an increase in the Spot price.
62274
62368
  #
62275
62369
  # * `Client.InstanceInitiatedShutdown`: The instance was shut down
62276
- # using the `shutdown -h` command from the instance.
62370
+ # from the operating system of the instance.
62277
62371
  #
62278
62372
  # * `Client.InstanceTerminated`: The instance was terminated or
62279
62373
  # rebooted during AMI creation.
@@ -62474,6 +62568,16 @@ module Aws::EC2
62474
62568
  # @!attribute [rw] map_public_ip_on_launch
62475
62569
  # Indicates whether instances launched in this subnet receive a public
62476
62570
  # IPv4 address.
62571
+ #
62572
+ # Starting on February 1, 2024, Amazon Web Services will charge for
62573
+ # all public IPv4 addresses, including public IPv4 addresses
62574
+ # associated with running instances and Elastic IP addresses. For more
62575
+ # information, see the *Public IPv4 Address* tab on the [Amazon VPC
62576
+ # pricing page][1].
62577
+ #
62578
+ #
62579
+ #
62580
+ # [1]: http://aws.amazon.com/vpc/pricing/
62477
62581
  # @return [Boolean]
62478
62582
  #
62479
62583
  # @!attribute [rw] map_customer_owned_ip_on_launch
@@ -62883,8 +62987,8 @@ module Aws::EC2
62883
62987
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions
62884
62988
  #
62885
62989
  # @!attribute [rw] total_target_capacity
62886
- # The number of units to request, filled using
62887
- # `DefaultTargetCapacityType`.
62990
+ # The number of units to request, filled the default target capacity
62991
+ # type.
62888
62992
  # @return [Integer]
62889
62993
  #
62890
62994
  # @!attribute [rw] on_demand_target_capacity
@@ -62900,15 +63004,11 @@ module Aws::EC2
62900
63004
  # @return [Integer]
62901
63005
  #
62902
63006
  # @!attribute [rw] default_target_capacity_type
62903
- # The default `TotalTargetCapacity`, which is either `Spot` or
62904
- # `On-Demand`.
63007
+ # The default target capacity type.
62905
63008
  # @return [String]
62906
63009
  #
62907
63010
  # @!attribute [rw] target_capacity_unit_type
62908
- # The unit for the target capacity. `TargetCapacityUnitType` can only
62909
- # be specified when `InstanceRequirements` is specified.
62910
- #
62911
- # Default: `units` (translates to number of instances)
63011
+ # The unit for the target capacity.
62912
63012
  # @return [String]
62913
63013
  #
62914
63014
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetCapacitySpecification AWS API Documentation
@@ -62937,7 +63037,7 @@ module Aws::EC2
62937
63037
  # request, EC2 Fleet will launch instances until it reaches the maximum
62938
63038
  # amount that you're willing to pay. When the maximum amount you're
62939
63039
  # willing to pay is reached, the fleet stops launching instances even if
62940
- # it hasnt met the target capacity. The `MaxTotalPrice` parameters are
63040
+ # it hasn't met the target capacity. The `MaxTotalPrice` parameters are
62941
63041
  # located in [OnDemandOptionsRequest][1] and [SpotOptionsRequest][2].
62942
63042
  #
62943
63043
  #
@@ -62946,8 +63046,8 @@ module Aws::EC2
62946
63046
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest
62947
63047
  #
62948
63048
  # @!attribute [rw] total_target_capacity
62949
- # The number of units to request, filled using
62950
- # `DefaultTargetCapacityType`.
63049
+ # The number of units to request, filled using the default target
63050
+ # capacity type.
62951
63051
  # @return [Integer]
62952
63052
  #
62953
63053
  # @!attribute [rw] on_demand_target_capacity
@@ -62959,15 +63059,14 @@ module Aws::EC2
62959
63059
  # @return [Integer]
62960
63060
  #
62961
63061
  # @!attribute [rw] default_target_capacity_type
62962
- # The default `TotalTargetCapacity`, which is either `Spot` or
62963
- # `On-Demand`.
63062
+ # The default target capacity type.
62964
63063
  # @return [String]
62965
63064
  #
62966
63065
  # @!attribute [rw] target_capacity_unit_type
62967
- # The unit for the target capacity. `TargetCapacityUnitType` can only
62968
- # be specified when `InstanceRequirements` is specified.
63066
+ # The unit for the target capacity. You can specify this parameter
63067
+ # only when using attributed-based instance type selection.
62969
63068
  #
62970
- # Default: `units` (translates to number of instances)
63069
+ # Default: `units` (the number of instances)
62971
63070
  # @return [String]
62972
63071
  #
62973
63072
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetCapacitySpecificationRequest AWS API Documentation
@@ -66756,10 +66855,16 @@ module Aws::EC2
66756
66855
  #
66757
66856
  # @!attribute [rw] device
66758
66857
  # The device name.
66858
+ #
66859
+ # If the volume is attached to a Fargate task, this parameter returns
66860
+ # `null`.
66759
66861
  # @return [String]
66760
66862
  #
66761
66863
  # @!attribute [rw] instance_id
66762
66864
  # The ID of the instance.
66865
+ #
66866
+ # If the volume is attached to a Fargate task, this parameter returns
66867
+ # `null`.
66763
66868
  # @return [String]
66764
66869
  #
66765
66870
  # @!attribute [rw] state
@@ -66774,6 +66879,19 @@ module Aws::EC2
66774
66879
  # Indicates whether the EBS volume is deleted on instance termination.
66775
66880
  # @return [Boolean]
66776
66881
  #
66882
+ # @!attribute [rw] associated_resource
66883
+ # The ARN of the Amazon ECS or Fargate task to which the volume is
66884
+ # attached.
66885
+ # @return [String]
66886
+ #
66887
+ # @!attribute [rw] instance_owning_service
66888
+ # The service principal of Amazon Web Services service that owns the
66889
+ # underlying instance to which the volume is attached.
66890
+ #
66891
+ # This parameter is returned only for volumes that are attached to
66892
+ # Fargate tasks.
66893
+ # @return [String]
66894
+ #
66777
66895
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeAttachment AWS API Documentation
66778
66896
  #
66779
66897
  class VolumeAttachment < Struct.new(
@@ -66782,7 +66900,9 @@ module Aws::EC2
66782
66900
  :instance_id,
66783
66901
  :state,
66784
66902
  :volume_id,
66785
- :delete_on_termination)
66903
+ :delete_on_termination,
66904
+ :associated_resource,
66905
+ :instance_owning_service)
66786
66906
  SENSITIVE = []
66787
66907
  include Aws::Structure
66788
66908
  end
@@ -67999,7 +68119,7 @@ module Aws::EC2
67999
68119
  #
68000
68120
  # Constraints: A value between 60 and half of `Phase2LifetimeSeconds`.
68001
68121
  #
68002
- # Default: `540`
68122
+ # Default: `270`
68003
68123
  # @return [Integer]
68004
68124
  #
68005
68125
  # @!attribute [rw] rekey_fuzz_percentage
@@ -1894,6 +1894,9 @@ module Aws::EC2
1894
1894
  # @option options [Array<Types::Filter>] :filters
1895
1895
  # The filters.
1896
1896
  #
1897
+ # * `association.gateway-id` - The ID of the gateway involved in the
1898
+ # association.
1899
+ #
1897
1900
  # * `association.route-table-association-id` - The ID of an association
1898
1901
  # ID for the route table.
1899
1902
  #
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.432.0'
79
+ GEM_VERSION = '1.434.0'
80
80
 
81
81
  end
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.432.0
4
+ version: 1.434.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-08 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -100,7 +100,7 @@ licenses:
100
100
  metadata:
101
101
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2
102
102
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2/CHANGELOG.md
103
- post_install_message:
103
+ post_install_message:
104
104
  rdoc_options: []
105
105
  require_paths:
106
106
  - lib
@@ -115,8 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.1.6
119
- signing_key:
118
+ rubygems_version: 3.4.10
119
+ signing_key:
120
120
  specification_version: 4
121
121
  summary: AWS SDK for Ruby - Amazon EC2
122
122
  test_files: []