aws-sdk-ec2 1.645.0 → 1.646.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: d0b9c6c6d556882ac208f6c7af592ebe058b1c043745eba2ccdf5c221c0088ec
4
- data.tar.gz: cf09a839c34d2c1e839395c46d10f4684fdc072e09ad086862406351acc1efc4
3
+ metadata.gz: cbe557a6feb61abc94c7d16acde1e2311955bfa096681df3c1bd0ae58189565b
4
+ data.tar.gz: 96f254ca5b1acf8a371d99530272aa5cece647a6948a35db75196338b666fc89
5
5
  SHA512:
6
- metadata.gz: ee77815e91f9c474e7066c3ce5d28d21f67925a5073d36ab4eeb6db0e5f2454bf2994233b1333f1139da14760e310944e1f618a411b7d222e112fea267a48622
7
- data.tar.gz: 31c409b873d43ddcf44ac2467df7165633248d091eec9cae205fb2adc6c81afdfe8824facbde03e0c0f3555e18334a7e135fc1de1276a968704635b0aea2cfcf
6
+ metadata.gz: aff88d07222e104e74bffa434d647bb3f68697ef04e852d837df3dfc0061ab43bd3ca754e1d281d0b945355728bab6b3fcc6df0b5ff54821ce746bdf3127818c
7
+ data.tar.gz: 034a74304e5a4968483ff1c78cc1a408788297bd99245ab90dcf98cc3bcfce7051b15f573b361767d4fe429ae40191bc847b38d7e3ca12a83af50b0984ac3d97
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.646.0 (2026-09-09)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.645.0 (2026-09-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.645.0
1
+ 1.646.0
@@ -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
@@ -18896,6 +18917,8 @@ module Aws::EC2
18896
18917
  # * {Types::Volume#sse_type #sse_type} => String
18897
18918
  # * {Types::Volume#operator #operator} => Types::OperatorResponse
18898
18919
  # * {Types::Volume#volume_initialization_rate #volume_initialization_rate} => Integer
18920
+ # * {Types::Volume#volume_arn #volume_arn} => String
18921
+ # * {Types::Volume#owner_id #owner_id} => String
18899
18922
  # * {Types::Volume#volume_id #volume_id} => String
18900
18923
  # * {Types::Volume#size #size} => Integer
18901
18924
  # * {Types::Volume#snapshot_id #snapshot_id} => String
@@ -19009,6 +19032,8 @@ module Aws::EC2
19009
19032
  # resp.operator.principal #=> String
19010
19033
  # resp.operator.hidden_by_default #=> Boolean
19011
19034
  # resp.volume_initialization_rate #=> Integer
19035
+ # resp.volume_arn #=> String
19036
+ # resp.owner_id #=> String
19012
19037
  # resp.volume_id #=> String
19013
19038
  # resp.size #=> Integer
19014
19039
  # resp.snapshot_id #=> String
@@ -47392,6 +47417,8 @@ module Aws::EC2
47392
47417
  # resp.volumes[0].operator.principal #=> String
47393
47418
  # resp.volumes[0].operator.hidden_by_default #=> Boolean
47394
47419
  # resp.volumes[0].volume_initialization_rate #=> Integer
47420
+ # resp.volumes[0].volume_arn #=> String
47421
+ # resp.volumes[0].owner_id #=> String
47395
47422
  # resp.volumes[0].volume_id #=> String
47396
47423
  # resp.volumes[0].size #=> Integer
47397
47424
  # resp.volumes[0].snapshot_id #=> String
@@ -77380,7 +77407,7 @@ module Aws::EC2
77380
77407
  tracer: tracer
77381
77408
  )
77382
77409
  context[:gem_name] = 'aws-sdk-ec2'
77383
- context[:gem_version] = '1.645.0'
77410
+ context[:gem_version] = '1.646.0'
77384
77411
  Seahorse::Client::Request.new(handlers, context)
77385
77412
  end
77386
77413
 
@@ -6037,6 +6037,8 @@ module Aws::EC2
6037
6037
  CopyVolumesRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
6038
6038
  CopyVolumesRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
6039
6039
  CopyVolumesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
6040
+ CopyVolumesRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
6041
+ CopyVolumesRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
6040
6042
  CopyVolumesRequest.struct_class = Types::CopyVolumesRequest
6041
6043
 
6042
6044
  CopyVolumesResult.add_member(:volumes, Shapes::ShapeRef.new(shape: VolumeList, location_name: "volumeSet"))
@@ -20335,6 +20337,8 @@ module Aws::EC2
20335
20337
  Volume.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
20336
20338
  Volume.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
20337
20339
  Volume.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeInitializationRate"))
20340
+ Volume.add_member(:volume_arn, Shapes::ShapeRef.new(shape: String, location_name: "volumeArn"))
20341
+ Volume.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
20338
20342
  Volume.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
20339
20343
  Volume.add_member(:size, Shapes::ShapeRef.new(shape: Integer, location_name: "size"))
20340
20344
  Volume.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
@@ -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
@@ -90382,6 +90403,14 @@ module Aws::EC2
90382
90403
  # `null`.
90383
90404
  # @return [Integer]
90384
90405
  #
90406
+ # @!attribute [rw] volume_arn
90407
+ # The Amazon Resource Name (ARN) of the volume.
90408
+ # @return [String]
90409
+ #
90410
+ # @!attribute [rw] owner_id
90411
+ # The ID of the Amazon Web Services account that owns the volume.
90412
+ # @return [String]
90413
+ #
90385
90414
  # @!attribute [rw] volume_id
90386
90415
  # The ID of the volume.
90387
90416
  # @return [String]
@@ -90438,6 +90467,8 @@ module Aws::EC2
90438
90467
  :sse_type,
90439
90468
  :operator,
90440
90469
  :volume_initialization_rate,
90470
+ :volume_arn,
90471
+ :owner_id,
90441
90472
  :volume_id,
90442
90473
  :size,
90443
90474
  :snapshot_id,
@@ -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
@@ -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.645.0'
81
+ GEM_VERSION = '1.646.0'
82
82
 
83
83
  end
84
84
 
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
 
@@ -3876,6 +3878,8 @@ module Aws
3876
3878
  def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
3877
3879
  def operator: () -> Types::OperatorResponse
3878
3880
  def volume_initialization_rate: () -> ::Integer
3881
+ def volume_arn: () -> ::String
3882
+ def owner_id: () -> ::String
3879
3883
  def volume_id: () -> ::String
3880
3884
  def size: () -> ::Integer
3881
3885
  def snapshot_id: () -> ::String
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
 
@@ -19561,6 +19563,8 @@ module Aws::EC2
19561
19563
  attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
19562
19564
  attr_accessor operator: Types::OperatorResponse
19563
19565
  attr_accessor volume_initialization_rate: ::Integer
19566
+ attr_accessor volume_arn: ::String
19567
+ attr_accessor owner_id: ::String
19564
19568
  attr_accessor volume_id: ::String
19565
19569
  attr_accessor size: ::Integer
19566
19570
  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.645.0
4
+ version: 1.646.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.254.0
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.254.0
31
+ version: 3.255.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement