aws-sdk-s3 1.189.0 → 1.192.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.189.0'
78
+ GEM_VERSION = '1.192.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -23,6 +23,9 @@ module Aws
23
23
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
24
24
  def bucket_region: () -> ::String
25
25
 
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_arn-instance_method
27
+ def bucket_arn: () -> ::String
28
+
26
29
  def client: () -> Client
27
30
 
28
31
 
@@ -56,7 +59,13 @@ module Aws
56
59
  bucket: {
57
60
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
58
61
  type: ("Directory")?
59
- }?
62
+ }?,
63
+ tags: Array[
64
+ {
65
+ key: ::String,
66
+ value: ::String
67
+ },
68
+ ]?
60
69
  },
61
70
  ?grant_full_control: ::String,
62
71
  ?grant_read: ::String,
@@ -123,8 +132,8 @@ module Aws
123
132
  key: ::String,
124
133
  ?write_offset_bytes: ::Integer,
125
134
  ?metadata: Hash[::String, ::String],
126
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
127
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
135
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
136
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
128
137
  ?website_redirect_location: ::String,
129
138
  ?sse_customer_algorithm: ::String,
130
139
  ?sse_customer_key: ::String,
data/sig/client.rbs CHANGED
@@ -120,7 +120,7 @@ module Aws
120
120
  def checksum_sha1: () -> ::String
121
121
  def checksum_sha256: () -> ::String
122
122
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
123
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
123
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
124
124
  def version_id: () -> ::String
125
125
  def ssekms_key_id: () -> ::String
126
126
  def bucket_key_enabled: () -> bool
@@ -167,7 +167,7 @@ module Aws
167
167
  def expiration: () -> ::String
168
168
  def copy_source_version_id: () -> ::String
169
169
  def version_id: () -> ::String
170
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
170
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
171
171
  def sse_customer_algorithm: () -> ::String
172
172
  def sse_customer_key_md5: () -> ::String
173
173
  def ssekms_key_id: () -> ::String
@@ -199,8 +199,8 @@ module Aws
199
199
  ?metadata: Hash[::String, ::String],
200
200
  ?metadata_directive: ("COPY" | "REPLACE"),
201
201
  ?tagging_directive: ("COPY" | "REPLACE"),
202
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
203
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
202
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
203
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
204
204
  ?website_redirect_location: ::String,
205
205
  ?sse_customer_algorithm: ::String,
206
206
  ?sse_customer_key: ::String,
@@ -224,6 +224,7 @@ module Aws
224
224
  interface _CreateBucketResponseSuccess
225
225
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateBucketOutput]
226
226
  def location: () -> ::String
227
+ def bucket_arn: () -> ::String
227
228
  end
228
229
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket-instance_method
229
230
  def create_bucket: (
@@ -238,7 +239,13 @@ module Aws
238
239
  bucket: {
239
240
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
240
241
  type: ("Directory")?
241
- }?
242
+ }?,
243
+ tags: Array[
244
+ {
245
+ key: ::String,
246
+ value: ::String
247
+ },
248
+ ]?
242
249
  },
243
250
  ?grant_full_control: ::String,
244
251
  ?grant_read: ::String,
@@ -272,7 +279,7 @@ module Aws
272
279
  def bucket: () -> ::String
273
280
  def key: () -> ::String
274
281
  def upload_id: () -> ::String
275
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
282
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
276
283
  def sse_customer_algorithm: () -> ::String
277
284
  def sse_customer_key_md5: () -> ::String
278
285
  def ssekms_key_id: () -> ::String
@@ -298,8 +305,8 @@ module Aws
298
305
  ?grant_write_acp: ::String,
299
306
  key: ::String,
300
307
  ?metadata: Hash[::String, ::String],
301
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
302
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
308
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
309
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
303
310
  ?website_redirect_location: ::String,
304
311
  ?sse_customer_algorithm: ::String,
305
312
  ?sse_customer_key: ::String,
@@ -320,7 +327,7 @@ module Aws
320
327
 
321
328
  interface _CreateSessionResponseSuccess
322
329
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
323
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
330
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
324
331
  def ssekms_key_id: () -> ::String
325
332
  def ssekms_encryption_context: () -> ::String
326
333
  def bucket_key_enabled: () -> bool
@@ -330,7 +337,7 @@ module Aws
330
337
  def create_session: (
331
338
  ?session_mode: ("ReadOnly" | "ReadWrite"),
332
339
  bucket: ::String,
333
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
340
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
334
341
  ?ssekms_key_id: ::String,
335
342
  ?ssekms_encryption_context: ::String,
336
343
  ?bucket_key_enabled: bool
@@ -369,7 +376,8 @@ module Aws
369
376
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_intelligent_tiering_configuration-instance_method
370
377
  def delete_bucket_intelligent_tiering_configuration: (
371
378
  bucket: ::String,
372
- id: ::String
379
+ id: ::String,
380
+ ?expected_bucket_owner: ::String
373
381
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
374
382
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
375
383
 
@@ -574,7 +582,8 @@ module Aws
574
582
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_intelligent_tiering_configuration-instance_method
575
583
  def get_bucket_intelligent_tiering_configuration: (
576
584
  bucket: ::String,
577
- id: ::String
585
+ id: ::String,
586
+ ?expected_bucket_owner: ::String
578
587
  ) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
579
588
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
580
589
 
@@ -804,13 +813,13 @@ module Aws
804
813
  def expires: () -> ::Time
805
814
  def expires_string: () -> ::String
806
815
  def website_redirect_location: () -> ::String
807
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
816
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
808
817
  def metadata: () -> ::Hash[::String, ::String]
809
818
  def sse_customer_algorithm: () -> ::String
810
819
  def sse_customer_key_md5: () -> ::String
811
820
  def ssekms_key_id: () -> ::String
812
821
  def bucket_key_enabled: () -> bool
813
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
822
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
814
823
  def request_charged: () -> ("requester")
815
824
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
816
825
  def parts_count: () -> ::Integer
@@ -870,7 +879,7 @@ module Aws
870
879
  def etag: () -> ::String
871
880
  def checksum: () -> Types::Checksum
872
881
  def object_parts: () -> Types::GetObjectAttributesParts
873
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
882
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
874
883
  def object_size: () -> ::Integer
875
884
  end
876
885
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_attributes-instance_method
@@ -970,6 +979,7 @@ module Aws
970
979
 
971
980
  interface _HeadBucketResponseSuccess
972
981
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
982
+ def bucket_arn: () -> ::String
973
983
  def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
974
984
  def bucket_location_name: () -> ::String
975
985
  def bucket_region: () -> ::String
@@ -1009,16 +1019,17 @@ module Aws
1009
1019
  def expires: () -> ::Time
1010
1020
  def expires_string: () -> ::String
1011
1021
  def website_redirect_location: () -> ::String
1012
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1022
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
1013
1023
  def metadata: () -> ::Hash[::String, ::String]
1014
1024
  def sse_customer_algorithm: () -> ::String
1015
1025
  def sse_customer_key_md5: () -> ::String
1016
1026
  def ssekms_key_id: () -> ::String
1017
1027
  def bucket_key_enabled: () -> bool
1018
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1028
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1019
1029
  def request_charged: () -> ("requester")
1020
1030
  def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
1021
1031
  def parts_count: () -> ::Integer
1032
+ def tag_count: () -> ::Integer
1022
1033
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
1023
1034
  def object_lock_retain_until_date: () -> ::Time
1024
1035
  def object_lock_legal_hold_status: () -> ("ON" | "OFF")
@@ -1074,7 +1085,8 @@ module Aws
1074
1085
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_intelligent_tiering_configurations-instance_method
1075
1086
  def list_bucket_intelligent_tiering_configurations: (
1076
1087
  bucket: ::String,
1077
- ?continuation_token: ::String
1088
+ ?continuation_token: ::String,
1089
+ ?expected_bucket_owner: ::String
1078
1090
  ) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
1079
1091
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
1080
1092
 
@@ -1272,7 +1284,7 @@ module Aws
1272
1284
  def parts: () -> ::Array[Types::Part]
1273
1285
  def initiator: () -> Types::Initiator
1274
1286
  def owner: () -> Types::Owner
1275
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1287
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
1276
1288
  def request_charged: () -> ("requester")
1277
1289
  def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1278
1290
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
@@ -1406,7 +1418,7 @@ module Aws
1406
1418
  rules: Array[
1407
1419
  {
1408
1420
  apply_server_side_encryption_by_default: {
1409
- sse_algorithm: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1421
+ sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
1410
1422
  kms_master_key_id: ::String?
1411
1423
  }?,
1412
1424
  bucket_key_enabled: bool?
@@ -1421,6 +1433,7 @@ module Aws
1421
1433
  def put_bucket_intelligent_tiering_configuration: (
1422
1434
  bucket: ::String,
1423
1435
  id: ::String,
1436
+ ?expected_bucket_owner: ::String,
1424
1437
  intelligent_tiering_configuration: {
1425
1438
  id: ::String,
1426
1439
  filter: {
@@ -1819,7 +1832,7 @@ module Aws
1819
1832
  destination: {
1820
1833
  bucket: ::String,
1821
1834
  account: ::String?,
1822
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?,
1835
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?,
1823
1836
  access_control_translation: {
1824
1837
  owner: ("Destination")
1825
1838
  }?,
@@ -1939,7 +1952,7 @@ module Aws
1939
1952
  def checksum_sha1: () -> ::String
1940
1953
  def checksum_sha256: () -> ::String
1941
1954
  def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1942
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1955
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
1943
1956
  def version_id: () -> ::String
1944
1957
  def sse_customer_algorithm: () -> ::String
1945
1958
  def sse_customer_key_md5: () -> ::String
@@ -1977,8 +1990,8 @@ module Aws
1977
1990
  key: ::String,
1978
1991
  ?write_offset_bytes: ::Integer,
1979
1992
  ?metadata: Hash[::String, ::String],
1980
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1981
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
1993
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
1994
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
1982
1995
  ?website_redirect_location: ::String,
1983
1996
  ?sse_customer_algorithm: ::String,
1984
1997
  ?sse_customer_key: ::String,
@@ -2139,6 +2152,26 @@ module Aws
2139
2152
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2140
2153
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2141
2154
 
2155
+ interface _RenameObjectResponseSuccess
2156
+ include ::Seahorse::Client::_ResponseSuccess[Types::RenameObjectOutput]
2157
+ end
2158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#rename_object-instance_method
2159
+ def rename_object: (
2160
+ bucket: ::String,
2161
+ key: ::String,
2162
+ rename_source: ::String,
2163
+ ?destination_if_match: ::String,
2164
+ ?destination_if_none_match: ::String,
2165
+ ?destination_if_modified_since: ::Time,
2166
+ ?destination_if_unmodified_since: ::Time,
2167
+ ?source_if_match: ::String,
2168
+ ?source_if_none_match: ::String,
2169
+ ?source_if_modified_since: ::Time,
2170
+ ?source_if_unmodified_since: ::Time,
2171
+ ?client_token: ::String
2172
+ ) -> _RenameObjectResponseSuccess
2173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RenameObjectResponseSuccess
2174
+
2142
2175
  interface _RestoreObjectResponseSuccess
2143
2176
  include ::Seahorse::Client::_ResponseSuccess[Types::RestoreObjectOutput]
2144
2177
  def request_charged: () -> ("requester")
@@ -2195,7 +2228,7 @@ module Aws
2195
2228
  bucket_name: ::String,
2196
2229
  prefix: ::String,
2197
2230
  encryption: {
2198
- encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
2231
+ encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
2199
2232
  kms_key_id: ::String?,
2200
2233
  kms_context: ::String?
2201
2234
  }?,
@@ -2226,7 +2259,7 @@ module Aws
2226
2259
  value: ::String?
2227
2260
  },
2228
2261
  ]?,
2229
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
2262
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
2230
2263
  }?
2231
2264
  }?
2232
2265
  },
@@ -2291,7 +2324,7 @@ module Aws
2291
2324
 
2292
2325
  interface _UploadPartResponseSuccess
2293
2326
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
2294
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
2327
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2295
2328
  def etag: () -> ::String
2296
2329
  def checksum_crc32: () -> ::String
2297
2330
  def checksum_crc32c: () -> ::String
@@ -2331,7 +2364,7 @@ module Aws
2331
2364
  include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartCopyOutput]
2332
2365
  def copy_source_version_id: () -> ::String
2333
2366
  def copy_part_result: () -> Types::CopyPartResult
2334
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
2367
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
2335
2368
  def sse_customer_algorithm: () -> ::String
2336
2369
  def sse_customer_key_md5: () -> ::String
2337
2370
  def ssekms_key_id: () -> ::String
@@ -2397,11 +2430,11 @@ module Aws
2397
2430
  ?replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED"),
2398
2431
  ?request_charged: ("requester"),
2399
2432
  ?restore: ::String,
2400
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
2433
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
2401
2434
  ?sse_customer_algorithm: ::String,
2402
2435
  ?ssekms_key_id: ::String,
2403
2436
  ?sse_customer_key_md5: ::String,
2404
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
2437
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
2405
2438
  ?tag_count: ::Integer,
2406
2439
  ?version_id: ::String,
2407
2440
  ?bucket_key_enabled: bool
data/sig/errors.rbs CHANGED
@@ -17,6 +17,8 @@ module Aws
17
17
  end
18
18
  class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
19
19
  end
20
+ class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
21
+ end
20
22
  class InvalidObjectState < ::Aws::Errors::ServiceError
21
23
  def storage_class: () -> ::String
22
24
  def access_tier: () -> ::String
@@ -33,7 +33,7 @@ module Aws
33
33
  def initiated: () -> ::Time
34
34
 
35
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#storage_class-instance_method
36
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
36
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
37
37
 
38
38
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#owner-instance_method
39
39
  def owner: () -> Types::Owner
data/sig/object.rbs CHANGED
@@ -96,7 +96,7 @@ module Aws
96
96
  def website_redirect_location: () -> ::String
97
97
 
98
98
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#server_side_encryption-instance_method
99
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
99
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
100
100
 
101
101
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#metadata-instance_method
102
102
  def metadata: () -> ::Hash[::String, ::String]
@@ -114,7 +114,7 @@ module Aws
114
114
  def bucket_key_enabled: () -> bool
115
115
 
116
116
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
117
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
117
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
118
118
 
119
119
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
120
120
  def request_charged: () -> ("requester")
@@ -125,6 +125,9 @@ module Aws
125
125
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#parts_count-instance_method
126
126
  def parts_count: () -> ::Integer
127
127
 
128
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#tag_count-instance_method
129
+ def tag_count: () -> ::Integer
130
+
128
131
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_mode-instance_method
129
132
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
130
133
 
@@ -180,8 +183,8 @@ module Aws
180
183
  ?metadata: Hash[::String, ::String],
181
184
  ?metadata_directive: ("COPY" | "REPLACE"),
182
185
  ?tagging_directive: ("COPY" | "REPLACE"),
183
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
184
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
186
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
187
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
185
188
  ?website_redirect_location: ::String,
186
189
  ?sse_customer_algorithm: ::String,
187
190
  ?sse_customer_key: ::String,
@@ -253,8 +256,8 @@ module Aws
253
256
  ?grant_read_acp: ::String,
254
257
  ?grant_write_acp: ::String,
255
258
  ?metadata: Hash[::String, ::String],
256
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
257
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
259
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
260
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
258
261
  ?website_redirect_location: ::String,
259
262
  ?sse_customer_algorithm: ::String,
260
263
  ?sse_customer_key: ::String,
@@ -299,8 +302,8 @@ module Aws
299
302
  ?grant_write_acp: ::String,
300
303
  ?write_offset_bytes: ::Integer,
301
304
  ?metadata: Hash[::String, ::String],
302
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
303
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
305
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
306
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
304
307
  ?website_redirect_location: ::String,
305
308
  ?sse_customer_algorithm: ::String,
306
309
  ?sse_customer_key: ::String,
@@ -366,7 +369,7 @@ module Aws
366
369
  bucket_name: ::String,
367
370
  prefix: ::String,
368
371
  encryption: {
369
- encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
372
+ encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
370
373
  kms_key_id: ::String?,
371
374
  kms_context: ::String?
372
375
  }?,
@@ -397,7 +400,7 @@ module Aws
397
400
  value: ::String?
398
401
  },
399
402
  ]?,
400
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
403
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
401
404
  }?
402
405
  }?
403
406
  },
@@ -36,7 +36,7 @@ module Aws
36
36
  def size: () -> ::Integer
37
37
 
38
38
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#storage_class-instance_method
39
- def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
39
+ def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
40
40
 
41
41
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#owner-instance_method
42
42
  def owner: () -> Types::Owner
@@ -87,8 +87,8 @@ module Aws
87
87
  ?metadata: Hash[::String, ::String],
88
88
  ?metadata_directive: ("COPY" | "REPLACE"),
89
89
  ?tagging_directive: ("COPY" | "REPLACE"),
90
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
91
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
90
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
91
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
92
92
  ?website_redirect_location: ::String,
93
93
  ?sse_customer_algorithm: ::String,
94
94
  ?sse_customer_key: ::String,
@@ -160,8 +160,8 @@ module Aws
160
160
  ?grant_read_acp: ::String,
161
161
  ?grant_write_acp: ::String,
162
162
  ?metadata: Hash[::String, ::String],
163
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
164
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
163
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
164
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
165
165
  ?website_redirect_location: ::String,
166
166
  ?sse_customer_algorithm: ::String,
167
167
  ?sse_customer_key: ::String,
@@ -206,8 +206,8 @@ module Aws
206
206
  ?grant_write_acp: ::String,
207
207
  ?write_offset_bytes: ::Integer,
208
208
  ?metadata: Hash[::String, ::String],
209
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
210
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
209
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
210
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
211
211
  ?website_redirect_location: ::String,
212
212
  ?sse_customer_algorithm: ::String,
213
213
  ?sse_customer_key: ::String,
@@ -273,7 +273,7 @@ module Aws
273
273
  bucket_name: ::String,
274
274
  prefix: ::String,
275
275
  encryption: {
276
- encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
276
+ encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
277
277
  kms_key_id: ::String?,
278
278
  kms_context: ::String?
279
279
  }?,
@@ -304,7 +304,7 @@ module Aws
304
304
  value: ::String?
305
305
  },
306
306
  ]?,
307
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
307
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
308
308
  }?
309
309
  }?
310
310
  },
data/sig/resource.rbs CHANGED
@@ -107,7 +107,13 @@ module Aws
107
107
  bucket: {
108
108
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
109
109
  type: ("Directory")?
110
- }?
110
+ }?,
111
+ tags: Array[
112
+ {
113
+ key: ::String,
114
+ value: ::String
115
+ },
116
+ ]?
111
117
  },
112
118
  ?grant_full_control: ::String,
113
119
  ?grant_read: ::String,