aws-sdk-s3 1.212.0 → 1.213.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.
data/sig/client.rbs CHANGED
@@ -2428,6 +2428,28 @@ module Aws
2428
2428
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2429
2429
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2430
2430
 
2431
+ interface _UpdateObjectEncryptionResponseSuccess
2432
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateObjectEncryptionResponse]
2433
+ def request_charged: () -> ("requester")
2434
+ end
2435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_object_encryption-instance_method
2436
+ def update_object_encryption: (
2437
+ bucket: ::String,
2438
+ key: ::String,
2439
+ ?version_id: ::String,
2440
+ object_encryption: {
2441
+ ssekms: {
2442
+ kms_key_arn: ::String,
2443
+ bucket_key_enabled: bool?
2444
+ }?
2445
+ },
2446
+ ?request_payer: ("requester"),
2447
+ ?expected_bucket_owner: ::String,
2448
+ ?content_md5: ::String,
2449
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2450
+ ) -> _UpdateObjectEncryptionResponseSuccess
2451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateObjectEncryptionResponseSuccess
2452
+
2431
2453
  interface _UploadPartResponseSuccess
2432
2454
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
2433
2455
  def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
data/sig/errors.rbs CHANGED
@@ -11,6 +11,8 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
+ class AccessDenied < ::Aws::Errors::ServiceError
15
+ end
14
16
  class BucketAlreadyExists < ::Aws::Errors::ServiceError
15
17
  end
16
18
  class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
data/sig/types.rbs CHANGED
@@ -49,6 +49,9 @@ module Aws::S3
49
49
  SENSITIVE: []
50
50
  end
51
51
 
52
+ class AccessDenied < Aws::EmptyStructure
53
+ end
54
+
52
55
  class AnalyticsAndOperator
53
56
  attr_accessor prefix: ::String
54
57
  attr_accessor tags: ::Array[Types::Tag]
@@ -1880,6 +1883,17 @@ module Aws::S3
1880
1883
  class ObjectAlreadyInActiveTierError < Aws::EmptyStructure
1881
1884
  end
1882
1885
 
1886
+ class ObjectEncryption
1887
+ attr_accessor ssekms: Types::SSEKMSEncryption
1888
+ attr_accessor unknown: untyped
1889
+ SENSITIVE: []
1890
+
1891
+ class Ssekms < ObjectEncryption
1892
+ end
1893
+ class Unknown < ObjectEncryption
1894
+ end
1895
+ end
1896
+
1883
1897
  class ObjectIdentifier
1884
1898
  attr_accessor key: ::String
1885
1899
  attr_accessor version_id: ::String
@@ -2585,6 +2599,12 @@ module Aws::S3
2585
2599
  SENSITIVE: [:key_id]
2586
2600
  end
2587
2601
 
2602
+ class SSEKMSEncryption
2603
+ attr_accessor kms_key_arn: ::String
2604
+ attr_accessor bucket_key_enabled: bool
2605
+ SENSITIVE: [:kms_key_arn]
2606
+ end
2607
+
2588
2608
  class SSES3 < Aws::EmptyStructure
2589
2609
  end
2590
2610
 
@@ -2760,6 +2780,23 @@ module Aws::S3
2760
2780
  SENSITIVE: []
2761
2781
  end
2762
2782
 
2783
+ class UpdateObjectEncryptionRequest
2784
+ attr_accessor bucket: ::String
2785
+ attr_accessor key: ::String
2786
+ attr_accessor version_id: ::String
2787
+ attr_accessor object_encryption: Types::ObjectEncryption
2788
+ attr_accessor request_payer: ("requester")
2789
+ attr_accessor expected_bucket_owner: ::String
2790
+ attr_accessor content_md5: ::String
2791
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2792
+ SENSITIVE: []
2793
+ end
2794
+
2795
+ class UpdateObjectEncryptionResponse
2796
+ attr_accessor request_charged: ("requester")
2797
+ SENSITIVE: []
2798
+ end
2799
+
2763
2800
  class UploadPartCopyOutput
2764
2801
  attr_accessor copy_source_version_id: ::String
2765
2802
  attr_accessor copy_part_result: Types::CopyPartResult
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.212.0
4
+ version: 1.213.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services