aws-sdk-s3 1.176.1 → 1.208.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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +202 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +86 -35
  5. data/lib/aws-sdk-s3/bucket_acl.rb +7 -6
  6. data/lib/aws-sdk-s3/bucket_cors.rb +6 -5
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +3 -3
  9. data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
  10. data/lib/aws-sdk-s3/bucket_policy.rb +6 -5
  11. data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
  12. data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
  13. data/lib/aws-sdk-s3/bucket_versioning.rb +42 -9
  14. data/lib/aws-sdk-s3/bucket_website.rb +3 -3
  15. data/lib/aws-sdk-s3/client.rb +3038 -1226
  16. data/lib/aws-sdk-s3/client_api.rb +492 -164
  17. data/lib/aws-sdk-s3/customizations/object.rb +76 -86
  18. data/lib/aws-sdk-s3/customizations.rb +4 -1
  19. data/lib/aws-sdk-s3/default_executor.rb +103 -0
  20. data/lib/aws-sdk-s3/encryption/client.rb +2 -2
  21. data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +2 -0
  22. data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +2 -0
  23. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -0
  24. data/lib/aws-sdk-s3/encryptionV2/client.rb +98 -23
  25. data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +7 -162
  26. data/lib/aws-sdk-s3/encryptionV2/decryption.rb +205 -0
  27. data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +17 -0
  28. data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +2 -0
  29. data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
  30. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +8 -0
  31. data/lib/aws-sdk-s3/encryptionV2/utils.rb +5 -0
  32. data/lib/aws-sdk-s3/encryptionV3/client.rb +885 -0
  33. data/lib/aws-sdk-s3/encryptionV3/decrypt_handler.rb +98 -0
  34. data/lib/aws-sdk-s3/encryptionV3/decryption.rb +244 -0
  35. data/lib/aws-sdk-s3/encryptionV3/default_cipher_provider.rb +159 -0
  36. data/lib/aws-sdk-s3/encryptionV3/default_key_provider.rb +35 -0
  37. data/lib/aws-sdk-s3/encryptionV3/encrypt_handler.rb +98 -0
  38. data/lib/aws-sdk-s3/encryptionV3/errors.rb +47 -0
  39. data/lib/aws-sdk-s3/encryptionV3/io_auth_decrypter.rb +60 -0
  40. data/lib/aws-sdk-s3/encryptionV3/io_decrypter.rb +35 -0
  41. data/lib/aws-sdk-s3/encryptionV3/io_encrypter.rb +84 -0
  42. data/lib/aws-sdk-s3/encryptionV3/key_provider.rb +28 -0
  43. data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +159 -0
  44. data/lib/aws-sdk-s3/encryptionV3/materials.rb +58 -0
  45. data/lib/aws-sdk-s3/encryptionV3/utils.rb +321 -0
  46. data/lib/aws-sdk-s3/encryption_v2.rb +1 -0
  47. data/lib/aws-sdk-s3/encryption_v3.rb +24 -0
  48. data/lib/aws-sdk-s3/endpoint_parameters.rb +17 -17
  49. data/lib/aws-sdk-s3/endpoint_provider.rb +562 -304
  50. data/lib/aws-sdk-s3/endpoints.rb +110 -0
  51. data/lib/aws-sdk-s3/errors.rb +11 -0
  52. data/lib/aws-sdk-s3/file_downloader.rb +189 -143
  53. data/lib/aws-sdk-s3/file_uploader.rb +9 -13
  54. data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
  55. data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
  56. data/lib/aws-sdk-s3/multipart_file_uploader.rb +105 -102
  57. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
  58. data/lib/aws-sdk-s3/multipart_upload.rb +50 -6
  59. data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
  60. data/lib/aws-sdk-s3/multipart_upload_part.rb +50 -34
  61. data/lib/aws-sdk-s3/object.rb +264 -137
  62. data/lib/aws-sdk-s3/object_acl.rb +12 -6
  63. data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
  64. data/lib/aws-sdk-s3/object_summary.rb +179 -103
  65. data/lib/aws-sdk-s3/object_version.rb +25 -23
  66. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  67. data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
  68. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  69. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  70. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
  71. data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
  72. data/lib/aws-sdk-s3/presigner.rb +4 -5
  73. data/lib/aws-sdk-s3/resource.rb +7 -1
  74. data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
  75. data/lib/aws-sdk-s3/types.rb +2907 -1059
  76. data/lib/aws-sdk-s3.rb +1 -1
  77. data/sig/bucket.rbs +16 -6
  78. data/sig/bucket_acl.rbs +1 -1
  79. data/sig/bucket_cors.rbs +1 -1
  80. data/sig/bucket_lifecycle.rbs +1 -1
  81. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  82. data/sig/bucket_logging.rbs +1 -1
  83. data/sig/bucket_policy.rbs +1 -1
  84. data/sig/bucket_request_payment.rbs +1 -1
  85. data/sig/bucket_tagging.rbs +1 -1
  86. data/sig/bucket_versioning.rbs +3 -3
  87. data/sig/bucket_website.rbs +1 -1
  88. data/sig/client.rbs +226 -64
  89. data/sig/errors.rbs +2 -0
  90. data/sig/multipart_upload.rbs +9 -2
  91. data/sig/multipart_upload_part.rbs +5 -1
  92. data/sig/object.rbs +31 -15
  93. data/sig/object_acl.rbs +1 -1
  94. data/sig/object_summary.rbs +22 -15
  95. data/sig/object_version.rbs +5 -2
  96. data/sig/resource.rbs +11 -2
  97. data/sig/types.rbs +281 -64
  98. metadata +26 -10
  99. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
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" | "FSX_ONTAP")
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
@@ -42,7 +42,10 @@ module Aws
42
42
  def initiator: () -> Types::Initiator
43
43
 
44
44
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_algorithm-instance_method
45
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
45
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_type-instance_method
48
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
46
49
 
47
50
  def client: () -> Client
48
51
 
@@ -70,6 +73,7 @@ module Aws
70
73
  etag: ::String?,
71
74
  checksum_crc32: ::String?,
72
75
  checksum_crc32c: ::String?,
76
+ checksum_crc64nvme: ::String?,
73
77
  checksum_sha1: ::String?,
74
78
  checksum_sha256: ::String?,
75
79
  part_number: ::Integer?
@@ -78,8 +82,11 @@ module Aws
78
82
  },
79
83
  ?checksum_crc32: ::String,
80
84
  ?checksum_crc32c: ::String,
85
+ ?checksum_crc64nvme: ::String,
81
86
  ?checksum_sha1: ::String,
82
87
  ?checksum_sha256: ::String,
88
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT"),
89
+ ?mpu_object_size: ::Integer,
83
90
  ?request_payer: ("requester"),
84
91
  ?expected_bucket_owner: ::String,
85
92
  ?if_match: ::String,
@@ -41,6 +41,9 @@ module Aws
41
41
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_crc32c-instance_method
42
42
  def checksum_crc32c: () -> ::String
43
43
 
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_crc64nvme-instance_method
45
+ def checksum_crc64nvme: () -> ::String
46
+
44
47
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_sha1-instance_method
45
48
  def checksum_sha1: () -> ::String
46
49
 
@@ -82,9 +85,10 @@ module Aws
82
85
  ?body: ::String | ::StringIO | ::File,
83
86
  ?content_length: ::Integer,
84
87
  ?content_md5: ::String,
85
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
88
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
86
89
  ?checksum_crc32: ::String,
87
90
  ?checksum_crc32c: ::String,
91
+ ?checksum_crc64nvme: ::String,
88
92
  ?checksum_sha1: ::String,
89
93
  ?checksum_sha256: ::String,
90
94
  ?sse_customer_algorithm: ::String,
data/sig/object.rbs CHANGED
@@ -47,12 +47,18 @@ module Aws
47
47
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_crc32c-instance_method
48
48
  def checksum_crc32c: () -> ::String
49
49
 
50
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_crc64nvme-instance_method
51
+ def checksum_crc64nvme: () -> ::String
52
+
50
53
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_sha1-instance_method
51
54
  def checksum_sha1: () -> ::String
52
55
 
53
56
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_sha256-instance_method
54
57
  def checksum_sha256: () -> ::String
55
58
 
59
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_type-instance_method
60
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
61
+
56
62
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#etag-instance_method
57
63
  def etag: () -> ::String
58
64
 
@@ -77,6 +83,9 @@ module Aws
77
83
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#content_type-instance_method
78
84
  def content_type: () -> ::String
79
85
 
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#content_range-instance_method
87
+ def content_range: () -> ::String
88
+
80
89
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#expires-instance_method
81
90
  def expires: () -> ::Time
82
91
 
@@ -87,7 +96,7 @@ module Aws
87
96
  def website_redirect_location: () -> ::String
88
97
 
89
98
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#server_side_encryption-instance_method
90
- def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
99
+ def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
91
100
 
92
101
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#metadata-instance_method
93
102
  def metadata: () -> ::Hash[::String, ::String]
@@ -105,7 +114,7 @@ module Aws
105
114
  def bucket_key_enabled: () -> bool
106
115
 
107
116
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
108
- 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" | "FSX_ONTAP")
109
118
 
110
119
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
111
120
  def request_charged: () -> ("requester")
@@ -116,6 +125,9 @@ module Aws
116
125
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#parts_count-instance_method
117
126
  def parts_count: () -> ::Integer
118
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
+
119
131
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_mode-instance_method
120
132
  def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
121
133
 
@@ -153,7 +165,7 @@ module Aws
153
165
  def copy_from: (
154
166
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
155
167
  ?cache_control: ::String,
156
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
168
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
157
169
  ?content_disposition: ::String,
158
170
  ?content_encoding: ::String,
159
171
  ?content_language: ::String,
@@ -168,11 +180,13 @@ module Aws
168
180
  ?grant_read: ::String,
169
181
  ?grant_read_acp: ::String,
170
182
  ?grant_write_acp: ::String,
183
+ ?if_match: ::String,
184
+ ?if_none_match: ::String,
171
185
  ?metadata: Hash[::String, ::String],
172
186
  ?metadata_directive: ("COPY" | "REPLACE"),
173
187
  ?tagging_directive: ("COPY" | "REPLACE"),
174
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
175
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
188
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
189
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
176
190
  ?website_redirect_location: ::String,
177
191
  ?sse_customer_algorithm: ::String,
178
192
  ?sse_customer_key: ::String,
@@ -244,8 +258,8 @@ module Aws
244
258
  ?grant_read_acp: ::String,
245
259
  ?grant_write_acp: ::String,
246
260
  ?metadata: Hash[::String, ::String],
247
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
248
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
261
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
262
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
249
263
  ?website_redirect_location: ::String,
250
264
  ?sse_customer_algorithm: ::String,
251
265
  ?sse_customer_key: ::String,
@@ -259,7 +273,8 @@ module Aws
259
273
  ?object_lock_retain_until_date: ::Time,
260
274
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
261
275
  ?expected_bucket_owner: ::String,
262
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
276
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
277
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
263
278
  ) -> MultipartUpload
264
279
  | (?Hash[Symbol, untyped]) -> MultipartUpload
265
280
 
@@ -274,9 +289,10 @@ module Aws
274
289
  ?content_length: ::Integer,
275
290
  ?content_md5: ::String,
276
291
  ?content_type: ::String,
277
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
292
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
278
293
  ?checksum_crc32: ::String,
279
294
  ?checksum_crc32c: ::String,
295
+ ?checksum_crc64nvme: ::String,
280
296
  ?checksum_sha1: ::String,
281
297
  ?checksum_sha256: ::String,
282
298
  ?expires: ::Time,
@@ -288,8 +304,8 @@ module Aws
288
304
  ?grant_write_acp: ::String,
289
305
  ?write_offset_bytes: ::Integer,
290
306
  ?metadata: Hash[::String, ::String],
291
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
292
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
307
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
308
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
293
309
  ?website_redirect_location: ::String,
294
310
  ?sse_customer_algorithm: ::String,
295
311
  ?sse_customer_key: ::String,
@@ -355,7 +371,7 @@ module Aws
355
371
  bucket_name: ::String,
356
372
  prefix: ::String,
357
373
  encryption: {
358
- encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
374
+ encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
359
375
  kms_key_id: ::String?,
360
376
  kms_context: ::String?
361
377
  }?,
@@ -386,12 +402,12 @@ module Aws
386
402
  value: ::String?
387
403
  },
388
404
  ]?,
389
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
405
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
390
406
  }?
391
407
  }?
392
408
  },
393
409
  ?request_payer: ("requester"),
394
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
410
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
395
411
  ?expected_bucket_owner: ::String
396
412
  ) -> Types::RestoreObjectOutput
397
413
  | (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
@@ -439,7 +455,7 @@ module Aws
439
455
  ?request_payer: ("requester"),
440
456
  ?bypass_governance_retention: bool,
441
457
  ?expected_bucket_owner: ::String,
442
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
458
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
443
459
  ) -> void
444
460
  | (?Hash[Symbol, untyped]) -> void
445
461
  end
data/sig/object_acl.rbs CHANGED
@@ -64,7 +64,7 @@ module Aws
64
64
  }?
65
65
  },
66
66
  ?content_md5: ::String,
67
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
67
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
68
68
  ?grant_full_control: ::String,
69
69
  ?grant_read: ::String,
70
70
  ?grant_read_acp: ::String,
@@ -27,13 +27,16 @@ module Aws
27
27
  def etag: () -> ::String
28
28
 
29
29
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#checksum_algorithm-instance_method
30
- def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
30
+ def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#checksum_type-instance_method
33
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
31
34
 
32
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#size-instance_method
33
36
  def size: () -> ::Integer
34
37
 
35
38
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#storage_class-instance_method
36
- 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" | "FSX_ONTAP")
37
40
 
38
41
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#owner-instance_method
39
42
  def owner: () -> Types::Owner
@@ -66,7 +69,7 @@ module Aws
66
69
  def copy_from: (
67
70
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
68
71
  ?cache_control: ::String,
69
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
72
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
70
73
  ?content_disposition: ::String,
71
74
  ?content_encoding: ::String,
72
75
  ?content_language: ::String,
@@ -81,11 +84,13 @@ module Aws
81
84
  ?grant_read: ::String,
82
85
  ?grant_read_acp: ::String,
83
86
  ?grant_write_acp: ::String,
87
+ ?if_match: ::String,
88
+ ?if_none_match: ::String,
84
89
  ?metadata: Hash[::String, ::String],
85
90
  ?metadata_directive: ("COPY" | "REPLACE"),
86
91
  ?tagging_directive: ("COPY" | "REPLACE"),
87
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
88
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
92
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
93
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
89
94
  ?website_redirect_location: ::String,
90
95
  ?sse_customer_algorithm: ::String,
91
96
  ?sse_customer_key: ::String,
@@ -157,8 +162,8 @@ module Aws
157
162
  ?grant_read_acp: ::String,
158
163
  ?grant_write_acp: ::String,
159
164
  ?metadata: Hash[::String, ::String],
160
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
161
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
165
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
166
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
162
167
  ?website_redirect_location: ::String,
163
168
  ?sse_customer_algorithm: ::String,
164
169
  ?sse_customer_key: ::String,
@@ -172,7 +177,8 @@ module Aws
172
177
  ?object_lock_retain_until_date: ::Time,
173
178
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
174
179
  ?expected_bucket_owner: ::String,
175
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
180
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
181
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
176
182
  ) -> MultipartUpload
177
183
  | (?Hash[Symbol, untyped]) -> MultipartUpload
178
184
 
@@ -187,9 +193,10 @@ module Aws
187
193
  ?content_length: ::Integer,
188
194
  ?content_md5: ::String,
189
195
  ?content_type: ::String,
190
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
196
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
191
197
  ?checksum_crc32: ::String,
192
198
  ?checksum_crc32c: ::String,
199
+ ?checksum_crc64nvme: ::String,
193
200
  ?checksum_sha1: ::String,
194
201
  ?checksum_sha256: ::String,
195
202
  ?expires: ::Time,
@@ -201,8 +208,8 @@ module Aws
201
208
  ?grant_write_acp: ::String,
202
209
  ?write_offset_bytes: ::Integer,
203
210
  ?metadata: Hash[::String, ::String],
204
- ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
205
- ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
211
+ ?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
212
+ ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
206
213
  ?website_redirect_location: ::String,
207
214
  ?sse_customer_algorithm: ::String,
208
215
  ?sse_customer_key: ::String,
@@ -268,7 +275,7 @@ module Aws
268
275
  bucket_name: ::String,
269
276
  prefix: ::String,
270
277
  encryption: {
271
- encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
278
+ encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
272
279
  kms_key_id: ::String?,
273
280
  kms_context: ::String?
274
281
  }?,
@@ -299,12 +306,12 @@ module Aws
299
306
  value: ::String?
300
307
  },
301
308
  ]?,
302
- storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
309
+ storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
303
310
  }?
304
311
  }?
305
312
  },
306
313
  ?request_payer: ("requester"),
307
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
314
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
308
315
  ?expected_bucket_owner: ::String
309
316
  ) -> Types::RestoreObjectOutput
310
317
  | (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
@@ -331,7 +338,7 @@ module Aws
331
338
  ?request_payer: ("requester"),
332
339
  ?bypass_governance_retention: bool,
333
340
  ?expected_bucket_owner: ::String,
334
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
341
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
335
342
  ) -> void
336
343
  | (?Hash[Symbol, untyped]) -> void
337
344
  end
@@ -27,7 +27,10 @@ module Aws
27
27
  def etag: () -> ::String
28
28
 
29
29
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#checksum_algorithm-instance_method
30
- def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
30
+ def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#checksum_type-instance_method
33
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
31
34
 
32
35
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#size-instance_method
33
36
  def size: () -> ::Integer
@@ -131,7 +134,7 @@ module Aws
131
134
  ?request_payer: ("requester"),
132
135
  ?bypass_governance_retention: bool,
133
136
  ?expected_bucket_owner: ::String,
134
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
137
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
135
138
  ) -> void
136
139
  | (?Hash[Symbol, untyped]) -> void
137
140
  end
data/sig/resource.rbs CHANGED
@@ -20,6 +20,7 @@ module Aws
20
20
  ?account_id: String,
21
21
  ?active_endpoint_cache: bool,
22
22
  ?adaptive_retry_wait_to_fill: bool,
23
+ ?auth_scheme_preference: Array[String],
23
24
  ?client_side_monitoring: bool,
24
25
  ?client_side_monitoring_client_id: String,
25
26
  ?client_side_monitoring_host: String,
@@ -49,8 +50,10 @@ module Aws
49
50
  ?max_attempts: Integer,
50
51
  ?output_event_stream_handler: Proc,
51
52
  ?profile: String,
53
+ ?request_checksum_calculation: String,
52
54
  ?request_min_compression_size_bytes: Integer,
53
55
  ?require_https_for_sse_cpk: bool,
56
+ ?response_checksum_validation: String,
54
57
  ?retry_backoff: Proc,
55
58
  ?retry_base_delay: Float,
56
59
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -97,7 +100,7 @@ module Aws
97
100
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read"),
98
101
  bucket: ::String,
99
102
  ?create_bucket_configuration: {
100
- location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
103
+ location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "il-central-1" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
101
104
  location: {
102
105
  type: ("AvailabilityZone" | "LocalZone")?,
103
106
  name: ::String?
@@ -105,7 +108,13 @@ module Aws
105
108
  bucket: {
106
109
  data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
107
110
  type: ("Directory")?
108
- }?
111
+ }?,
112
+ tags: Array[
113
+ {
114
+ key: ::String,
115
+ value: ::String
116
+ },
117
+ ]?
109
118
  },
110
119
  ?grant_full_control: ::String,
111
120
  ?grant_read: ::String,