aws-sdk-ec2 1.516.0 → 1.518.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +107 -68
- data/lib/aws-sdk-ec2/client_api.rb +71 -67
- data/lib/aws-sdk-ec2/instance.rb +28 -8
- data/lib/aws-sdk-ec2/types.rb +125 -32
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +3 -0
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c9e2d66bcc18664aa25a278365e431fdefa032a456c5661153c3a390e0ba7ae
|
4
|
+
data.tar.gz: 819ef5efa2c2aa42ce695ddb0df15d0afa2146c2366cfeafde89cfa4bb61d3ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97e86136626e2fd7aa0869291fc4a5c21976968e0a980cfd473105a1cf86f1f7d0ef649b9f5a328d56910fc50fed4488218ae69839952733fc1330d1b21c7690
|
7
|
+
data.tar.gz: fd69f965fd9423ea6cb5dcc79e5794002eda985a5c00d38ade5d3be87357da85b46163df5199c9154b310eb0f5125a6be933e8aa8c00a5ff38bbca75af767665
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.518.0 (2025-05-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.517.0 (2025-04-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Launch of cost distribution feature for IPAM owners to distribute costs to internal teams.
|
13
|
+
|
4
14
|
1.516.0 (2025-04-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.518.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -6107,7 +6107,7 @@ module Aws::EC2
|
|
6107
6107
|
# Indicates whether the client VPN session is disconnected after the
|
6108
6108
|
# maximum timeout specified in `SessionTimeoutHours` is reached. If
|
6109
6109
|
# `true`, users are prompted to reconnect client VPN. If `false`, client
|
6110
|
-
# VPN attempts to reconnect automatically. The default value is `
|
6110
|
+
# VPN attempts to reconnect automatically. The default value is `true`.
|
6111
6111
|
#
|
6112
6112
|
# @return [Types::CreateClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6113
6113
|
#
|
@@ -7165,7 +7165,7 @@ module Aws::EC2
|
|
7165
7165
|
# },
|
7166
7166
|
# },
|
7167
7167
|
# },
|
7168
|
-
# image_id: "
|
7168
|
+
# image_id: "ImageId",
|
7169
7169
|
# },
|
7170
7170
|
# ],
|
7171
7171
|
# },
|
@@ -8288,6 +8288,23 @@ module Aws::EC2
|
|
8288
8288
|
# Enable this option to use your own GUA ranges as private IPv6
|
8289
8289
|
# addresses. This option is disabled by default.
|
8290
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
|
+
#
|
8291
8308
|
# @return [Types::CreateIpamResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8292
8309
|
#
|
8293
8310
|
# * {Types::CreateIpamResult#ipam #ipam} => Types::Ipam
|
@@ -8316,6 +8333,7 @@ module Aws::EC2
|
|
8316
8333
|
# client_token: "String",
|
8317
8334
|
# tier: "free", # accepts free, advanced
|
8318
8335
|
# enable_private_gua: false,
|
8336
|
+
# metered_account: "ipam-owner", # accepts ipam-owner, resource-owner
|
8319
8337
|
# })
|
8320
8338
|
#
|
8321
8339
|
# @example Response structure
|
@@ -8340,6 +8358,7 @@ module Aws::EC2
|
|
8340
8358
|
# resp.ipam.state_message #=> String
|
8341
8359
|
# resp.ipam.tier #=> String, one of "free", "advanced"
|
8342
8360
|
# resp.ipam.enable_private_gua #=> Boolean
|
8361
|
+
# resp.ipam.metered_account #=> String, one of "ipam-owner", "resource-owner"
|
8343
8362
|
#
|
8344
8363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpam AWS API Documentation
|
8345
8364
|
#
|
@@ -16116,8 +16135,6 @@ module Aws::EC2
|
|
16116
16135
|
# attributes to `true`: `enableDnsHostnames` and `enableDnsSupport`. Use
|
16117
16136
|
# ModifyVpcAttribute to set the VPC attributes.
|
16118
16137
|
#
|
16119
|
-
# Default: `true`
|
16120
|
-
#
|
16121
16138
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
16122
16139
|
# The tags to associate with the endpoint.
|
16123
16140
|
#
|
@@ -17628,6 +17645,7 @@ module Aws::EC2
|
|
17628
17645
|
# resp.ipam.state_message #=> String
|
17629
17646
|
# resp.ipam.tier #=> String, one of "free", "advanced"
|
17630
17647
|
# resp.ipam.enable_private_gua #=> Boolean
|
17648
|
+
# resp.ipam.metered_account #=> String, one of "ipam-owner", "resource-owner"
|
17631
17649
|
#
|
17632
17650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpam AWS API Documentation
|
17633
17651
|
#
|
@@ -22279,13 +22297,7 @@ module Aws::EC2
|
|
22279
22297
|
# Blocks, you purchase a specific instance type for a period of time.
|
22280
22298
|
#
|
22281
22299
|
# To search for an available Capacity Block offering, you specify a
|
22282
|
-
# reservation duration and instance count.
|
22283
|
-
# following options.
|
22284
|
-
#
|
22285
|
-
# * For reservation durations<b> 1-day increments up 14 days and 7-day
|
22286
|
-
# increments up to 182 days total</b>
|
22287
|
-
#
|
22288
|
-
# * For instance count<b> 1, 2, 4, 8, 16, 32, or 64 instances</b>
|
22300
|
+
# reservation duration and instance count.
|
22289
22301
|
#
|
22290
22302
|
# @option params [Boolean] :dry_run
|
22291
22303
|
# Checks whether you have the required permissions for the action,
|
@@ -22298,7 +22310,9 @@ module Aws::EC2
|
|
22298
22310
|
# capacity.
|
22299
22311
|
#
|
22300
22312
|
# @option params [Integer] :instance_count
|
22301
|
-
# 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.
|
22302
22316
|
#
|
22303
22317
|
# @option params [Time,DateTime,Date,Integer,String] :start_date_range
|
22304
22318
|
# The earliest start date for the Capacity Block offering.
|
@@ -22307,7 +22321,9 @@ module Aws::EC2
|
|
22307
22321
|
# The latest end date for the Capacity Block offering.
|
22308
22322
|
#
|
22309
22323
|
# @option params [required, Integer] :capacity_duration_hours
|
22310
|
-
# The
|
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.
|
22311
22327
|
#
|
22312
22328
|
# @option params [String] :next_token
|
22313
22329
|
# The token to use to retrieve the next page of results.
|
@@ -29172,6 +29188,7 @@ module Aws::EC2
|
|
29172
29188
|
# resp.ipams[0].state_message #=> String
|
29173
29189
|
# resp.ipams[0].tier #=> String, one of "free", "advanced"
|
29174
29190
|
# resp.ipams[0].enable_private_gua #=> Boolean
|
29191
|
+
# resp.ipams[0].metered_account #=> String, one of "ipam-owner", "resource-owner"
|
29175
29192
|
#
|
29176
29193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpams AWS API Documentation
|
29177
29194
|
#
|
@@ -50517,7 +50534,7 @@ module Aws::EC2
|
|
50517
50534
|
# Indicates whether the client VPN session is disconnected after the
|
50518
50535
|
# maximum timeout specified in `sessionTimeoutHours` is reached. If
|
50519
50536
|
# `true`, users are prompted to reconnect client VPN. If `false`, client
|
50520
|
-
# VPN attempts to reconnect automatically. The default value is `
|
50537
|
+
# VPN attempts to reconnect automatically. The default value is `true`.
|
50521
50538
|
#
|
50522
50539
|
# @return [Types::ModifyClientVpnEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
50523
50540
|
#
|
@@ -50882,7 +50899,7 @@ module Aws::EC2
|
|
50882
50899
|
# },
|
50883
50900
|
# },
|
50884
50901
|
# },
|
50885
|
-
# image_id: "
|
50902
|
+
# image_id: "ImageId",
|
50886
50903
|
# },
|
50887
50904
|
# ],
|
50888
50905
|
# },
|
@@ -52445,6 +52462,23 @@ module Aws::EC2
|
|
52445
52462
|
# Enable this option to use your own GUA ranges as private IPv6
|
52446
52463
|
# addresses. This option is disabled by default.
|
52447
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
|
+
#
|
52448
52482
|
# @return [Types::ModifyIpamResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52449
52483
|
#
|
52450
52484
|
# * {Types::ModifyIpamResult#ipam #ipam} => Types::Ipam
|
@@ -52467,6 +52501,7 @@ module Aws::EC2
|
|
52467
52501
|
# ],
|
52468
52502
|
# tier: "free", # accepts free, advanced
|
52469
52503
|
# enable_private_gua: false,
|
52504
|
+
# metered_account: "ipam-owner", # accepts ipam-owner, resource-owner
|
52470
52505
|
# })
|
52471
52506
|
#
|
52472
52507
|
# @example Response structure
|
@@ -52491,6 +52526,7 @@ module Aws::EC2
|
|
52491
52526
|
# resp.ipam.state_message #=> String
|
52492
52527
|
# resp.ipam.tier #=> String, one of "free", "advanced"
|
52493
52528
|
# resp.ipam.enable_private_gua #=> Boolean
|
52529
|
+
# resp.ipam.metered_account #=> String, one of "ipam-owner", "resource-owner"
|
52494
52530
|
#
|
52495
52531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpam AWS API Documentation
|
52496
52532
|
#
|
@@ -63886,45 +63922,38 @@ module Aws::EC2
|
|
63886
63922
|
# Stops an Amazon EBS-backed instance. For more information, see [Stop
|
63887
63923
|
# and start Amazon EC2 instances][1] in the *Amazon EC2 User Guide*.
|
63888
63924
|
#
|
63889
|
-
#
|
63890
|
-
#
|
63891
|
-
# prerequisites][3]. For more information, see [Hibernate your Amazon
|
63892
|
-
# 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.
|
63893
63927
|
#
|
63894
|
-
#
|
63895
|
-
#
|
63896
|
-
#
|
63897
|
-
#
|
63898
|
-
#
|
63899
|
-
# instance
|
63900
|
-
#
|
63901
|
-
#
|
63902
|
-
#
|
63903
|
-
#
|
63904
|
-
#
|
63905
|
-
#
|
63906
|
-
#
|
63907
|
-
#
|
63908
|
-
#
|
63909
|
-
#
|
63910
|
-
#
|
63911
|
-
#
|
63912
|
-
#
|
63913
|
-
#
|
63914
|
-
#
|
63915
|
-
#
|
63916
|
-
#
|
63917
|
-
#
|
63918
|
-
#
|
63919
|
-
#
|
63920
|
-
#
|
63921
|
-
#
|
63922
|
-
#
|
63923
|
-
# When you stop an instance, we attempt to shut it down forcibly after a
|
63924
|
-
# short while. If your instance appears stuck in the stopping state
|
63925
|
-
# after a period of time, there may be an issue with the underlying host
|
63926
|
-
# computer. For more information, see [Troubleshoot stopping your
|
63927
|
-
# 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.
|
63928
63957
|
#
|
63929
63958
|
#
|
63930
63959
|
#
|
@@ -63932,9 +63961,8 @@ module Aws::EC2
|
|
63932
63961
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html
|
63933
63962
|
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
|
63934
63963
|
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
63935
|
-
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
63964
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
63936
63965
|
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
63937
|
-
# [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
63938
63966
|
#
|
63939
63967
|
# @option params [required, Array<String>] :instance_ids
|
63940
63968
|
# The IDs of the instances.
|
@@ -63958,13 +63986,23 @@ module Aws::EC2
|
|
63958
63986
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
63959
63987
|
#
|
63960
63988
|
# @option params [Boolean] :force
|
63961
|
-
# Forces the
|
63962
|
-
#
|
63963
|
-
#
|
63964
|
-
#
|
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*.
|
63965
63999
|
#
|
63966
64000
|
# Default: `false`
|
63967
64001
|
#
|
64002
|
+
#
|
64003
|
+
#
|
64004
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
64005
|
+
#
|
63968
64006
|
# @return [Types::StopInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
63969
64007
|
#
|
63970
64008
|
# * {Types::StopInstancesResult#stopping_instances #stopping_instances} => Array<Types::InstanceStateChange>
|
@@ -64080,8 +64118,8 @@ module Aws::EC2
|
|
64080
64118
|
req.send_request(options)
|
64081
64119
|
end
|
64082
64120
|
|
64083
|
-
# Shuts down the specified instances. This operation is idempotent;
|
64084
|
-
# 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.
|
64085
64123
|
#
|
64086
64124
|
# If you specify multiple instances and the request fails (for example,
|
64087
64125
|
# because of a single incorrect instance ID), none of the instances are
|
@@ -64128,21 +64166,22 @@ module Aws::EC2
|
|
64128
64166
|
#
|
64129
64167
|
# You can stop, start, and terminate EBS-backed instances. You can only
|
64130
64168
|
# terminate instance store-backed instances. What happens to an instance
|
64131
|
-
# differs if you stop
|
64169
|
+
# differs if you stop or terminate it. For example, when you stop an
|
64132
64170
|
# instance, the root device and any other devices attached to the
|
64133
64171
|
# instance persist. When you terminate an instance, any attached EBS
|
64134
64172
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
64135
64173
|
# set to `true` are automatically deleted. For more information about
|
64136
64174
|
# the differences between stopping and terminating instances, see
|
64137
|
-
# [
|
64175
|
+
# [Amazon EC2 instance state changes][2] in the *Amazon EC2 User Guide*.
|
64138
64176
|
#
|
64139
|
-
# For
|
64140
|
-
# terminating your instance][
|
64177
|
+
# For information about troubleshooting, see [Troubleshooting
|
64178
|
+
# terminating your instance][3] in the *Amazon EC2 User Guide*.
|
64141
64179
|
#
|
64142
64180
|
#
|
64143
64181
|
#
|
64144
|
-
# [1]: https://docs.aws.amazon.com/
|
64145
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
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
|
64146
64185
|
#
|
64147
64186
|
# @option params [required, Array<String>] :instance_ids
|
64148
64187
|
# The IDs of the instances.
|
@@ -64774,7 +64813,7 @@ module Aws::EC2
|
|
64774
64813
|
tracer: tracer
|
64775
64814
|
)
|
64776
64815
|
context[:gem_name] = 'aws-sdk-ec2'
|
64777
|
-
context[:gem_version] = '1.
|
64816
|
+
context[:gem_version] = '1.518.0'
|
64778
64817
|
Seahorse::Client::Request.new(handlers, context)
|
64779
64818
|
end
|
64780
64819
|
|