aws-sdk-ec2 1.432.0 → 1.433.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +77 -44
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/instance.rb +3 -1
- data/lib/aws-sdk-ec2/types.rb +142 -98
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27408b21426161ad4b7349cec79abf07eb25871e6b5e2d65de852aae262c97b8
|
4
|
+
data.tar.gz: 9aa56aa988058be640cadbc4dda2b60c9b59c4438d07a56ebfd677dd9002ebac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb065d21c221c402cd67e0f88bffae07da33f3ce31cfbcce733578ad5d017ca238478c90f72143b4e9865d9a08b69304dabc78bc44b16f19911e486c609d074f
|
7
|
+
data.tar.gz: 141943e6b8eca92b55ce8a15d35acdfe3025fb11a4a83f6ca6a8c59ef4a4d8ec2ff24a3a9989f73f65c8af937d238df881b0c9867c6bcd2900b62773e21ff18f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.433.0 (2024-01-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.432.0 (2024-01-08)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.433.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -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
|
@@ -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
|
20164
|
-
# page
|
20165
|
-
#
|
20166
|
-
#
|
20167
|
-
#
|
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
|
20223
|
-
# page
|
20224
|
-
#
|
20225
|
-
#
|
20226
|
-
#
|
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
|
20322
|
-
# page
|
20323
|
-
#
|
20324
|
-
#
|
20325
|
-
#
|
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.
|
@@ -23924,6 +23936,8 @@ module Aws::EC2
|
|
23924
23936
|
# resp.block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
23925
23937
|
# resp.block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
|
23926
23938
|
# resp.block_device_mappings[0].ebs.volume_id #=> String
|
23939
|
+
# resp.block_device_mappings[0].ebs.associated_resource #=> String
|
23940
|
+
# resp.block_device_mappings[0].ebs.volume_owner_id #=> String
|
23927
23941
|
# resp.disable_api_termination.value #=> Boolean
|
23928
23942
|
# resp.ena_support.value #=> Boolean
|
23929
23943
|
# resp.enclave_options.enabled #=> Boolean
|
@@ -25672,6 +25686,8 @@ module Aws::EC2
|
|
25672
25686
|
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
25673
25687
|
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
|
25674
25688
|
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_id #=> String
|
25689
|
+
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.associated_resource #=> String
|
25690
|
+
# resp.reservations[0].instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
|
25675
25691
|
# resp.reservations[0].instances[0].client_token #=> String
|
25676
25692
|
# resp.reservations[0].instances[0].ebs_optimized #=> Boolean
|
25677
25693
|
# resp.reservations[0].instances[0].ena_support #=> Boolean
|
@@ -35949,6 +35965,8 @@ module Aws::EC2
|
|
35949
35965
|
# resp.volumes[0].attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
|
35950
35966
|
# resp.volumes[0].attachments[0].volume_id #=> String
|
35951
35967
|
# resp.volumes[0].attachments[0].delete_on_termination #=> Boolean
|
35968
|
+
# resp.volumes[0].attachments[0].associated_resource #=> String
|
35969
|
+
# resp.volumes[0].attachments[0].instance_owning_service #=> String
|
35952
35970
|
# resp.volumes[0].availability_zone #=> String
|
35953
35971
|
# resp.volumes[0].create_time #=> Time
|
35954
35972
|
# resp.volumes[0].encrypted #=> Boolean
|
@@ -37716,6 +37734,11 @@ module Aws::EC2
|
|
37716
37734
|
# detached from an instance, the product code is no longer associated
|
37717
37735
|
# with the instance.
|
37718
37736
|
#
|
37737
|
+
# You can't detach or force detach volumes that are attached to Amazon
|
37738
|
+
# ECS or Fargate tasks. Attempting to do this results in the
|
37739
|
+
# `UnsupportedOperationException` exception with the `Unable to detach
|
37740
|
+
# volume attached to ECS tasks` error message.
|
37741
|
+
#
|
37719
37742
|
# For more information, see [Detach an Amazon EBS volume][1] in the
|
37720
37743
|
# *Amazon Elastic Compute Cloud User Guide*.
|
37721
37744
|
#
|
@@ -37757,6 +37780,8 @@ module Aws::EC2
|
|
37757
37780
|
# * {Types::VolumeAttachment#state #state} => String
|
37758
37781
|
# * {Types::VolumeAttachment#volume_id #volume_id} => String
|
37759
37782
|
# * {Types::VolumeAttachment#delete_on_termination #delete_on_termination} => Boolean
|
37783
|
+
# * {Types::VolumeAttachment#associated_resource #associated_resource} => String
|
37784
|
+
# * {Types::VolumeAttachment#instance_owning_service #instance_owning_service} => String
|
37760
37785
|
#
|
37761
37786
|
#
|
37762
37787
|
# @example Example: To detach a volume from an instance
|
@@ -37794,6 +37819,8 @@ module Aws::EC2
|
|
37794
37819
|
# resp.state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
|
37795
37820
|
# resp.volume_id #=> String
|
37796
37821
|
# resp.delete_on_termination #=> Boolean
|
37822
|
+
# resp.associated_resource #=> String
|
37823
|
+
# resp.instance_owning_service #=> String
|
37797
37824
|
#
|
37798
37825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume AWS API Documentation
|
37799
37826
|
#
|
@@ -39961,6 +39988,9 @@ module Aws::EC2
|
|
39961
39988
|
# request new public sharing. However, snapshots that are already
|
39962
39989
|
# publicly shared, remain publicly available.
|
39963
39990
|
#
|
39991
|
+
# `unblocked` is not a valid value for
|
39992
|
+
# **EnableSnapshotBlockPublicAccess**.
|
39993
|
+
#
|
39964
39994
|
# @option params [Boolean] :dry_run
|
39965
39995
|
# Checks whether you have the required permissions for the action,
|
39966
39996
|
# without actually making the request, and provides an error response.
|
@@ -40668,13 +40698,13 @@ module Aws::EC2
|
|
40668
40698
|
# The token to use to retrieve the next page of results.
|
40669
40699
|
#
|
40670
40700
|
# @option params [Integer] :max_results
|
40671
|
-
# The maximum number of
|
40672
|
-
# page
|
40673
|
-
#
|
40674
|
-
#
|
40675
|
-
# error.
|
40701
|
+
# The maximum number of items to return for this request. To get the
|
40702
|
+
# next page of items, make another request with the token returned in
|
40703
|
+
# the output. For more information, see [Pagination][1].
|
40704
|
+
#
|
40676
40705
|
#
|
40677
|
-
#
|
40706
|
+
#
|
40707
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
40678
40708
|
#
|
40679
40709
|
# @option params [Boolean] :dry_run
|
40680
40710
|
# Checks whether you have the required permissions for the action,
|
@@ -41135,11 +41165,13 @@ module Aws::EC2
|
|
41135
41165
|
# The token to use to retrieve the next page of results.
|
41136
41166
|
#
|
41137
41167
|
# @option params [Integer] :max_results
|
41138
|
-
# The maximum number of
|
41139
|
-
# page
|
41140
|
-
#
|
41141
|
-
#
|
41142
|
-
#
|
41168
|
+
# The maximum number of items to return for this request. To get the
|
41169
|
+
# next page of items, make another request with the token returned in
|
41170
|
+
# the output. For more information, see [Pagination][1].
|
41171
|
+
#
|
41172
|
+
#
|
41173
|
+
#
|
41174
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
41143
41175
|
#
|
41144
41176
|
# @option params [Boolean] :dry_run
|
41145
41177
|
# Checks whether you have the required permissions for the action,
|
@@ -43241,8 +43273,6 @@ module Aws::EC2
|
|
43241
43273
|
# @option params [String] :target_capacity_unit_type
|
43242
43274
|
# The unit for the target capacity.
|
43243
43275
|
#
|
43244
|
-
# Default: `units` (translates to number of instances)
|
43245
|
-
#
|
43246
43276
|
# @option params [Boolean] :single_availability_zone
|
43247
43277
|
# Specify `true` so that the response returns a list of scored
|
43248
43278
|
# Availability Zones. Otherwise, the response returns a list of scored
|
@@ -46501,7 +46531,9 @@ module Aws::EC2
|
|
46501
46531
|
# Modifies the `DeleteOnTermination` attribute for volumes that are
|
46502
46532
|
# currently attached. The volume must be owned by the caller. If no
|
46503
46533
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
46504
|
-
# and the volume is deleted when the instance is terminated.
|
46534
|
+
# and the volume is deleted when the instance is terminated. You can't
|
46535
|
+
# modify the `DeleteOnTermination` attribute for volumes that are
|
46536
|
+
# attached to Fargate tasks.
|
46505
46537
|
#
|
46506
46538
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
46507
46539
|
# must add them when you launch the instance. For more information, see
|
@@ -47037,23 +47069,22 @@ module Aws::EC2
|
|
47037
47069
|
# The ID of the instance.
|
47038
47070
|
#
|
47039
47071
|
# @option params [String] :http_tokens
|
47040
|
-
# IMDSv2
|
47041
|
-
#
|
47042
|
-
# `
|
47043
|
-
#
|
47044
|
-
#
|
47045
|
-
#
|
47046
|
-
#
|
47047
|
-
#
|
47048
|
-
#
|
47049
|
-
#
|
47050
|
-
#
|
47051
|
-
# * `required` - When IMDSv2 is required, you must send a session token
|
47052
|
-
# with any instance metadata retrieval requests. In this state,
|
47072
|
+
# Indicates whether IMDSv2 is required.
|
47073
|
+
#
|
47074
|
+
# * `optional` - IMDSv2 is optional. You can choose whether to send a
|
47075
|
+
# session token in your instance metadata retrieval requests. If you
|
47076
|
+
# retrieve IAM role credentials without a session token, you receive
|
47077
|
+
# the IMDSv1 role credentials. If you retrieve IAM role credentials
|
47078
|
+
# using a valid session token, you receive the IMDSv2 role
|
47079
|
+
# credentials.
|
47080
|
+
#
|
47081
|
+
# * `required` - IMDSv2 is required. You must send a session token in
|
47082
|
+
# your instance metadata retrieval requests. With this option,
|
47053
47083
|
# retrieving the IAM role credentials always returns IMDSv2
|
47054
47084
|
# credentials; IMDSv1 credentials are not available.
|
47055
47085
|
#
|
47056
|
-
# Default: `
|
47086
|
+
# Default: If the value of `ImdsSupport` for the Amazon Machine Image
|
47087
|
+
# (AMI) for your instance is `v2.0`, the default is `required`.
|
47057
47088
|
#
|
47058
47089
|
# @option params [Integer] :http_put_response_hop_limit
|
47059
47090
|
# The desired HTTP PUT response hop limit for instance metadata
|
@@ -56074,6 +56105,8 @@ module Aws::EC2
|
|
56074
56105
|
# resp.instances[0].block_device_mappings[0].ebs.delete_on_termination #=> Boolean
|
56075
56106
|
# resp.instances[0].block_device_mappings[0].ebs.status #=> String, one of "attaching", "attached", "detaching", "detached"
|
56076
56107
|
# resp.instances[0].block_device_mappings[0].ebs.volume_id #=> String
|
56108
|
+
# resp.instances[0].block_device_mappings[0].ebs.associated_resource #=> String
|
56109
|
+
# resp.instances[0].block_device_mappings[0].ebs.volume_owner_id #=> String
|
56077
56110
|
# resp.instances[0].client_token #=> String
|
56078
56111
|
# resp.instances[0].ebs_optimized #=> Boolean
|
56079
56112
|
# resp.instances[0].ena_support #=> Boolean
|
@@ -58675,7 +58708,7 @@ module Aws::EC2
|
|
58675
58708
|
params: params,
|
58676
58709
|
config: config)
|
58677
58710
|
context[:gem_name] = 'aws-sdk-ec2'
|
58678
|
-
context[:gem_version] = '1.
|
58711
|
+
context[:gem_version] = '1.433.0'
|
58679
58712
|
Seahorse::Client::Request.new(handlers, context)
|
58680
58713
|
end
|
58681
58714
|
|
@@ -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")
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1088,7 +1088,9 @@ module Aws::EC2
|
|
1088
1088
|
# Modifies the `DeleteOnTermination` attribute for volumes that are
|
1089
1089
|
# currently attached. The volume must be owned by the caller. If no
|
1090
1090
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
1091
|
-
# and the volume is deleted when the instance is terminated.
|
1091
|
+
# and the volume is deleted when the instance is terminated. You can't
|
1092
|
+
# modify the `DeleteOnTermination` attribute for volumes that are
|
1093
|
+
# attached to Fargate tasks.
|
1092
1094
|
#
|
1093
1095
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
1094
1096
|
# must add them when you launch the instance. For more information, see
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -16744,11 +16744,13 @@ module Aws::EC2
|
|
16744
16744
|
# @return [String]
|
16745
16745
|
#
|
16746
16746
|
# @!attribute [rw] max_results
|
16747
|
-
# The maximum number of
|
16748
|
-
# page
|
16749
|
-
#
|
16750
|
-
#
|
16751
|
-
#
|
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
|
16797
|
-
# page
|
16798
|
-
#
|
16799
|
-
#
|
16800
|
-
#
|
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
|
16866
|
-
# page
|
16867
|
-
#
|
16868
|
-
#
|
16869
|
-
#
|
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
|
@@ -30065,13 +30071,27 @@ module Aws::EC2
|
|
30065
30071
|
# The ID of the EBS volume.
|
30066
30072
|
# @return [String]
|
30067
30073
|
#
|
30074
|
+
# @!attribute [rw] associated_resource
|
30075
|
+
# The ARN of the Amazon ECS or Fargate task to which the volume is
|
30076
|
+
# attached.
|
30077
|
+
# @return [String]
|
30078
|
+
#
|
30079
|
+
# @!attribute [rw] volume_owner_id
|
30080
|
+
# The ID of the Amazon Web Services account that owns the volume.
|
30081
|
+
#
|
30082
|
+
# This parameter is returned only for volumes that are attached to
|
30083
|
+
# Fargate tasks.
|
30084
|
+
# @return [String]
|
30085
|
+
#
|
30068
30086
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice AWS API Documentation
|
30069
30087
|
#
|
30070
30088
|
class EbsInstanceBlockDevice < Struct.new(
|
30071
30089
|
:attach_time,
|
30072
30090
|
:delete_on_termination,
|
30073
30091
|
:status,
|
30074
|
-
:volume_id
|
30092
|
+
:volume_id,
|
30093
|
+
:associated_resource,
|
30094
|
+
:volume_owner_id)
|
30075
30095
|
SENSITIVE = []
|
30076
30096
|
include Aws::Structure
|
30077
30097
|
end
|
@@ -31187,6 +31207,9 @@ module Aws::EC2
|
|
31187
31207
|
# snapshots in the Region. Users in the account will no longer be
|
31188
31208
|
# able to request new public sharing. However, snapshots that are
|
31189
31209
|
# already publicly shared, remain publicly available.
|
31210
|
+
#
|
31211
|
+
# `unblocked` is not a valid value for
|
31212
|
+
# **EnableSnapshotBlockPublicAccess**.
|
31190
31213
|
# @return [String]
|
31191
31214
|
#
|
31192
31215
|
# @!attribute [rw] dry_run
|
@@ -33767,13 +33790,13 @@ module Aws::EC2
|
|
33767
33790
|
# @return [String]
|
33768
33791
|
#
|
33769
33792
|
# @!attribute [rw] max_results
|
33770
|
-
# The maximum number of
|
33771
|
-
# page
|
33772
|
-
#
|
33773
|
-
#
|
33774
|
-
#
|
33793
|
+
# The maximum number of items to return for this request. To get the
|
33794
|
+
# next page of items, make another request with the token returned in
|
33795
|
+
# the output. For more information, see [Pagination][1].
|
33796
|
+
#
|
33797
|
+
#
|
33775
33798
|
#
|
33776
|
-
#
|
33799
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
33777
33800
|
# @return [Integer]
|
33778
33801
|
#
|
33779
33802
|
# @!attribute [rw] dry_run
|
@@ -34174,11 +34197,13 @@ module Aws::EC2
|
|
34174
34197
|
# @return [String]
|
34175
34198
|
#
|
34176
34199
|
# @!attribute [rw] max_results
|
34177
|
-
# The maximum number of
|
34178
|
-
# page
|
34179
|
-
#
|
34180
|
-
#
|
34181
|
-
#
|
34200
|
+
# The maximum number of items to return for this request. To get the
|
34201
|
+
# next page of items, make another request with the token returned in
|
34202
|
+
# the output. For more information, see [Pagination][1].
|
34203
|
+
#
|
34204
|
+
#
|
34205
|
+
#
|
34206
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
34182
34207
|
# @return [Integer]
|
34183
34208
|
#
|
34184
34209
|
# @!attribute [rw] dry_run
|
@@ -35386,8 +35411,6 @@ module Aws::EC2
|
|
35386
35411
|
#
|
35387
35412
|
# @!attribute [rw] target_capacity_unit_type
|
35388
35413
|
# The unit for the target capacity.
|
35389
|
-
#
|
35390
|
-
# Default: `units` (translates to number of instances)
|
35391
35414
|
# @return [String]
|
35392
35415
|
#
|
35393
35416
|
# @!attribute [rw] single_availability_zone
|
@@ -39348,23 +39371,22 @@ module Aws::EC2
|
|
39348
39371
|
# The metadata options for the instance.
|
39349
39372
|
#
|
39350
39373
|
# @!attribute [rw] http_tokens
|
39351
|
-
# IMDSv2
|
39352
|
-
#
|
39353
|
-
# `
|
39354
|
-
#
|
39355
|
-
#
|
39356
|
-
#
|
39357
|
-
#
|
39358
|
-
#
|
39359
|
-
#
|
39360
|
-
#
|
39361
|
-
#
|
39362
|
-
#
|
39363
|
-
# token with any instance metadata retrieval requests. In this
|
39364
|
-
# state, retrieving the IAM role credentials always returns IMDSv2
|
39374
|
+
# Indicates whether IMDSv2 is required.
|
39375
|
+
#
|
39376
|
+
# * `optional` - IMDSv2 is optional. You can choose whether to send a
|
39377
|
+
# session token in your instance metadata retrieval requests. If you
|
39378
|
+
# retrieve IAM role credentials without a session token, you receive
|
39379
|
+
# the IMDSv1 role credentials. If you retrieve IAM role credentials
|
39380
|
+
# using a valid session token, you receive the IMDSv2 role
|
39381
|
+
# credentials.
|
39382
|
+
#
|
39383
|
+
# * `required` - IMDSv2 is required. You must send a session token in
|
39384
|
+
# your instance metadata retrieval requests. With this option,
|
39385
|
+
# retrieving the IAM role credentials always returns IMDSv2
|
39365
39386
|
# credentials; IMDSv1 credentials are not available.
|
39366
39387
|
#
|
39367
|
-
# Default: `
|
39388
|
+
# Default: If the value of `ImdsSupport` for the Amazon Machine Image
|
39389
|
+
# (AMI) for your instance is `v2.0`, the default is `required`.
|
39368
39390
|
# @return [String]
|
39369
39391
|
#
|
39370
39392
|
# @!attribute [rw] http_put_response_hop_limit
|
@@ -39429,24 +39451,19 @@ module Aws::EC2
|
|
39429
39451
|
# @return [String]
|
39430
39452
|
#
|
39431
39453
|
# @!attribute [rw] http_tokens
|
39432
|
-
#
|
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.
|
39454
|
+
# Indicates whether IMDSv2 is required.
|
39448
39455
|
#
|
39449
|
-
#
|
39456
|
+
# * `optional` - IMDSv2 is optional. You can choose whether to send a
|
39457
|
+
# session token in your instance metadata retrieval requests. If you
|
39458
|
+
# retrieve IAM role credentials without a session token, you receive
|
39459
|
+
# the IMDSv1 role credentials. If you retrieve IAM role credentials
|
39460
|
+
# using a valid session token, you receive the IMDSv2 role
|
39461
|
+
# credentials.
|
39462
|
+
#
|
39463
|
+
# * `required` - IMDSv2 is required. You must send a session token in
|
39464
|
+
# your instance metadata retrieval requests. With this option,
|
39465
|
+
# retrieving the IAM role credentials always returns IMDSv2
|
39466
|
+
# credentials; IMDSv1 credentials are not available.
|
39450
39467
|
# @return [String]
|
39451
39468
|
#
|
39452
39469
|
# @!attribute [rw] http_put_response_hop_limit
|
@@ -47051,7 +47068,9 @@ module Aws::EC2
|
|
47051
47068
|
# Modifies the `DeleteOnTermination` attribute for volumes that are
|
47052
47069
|
# currently attached. The volume must be owned by the caller. If no
|
47053
47070
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
47054
|
-
# and the volume is deleted when the instance is terminated.
|
47071
|
+
# and the volume is deleted when the instance is terminated. You
|
47072
|
+
# can't modify the `DeleteOnTermination` attribute for volumes that
|
47073
|
+
# are attached to Fargate tasks.
|
47055
47074
|
#
|
47056
47075
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
47057
47076
|
# must add them when you launch the instance. For more information,
|
@@ -47451,23 +47470,22 @@ module Aws::EC2
|
|
47451
47470
|
# @return [String]
|
47452
47471
|
#
|
47453
47472
|
# @!attribute [rw] http_tokens
|
47454
|
-
# IMDSv2
|
47455
|
-
#
|
47456
|
-
# `
|
47457
|
-
#
|
47458
|
-
#
|
47459
|
-
#
|
47460
|
-
#
|
47461
|
-
#
|
47462
|
-
#
|
47463
|
-
#
|
47464
|
-
#
|
47465
|
-
#
|
47466
|
-
# token with any instance metadata retrieval requests. In this
|
47467
|
-
# state, retrieving the IAM role credentials always returns IMDSv2
|
47473
|
+
# Indicates whether IMDSv2 is required.
|
47474
|
+
#
|
47475
|
+
# * `optional` - IMDSv2 is optional. You can choose whether to send a
|
47476
|
+
# session token in your instance metadata retrieval requests. If you
|
47477
|
+
# retrieve IAM role credentials without a session token, you receive
|
47478
|
+
# the IMDSv1 role credentials. If you retrieve IAM role credentials
|
47479
|
+
# using a valid session token, you receive the IMDSv2 role
|
47480
|
+
# credentials.
|
47481
|
+
#
|
47482
|
+
# * `required` - IMDSv2 is required. You must send a session token in
|
47483
|
+
# your instance metadata retrieval requests. With this option,
|
47484
|
+
# retrieving the IAM role credentials always returns IMDSv2
|
47468
47485
|
# credentials; IMDSv1 credentials are not available.
|
47469
47486
|
#
|
47470
|
-
# Default: `
|
47487
|
+
# Default: If the value of `ImdsSupport` for the Amazon Machine Image
|
47488
|
+
# (AMI) for your instance is `v2.0`, the default is `required`.
|
47471
47489
|
# @return [String]
|
47472
47490
|
#
|
47473
47491
|
# @!attribute [rw] http_put_response_hop_limit
|
@@ -59171,6 +59189,16 @@ module Aws::EC2
|
|
59171
59189
|
# network interface, not an existing one. You cannot specify more than
|
59172
59190
|
# one network interface in the request. If launching into a default
|
59173
59191
|
# subnet, the default value is `true`.
|
59192
|
+
#
|
59193
|
+
# Starting on February 1, 2024, Amazon Web Services will charge for
|
59194
|
+
# all public IPv4 addresses, including public IPv4 addresses
|
59195
|
+
# associated with running instances and Elastic IP addresses. For more
|
59196
|
+
# information, see the *Public IPv4 Address* tab on the [Amazon VPC
|
59197
|
+
# pricing page][1].
|
59198
|
+
#
|
59199
|
+
#
|
59200
|
+
#
|
59201
|
+
# [1]: http://aws.amazon.com/vpc/pricing/
|
59174
59202
|
# @return [Boolean]
|
59175
59203
|
#
|
59176
59204
|
# @!attribute [rw] delete_on_termination
|
@@ -61201,10 +61229,10 @@ module Aws::EC2
|
|
61201
61229
|
# @return [String]
|
61202
61230
|
#
|
61203
61231
|
# @!attribute [rw] target_capacity_unit_type
|
61204
|
-
# The unit for the target capacity.
|
61205
|
-
#
|
61232
|
+
# The unit for the target capacity. You can specify this parameter
|
61233
|
+
# only when using attribute-based instance type selection.
|
61206
61234
|
#
|
61207
|
-
# Default: `units` (
|
61235
|
+
# Default: `units` (the number of instances)
|
61208
61236
|
# @return [String]
|
61209
61237
|
#
|
61210
61238
|
# @!attribute [rw] tag_specifications
|
@@ -62273,7 +62301,7 @@ module Aws::EC2
|
|
62273
62301
|
# because of an increase in the Spot price.
|
62274
62302
|
#
|
62275
62303
|
# * `Client.InstanceInitiatedShutdown`: The instance was shut down
|
62276
|
-
#
|
62304
|
+
# from the operating system of the instance.
|
62277
62305
|
#
|
62278
62306
|
# * `Client.InstanceTerminated`: The instance was terminated or
|
62279
62307
|
# rebooted during AMI creation.
|
@@ -62883,8 +62911,8 @@ module Aws::EC2
|
|
62883
62911
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions
|
62884
62912
|
#
|
62885
62913
|
# @!attribute [rw] total_target_capacity
|
62886
|
-
# The number of units to request, filled
|
62887
|
-
#
|
62914
|
+
# The number of units to request, filled the default target capacity
|
62915
|
+
# type.
|
62888
62916
|
# @return [Integer]
|
62889
62917
|
#
|
62890
62918
|
# @!attribute [rw] on_demand_target_capacity
|
@@ -62900,15 +62928,11 @@ module Aws::EC2
|
|
62900
62928
|
# @return [Integer]
|
62901
62929
|
#
|
62902
62930
|
# @!attribute [rw] default_target_capacity_type
|
62903
|
-
# The default
|
62904
|
-
# `On-Demand`.
|
62931
|
+
# The default target capacity type.
|
62905
62932
|
# @return [String]
|
62906
62933
|
#
|
62907
62934
|
# @!attribute [rw] target_capacity_unit_type
|
62908
|
-
# The unit for the target capacity.
|
62909
|
-
# be specified when `InstanceRequirements` is specified.
|
62910
|
-
#
|
62911
|
-
# Default: `units` (translates to number of instances)
|
62935
|
+
# The unit for the target capacity.
|
62912
62936
|
# @return [String]
|
62913
62937
|
#
|
62914
62938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetCapacitySpecification AWS API Documentation
|
@@ -62937,7 +62961,7 @@ module Aws::EC2
|
|
62937
62961
|
# request, EC2 Fleet will launch instances until it reaches the maximum
|
62938
62962
|
# amount that you're willing to pay. When the maximum amount you're
|
62939
62963
|
# willing to pay is reached, the fleet stops launching instances even if
|
62940
|
-
# it hasn
|
62964
|
+
# it hasn't met the target capacity. The `MaxTotalPrice` parameters are
|
62941
62965
|
# located in [OnDemandOptionsRequest][1] and [SpotOptionsRequest][2].
|
62942
62966
|
#
|
62943
62967
|
#
|
@@ -62946,8 +62970,8 @@ module Aws::EC2
|
|
62946
62970
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest
|
62947
62971
|
#
|
62948
62972
|
# @!attribute [rw] total_target_capacity
|
62949
|
-
# The number of units to request, filled using
|
62950
|
-
#
|
62973
|
+
# The number of units to request, filled using the default target
|
62974
|
+
# capacity type.
|
62951
62975
|
# @return [Integer]
|
62952
62976
|
#
|
62953
62977
|
# @!attribute [rw] on_demand_target_capacity
|
@@ -62959,15 +62983,14 @@ module Aws::EC2
|
|
62959
62983
|
# @return [Integer]
|
62960
62984
|
#
|
62961
62985
|
# @!attribute [rw] default_target_capacity_type
|
62962
|
-
# The default
|
62963
|
-
# `On-Demand`.
|
62986
|
+
# The default target capacity type.
|
62964
62987
|
# @return [String]
|
62965
62988
|
#
|
62966
62989
|
# @!attribute [rw] target_capacity_unit_type
|
62967
|
-
# The unit for the target capacity.
|
62968
|
-
#
|
62990
|
+
# The unit for the target capacity. You can specify this parameter
|
62991
|
+
# only when using attributed-based instance type selection.
|
62969
62992
|
#
|
62970
|
-
# Default: `units` (
|
62993
|
+
# Default: `units` (the number of instances)
|
62971
62994
|
# @return [String]
|
62972
62995
|
#
|
62973
62996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetCapacitySpecificationRequest AWS API Documentation
|
@@ -66756,10 +66779,16 @@ module Aws::EC2
|
|
66756
66779
|
#
|
66757
66780
|
# @!attribute [rw] device
|
66758
66781
|
# The device name.
|
66782
|
+
#
|
66783
|
+
# If the volume is attached to a Fargate task, this parameter returns
|
66784
|
+
# `null`.
|
66759
66785
|
# @return [String]
|
66760
66786
|
#
|
66761
66787
|
# @!attribute [rw] instance_id
|
66762
66788
|
# The ID of the instance.
|
66789
|
+
#
|
66790
|
+
# If the volume is attached to a Fargate task, this parameter returns
|
66791
|
+
# `null`.
|
66763
66792
|
# @return [String]
|
66764
66793
|
#
|
66765
66794
|
# @!attribute [rw] state
|
@@ -66774,6 +66803,19 @@ module Aws::EC2
|
|
66774
66803
|
# Indicates whether the EBS volume is deleted on instance termination.
|
66775
66804
|
# @return [Boolean]
|
66776
66805
|
#
|
66806
|
+
# @!attribute [rw] associated_resource
|
66807
|
+
# The ARN of the Amazon ECS or Fargate task to which the volume is
|
66808
|
+
# attached.
|
66809
|
+
# @return [String]
|
66810
|
+
#
|
66811
|
+
# @!attribute [rw] instance_owning_service
|
66812
|
+
# The service principal of Amazon Web Services service that owns the
|
66813
|
+
# underlying instance to which the volume is attached.
|
66814
|
+
#
|
66815
|
+
# This parameter is returned only for volumes that are attached to
|
66816
|
+
# Fargate tasks.
|
66817
|
+
# @return [String]
|
66818
|
+
#
|
66777
66819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeAttachment AWS API Documentation
|
66778
66820
|
#
|
66779
66821
|
class VolumeAttachment < Struct.new(
|
@@ -66782,7 +66824,9 @@ module Aws::EC2
|
|
66782
66824
|
:instance_id,
|
66783
66825
|
:state,
|
66784
66826
|
:volume_id,
|
66785
|
-
:delete_on_termination
|
66827
|
+
:delete_on_termination,
|
66828
|
+
:associated_resource,
|
66829
|
+
:instance_owning_service)
|
66786
66830
|
SENSITIVE = []
|
66787
66831
|
include Aws::Structure
|
66788
66832
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.
|
4
|
+
version: 1.433.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-
|
11
|
+
date: 2024-01-11 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.
|
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: []
|