aws-sdk-s3 1.211.0 → 1.217.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/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.211.0'
78
+ GEM_VERSION = '1.217.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -73,7 +73,8 @@ module Aws
73
73
  ?grant_write: ::String,
74
74
  ?grant_write_acp: ::String,
75
75
  ?object_lock_enabled_for_bucket: bool,
76
- ?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
76
+ ?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced"),
77
+ ?bucket_namespace: ("account-regional" | "global")
77
78
  ) -> Types::CreateBucketOutput
78
79
  | (?Hash[Symbol, untyped]) -> Types::CreateBucketOutput
79
80
 
data/sig/client.rbs CHANGED
@@ -256,7 +256,8 @@ module Aws
256
256
  ?grant_write: ::String,
257
257
  ?grant_write_acp: ::String,
258
258
  ?object_lock_enabled_for_bucket: bool,
259
- ?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
259
+ ?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced"),
260
+ ?bucket_namespace: ("account-regional" | "global")
260
261
  ) -> _CreateBucketResponseSuccess
261
262
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
262
263
 
@@ -2428,6 +2429,28 @@ module Aws
2428
2429
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2429
2430
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2430
2431
 
2432
+ interface _UpdateObjectEncryptionResponseSuccess
2433
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateObjectEncryptionResponse]
2434
+ def request_charged: () -> ("requester")
2435
+ end
2436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_object_encryption-instance_method
2437
+ def update_object_encryption: (
2438
+ bucket: ::String,
2439
+ key: ::String,
2440
+ ?version_id: ::String,
2441
+ object_encryption: {
2442
+ ssekms: {
2443
+ kms_key_arn: ::String,
2444
+ bucket_key_enabled: bool?
2445
+ }?
2446
+ },
2447
+ ?request_payer: ("requester"),
2448
+ ?expected_bucket_owner: ::String,
2449
+ ?content_md5: ::String,
2450
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2451
+ ) -> _UpdateObjectEncryptionResponseSuccess
2452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateObjectEncryptionResponseSuccess
2453
+
2431
2454
  interface _UploadPartResponseSuccess
2432
2455
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
2433
2456
  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/resource.rbs CHANGED
@@ -122,7 +122,8 @@ module Aws
122
122
  ?grant_write: ::String,
123
123
  ?grant_write_acp: ::String,
124
124
  ?object_lock_enabled_for_bucket: bool,
125
- ?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
125
+ ?object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced"),
126
+ ?bucket_namespace: ("account-regional" | "global")
126
127
  ) -> Bucket
127
128
  | (?Hash[Symbol, untyped]) -> Bucket
128
129
 
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]
@@ -373,6 +376,7 @@ module Aws::S3
373
376
  attr_accessor grant_write_acp: ::String
374
377
  attr_accessor object_lock_enabled_for_bucket: bool
375
378
  attr_accessor object_ownership: ("BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced")
379
+ attr_accessor bucket_namespace: ("account-regional" | "global")
376
380
  SENSITIVE: []
377
381
  end
378
382
 
@@ -1880,6 +1884,17 @@ module Aws::S3
1880
1884
  class ObjectAlreadyInActiveTierError < Aws::EmptyStructure
1881
1885
  end
1882
1886
 
1887
+ class ObjectEncryption
1888
+ attr_accessor ssekms: Types::SSEKMSEncryption
1889
+ attr_accessor unknown: untyped
1890
+ SENSITIVE: []
1891
+
1892
+ class Ssekms < ObjectEncryption
1893
+ end
1894
+ class Unknown < ObjectEncryption
1895
+ end
1896
+ end
1897
+
1883
1898
  class ObjectIdentifier
1884
1899
  attr_accessor key: ::String
1885
1900
  attr_accessor version_id: ::String
@@ -2585,6 +2600,12 @@ module Aws::S3
2585
2600
  SENSITIVE: [:key_id]
2586
2601
  end
2587
2602
 
2603
+ class SSEKMSEncryption
2604
+ attr_accessor kms_key_arn: ::String
2605
+ attr_accessor bucket_key_enabled: bool
2606
+ SENSITIVE: [:kms_key_arn]
2607
+ end
2608
+
2588
2609
  class SSES3 < Aws::EmptyStructure
2589
2610
  end
2590
2611
 
@@ -2760,6 +2781,23 @@ module Aws::S3
2760
2781
  SENSITIVE: []
2761
2782
  end
2762
2783
 
2784
+ class UpdateObjectEncryptionRequest
2785
+ attr_accessor bucket: ::String
2786
+ attr_accessor key: ::String
2787
+ attr_accessor version_id: ::String
2788
+ attr_accessor object_encryption: Types::ObjectEncryption
2789
+ attr_accessor request_payer: ("requester")
2790
+ attr_accessor expected_bucket_owner: ::String
2791
+ attr_accessor content_md5: ::String
2792
+ attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
2793
+ SENSITIVE: []
2794
+ end
2795
+
2796
+ class UpdateObjectEncryptionResponse
2797
+ attr_accessor request_charged: ("requester")
2798
+ SENSITIVE: []
2799
+ end
2800
+
2763
2801
  class UploadPartCopyOutput
2764
2802
  attr_accessor copy_source_version_id: ::String
2765
2803
  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.211.0
4
+ version: 1.217.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: '3'
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 3.241.3
49
+ version: 3.244.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
@@ -56,7 +56,7 @@ dependencies:
56
56
  version: '3'
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 3.241.3
59
+ version: 3.244.0
60
60
  description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
61
61
  This gem is part of the AWS SDK for Ruby.
62
62
  email:
@@ -96,6 +96,10 @@ files:
96
96
  - lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb
97
97
  - lib/aws-sdk-s3/customizations/types/permanent_redirect.rb
98
98
  - lib/aws-sdk-s3/default_executor.rb
99
+ - lib/aws-sdk-s3/directory_download_error.rb
100
+ - lib/aws-sdk-s3/directory_downloader.rb
101
+ - lib/aws-sdk-s3/directory_upload_error.rb
102
+ - lib/aws-sdk-s3/directory_uploader.rb
99
103
  - lib/aws-sdk-s3/encryption.rb
100
104
  - lib/aws-sdk-s3/encryption/client.rb
101
105
  - lib/aws-sdk-s3/encryption/decrypt_handler.rb