aws-sdk-ec2 1.645.0 → 1.647.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 +53 -1
- data/lib/aws-sdk-ec2/client_api.rb +6 -0
- data/lib/aws-sdk-ec2/instance.rb +24 -0
- data/lib/aws-sdk-ec2/types.rb +58 -1
- data/lib/aws-sdk-ec2/volume.rb +12 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +6 -1
- data/sig/instance.rbs +1 -0
- data/sig/types.rbs +5 -0
- data/sig/volume.rbs +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25b4071b534beb2d1341be1103b6da6fcbc1aeec0b36802d0a84a89cb0d5dc15
|
|
4
|
+
data.tar.gz: 4497fe9e7bd1b7d0d0c5d71408f65554afe89ffb29c133eb2055f41274e4c6fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 913ff802c742ac3ed54f71f828896439e0f00b18409bee7011ab626c1199daa41ffeb7e23b3a2fca539660ab976bdaf1eb82f1474349062a44e4a598e1eb7fde
|
|
7
|
+
data.tar.gz: 8b824ef303458048b380d26ebb247037361ba847ee22c64990a636f2e22ef99e824b80b21899b9c6d3a241362a80560c5220ce87ab2d80c6087b528754b01bb3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.647.0 (2026-09-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The CreateImage API now supports a BootModeOverride parameter to explicitly set UEFI boot mode on a new AMI, overriding the source instance's inherited boot mode.
|
|
8
|
+
|
|
9
|
+
1.646.0 (2026-09-09)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for sharing Amazon EBS volumes across AWS accounts using AWS Resource Access Manager (RAM). Consuming accounts can view shared volume metadata and create copies of shared volumes within the same Availability Zone, with optional re-encryption using their own KMS key.
|
|
13
|
+
|
|
4
14
|
1.645.0 (2026-09-08)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.647.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -5926,6 +5926,23 @@ module Aws::EC2
|
|
|
5926
5926
|
#
|
|
5927
5927
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
5928
5928
|
#
|
|
5929
|
+
# @option params [Boolean] :encrypted
|
|
5930
|
+
# Indicates whether to encrypt the volume copy. If the source volume is
|
|
5931
|
+
# encrypted, the service always encrypts the copy regardless of this
|
|
5932
|
+
# value. Set to `true` to encrypt a copy of an unencrypted source volume
|
|
5933
|
+
# during the copy operation. If you set `Encrypted` to `true` but do not
|
|
5934
|
+
# specify `KmsKeyId`, the service uses the default KMS key for EBS
|
|
5935
|
+
# encryption in your account.
|
|
5936
|
+
#
|
|
5937
|
+
# @option params [String] :kms_key_id
|
|
5938
|
+
# The identifier of the KMS key to use for encryption of the volume
|
|
5939
|
+
# copy. Specify a symmetric encryption KMS key. You can specify a KMS
|
|
5940
|
+
# key using the key ID, key ARN, alias name, or alias ARN. If you set
|
|
5941
|
+
# `Encrypted` to `true` but do not specify this parameter, the service
|
|
5942
|
+
# uses the default KMS key for EBS encryption in your account. For
|
|
5943
|
+
# cross-account volume copies, this must be a KMS key in the calling
|
|
5944
|
+
# account.
|
|
5945
|
+
#
|
|
5929
5946
|
# @return [Types::CopyVolumesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5930
5947
|
#
|
|
5931
5948
|
# * {Types::CopyVolumesResult#volumes #volumes} => Array<Types::Volume>
|
|
@@ -5952,6 +5969,8 @@ module Aws::EC2
|
|
|
5952
5969
|
# multi_attach_enabled: false,
|
|
5953
5970
|
# throughput: 1,
|
|
5954
5971
|
# client_token: "String",
|
|
5972
|
+
# encrypted: false,
|
|
5973
|
+
# kms_key_id: "KmsKeyId",
|
|
5955
5974
|
# })
|
|
5956
5975
|
#
|
|
5957
5976
|
# @example Response structure
|
|
@@ -5973,6 +5992,8 @@ module Aws::EC2
|
|
|
5973
5992
|
# resp.volumes[0].operator.principal #=> String
|
|
5974
5993
|
# resp.volumes[0].operator.hidden_by_default #=> Boolean
|
|
5975
5994
|
# resp.volumes[0].volume_initialization_rate #=> Integer
|
|
5995
|
+
# resp.volumes[0].volume_arn #=> String
|
|
5996
|
+
# resp.volumes[0].owner_id #=> String
|
|
5976
5997
|
# resp.volumes[0].volume_id #=> String
|
|
5977
5998
|
# resp.volumes[0].size #=> Integer
|
|
5978
5999
|
# resp.volumes[0].snapshot_id #=> String
|
|
@@ -9087,6 +9108,30 @@ module Aws::EC2
|
|
|
9087
9108
|
#
|
|
9088
9109
|
# Default: `regional` (for instances in Local Zones only)
|
|
9089
9110
|
#
|
|
9111
|
+
# @option params [String] :boot_mode_override
|
|
9112
|
+
# The boot mode of the new image, which overrides the default boot mode.
|
|
9113
|
+
# By default, if you do not specify this parameter, the new image
|
|
9114
|
+
# inherits the `boot-mode` from the source instance.
|
|
9115
|
+
#
|
|
9116
|
+
# A value of `uefi` indicates that the image only supports UEFI boot
|
|
9117
|
+
# mode. You can specify this parameter only if the
|
|
9118
|
+
# `current-instance-boot-mode` of the source instance is `uefi`. To find
|
|
9119
|
+
# the `boot-mode` or `current-instance-boot-mode` of an instance, see
|
|
9120
|
+
# [DescribeInstances][1].
|
|
9121
|
+
#
|
|
9122
|
+
# <note markdown="1"> The operating system contained in the AMI must be configured to
|
|
9123
|
+
# support the specified boot mode.
|
|
9124
|
+
#
|
|
9125
|
+
# </note>
|
|
9126
|
+
#
|
|
9127
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
|
9128
|
+
# boot modes][2] in the *Amazon EC2 User Guide*.
|
|
9129
|
+
#
|
|
9130
|
+
#
|
|
9131
|
+
#
|
|
9132
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
|
9133
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
9134
|
+
#
|
|
9090
9135
|
# @option params [Boolean] :dry_run
|
|
9091
9136
|
# Checks whether you have the required permissions for the action,
|
|
9092
9137
|
# without actually making the request, and provides an error response.
|
|
@@ -9189,6 +9234,7 @@ module Aws::EC2
|
|
|
9189
9234
|
# },
|
|
9190
9235
|
# ],
|
|
9191
9236
|
# snapshot_location: "regional", # accepts regional, local
|
|
9237
|
+
# boot_mode_override: "uefi", # accepts uefi
|
|
9192
9238
|
# dry_run: false,
|
|
9193
9239
|
# instance_id: "InstanceId", # required
|
|
9194
9240
|
# name: "ImageNameRequest", # required
|
|
@@ -18896,6 +18942,8 @@ module Aws::EC2
|
|
|
18896
18942
|
# * {Types::Volume#sse_type #sse_type} => String
|
|
18897
18943
|
# * {Types::Volume#operator #operator} => Types::OperatorResponse
|
|
18898
18944
|
# * {Types::Volume#volume_initialization_rate #volume_initialization_rate} => Integer
|
|
18945
|
+
# * {Types::Volume#volume_arn #volume_arn} => String
|
|
18946
|
+
# * {Types::Volume#owner_id #owner_id} => String
|
|
18899
18947
|
# * {Types::Volume#volume_id #volume_id} => String
|
|
18900
18948
|
# * {Types::Volume#size #size} => Integer
|
|
18901
18949
|
# * {Types::Volume#snapshot_id #snapshot_id} => String
|
|
@@ -19009,6 +19057,8 @@ module Aws::EC2
|
|
|
19009
19057
|
# resp.operator.principal #=> String
|
|
19010
19058
|
# resp.operator.hidden_by_default #=> Boolean
|
|
19011
19059
|
# resp.volume_initialization_rate #=> Integer
|
|
19060
|
+
# resp.volume_arn #=> String
|
|
19061
|
+
# resp.owner_id #=> String
|
|
19012
19062
|
# resp.volume_id #=> String
|
|
19013
19063
|
# resp.size #=> Integer
|
|
19014
19064
|
# resp.snapshot_id #=> String
|
|
@@ -47392,6 +47442,8 @@ module Aws::EC2
|
|
|
47392
47442
|
# resp.volumes[0].operator.principal #=> String
|
|
47393
47443
|
# resp.volumes[0].operator.hidden_by_default #=> Boolean
|
|
47394
47444
|
# resp.volumes[0].volume_initialization_rate #=> Integer
|
|
47445
|
+
# resp.volumes[0].volume_arn #=> String
|
|
47446
|
+
# resp.volumes[0].owner_id #=> String
|
|
47395
47447
|
# resp.volumes[0].volume_id #=> String
|
|
47396
47448
|
# resp.volumes[0].size #=> Integer
|
|
47397
47449
|
# resp.volumes[0].snapshot_id #=> String
|
|
@@ -77380,7 +77432,7 @@ module Aws::EC2
|
|
|
77380
77432
|
tracer: tracer
|
|
77381
77433
|
)
|
|
77382
77434
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
77383
|
-
context[:gem_version] = '1.
|
|
77435
|
+
context[:gem_version] = '1.647.0'
|
|
77384
77436
|
Seahorse::Client::Request.new(handlers, context)
|
|
77385
77437
|
end
|
|
77386
77438
|
|
|
@@ -291,6 +291,7 @@ module Aws::EC2
|
|
|
291
291
|
BlockPublicAccessMode = Shapes::StringShape.new(name: 'BlockPublicAccessMode')
|
|
292
292
|
BlockPublicAccessStates = Shapes::StructureShape.new(name: 'BlockPublicAccessStates')
|
|
293
293
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
294
|
+
BootModeOverrideValues = Shapes::StringShape.new(name: 'BootModeOverrideValues')
|
|
294
295
|
BootModeType = Shapes::StringShape.new(name: 'BootModeType')
|
|
295
296
|
BootModeTypeList = Shapes::ListShape.new(name: 'BootModeTypeList')
|
|
296
297
|
BootModeValues = Shapes::StringShape.new(name: 'BootModeValues')
|
|
@@ -6037,6 +6038,8 @@ module Aws::EC2
|
|
|
6037
6038
|
CopyVolumesRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
|
|
6038
6039
|
CopyVolumesRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
|
6039
6040
|
CopyVolumesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
6041
|
+
CopyVolumesRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
|
6042
|
+
CopyVolumesRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
|
6040
6043
|
CopyVolumesRequest.struct_class = Types::CopyVolumesRequest
|
|
6041
6044
|
|
|
6042
6045
|
CopyVolumesResult.add_member(:volumes, Shapes::ShapeRef.new(shape: VolumeList, location_name: "volumeSet"))
|
|
@@ -6369,6 +6372,7 @@ module Aws::EC2
|
|
|
6369
6372
|
|
|
6370
6373
|
CreateImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
6371
6374
|
CreateImageRequest.add_member(:snapshot_location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "SnapshotLocation"))
|
|
6375
|
+
CreateImageRequest.add_member(:boot_mode_override, Shapes::ShapeRef.new(shape: BootModeOverrideValues, location_name: "BootModeOverride"))
|
|
6372
6376
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
6373
6377
|
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
|
6374
6378
|
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImageNameRequest, required: true, location_name: "name"))
|
|
@@ -20335,6 +20339,8 @@ module Aws::EC2
|
|
|
20335
20339
|
Volume.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
|
|
20336
20340
|
Volume.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
20337
20341
|
Volume.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeInitializationRate"))
|
|
20342
|
+
Volume.add_member(:volume_arn, Shapes::ShapeRef.new(shape: String, location_name: "volumeArn"))
|
|
20343
|
+
Volume.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
|
20338
20344
|
Volume.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
|
20339
20345
|
Volume.add_member(:size, Shapes::ShapeRef.new(shape: Integer, location_name: "size"))
|
|
20340
20346
|
Volume.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -805,6 +805,7 @@ module Aws::EC2
|
|
|
805
805
|
# },
|
|
806
806
|
# ],
|
|
807
807
|
# snapshot_location: "regional", # accepts regional, local
|
|
808
|
+
# boot_mode_override: "uefi", # accepts uefi
|
|
808
809
|
# dry_run: false,
|
|
809
810
|
# name: "ImageNameRequest", # required
|
|
810
811
|
# description: "ImageDescriptionRequest",
|
|
@@ -875,6 +876,29 @@ module Aws::EC2
|
|
|
875
876
|
# `InvalidParameterValue` error.
|
|
876
877
|
#
|
|
877
878
|
# Default: `regional` (for instances in Local Zones only)
|
|
879
|
+
# @option options [String] :boot_mode_override
|
|
880
|
+
# The boot mode of the new image, which overrides the default boot mode.
|
|
881
|
+
# By default, if you do not specify this parameter, the new image
|
|
882
|
+
# inherits the `boot-mode` from the source instance.
|
|
883
|
+
#
|
|
884
|
+
# A value of `uefi` indicates that the image only supports UEFI boot
|
|
885
|
+
# mode. You can specify this parameter only if the
|
|
886
|
+
# `current-instance-boot-mode` of the source instance is `uefi`. To find
|
|
887
|
+
# the `boot-mode` or `current-instance-boot-mode` of an instance, see
|
|
888
|
+
# [DescribeInstances][1].
|
|
889
|
+
#
|
|
890
|
+
# <note markdown="1"> The operating system contained in the AMI must be configured to
|
|
891
|
+
# support the specified boot mode.
|
|
892
|
+
#
|
|
893
|
+
# </note>
|
|
894
|
+
#
|
|
895
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
|
896
|
+
# boot modes][2] in the *Amazon EC2 User Guide*.
|
|
897
|
+
#
|
|
898
|
+
#
|
|
899
|
+
#
|
|
900
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
|
901
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
878
902
|
# @option options [Boolean] :dry_run
|
|
879
903
|
# Checks whether you have the required permissions for the action,
|
|
880
904
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -9434,6 +9434,25 @@ module Aws::EC2
|
|
|
9434
9434
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
|
9435
9435
|
# @return [String]
|
|
9436
9436
|
#
|
|
9437
|
+
# @!attribute [rw] encrypted
|
|
9438
|
+
# Indicates whether to encrypt the volume copy. If the source volume
|
|
9439
|
+
# is encrypted, the service always encrypts the copy regardless of
|
|
9440
|
+
# this value. Set to `true` to encrypt a copy of an unencrypted source
|
|
9441
|
+
# volume during the copy operation. If you set `Encrypted` to `true`
|
|
9442
|
+
# but do not specify `KmsKeyId`, the service uses the default KMS key
|
|
9443
|
+
# for EBS encryption in your account.
|
|
9444
|
+
# @return [Boolean]
|
|
9445
|
+
#
|
|
9446
|
+
# @!attribute [rw] kms_key_id
|
|
9447
|
+
# The identifier of the KMS key to use for encryption of the volume
|
|
9448
|
+
# copy. Specify a symmetric encryption KMS key. You can specify a KMS
|
|
9449
|
+
# key using the key ID, key ARN, alias name, or alias ARN. If you set
|
|
9450
|
+
# `Encrypted` to `true` but do not specify this parameter, the service
|
|
9451
|
+
# uses the default KMS key for EBS encryption in your account. For
|
|
9452
|
+
# cross-account volume copies, this must be a KMS key in the calling
|
|
9453
|
+
# account.
|
|
9454
|
+
# @return [String]
|
|
9455
|
+
#
|
|
9437
9456
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyVolumesRequest AWS API Documentation
|
|
9438
9457
|
#
|
|
9439
9458
|
class CopyVolumesRequest < Struct.new(
|
|
@@ -9445,7 +9464,9 @@ module Aws::EC2
|
|
|
9445
9464
|
:tag_specifications,
|
|
9446
9465
|
:multi_attach_enabled,
|
|
9447
9466
|
:throughput,
|
|
9448
|
-
:client_token
|
|
9467
|
+
:client_token,
|
|
9468
|
+
:encrypted,
|
|
9469
|
+
:kms_key_id)
|
|
9449
9470
|
SENSITIVE = []
|
|
9450
9471
|
include Aws::Structure
|
|
9451
9472
|
end
|
|
@@ -11715,6 +11736,31 @@ module Aws::EC2
|
|
|
11715
11736
|
# Default: `regional` (for instances in Local Zones only)
|
|
11716
11737
|
# @return [String]
|
|
11717
11738
|
#
|
|
11739
|
+
# @!attribute [rw] boot_mode_override
|
|
11740
|
+
# The boot mode of the new image, which overrides the default boot
|
|
11741
|
+
# mode. By default, if you do not specify this parameter, the new
|
|
11742
|
+
# image inherits the `boot-mode` from the source instance.
|
|
11743
|
+
#
|
|
11744
|
+
# A value of `uefi` indicates that the image only supports UEFI boot
|
|
11745
|
+
# mode. You can specify this parameter only if the
|
|
11746
|
+
# `current-instance-boot-mode` of the source instance is `uefi`. To
|
|
11747
|
+
# find the `boot-mode` or `current-instance-boot-mode` of an instance,
|
|
11748
|
+
# see [DescribeInstances][1].
|
|
11749
|
+
#
|
|
11750
|
+
# <note markdown="1"> The operating system contained in the AMI must be configured to
|
|
11751
|
+
# support the specified boot mode.
|
|
11752
|
+
#
|
|
11753
|
+
# </note>
|
|
11754
|
+
#
|
|
11755
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
|
11756
|
+
# boot modes][2] in the *Amazon EC2 User Guide*.
|
|
11757
|
+
#
|
|
11758
|
+
#
|
|
11759
|
+
#
|
|
11760
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
|
11761
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
11762
|
+
# @return [String]
|
|
11763
|
+
#
|
|
11718
11764
|
# @!attribute [rw] dry_run
|
|
11719
11765
|
# Checks whether you have the required permissions for the action,
|
|
11720
11766
|
# without actually making the request, and provides an error response.
|
|
@@ -11780,6 +11826,7 @@ module Aws::EC2
|
|
|
11780
11826
|
class CreateImageRequest < Struct.new(
|
|
11781
11827
|
:tag_specifications,
|
|
11782
11828
|
:snapshot_location,
|
|
11829
|
+
:boot_mode_override,
|
|
11783
11830
|
:dry_run,
|
|
11784
11831
|
:instance_id,
|
|
11785
11832
|
:name,
|
|
@@ -90382,6 +90429,14 @@ module Aws::EC2
|
|
|
90382
90429
|
# `null`.
|
|
90383
90430
|
# @return [Integer]
|
|
90384
90431
|
#
|
|
90432
|
+
# @!attribute [rw] volume_arn
|
|
90433
|
+
# The Amazon Resource Name (ARN) of the volume.
|
|
90434
|
+
# @return [String]
|
|
90435
|
+
#
|
|
90436
|
+
# @!attribute [rw] owner_id
|
|
90437
|
+
# The ID of the Amazon Web Services account that owns the volume.
|
|
90438
|
+
# @return [String]
|
|
90439
|
+
#
|
|
90385
90440
|
# @!attribute [rw] volume_id
|
|
90386
90441
|
# The ID of the volume.
|
|
90387
90442
|
# @return [String]
|
|
@@ -90438,6 +90493,8 @@ module Aws::EC2
|
|
|
90438
90493
|
:sse_type,
|
|
90439
90494
|
:operator,
|
|
90440
90495
|
:volume_initialization_rate,
|
|
90496
|
+
:volume_arn,
|
|
90497
|
+
:owner_id,
|
|
90441
90498
|
:volume_id,
|
|
90442
90499
|
:size,
|
|
90443
90500
|
:snapshot_id,
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
|
@@ -123,6 +123,18 @@ module Aws::EC2
|
|
|
123
123
|
data[:volume_initialization_rate]
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
+
# The Amazon Resource Name (ARN) of the volume.
|
|
127
|
+
# @return [String]
|
|
128
|
+
def volume_arn
|
|
129
|
+
data[:volume_arn]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# The ID of the Amazon Web Services account that owns the volume.
|
|
133
|
+
# @return [String]
|
|
134
|
+
def owner_id
|
|
135
|
+
data[:owner_id]
|
|
136
|
+
end
|
|
137
|
+
|
|
126
138
|
# The size of the volume, in GiBs.
|
|
127
139
|
# @return [Integer]
|
|
128
140
|
def size
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1122,7 +1122,9 @@ module Aws
|
|
|
1122
1122
|
],
|
|
1123
1123
|
?multi_attach_enabled: bool,
|
|
1124
1124
|
?throughput: ::Integer,
|
|
1125
|
-
?client_token: ::String
|
|
1125
|
+
?client_token: ::String,
|
|
1126
|
+
?encrypted: bool,
|
|
1127
|
+
?kms_key_id: ::String
|
|
1126
1128
|
) -> _CopyVolumesResponseSuccess
|
|
1127
1129
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyVolumesResponseSuccess
|
|
1128
1130
|
|
|
@@ -1770,6 +1772,7 @@ module Aws
|
|
|
1770
1772
|
}
|
|
1771
1773
|
],
|
|
1772
1774
|
?snapshot_location: ("regional" | "local"),
|
|
1775
|
+
?boot_mode_override: ("uefi"),
|
|
1773
1776
|
?dry_run: bool,
|
|
1774
1777
|
instance_id: ::String,
|
|
1775
1778
|
name: ::String,
|
|
@@ -3876,6 +3879,8 @@ module Aws
|
|
|
3876
3879
|
def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
|
|
3877
3880
|
def operator: () -> Types::OperatorResponse
|
|
3878
3881
|
def volume_initialization_rate: () -> ::Integer
|
|
3882
|
+
def volume_arn: () -> ::String
|
|
3883
|
+
def owner_id: () -> ::String
|
|
3879
3884
|
def volume_id: () -> ::String
|
|
3880
3885
|
def size: () -> ::Integer
|
|
3881
3886
|
def snapshot_id: () -> ::String
|
data/sig/instance.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -2109,6 +2109,8 @@ module Aws::EC2
|
|
|
2109
2109
|
attr_accessor multi_attach_enabled: bool
|
|
2110
2110
|
attr_accessor throughput: ::Integer
|
|
2111
2111
|
attr_accessor client_token: ::String
|
|
2112
|
+
attr_accessor encrypted: bool
|
|
2113
|
+
attr_accessor kms_key_id: ::String
|
|
2112
2114
|
SENSITIVE: []
|
|
2113
2115
|
end
|
|
2114
2116
|
|
|
@@ -2529,6 +2531,7 @@ module Aws::EC2
|
|
|
2529
2531
|
class CreateImageRequest
|
|
2530
2532
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
2531
2533
|
attr_accessor snapshot_location: ("regional" | "local")
|
|
2534
|
+
attr_accessor boot_mode_override: ("uefi")
|
|
2532
2535
|
attr_accessor dry_run: bool
|
|
2533
2536
|
attr_accessor instance_id: ::String
|
|
2534
2537
|
attr_accessor name: ::String
|
|
@@ -19561,6 +19564,8 @@ module Aws::EC2
|
|
|
19561
19564
|
attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
|
|
19562
19565
|
attr_accessor operator: Types::OperatorResponse
|
|
19563
19566
|
attr_accessor volume_initialization_rate: ::Integer
|
|
19567
|
+
attr_accessor volume_arn: ::String
|
|
19568
|
+
attr_accessor owner_id: ::String
|
|
19564
19569
|
attr_accessor volume_id: ::String
|
|
19565
19570
|
attr_accessor size: ::Integer
|
|
19566
19571
|
attr_accessor snapshot_id: ::String
|
data/sig/volume.rbs
CHANGED
|
@@ -54,6 +54,12 @@ module Aws
|
|
|
54
54
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#volume_initialization_rate-instance_method
|
|
55
55
|
def volume_initialization_rate: () -> ::Integer
|
|
56
56
|
|
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#volume_arn-instance_method
|
|
58
|
+
def volume_arn: () -> ::String
|
|
59
|
+
|
|
60
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#owner_id-instance_method
|
|
61
|
+
def owner_id: () -> ::String
|
|
62
|
+
|
|
57
63
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#size-instance_method
|
|
58
64
|
def size: () -> ::Integer
|
|
59
65
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.647.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.255.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.255.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|