aws-sdk-ec2 1.515.0 → 1.517.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de46ca220d828f5239116c6d36d7466c3c261738fbbfc8f3d00d92499f084a0e
4
- data.tar.gz: beec2063bd89096186bacae72e58bda919f188b1995235dd204af3d861f0e4fc
3
+ metadata.gz: 0702cd691d4e4842d84dbc70a6b3cbd1fdcc83c72a022c6ae1dc42a9a1908a52
4
+ data.tar.gz: 64f13f17a386d77e94f5d993e55e01b2b42f270f980407f83306b5dd25d17434
5
5
  SHA512:
6
- metadata.gz: a188c8e976bcace4528f129e648f609e5e314ba558f50c62b2d538961c8f629417ad3b29bec87fa850e7b7e654ca727d581bdd07756f46d99a457a3ee50a5568
7
- data.tar.gz: 26cb5af33e35bacde7562f2460e4111aea40fcd7d1aec7fe6384e433a0a14390bb9e86b6fb4c4cad4207b8d59b32451f15d86fe469eaf9bbad47fd2805366b80
6
+ metadata.gz: ca57f36d076ea692b1937f21cce09118ed6270d289ba0635358d00271f9552f30184b4f288193352e8e92128eac192ae4197588e5670d688afa78d058051449a
7
+ data.tar.gz: daa8b030bc18938fbe10446f68a604ddb4b29873c01cc2aa0560b9e7828c77bd26d31e46a2cc425f4ad07e517f3f44335656c4c854c9cca2eef6802fd3d40d6e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.517.0 (2025-04-30)
5
+ ------------------
6
+
7
+ * Feature - Launch of cost distribution feature for IPAM owners to distribute costs to internal teams.
8
+
9
+ 1.516.0 (2025-04-22)
10
+ ------------------
11
+
12
+ * Feature - Added support for ClientRouteEnforcementOptions flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses
13
+
4
14
  1.515.0 (2025-04-04)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.515.0
1
+ 1.517.0
@@ -6090,11 +6090,24 @@ module Aws::EC2
6090
6090
  # on Amazon Web Services provided clients when a VPN session is
6091
6091
  # established.
6092
6092
  #
6093
+ # @option params [Types::ClientRouteEnforcementOptions] :client_route_enforcement_options
6094
+ # Client route enforcement is a feature of the Client VPN service that
6095
+ # helps enforce administrator defined routes on devices connected
6096
+ # through the VPN. T his feature helps improve your security posture by
6097
+ # ensuring that network traffic originating from a connected client is
6098
+ # not inadvertently sent outside the VPN tunnel.
6099
+ #
6100
+ # Client route enforcement works by monitoring the route table of a
6101
+ # connected device for routing policy changes to the VPN connection. If
6102
+ # the feature detects any VPN routing policy modifications, it will
6103
+ # automatically force an update to the route table, reverting it back to
6104
+ # the expected route configurations.
6105
+ #
6093
6106
  # @option params [Boolean] :disconnect_on_session_timeout
6094
6107
  # Indicates whether the client VPN session is disconnected after the
6095
6108
  # maximum timeout specified in `SessionTimeoutHours` is reached. If
6096
6109
  # `true`, users are prompted to reconnect client VPN. If `false`, client
6097
- # VPN attempts to reconnect automatically. The default value is `false`.
6110
+ # VPN attempts to reconnect automatically. The default value is `true`.
6098
6111
  #
6099
6112
  # @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6100
6113
  #
@@ -6157,6 +6170,9 @@ module Aws::EC2
6157
6170
  # enabled: false,
6158
6171
  # banner_text: "String",
6159
6172
  # },
6173
+ # client_route_enforcement_options: {
6174
+ # enforced: false,
6175
+ # },
6160
6176
  # disconnect_on_session_timeout: false,
6161
6177
  # })
6162
6178
  #
@@ -7149,7 +7165,7 @@ module Aws::EC2
7149
7165
  # },
7150
7166
  # },
7151
7167
  # },
7152
- # image_id: "String",
7168
+ # image_id: "ImageId",
7153
7169
  # },
7154
7170
  # ],
7155
7171
  # },
@@ -8272,6 +8288,23 @@ module Aws::EC2
8272
8288
  # Enable this option to use your own GUA ranges as private IPv6
8273
8289
  # addresses. This option is disabled by default.
8274
8290
  #
8291
+ # @option params [String] :metered_account
8292
+ # A metered account is an Amazon Web Services account that is charged
8293
+ # for active IP addresses managed in IPAM. For more information, see
8294
+ # [Enable cost distribution][1] in the *Amazon VPC IPAM User Guide*.
8295
+ #
8296
+ # Possible values:
8297
+ #
8298
+ # * `ipam-owner` (default): The Amazon Web Services account which owns
8299
+ # the IPAM is charged for all active IP addresses managed in IPAM.
8300
+ #
8301
+ # * `resource-owner`: The Amazon Web Services account that owns the IP
8302
+ # address is charged for the active IP address.
8303
+ #
8304
+ #
8305
+ #
8306
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html
8307
+ #
8275
8308
  # @return [Types::CreateIpamResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8276
8309
  #
8277
8310
  # * {Types::CreateIpamResult#ipam #ipam} => Types::Ipam
@@ -8300,6 +8333,7 @@ module Aws::EC2
8300
8333
  # client_token: "String",
8301
8334
  # tier: "free", # accepts free, advanced
8302
8335
  # enable_private_gua: false,
8336
+ # metered_account: "ipam-owner", # accepts ipam-owner, resource-owner
8303
8337
  # })
8304
8338
  #
8305
8339
  # @example Response structure
@@ -8324,6 +8358,7 @@ module Aws::EC2
8324
8358
  # resp.ipam.state_message #=> String
8325
8359
  # resp.ipam.tier #=> String, one of "free", "advanced"
8326
8360
  # resp.ipam.enable_private_gua #=> Boolean
8361
+ # resp.ipam.metered_account #=> String, one of "ipam-owner", "resource-owner"
8327
8362
  #
8328
8363
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpam AWS API Documentation
8329
8364
  #
@@ -16100,8 +16135,6 @@ module Aws::EC2
16100
16135
  # attributes to `true`: `enableDnsHostnames` and `enableDnsSupport`. Use
16101
16136
  # ModifyVpcAttribute to set the VPC attributes.
16102
16137
  #
16103
- # Default: `true`
16104
- #
16105
16138
  # @option params [Array<Types::TagSpecification>] :tag_specifications
16106
16139
  # The tags to associate with the endpoint.
16107
16140
  #
@@ -17612,6 +17645,7 @@ module Aws::EC2
17612
17645
  # resp.ipam.state_message #=> String
17613
17646
  # resp.ipam.tier #=> String, one of "free", "advanced"
17614
17647
  # resp.ipam.enable_private_gua #=> Boolean
17648
+ # resp.ipam.metered_account #=> String, one of "ipam-owner", "resource-owner"
17615
17649
  #
17616
17650
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpam AWS API Documentation
17617
17651
  #
@@ -21578,7 +21612,7 @@ module Aws::EC2
21578
21612
  # resp.addresses[0].customer_owned_ip #=> String
21579
21613
  # resp.addresses[0].customer_owned_ipv_4_pool #=> String
21580
21614
  # resp.addresses[0].carrier_ip #=> String
21581
- # resp.addresses[0].service_managed #=> String, one of "alb", "nlb"
21615
+ # resp.addresses[0].service_managed #=> String, one of "alb", "nlb", "rnat"
21582
21616
  # resp.addresses[0].instance_id #=> String
21583
21617
  # resp.addresses[0].public_ip #=> String
21584
21618
  #
@@ -22263,13 +22297,7 @@ module Aws::EC2
22263
22297
  # Blocks, you purchase a specific instance type for a period of time.
22264
22298
  #
22265
22299
  # To search for an available Capacity Block offering, you specify a
22266
- # reservation duration and instance count. You must select one of the
22267
- # following options.
22268
- #
22269
- # * For reservation durations<b> 1-day increments up 14 days and 7-day
22270
- # increments up to 182 days total</b>
22271
- #
22272
- # * For instance count<b> 1, 2, 4, 8, 16, 32, or 64 instances</b>
22300
+ # reservation duration and instance count.
22273
22301
  #
22274
22302
  # @option params [Boolean] :dry_run
22275
22303
  # Checks whether you have the required permissions for the action,
@@ -22282,7 +22310,9 @@ module Aws::EC2
22282
22310
  # capacity.
22283
22311
  #
22284
22312
  # @option params [Integer] :instance_count
22285
- # The number of instances for which to reserve capacity.
22313
+ # The number of instances for which to reserve capacity. Each Capacity
22314
+ # Block can have up to 64 instances, and you can have up to 256
22315
+ # instances across Capacity Blocks.
22286
22316
  #
22287
22317
  # @option params [Time,DateTime,Date,Integer,String] :start_date_range
22288
22318
  # The earliest start date for the Capacity Block offering.
@@ -22291,7 +22321,9 @@ module Aws::EC2
22291
22321
  # The latest end date for the Capacity Block offering.
22292
22322
  #
22293
22323
  # @option params [required, Integer] :capacity_duration_hours
22294
- # The number of hours for which to reserve Capacity Block.
22324
+ # The reservation duration for the Capacity Block, in hours. You must
22325
+ # specify the duration in 1-day increments up 14 days, and in 7-day
22326
+ # increments up to 182 days.
22295
22327
  #
22296
22328
  # @option params [String] :next_token
22297
22329
  # The token to use to retrieve the next page of results.
@@ -23155,6 +23187,7 @@ module Aws::EC2
23155
23187
  # resp.client_vpn_endpoints[0].session_timeout_hours #=> Integer
23156
23188
  # resp.client_vpn_endpoints[0].client_login_banner_options.enabled #=> Boolean
23157
23189
  # resp.client_vpn_endpoints[0].client_login_banner_options.banner_text #=> String
23190
+ # resp.client_vpn_endpoints[0].client_route_enforcement_options.enforced #=> Boolean
23158
23191
  # resp.client_vpn_endpoints[0].disconnect_on_session_timeout #=> Boolean
23159
23192
  # resp.next_token #=> String
23160
23193
  #
@@ -29155,6 +29188,7 @@ module Aws::EC2
29155
29188
  # resp.ipams[0].state_message #=> String
29156
29189
  # resp.ipams[0].tier #=> String, one of "free", "advanced"
29157
29190
  # resp.ipams[0].enable_private_gua #=> Boolean
29191
+ # resp.ipams[0].metered_account #=> String, one of "ipam-owner", "resource-owner"
29158
29192
  #
29159
29193
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpams AWS API Documentation
29160
29194
  #
@@ -40298,7 +40332,8 @@ module Aws::EC2
40298
40332
  end
40299
40333
 
40300
40334
  # Describes the principals (service consumers) that are permitted to
40301
- # discover your VPC endpoint service.
40335
+ # discover your VPC endpoint service. Principal ARNs with path
40336
+ # components aren't supported.
40302
40337
  #
40303
40338
  # @option params [Boolean] :dry_run
40304
40339
  # Checks whether you have the required permissions for the action,
@@ -50482,11 +50517,24 @@ module Aws::EC2
50482
50517
  # on Amazon Web Services provided clients when a VPN session is
50483
50518
  # established.
50484
50519
  #
50520
+ # @option params [Types::ClientRouteEnforcementOptions] :client_route_enforcement_options
50521
+ # Client route enforcement is a feature of the Client VPN service that
50522
+ # helps enforce administrator defined routes on devices connected
50523
+ # through the VPN. T his feature helps improve your security posture by
50524
+ # ensuring that network traffic originating from a connected client is
50525
+ # not inadvertently sent outside the VPN tunnel.
50526
+ #
50527
+ # Client route enforcement works by monitoring the route table of a
50528
+ # connected device for routing policy changes to the VPN connection. If
50529
+ # the feature detects any VPN routing policy modifications, it will
50530
+ # automatically force an update to the route table, reverting it back to
50531
+ # the expected route configurations.
50532
+ #
50485
50533
  # @option params [Boolean] :disconnect_on_session_timeout
50486
50534
  # Indicates whether the client VPN session is disconnected after the
50487
50535
  # maximum timeout specified in `sessionTimeoutHours` is reached. If
50488
50536
  # `true`, users are prompted to reconnect client VPN. If `false`, client
50489
- # VPN attempts to reconnect automatically. The default value is `false`.
50537
+ # VPN attempts to reconnect automatically. The default value is `true`.
50490
50538
  #
50491
50539
  # @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
50492
50540
  #
@@ -50522,6 +50570,9 @@ module Aws::EC2
50522
50570
  # enabled: false,
50523
50571
  # banner_text: "String",
50524
50572
  # },
50573
+ # client_route_enforcement_options: {
50574
+ # enforced: false,
50575
+ # },
50525
50576
  # disconnect_on_session_timeout: false,
50526
50577
  # })
50527
50578
  #
@@ -50848,7 +50899,7 @@ module Aws::EC2
50848
50899
  # },
50849
50900
  # },
50850
50901
  # },
50851
- # image_id: "String",
50902
+ # image_id: "ImageId",
50852
50903
  # },
50853
50904
  # ],
50854
50905
  # },
@@ -52411,6 +52462,23 @@ module Aws::EC2
52411
52462
  # Enable this option to use your own GUA ranges as private IPv6
52412
52463
  # addresses. This option is disabled by default.
52413
52464
  #
52465
+ # @option params [String] :metered_account
52466
+ # A metered account is an Amazon Web Services account that is charged
52467
+ # for active IP addresses managed in IPAM. For more information, see
52468
+ # [Enable cost distribution][1] in the *Amazon VPC IPAM User Guide*.
52469
+ #
52470
+ # Possible values:
52471
+ #
52472
+ # * `ipam-owner` (default): The Amazon Web Services account which owns
52473
+ # the IPAM is charged for all active IP addresses managed in IPAM.
52474
+ #
52475
+ # * `resource-owner`: The Amazon Web Services account that owns the IP
52476
+ # address is charged for the active IP address.
52477
+ #
52478
+ #
52479
+ #
52480
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html
52481
+ #
52414
52482
  # @return [Types::ModifyIpamResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
52415
52483
  #
52416
52484
  # * {Types::ModifyIpamResult#ipam #ipam} => Types::Ipam
@@ -52433,6 +52501,7 @@ module Aws::EC2
52433
52501
  # ],
52434
52502
  # tier: "free", # accepts free, advanced
52435
52503
  # enable_private_gua: false,
52504
+ # metered_account: "ipam-owner", # accepts ipam-owner, resource-owner
52436
52505
  # })
52437
52506
  #
52438
52507
  # @example Response structure
@@ -52457,6 +52526,7 @@ module Aws::EC2
52457
52526
  # resp.ipam.state_message #=> String
52458
52527
  # resp.ipam.tier #=> String, one of "free", "advanced"
52459
52528
  # resp.ipam.enable_private_gua #=> Boolean
52529
+ # resp.ipam.metered_account #=> String, one of "ipam-owner", "resource-owner"
52460
52530
  #
52461
52531
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpam AWS API Documentation
52462
52532
  #
@@ -55923,6 +55993,7 @@ module Aws::EC2
55923
55993
  # Modifies the permissions for your VPC endpoint service. You can add or
55924
55994
  # remove permissions for service consumers (Amazon Web Services
55925
55995
  # accounts, users, and IAM roles) to connect to your endpoint service.
55996
+ # Principal ARNs with path components aren't supported.
55926
55997
  #
55927
55998
  # If you grant permissions to all principals, the service is public. Any
55928
55999
  # users who know the name of a public service can send a request to
@@ -63851,45 +63922,38 @@ module Aws::EC2
63851
63922
  # Stops an Amazon EBS-backed instance. For more information, see [Stop
63852
63923
  # and start Amazon EC2 instances][1] in the *Amazon EC2 User Guide*.
63853
63924
  #
63854
- # You can use the Stop action to hibernate an instance if the instance
63855
- # is [enabled for hibernation][2] and it meets the [hibernation
63856
- # prerequisites][3]. For more information, see [Hibernate your Amazon
63857
- # EC2 instance][4] in the *Amazon EC2 User Guide*.
63925
+ # When you stop an instance, we shut it down. You can restart your
63926
+ # instance at any time.
63858
63927
  #
63859
- # We don't charge usage for a stopped instance, or data transfer fees;
63860
- # however, your root partition Amazon EBS volume remains and continues
63861
- # to persist your data, and you are charged for Amazon EBS volume usage.
63862
- # Every time you start your instance, Amazon EC2 charges a one-minute
63863
- # minimum for instance usage, and thereafter charges per second for
63864
- # instance usage.
63865
- #
63866
- # You can't stop or hibernate instance store-backed instances. You
63867
- # can't use the Stop action to hibernate Spot Instances, but you can
63868
- # specify that Amazon EC2 should hibernate Spot Instances when they are
63869
- # interrupted. For more information, see [Hibernating interrupted Spot
63870
- # Instances][5] in the *Amazon EC2 User Guide*.
63871
- #
63872
- # When you stop or hibernate an instance, we shut it down. You can
63873
- # restart your instance at any time. Before stopping or hibernating an
63874
- # instance, make sure it is in a state from which it can be restarted.
63875
- # Stopping an instance does not preserve data stored in RAM, but
63876
- # hibernating an instance does preserve data stored in RAM. If an
63877
- # instance cannot hibernate successfully, a normal shutdown occurs.
63878
- #
63879
- # Stopping and hibernating an instance is different to rebooting or
63880
- # terminating it. For example, when you stop or hibernate an instance,
63881
- # the root device and any other devices attached to the instance
63882
- # persist. When you terminate an instance, the root device and any other
63883
- # devices attached during the instance launch are automatically deleted.
63884
- # For more information about the differences between rebooting,
63885
- # stopping, hibernating, and terminating instances, see [Instance
63886
- # lifecycle][6] in the *Amazon EC2 User Guide*.
63887
- #
63888
- # When you stop an instance, we attempt to shut it down forcibly after a
63889
- # short while. If your instance appears stuck in the stopping state
63890
- # after a period of time, there may be an issue with the underlying host
63891
- # computer. For more information, see [Troubleshoot stopping your
63892
- # instance][7] in the *Amazon EC2 User Guide*.
63928
+ # You can use the Stop operation together with the Hibernate parameter
63929
+ # to hibernate an instance if the instance is [enabled for
63930
+ # hibernation][2] and meets the [hibernation prerequisites][3]. Stopping
63931
+ # an instance doesn't preserve data stored in RAM, while hibernation
63932
+ # does. If hibernation fails, a normal shutdown occurs. For more
63933
+ # information, see [Hibernate your Amazon EC2 instance][4] in the
63934
+ # *Amazon EC2 User Guide*.
63935
+ #
63936
+ # If your instance appears stuck in the `stopping` state, there might be
63937
+ # an issue with the underlying host computer. You can use the Stop
63938
+ # operation together with the Force parameter to force stop your
63939
+ # instance. For more information, see [Troubleshoot Amazon EC2 instance
63940
+ # stop issues][5] in the *Amazon EC2 User Guide*.
63941
+ #
63942
+ # Stopping and hibernating an instance differs from rebooting or
63943
+ # terminating it. For example, a stopped or hibernated instance retains
63944
+ # its root volume and any data volumes, unlike terminated instances
63945
+ # where these volumes are automatically deleted. For more information
63946
+ # about the differences between stopping, hibernating, rebooting, and
63947
+ # terminating instances, see [Amazon EC2 instance state changes][6] in
63948
+ # the *Amazon EC2 User Guide*.
63949
+ #
63950
+ # We don't charge for instance usage or data transfer fees when an
63951
+ # instance is stopped. However, the root volume and any data volumes
63952
+ # remain and continue to persist your data, and you're charged for
63953
+ # volume usage. Every time you start your instance, Amazon EC2 charges a
63954
+ # one-minute minimum for instance usage, followed by per-second billing.
63955
+ #
63956
+ # You can't stop or hibernate instance store-backed instances.
63893
63957
  #
63894
63958
  #
63895
63959
  #
@@ -63897,9 +63961,8 @@ module Aws::EC2
63897
63961
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html
63898
63962
  # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
63899
63963
  # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
63900
- # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances
63964
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
63901
63965
  # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
63902
- # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
63903
63966
  #
63904
63967
  # @option params [required, Array<String>] :instance_ids
63905
63968
  # The IDs of the instances.
@@ -63923,13 +63986,23 @@ module Aws::EC2
63923
63986
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
63924
63987
  #
63925
63988
  # @option params [Boolean] :force
63926
- # Forces the instances to stop. The instances do not have an opportunity
63927
- # to flush file system caches or file system metadata. If you use this
63928
- # option, you must perform file system check and repair procedures. This
63929
- # option is not recommended for Windows instances.
63989
+ # Forces the instance to stop. The instance will first attempt a
63990
+ # graceful shutdown, which includes flushing file system caches and
63991
+ # metadata. If the graceful shutdown fails to complete within the
63992
+ # timeout period, the instance shuts down forcibly without flushing the
63993
+ # file system caches and metadata.
63994
+ #
63995
+ # After using this option, you must perform file system check and repair
63996
+ # procedures. This option is not recommended for Windows instances. For
63997
+ # more information, see [Troubleshoot Amazon EC2 instance stop
63998
+ # issues][1] in the *Amazon EC2 User Guide*.
63930
63999
  #
63931
64000
  # Default: `false`
63932
64001
  #
64002
+ #
64003
+ #
64004
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
64005
+ #
63933
64006
  # @return [Types::StopInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
63934
64007
  #
63935
64008
  # * {Types::StopInstancesResult#stopping_instances #stopping_instances} => Array&lt;Types::InstanceStateChange&gt;
@@ -64045,8 +64118,8 @@ module Aws::EC2
64045
64118
  req.send_request(options)
64046
64119
  end
64047
64120
 
64048
- # Shuts down the specified instances. This operation is idempotent; if
64049
- # you terminate an instance more than once, each call succeeds.
64121
+ # Shuts down the specified instances. This operation is [idempotent][1];
64122
+ # if you terminate an instance more than once, each call succeeds.
64050
64123
  #
64051
64124
  # If you specify multiple instances and the request fails (for example,
64052
64125
  # because of a single incorrect instance ID), none of the instances are
@@ -64093,21 +64166,22 @@ module Aws::EC2
64093
64166
  #
64094
64167
  # You can stop, start, and terminate EBS-backed instances. You can only
64095
64168
  # terminate instance store-backed instances. What happens to an instance
64096
- # differs if you stop it or terminate it. For example, when you stop an
64169
+ # differs if you stop or terminate it. For example, when you stop an
64097
64170
  # instance, the root device and any other devices attached to the
64098
64171
  # instance persist. When you terminate an instance, any attached EBS
64099
64172
  # volumes with the `DeleteOnTermination` block device mapping parameter
64100
64173
  # set to `true` are automatically deleted. For more information about
64101
64174
  # the differences between stopping and terminating instances, see
64102
- # [Instance lifecycle][1] in the *Amazon EC2 User Guide*.
64175
+ # [Amazon EC2 instance state changes][2] in the *Amazon EC2 User Guide*.
64103
64176
  #
64104
- # For more information about troubleshooting, see [Troubleshooting
64105
- # terminating your instance][2] in the *Amazon EC2 User Guide*.
64177
+ # For information about troubleshooting, see [Troubleshooting
64178
+ # terminating your instance][3] in the *Amazon EC2 User Guide*.
64106
64179
  #
64107
64180
  #
64108
64181
  #
64109
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
64110
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html
64182
+ # [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
64183
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
64184
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html
64111
64185
  #
64112
64186
  # @option params [required, Array<String>] :instance_ids
64113
64187
  # The IDs of the instances.
@@ -64739,7 +64813,7 @@ module Aws::EC2
64739
64813
  tracer: tracer
64740
64814
  )
64741
64815
  context[:gem_name] = 'aws-sdk-ec2'
64742
- context[:gem_version] = '1.515.0'
64816
+ context[:gem_version] = '1.517.0'
64743
64817
  Seahorse::Client::Request.new(handlers, context)
64744
64818
  end
64745
64819
 
@@ -367,6 +367,8 @@ module Aws::EC2
367
367
  ClientData = Shapes::StructureShape.new(name: 'ClientData')
368
368
  ClientLoginBannerOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerOptions')
369
369
  ClientLoginBannerResponseOptions = Shapes::StructureShape.new(name: 'ClientLoginBannerResponseOptions')
370
+ ClientRouteEnforcementOptions = Shapes::StructureShape.new(name: 'ClientRouteEnforcementOptions')
371
+ ClientRouteEnforcementResponseOptions = Shapes::StructureShape.new(name: 'ClientRouteEnforcementResponseOptions')
370
372
  ClientSecretType = Shapes::StringShape.new(name: 'ClientSecretType')
371
373
  ClientVpnAuthentication = Shapes::StructureShape.new(name: 'ClientVpnAuthentication')
372
374
  ClientVpnAuthenticationList = Shapes::ListShape.new(name: 'ClientVpnAuthenticationList')
@@ -1980,6 +1982,7 @@ module Aws::EC2
1980
1982
  IpamId = Shapes::StringShape.new(name: 'IpamId')
1981
1983
  IpamManagementState = Shapes::StringShape.new(name: 'IpamManagementState')
1982
1984
  IpamMaxResults = Shapes::IntegerShape.new(name: 'IpamMaxResults')
1985
+ IpamMeteredAccount = Shapes::StringShape.new(name: 'IpamMeteredAccount')
1983
1986
  IpamNetmaskLength = Shapes::IntegerShape.new(name: 'IpamNetmaskLength')
1984
1987
  IpamNetworkInterfaceAttachmentStatus = Shapes::StringShape.new(name: 'IpamNetworkInterfaceAttachmentStatus')
1985
1988
  IpamOperatingRegion = Shapes::StructureShape.new(name: 'IpamOperatingRegion')
@@ -4695,6 +4698,12 @@ module Aws::EC2
4695
4698
  ClientLoginBannerResponseOptions.add_member(:banner_text, Shapes::ShapeRef.new(shape: String, location_name: "bannerText"))
4696
4699
  ClientLoginBannerResponseOptions.struct_class = Types::ClientLoginBannerResponseOptions
4697
4700
 
4701
+ ClientRouteEnforcementOptions.add_member(:enforced, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enforced"))
4702
+ ClientRouteEnforcementOptions.struct_class = Types::ClientRouteEnforcementOptions
4703
+
4704
+ ClientRouteEnforcementResponseOptions.add_member(:enforced, Shapes::ShapeRef.new(shape: Boolean, location_name: "enforced"))
4705
+ ClientRouteEnforcementResponseOptions.struct_class = Types::ClientRouteEnforcementResponseOptions
4706
+
4698
4707
  ClientVpnAuthentication.add_member(:type, Shapes::ShapeRef.new(shape: ClientVpnAuthenticationType, location_name: "type"))
4699
4708
  ClientVpnAuthentication.add_member(:active_directory, Shapes::ShapeRef.new(shape: DirectoryServiceAuthentication, location_name: "activeDirectory"))
4700
4709
  ClientVpnAuthentication.add_member(:mutual_authentication, Shapes::ShapeRef.new(shape: CertificateAuthentication, location_name: "mutualAuthentication"))
@@ -4760,6 +4769,7 @@ module Aws::EC2
4760
4769
  ClientVpnEndpoint.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectResponseOptions, location_name: "clientConnectOptions"))
4761
4770
  ClientVpnEndpoint.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "sessionTimeoutHours"))
4762
4771
  ClientVpnEndpoint.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerResponseOptions, location_name: "clientLoginBannerOptions"))
4772
+ ClientVpnEndpoint.add_member(:client_route_enforcement_options, Shapes::ShapeRef.new(shape: ClientRouteEnforcementResponseOptions, location_name: "clientRouteEnforcementOptions"))
4763
4773
  ClientVpnEndpoint.add_member(:disconnect_on_session_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "disconnectOnSessionTimeout"))
4764
4774
  ClientVpnEndpoint.struct_class = Types::ClientVpnEndpoint
4765
4775
 
@@ -5040,6 +5050,7 @@ module Aws::EC2
5040
5050
  CreateClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
5041
5051
  CreateClientVpnEndpointRequest.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "SessionTimeoutHours"))
5042
5052
  CreateClientVpnEndpointRequest.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerOptions, location_name: "ClientLoginBannerOptions"))
5053
+ CreateClientVpnEndpointRequest.add_member(:client_route_enforcement_options, Shapes::ShapeRef.new(shape: ClientRouteEnforcementOptions, location_name: "ClientRouteEnforcementOptions"))
5043
5054
  CreateClientVpnEndpointRequest.add_member(:disconnect_on_session_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisconnectOnSessionTimeout"))
5044
5055
  CreateClientVpnEndpointRequest.struct_class = Types::CreateClientVpnEndpointRequest
5045
5056
 
@@ -5282,6 +5293,7 @@ module Aws::EC2
5282
5293
  CreateIpamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
5283
5294
  CreateIpamRequest.add_member(:tier, Shapes::ShapeRef.new(shape: IpamTier, location_name: "Tier"))
5284
5295
  CreateIpamRequest.add_member(:enable_private_gua, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrivateGua"))
5296
+ CreateIpamRequest.add_member(:metered_account, Shapes::ShapeRef.new(shape: IpamMeteredAccount, location_name: "MeteredAccount"))
5285
5297
  CreateIpamRequest.struct_class = Types::CreateIpamRequest
5286
5298
 
5287
5299
  CreateIpamResourceDiscoveryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -9744,7 +9756,7 @@ module Aws::EC2
9744
9756
  FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
9745
9757
  FleetLaunchTemplateOverridesRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: FleetBlockDeviceMappingRequestList, location_name: "BlockDeviceMapping"))
9746
9758
  FleetLaunchTemplateOverridesRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
9747
- FleetLaunchTemplateOverridesRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "ImageId"))
9759
+ FleetLaunchTemplateOverridesRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
9748
9760
  FleetLaunchTemplateOverridesRequest.struct_class = Types::FleetLaunchTemplateOverridesRequest
9749
9761
 
9750
9762
  FleetLaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
@@ -11460,6 +11472,7 @@ module Aws::EC2
11460
11472
  Ipam.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
11461
11473
  Ipam.add_member(:tier, Shapes::ShapeRef.new(shape: IpamTier, location_name: "tier"))
11462
11474
  Ipam.add_member(:enable_private_gua, Shapes::ShapeRef.new(shape: Boolean, location_name: "enablePrivateGua"))
11475
+ Ipam.add_member(:metered_account, Shapes::ShapeRef.new(shape: IpamMeteredAccount, location_name: "meteredAccount"))
11463
11476
  Ipam.struct_class = Types::Ipam
11464
11477
 
11465
11478
  IpamAddressHistoryRecord.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceOwnerId"))
@@ -12441,6 +12454,7 @@ module Aws::EC2
12441
12454
  ModifyClientVpnEndpointRequest.add_member(:client_connect_options, Shapes::ShapeRef.new(shape: ClientConnectOptions, location_name: "ClientConnectOptions"))
12442
12455
  ModifyClientVpnEndpointRequest.add_member(:session_timeout_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "SessionTimeoutHours"))
12443
12456
  ModifyClientVpnEndpointRequest.add_member(:client_login_banner_options, Shapes::ShapeRef.new(shape: ClientLoginBannerOptions, location_name: "ClientLoginBannerOptions"))
12457
+ ModifyClientVpnEndpointRequest.add_member(:client_route_enforcement_options, Shapes::ShapeRef.new(shape: ClientRouteEnforcementOptions, location_name: "ClientRouteEnforcementOptions"))
12444
12458
  ModifyClientVpnEndpointRequest.add_member(:disconnect_on_session_timeout, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisconnectOnSessionTimeout"))
12445
12459
  ModifyClientVpnEndpointRequest.struct_class = Types::ModifyClientVpnEndpointRequest
12446
12460
 
@@ -12666,6 +12680,7 @@ module Aws::EC2
12666
12680
  ModifyIpamRequest.add_member(:remove_operating_regions, Shapes::ShapeRef.new(shape: RemoveIpamOperatingRegionSet, location_name: "RemoveOperatingRegion"))
12667
12681
  ModifyIpamRequest.add_member(:tier, Shapes::ShapeRef.new(shape: IpamTier, location_name: "Tier"))
12668
12682
  ModifyIpamRequest.add_member(:enable_private_gua, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrivateGua"))
12683
+ ModifyIpamRequest.add_member(:metered_account, Shapes::ShapeRef.new(shape: IpamMeteredAccount, location_name: "MeteredAccount"))
12669
12684
  ModifyIpamRequest.struct_class = Types::ModifyIpamRequest
12670
12685
 
12671
12686
  ModifyIpamResourceCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -1488,12 +1488,22 @@ module Aws::EC2
1488
1488
  # If you have the required permissions, the error response is
1489
1489
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1490
1490
  # @option options [Boolean] :force
1491
- # Forces the instances to stop. The instances do not have an opportunity
1492
- # to flush file system caches or file system metadata. If you use this
1493
- # option, you must perform file system check and repair procedures. This
1494
- # option is not recommended for Windows instances.
1491
+ # Forces the instance to stop. The instance will first attempt a
1492
+ # graceful shutdown, which includes flushing file system caches and
1493
+ # metadata. If the graceful shutdown fails to complete within the
1494
+ # timeout period, the instance shuts down forcibly without flushing the
1495
+ # file system caches and metadata.
1496
+ #
1497
+ # After using this option, you must perform file system check and repair
1498
+ # procedures. This option is not recommended for Windows instances. For
1499
+ # more information, see [Troubleshoot Amazon EC2 instance stop
1500
+ # issues][1] in the *Amazon EC2 User Guide*.
1495
1501
  #
1496
1502
  # Default: `false`
1503
+ #
1504
+ #
1505
+ #
1506
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
1497
1507
  # @return [Types::StopInstancesResult]
1498
1508
  def stop(options = {})
1499
1509
  options = Aws::Util.deep_merge(options, instance_ids: [@id])
@@ -2055,12 +2065,22 @@ module Aws::EC2
2055
2065
  # If you have the required permissions, the error response is
2056
2066
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2057
2067
  # @option options [Boolean] :force
2058
- # Forces the instances to stop. The instances do not have an opportunity
2059
- # to flush file system caches or file system metadata. If you use this
2060
- # option, you must perform file system check and repair procedures. This
2061
- # option is not recommended for Windows instances.
2068
+ # Forces the instance to stop. The instance will first attempt a
2069
+ # graceful shutdown, which includes flushing file system caches and
2070
+ # metadata. If the graceful shutdown fails to complete within the
2071
+ # timeout period, the instance shuts down forcibly without flushing the
2072
+ # file system caches and metadata.
2073
+ #
2074
+ # After using this option, you must perform file system check and repair
2075
+ # procedures. This option is not recommended for Windows instances. For
2076
+ # more information, see [Troubleshoot Amazon EC2 instance stop
2077
+ # issues][1] in the *Amazon EC2 User Guide*.
2062
2078
  #
2063
2079
  # Default: `false`
2080
+ #
2081
+ #
2082
+ #
2083
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
2064
2084
  # @return [void]
2065
2085
  def batch_stop(options = {})
2066
2086
  batch_enum.each do |batch|
@@ -6092,6 +6092,54 @@ module Aws::EC2
6092
6092
  include Aws::Structure
6093
6093
  end
6094
6094
 
6095
+ # Client Route Enforcement is a feature of Client VPN that helps enforce
6096
+ # administrator defined routes on devices connected through the VPN.
6097
+ # This feature helps improve your security posture by ensuring that
6098
+ # network traffic originating from a connected client is not
6099
+ # inadvertently sent outside the VPN tunnel.
6100
+ #
6101
+ # Client Route Enforcement works by monitoring the route table of a
6102
+ # connected device for routing policy changes to the VPN connection. If
6103
+ # the feature detects any VPN routing policy modifications, it will
6104
+ # automatically force an update to the route table, reverting it back to
6105
+ # the expected route configurations.
6106
+ #
6107
+ # @!attribute [rw] enforced
6108
+ # Enable or disable Client Route Enforcement. The state can either be
6109
+ # `true` (enabled) or `false` (disabled). The default is `false`.
6110
+ #
6111
+ # Valid values: `true | false`
6112
+ #
6113
+ # Default value: `false`
6114
+ # @return [Boolean]
6115
+ #
6116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientRouteEnforcementOptions AWS API Documentation
6117
+ #
6118
+ class ClientRouteEnforcementOptions < Struct.new(
6119
+ :enforced)
6120
+ SENSITIVE = []
6121
+ include Aws::Structure
6122
+ end
6123
+
6124
+ # The current status of Client Route Enforcement.
6125
+ #
6126
+ # @!attribute [rw] enforced
6127
+ # Status of the client route enforcement feature, indicating whether
6128
+ # Client Route Enforcement is `true` (enabled) or `false` (disabled).
6129
+ #
6130
+ # Valid values: `true | false`
6131
+ #
6132
+ # Default value: `false`
6133
+ # @return [Boolean]
6134
+ #
6135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientRouteEnforcementResponseOptions AWS API Documentation
6136
+ #
6137
+ class ClientRouteEnforcementResponseOptions < Struct.new(
6138
+ :enforced)
6139
+ SENSITIVE = []
6140
+ include Aws::Structure
6141
+ end
6142
+
6095
6143
  # Describes the authentication methods used by a Client VPN endpoint.
6096
6144
  # For more information, see [Authentication][1] in the *Client VPN
6097
6145
  # Administrator Guide*.
@@ -6404,11 +6452,25 @@ module Aws::EC2
6404
6452
  # is established.
6405
6453
  # @return [Types::ClientLoginBannerResponseOptions]
6406
6454
  #
6455
+ # @!attribute [rw] client_route_enforcement_options
6456
+ # Client route enforcement is a feature of the Client VPN service that
6457
+ # helps enforce administrator defined routes on devices connected
6458
+ # through the VPN. T his feature helps improve your security posture
6459
+ # by ensuring that network traffic originating from a connected client
6460
+ # is not inadvertently sent outside the VPN tunnel.
6461
+ #
6462
+ # Client route enforcement works by monitoring the route table of a
6463
+ # connected device for routing policy changes to the VPN connection.
6464
+ # If the feature detects any VPN routing policy modifications, it will
6465
+ # automatically force an update to the route table, reverting it back
6466
+ # to the expected route configurations.
6467
+ # @return [Types::ClientRouteEnforcementResponseOptions]
6468
+ #
6407
6469
  # @!attribute [rw] disconnect_on_session_timeout
6408
6470
  # Indicates whether the client VPN session is disconnected after the
6409
6471
  # maximum `sessionTimeoutHours` is reached. If `true`, users are
6410
6472
  # prompted to reconnect client VPN. If `false`, client VPN attempts to
6411
- # reconnect automatically. The default value is `false`.
6473
+ # reconnect automatically. The default value is `true`.
6412
6474
  # @return [Boolean]
6413
6475
  #
6414
6476
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
@@ -6437,6 +6499,7 @@ module Aws::EC2
6437
6499
  :client_connect_options,
6438
6500
  :session_timeout_hours,
6439
6501
  :client_login_banner_options,
6502
+ :client_route_enforcement_options,
6440
6503
  :disconnect_on_session_timeout)
6441
6504
  SENSITIVE = []
6442
6505
  include Aws::Structure
@@ -8253,12 +8316,26 @@ module Aws::EC2
8253
8316
  # is established.
8254
8317
  # @return [Types::ClientLoginBannerOptions]
8255
8318
  #
8319
+ # @!attribute [rw] client_route_enforcement_options
8320
+ # Client route enforcement is a feature of the Client VPN service that
8321
+ # helps enforce administrator defined routes on devices connected
8322
+ # through the VPN. T his feature helps improve your security posture
8323
+ # by ensuring that network traffic originating from a connected client
8324
+ # is not inadvertently sent outside the VPN tunnel.
8325
+ #
8326
+ # Client route enforcement works by monitoring the route table of a
8327
+ # connected device for routing policy changes to the VPN connection.
8328
+ # If the feature detects any VPN routing policy modifications, it will
8329
+ # automatically force an update to the route table, reverting it back
8330
+ # to the expected route configurations.
8331
+ # @return [Types::ClientRouteEnforcementOptions]
8332
+ #
8256
8333
  # @!attribute [rw] disconnect_on_session_timeout
8257
8334
  # Indicates whether the client VPN session is disconnected after the
8258
8335
  # maximum timeout specified in `SessionTimeoutHours` is reached. If
8259
8336
  # `true`, users are prompted to reconnect client VPN. If `false`,
8260
8337
  # client VPN attempts to reconnect automatically. The default value is
8261
- # `false`.
8338
+ # `true`.
8262
8339
  # @return [Boolean]
8263
8340
  #
8264
8341
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
@@ -8282,6 +8359,7 @@ module Aws::EC2
8282
8359
  :client_connect_options,
8283
8360
  :session_timeout_hours,
8284
8361
  :client_login_banner_options,
8362
+ :client_route_enforcement_options,
8285
8363
  :disconnect_on_session_timeout)
8286
8364
  SENSITIVE = []
8287
8365
  include Aws::Structure
@@ -9831,6 +9909,24 @@ module Aws::EC2
9831
9909
  # addresses. This option is disabled by default.
9832
9910
  # @return [Boolean]
9833
9911
  #
9912
+ # @!attribute [rw] metered_account
9913
+ # A metered account is an Amazon Web Services account that is charged
9914
+ # for active IP addresses managed in IPAM. For more information, see
9915
+ # [Enable cost distribution][1] in the *Amazon VPC IPAM User Guide*.
9916
+ #
9917
+ # Possible values:
9918
+ #
9919
+ # * `ipam-owner` (default): The Amazon Web Services account which owns
9920
+ # the IPAM is charged for all active IP addresses managed in IPAM.
9921
+ #
9922
+ # * `resource-owner`: The Amazon Web Services account that owns the IP
9923
+ # address is charged for the active IP address.
9924
+ #
9925
+ #
9926
+ #
9927
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html
9928
+ # @return [String]
9929
+ #
9834
9930
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpamRequest AWS API Documentation
9835
9931
  #
9836
9932
  class CreateIpamRequest < Struct.new(
@@ -9840,7 +9936,8 @@ module Aws::EC2
9840
9936
  :tag_specifications,
9841
9937
  :client_token,
9842
9938
  :tier,
9843
- :enable_private_gua)
9939
+ :enable_private_gua,
9940
+ :metered_account)
9844
9941
  SENSITIVE = []
9845
9942
  include Aws::Structure
9846
9943
  end
@@ -14353,8 +14450,6 @@ module Aws::EC2
14353
14450
  # To use a private hosted zone, you must set the following VPC
14354
14451
  # attributes to `true`: `enableDnsHostnames` and `enableDnsSupport`.
14355
14452
  # Use ModifyVpcAttribute to set the VPC attributes.
14356
- #
14357
- # Default: `true`
14358
14453
  # @return [Boolean]
14359
14454
  #
14360
14455
  # @!attribute [rw] tag_specifications
@@ -18810,7 +18905,9 @@ module Aws::EC2
18810
18905
  # @return [String]
18811
18906
  #
18812
18907
  # @!attribute [rw] instance_count
18813
- # The number of instances for which to reserve capacity.
18908
+ # The number of instances for which to reserve capacity. Each Capacity
18909
+ # Block can have up to 64 instances, and you can have up to 256
18910
+ # instances across Capacity Blocks.
18814
18911
  # @return [Integer]
18815
18912
  #
18816
18913
  # @!attribute [rw] start_date_range
@@ -18822,7 +18919,9 @@ module Aws::EC2
18822
18919
  # @return [Time]
18823
18920
  #
18824
18921
  # @!attribute [rw] capacity_duration_hours
18825
- # The number of hours for which to reserve Capacity Block.
18922
+ # The reservation duration for the Capacity Block, in hours. You must
18923
+ # specify the duration in 1-day increments up 14 days, and in 7-day
18924
+ # increments up to 182 days.
18826
18925
  # @return [Integer]
18827
18926
  #
18828
18927
  # @!attribute [rw] next_token
@@ -36509,11 +36608,11 @@ module Aws::EC2
36509
36608
  # Amazon EBS encryption. For more information, see [Supported instance
36510
36609
  # types][2].
36511
36610
  #
36512
- # This parameter is not returned by .
36611
+ # This parameter is not returned by [DescribeImageAttribute][3].
36513
36612
  #
36514
- # For and , whether you can include this parameter, and the allowed
36515
- # values differ depending on the type of block device mapping you are
36516
- # creating.
36613
+ # For [CreateImage][4] and [RegisterImage][5], whether you can include
36614
+ # this parameter, and the allowed values differ depending on the type
36615
+ # of block device mapping you are creating.
36517
36616
  #
36518
36617
  # * If you are creating a block device mapping for a **new (empty)
36519
36618
  # volume**, you can include this parameter, and specify either
@@ -36541,6 +36640,9 @@ module Aws::EC2
36541
36640
  #
36542
36641
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
36543
36642
  # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
36643
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute
36644
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage
36645
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RegisterImage
36544
36646
  # @return [Boolean]
36545
36647
  #
36546
36648
  # @!attribute [rw] delete_on_termination
@@ -45126,6 +45228,9 @@ module Aws::EC2
45126
45228
  #
45127
45229
  # * For instance types with GPU accelerators, specify `gpu`.
45128
45230
  #
45231
+ # * For instance types with Inference accelerators, specify
45232
+ # `inference`.
45233
+ #
45129
45234
  # Default: Any accelerator type
45130
45235
  # @return [Array<String>]
45131
45236
  #
@@ -45609,6 +45714,9 @@ module Aws::EC2
45609
45714
  #
45610
45715
  # * For instance types with GPU accelerators, specify `gpu`.
45611
45716
  #
45717
+ # * For instance types with Inference accelerators, specify
45718
+ # `inference`.
45719
+ #
45612
45720
  # Default: Any accelerator type
45613
45721
  # @return [Array<String>]
45614
45722
  #
@@ -46680,6 +46788,24 @@ module Aws::EC2
46680
46788
  # addresses. This option is disabled by default.
46681
46789
  # @return [Boolean]
46682
46790
  #
46791
+ # @!attribute [rw] metered_account
46792
+ # A metered account is an Amazon Web Services account that is charged
46793
+ # for active IP addresses managed in IPAM. For more information, see
46794
+ # [Enable cost distribution][1] in the *Amazon VPC IPAM User Guide*.
46795
+ #
46796
+ # Possible values:
46797
+ #
46798
+ # * `ipam-owner` (default): The Amazon Web Services account which owns
46799
+ # the IPAM is charged for all active IP addresses managed in IPAM.
46800
+ #
46801
+ # * `resource-owner`: The Amazon Web Services account that owns the IP
46802
+ # address is charged for the active IP address.
46803
+ #
46804
+ #
46805
+ #
46806
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html
46807
+ # @return [String]
46808
+ #
46683
46809
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipam AWS API Documentation
46684
46810
  #
46685
46811
  class Ipam < Struct.new(
@@ -46699,7 +46825,8 @@ module Aws::EC2
46699
46825
  :resource_discovery_association_count,
46700
46826
  :state_message,
46701
46827
  :tier,
46702
- :enable_private_gua)
46828
+ :enable_private_gua,
46829
+ :metered_account)
46703
46830
  SENSITIVE = []
46704
46831
  include Aws::Structure
46705
46832
  end
@@ -51885,12 +52012,26 @@ module Aws::EC2
51885
52012
  # is established.
51886
52013
  # @return [Types::ClientLoginBannerOptions]
51887
52014
  #
52015
+ # @!attribute [rw] client_route_enforcement_options
52016
+ # Client route enforcement is a feature of the Client VPN service that
52017
+ # helps enforce administrator defined routes on devices connected
52018
+ # through the VPN. T his feature helps improve your security posture
52019
+ # by ensuring that network traffic originating from a connected client
52020
+ # is not inadvertently sent outside the VPN tunnel.
52021
+ #
52022
+ # Client route enforcement works by monitoring the route table of a
52023
+ # connected device for routing policy changes to the VPN connection.
52024
+ # If the feature detects any VPN routing policy modifications, it will
52025
+ # automatically force an update to the route table, reverting it back
52026
+ # to the expected route configurations.
52027
+ # @return [Types::ClientRouteEnforcementOptions]
52028
+ #
51888
52029
  # @!attribute [rw] disconnect_on_session_timeout
51889
52030
  # Indicates whether the client VPN session is disconnected after the
51890
52031
  # maximum timeout specified in `sessionTimeoutHours` is reached. If
51891
52032
  # `true`, users are prompted to reconnect client VPN. If `false`,
51892
52033
  # client VPN attempts to reconnect automatically. The default value is
51893
- # `false`.
52034
+ # `true`.
51894
52035
  # @return [Boolean]
51895
52036
  #
51896
52037
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointRequest AWS API Documentation
@@ -51910,6 +52051,7 @@ module Aws::EC2
51910
52051
  :client_connect_options,
51911
52052
  :session_timeout_hours,
51912
52053
  :client_login_banner_options,
52054
+ :client_route_enforcement_options,
51913
52055
  :disconnect_on_session_timeout)
51914
52056
  SENSITIVE = []
51915
52057
  include Aws::Structure
@@ -53359,6 +53501,24 @@ module Aws::EC2
53359
53501
  # addresses. This option is disabled by default.
53360
53502
  # @return [Boolean]
53361
53503
  #
53504
+ # @!attribute [rw] metered_account
53505
+ # A metered account is an Amazon Web Services account that is charged
53506
+ # for active IP addresses managed in IPAM. For more information, see
53507
+ # [Enable cost distribution][1] in the *Amazon VPC IPAM User Guide*.
53508
+ #
53509
+ # Possible values:
53510
+ #
53511
+ # * `ipam-owner` (default): The Amazon Web Services account which owns
53512
+ # the IPAM is charged for all active IP addresses managed in IPAM.
53513
+ #
53514
+ # * `resource-owner`: The Amazon Web Services account that owns the IP
53515
+ # address is charged for the active IP address.
53516
+ #
53517
+ #
53518
+ #
53519
+ # [1]: https://docs.aws.amazon.com/vpc/latest/ipam/ipam-enable-cost-distro.html
53520
+ # @return [String]
53521
+ #
53362
53522
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamRequest AWS API Documentation
53363
53523
  #
53364
53524
  class ModifyIpamRequest < Struct.new(
@@ -53368,7 +53528,8 @@ module Aws::EC2
53368
53528
  :add_operating_regions,
53369
53529
  :remove_operating_regions,
53370
53530
  :tier,
53371
- :enable_private_gua)
53531
+ :enable_private_gua,
53532
+ :metered_account)
53372
53533
  SENSITIVE = []
53373
53534
  include Aws::Structure
53374
53535
  end
@@ -58914,12 +59075,19 @@ module Aws::EC2
58914
59075
  # unsupported instance families.
58915
59076
  #
58916
59077
  # If you specify an unsupported instance family as a value for
58917
- # baseline performance, the API returns an empty response for and an
58918
- # exception for , , , and .
59078
+ # baseline performance, the API returns an empty response for
59079
+ # [GetInstanceTypesFromInstanceRequirements][2] and an exception for
59080
+ # [CreateFleet][3], [RequestSpotFleet][4], [ModifyFleet][5], and
59081
+ # [ModifySpotFleetRequest][6].
58919
59082
  #
58920
59083
  #
58921
59084
  #
58922
59085
  # [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html
59086
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements
59087
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
59088
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet
59089
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet
59090
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest
58923
59091
  # @return [String]
58924
59092
  #
58925
59093
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PerformanceFactorReference AWS API Documentation
@@ -58977,12 +59145,19 @@ module Aws::EC2
58977
59145
  # unsupported instance families.
58978
59146
  #
58979
59147
  # If you specify an unsupported instance family as a value for
58980
- # baseline performance, the API returns an empty response for and an
58981
- # exception for , , , and .
59148
+ # baseline performance, the API returns an empty response for
59149
+ # [GetInstanceTypesFromInstanceRequirements][2] and an exception for
59150
+ # [CreateFleet][3], [RequestSpotFleet][4], [ModifyFleet][5], and
59151
+ # [ModifySpotFleetRequest][6].
58982
59152
  #
58983
59153
  #
58984
59154
  #
58985
59155
  # [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html
59156
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements
59157
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
59158
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet
59159
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyFleet
59160
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySpotFleetRequest
58986
59161
  # @return [String]
58987
59162
  #
58988
59163
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PerformanceFactorReferenceRequest AWS API Documentation
@@ -69700,12 +69875,22 @@ module Aws::EC2
69700
69875
  # @return [Boolean]
69701
69876
  #
69702
69877
  # @!attribute [rw] force
69703
- # Forces the instances to stop. The instances do not have an
69704
- # opportunity to flush file system caches or file system metadata. If
69705
- # you use this option, you must perform file system check and repair
69706
- # procedures. This option is not recommended for Windows instances.
69878
+ # Forces the instance to stop. The instance will first attempt a
69879
+ # graceful shutdown, which includes flushing file system caches and
69880
+ # metadata. If the graceful shutdown fails to complete within the
69881
+ # timeout period, the instance shuts down forcibly without flushing
69882
+ # the file system caches and metadata.
69883
+ #
69884
+ # After using this option, you must perform file system check and
69885
+ # repair procedures. This option is not recommended for Windows
69886
+ # instances. For more information, see [Troubleshoot Amazon EC2
69887
+ # instance stop issues][1] in the *Amazon EC2 User Guide*.
69707
69888
  #
69708
69889
  # Default: `false`
69890
+ #
69891
+ #
69892
+ #
69893
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
69709
69894
  # @return [Boolean]
69710
69895
  #
69711
69896
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesRequest AWS API Documentation
@@ -71708,7 +71893,10 @@ module Aws::EC2
71708
71893
  #
71709
71894
  # @!attribute [rw] default_route_table_association
71710
71895
  # Indicates whether resource attachments are automatically associated
71711
- # with the default association route table.
71896
+ # with the default association route table. Enabled by default. If
71897
+ # `defaultRouteTableAssociation` is set to `enable`, Amazon Web
71898
+ # Services Transit Gateway will create the default transit gateway
71899
+ # route table.
71712
71900
  # @return [String]
71713
71901
  #
71714
71902
  # @!attribute [rw] association_default_route_table_id
@@ -71717,7 +71905,10 @@ module Aws::EC2
71717
71905
  #
71718
71906
  # @!attribute [rw] default_route_table_propagation
71719
71907
  # Indicates whether resource attachments automatically propagate
71720
- # routes to the default propagation route table.
71908
+ # routes to the default propagation route table. Enabled by default.
71909
+ # If `defaultRouteTablePropagation` is set to `enable`, Amazon Web
71910
+ # Services Transit Gateway will create the default transit gateway
71911
+ # route table.
71721
71912
  # @return [String]
71722
71913
  #
71723
71914
  # @!attribute [rw] propagation_default_route_table_id
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.515.0'
81
+ GEM_VERSION = '1.517.0'
82
82
 
83
83
  end
84
84
 
@@ -54,7 +54,7 @@ module Aws
54
54
  def carrier_ip: () -> ::String
55
55
 
56
56
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#service_managed-instance_method
57
- def service_managed: () -> ("alb" | "nlb")
57
+ def service_managed: () -> ("alb" | "nlb" | "rnat")
58
58
 
59
59
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#instance_id-instance_method
60
60
  def instance_id: () -> ::String
data/sig/client.rbs CHANGED
@@ -1273,6 +1273,9 @@ module Aws
1273
1273
  enabled: bool?,
1274
1274
  banner_text: ::String?
1275
1275
  },
1276
+ ?client_route_enforcement_options: {
1277
+ enforced: bool?
1278
+ },
1276
1279
  ?disconnect_on_session_timeout: bool
1277
1280
  ) -> _CreateClientVpnEndpointResponseSuccess
1278
1281
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClientVpnEndpointResponseSuccess
@@ -1848,7 +1851,8 @@ module Aws
1848
1851
  ],
1849
1852
  ?client_token: ::String,
1850
1853
  ?tier: ("free" | "advanced"),
1851
- ?enable_private_gua: bool
1854
+ ?enable_private_gua: bool,
1855
+ ?metered_account: ("ipam-owner" | "resource-owner")
1852
1856
  ) -> _CreateIpamResponseSuccess
1853
1857
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIpamResponseSuccess
1854
1858
 
@@ -10594,6 +10598,9 @@ module Aws
10594
10598
  enabled: bool?,
10595
10599
  banner_text: ::String?
10596
10600
  },
10601
+ ?client_route_enforcement_options: {
10602
+ enforced: bool?
10603
+ },
10597
10604
  ?disconnect_on_session_timeout: bool
10598
10605
  ) -> _ModifyClientVpnEndpointResponseSuccess
10599
10606
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClientVpnEndpointResponseSuccess
@@ -11072,7 +11079,8 @@ module Aws
11072
11079
  },
11073
11080
  ],
11074
11081
  ?tier: ("free" | "advanced"),
11075
- ?enable_private_gua: bool
11082
+ ?enable_private_gua: bool,
11083
+ ?metered_account: ("ipam-owner" | "resource-owner")
11076
11084
  ) -> _ModifyIpamResponseSuccess
11077
11085
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyIpamResponseSuccess
11078
11086
 
data/sig/types.rbs CHANGED
@@ -215,7 +215,7 @@ module Aws::EC2
215
215
  attr_accessor customer_owned_ip: ::String
216
216
  attr_accessor customer_owned_ipv_4_pool: ::String
217
217
  attr_accessor carrier_ip: ::String
218
- attr_accessor service_managed: ("alb" | "nlb")
218
+ attr_accessor service_managed: ("alb" | "nlb" | "rnat")
219
219
  attr_accessor instance_id: ::String
220
220
  attr_accessor public_ip: ::String
221
221
  SENSITIVE: []
@@ -1458,6 +1458,16 @@ module Aws::EC2
1458
1458
  SENSITIVE: []
1459
1459
  end
1460
1460
 
1461
+ class ClientRouteEnforcementOptions
1462
+ attr_accessor enforced: bool
1463
+ SENSITIVE: []
1464
+ end
1465
+
1466
+ class ClientRouteEnforcementResponseOptions
1467
+ attr_accessor enforced: bool
1468
+ SENSITIVE: []
1469
+ end
1470
+
1461
1471
  class ClientVpnAuthentication
1462
1472
  attr_accessor type: ("certificate-authentication" | "directory-service-authentication" | "federated-authentication")
1463
1473
  attr_accessor active_directory: Types::DirectoryServiceAuthentication
@@ -1528,6 +1538,7 @@ module Aws::EC2
1528
1538
  attr_accessor client_connect_options: Types::ClientConnectResponseOptions
1529
1539
  attr_accessor session_timeout_hours: ::Integer
1530
1540
  attr_accessor client_login_banner_options: Types::ClientLoginBannerResponseOptions
1541
+ attr_accessor client_route_enforcement_options: Types::ClientRouteEnforcementResponseOptions
1531
1542
  attr_accessor disconnect_on_session_timeout: bool
1532
1543
  SENSITIVE: []
1533
1544
  end
@@ -1862,6 +1873,7 @@ module Aws::EC2
1862
1873
  attr_accessor client_connect_options: Types::ClientConnectOptions
1863
1874
  attr_accessor session_timeout_hours: ::Integer
1864
1875
  attr_accessor client_login_banner_options: Types::ClientLoginBannerOptions
1876
+ attr_accessor client_route_enforcement_options: Types::ClientRouteEnforcementOptions
1865
1877
  attr_accessor disconnect_on_session_timeout: bool
1866
1878
  SENSITIVE: []
1867
1879
  end
@@ -2180,6 +2192,7 @@ module Aws::EC2
2180
2192
  attr_accessor client_token: ::String
2181
2193
  attr_accessor tier: ("free" | "advanced")
2182
2194
  attr_accessor enable_private_gua: bool
2195
+ attr_accessor metered_account: ("ipam-owner" | "resource-owner")
2183
2196
  SENSITIVE: []
2184
2197
  end
2185
2198
 
@@ -10185,6 +10198,7 @@ module Aws::EC2
10185
10198
  attr_accessor state_message: ::String
10186
10199
  attr_accessor tier: ("free" | "advanced")
10187
10200
  attr_accessor enable_private_gua: bool
10201
+ attr_accessor metered_account: ("ipam-owner" | "resource-owner")
10188
10202
  SENSITIVE: []
10189
10203
  end
10190
10204
 
@@ -11264,6 +11278,7 @@ module Aws::EC2
11264
11278
  attr_accessor client_connect_options: Types::ClientConnectOptions
11265
11279
  attr_accessor session_timeout_hours: ::Integer
11266
11280
  attr_accessor client_login_banner_options: Types::ClientLoginBannerOptions
11281
+ attr_accessor client_route_enforcement_options: Types::ClientRouteEnforcementOptions
11267
11282
  attr_accessor disconnect_on_session_timeout: bool
11268
11283
  SENSITIVE: []
11269
11284
  end
@@ -11565,6 +11580,7 @@ module Aws::EC2
11565
11580
  attr_accessor remove_operating_regions: ::Array[Types::RemoveIpamOperatingRegion]
11566
11581
  attr_accessor tier: ("free" | "advanced")
11567
11582
  attr_accessor enable_private_gua: bool
11583
+ attr_accessor metered_account: ("ipam-owner" | "resource-owner")
11568
11584
  SENSITIVE: []
11569
11585
  end
11570
11586
 
data/sig/vpc_address.rbs CHANGED
@@ -51,7 +51,7 @@ module Aws
51
51
  def carrier_ip: () -> ::String
52
52
 
53
53
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#service_managed-instance_method
54
- def service_managed: () -> ("alb" | "nlb")
54
+ def service_managed: () -> ("alb" | "nlb" | "rnat")
55
55
 
56
56
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#instance_id-instance_method
57
57
  def instance_id: () -> ::String
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.515.0
4
+ version: 1.517.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-04 00:00:00.000000000 Z
11
+ date: 2025-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core