aws-sdk-s3 1.169.0 → 1.190.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +128 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +79 -33
  5. data/lib/aws-sdk-s3/bucket_acl.rb +6 -5
  6. data/lib/aws-sdk-s3/bucket_cors.rb +6 -5
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +7 -2
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +22 -2
  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 +9 -9
  14. data/lib/aws-sdk-s3/bucket_website.rb +3 -3
  15. data/lib/aws-sdk-s3/client.rb +2964 -1677
  16. data/lib/aws-sdk-s3/client_api.rb +366 -160
  17. data/lib/aws-sdk-s3/endpoint_provider.rb +400 -276
  18. data/lib/aws-sdk-s3/endpoints.rb +56 -0
  19. data/lib/aws-sdk-s3/errors.rb +55 -0
  20. data/lib/aws-sdk-s3/file_downloader.rb +14 -31
  21. data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
  22. data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
  23. data/lib/aws-sdk-s3/multipart_upload.rb +83 -6
  24. data/lib/aws-sdk-s3/multipart_upload_part.rb +50 -34
  25. data/lib/aws-sdk-s3/object.rb +260 -114
  26. data/lib/aws-sdk-s3/object_acl.rb +11 -5
  27. data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
  28. data/lib/aws-sdk-s3/object_summary.rb +180 -82
  29. data/lib/aws-sdk-s3/object_version.rb +60 -13
  30. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  31. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  32. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
  33. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  34. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
  35. data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
  36. data/lib/aws-sdk-s3/presigner.rb +5 -5
  37. data/lib/aws-sdk-s3/resource.rb +10 -9
  38. data/lib/aws-sdk-s3/types.rb +2511 -1060
  39. data/lib/aws-sdk-s3.rb +1 -1
  40. data/sig/bucket.rbs +12 -6
  41. data/sig/bucket_acl.rbs +1 -1
  42. data/sig/bucket_cors.rbs +1 -1
  43. data/sig/bucket_lifecycle.rbs +1 -1
  44. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  45. data/sig/bucket_logging.rbs +1 -1
  46. data/sig/bucket_policy.rbs +1 -1
  47. data/sig/bucket_request_payment.rbs +1 -1
  48. data/sig/bucket_tagging.rbs +1 -1
  49. data/sig/bucket_versioning.rbs +3 -3
  50. data/sig/bucket_website.rbs +1 -1
  51. data/sig/client.rbs +132 -40
  52. data/sig/errors.rbs +10 -0
  53. data/sig/multipart_upload.rbs +11 -2
  54. data/sig/multipart_upload_part.rbs +5 -1
  55. data/sig/object.rbs +25 -6
  56. data/sig/object_acl.rbs +1 -1
  57. data/sig/object_summary.rbs +17 -7
  58. data/sig/object_version.rbs +9 -3
  59. data/sig/resource.rbs +5 -3
  60. data/sig/types.rbs +180 -36
  61. metadata +7 -10
  62. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
@@ -201,7 +201,7 @@ module Aws::S3
201
201
  #
202
202
  # bucket_tagging.put({
203
203
  # content_md5: "ContentMD5",
204
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
204
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
205
205
  # tagging: { # required
206
206
  # tag_set: [ # required
207
207
  # {
@@ -214,7 +214,7 @@ module Aws::S3
214
214
  # })
215
215
  # @param [Hash] options ({})
216
216
  # @option options [String] :content_md5
217
- # The base64-encoded 128-bit MD5 digest of the data. You must use this
217
+ # The Base64 encoded 128-bit `MD5` digest of the data. You must use this
218
218
  # header as a message integrity check to verify that the request body
219
219
  # was not corrupted in transit. For more information, see [RFC 1864][1].
220
220
  #
@@ -226,7 +226,7 @@ module Aws::S3
226
226
  #
227
227
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
228
228
  # @option options [String] :checksum_algorithm
229
- # Indicates the algorithm used to create the checksum for the object
229
+ # Indicates the algorithm used to create the checksum for the request
230
230
  # when you use the SDK. This header will not provide any additional
231
231
  # functionality if you don't use the SDK. When you send this header,
232
232
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -191,13 +191,13 @@ module Aws::S3
191
191
  #
192
192
  # bucket_versioning.enable({
193
193
  # content_md5: "ContentMD5",
194
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
194
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
195
195
  # mfa: "MFA",
196
196
  # expected_bucket_owner: "AccountId",
197
197
  # })
198
198
  # @param [Hash] options ({})
199
199
  # @option options [String] :content_md5
200
- # >The base64-encoded 128-bit MD5 digest of the data. You must use
200
+ # >The Base64 encoded 128-bit `MD5` digest of the data. You must use
201
201
  # this header as a message integrity check to verify that the request
202
202
  # body was not corrupted in transit. For more information, see [RFC
203
203
  # 1864][1].
@@ -210,7 +210,7 @@ module Aws::S3
210
210
  #
211
211
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
212
212
  # @option options [String] :checksum_algorithm
213
- # Indicates the algorithm used to create the checksum for the object
213
+ # Indicates the algorithm used to create the checksum for the request
214
214
  # when you use the SDK. This header will not provide any additional
215
215
  # functionality if you don't use the SDK. When you send this header,
216
216
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -249,7 +249,7 @@ module Aws::S3
249
249
  #
250
250
  # bucket_versioning.put({
251
251
  # content_md5: "ContentMD5",
252
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
252
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
253
253
  # mfa: "MFA",
254
254
  # versioning_configuration: { # required
255
255
  # mfa_delete: "Enabled", # accepts Enabled, Disabled
@@ -259,7 +259,7 @@ module Aws::S3
259
259
  # })
260
260
  # @param [Hash] options ({})
261
261
  # @option options [String] :content_md5
262
- # >The base64-encoded 128-bit MD5 digest of the data. You must use
262
+ # >The Base64 encoded 128-bit `MD5` digest of the data. You must use
263
263
  # this header as a message integrity check to verify that the request
264
264
  # body was not corrupted in transit. For more information, see [RFC
265
265
  # 1864][1].
@@ -272,7 +272,7 @@ module Aws::S3
272
272
  #
273
273
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
274
274
  # @option options [String] :checksum_algorithm
275
- # Indicates the algorithm used to create the checksum for the object
275
+ # Indicates the algorithm used to create the checksum for the request
276
276
  # when you use the SDK. This header will not provide any additional
277
277
  # functionality if you don't use the SDK. When you send this header,
278
278
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -308,13 +308,13 @@ module Aws::S3
308
308
  #
309
309
  # bucket_versioning.suspend({
310
310
  # content_md5: "ContentMD5",
311
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
311
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
312
312
  # mfa: "MFA",
313
313
  # expected_bucket_owner: "AccountId",
314
314
  # })
315
315
  # @param [Hash] options ({})
316
316
  # @option options [String] :content_md5
317
- # >The base64-encoded 128-bit MD5 digest of the data. You must use
317
+ # >The Base64 encoded 128-bit `MD5` digest of the data. You must use
318
318
  # this header as a message integrity check to verify that the request
319
319
  # body was not corrupted in transit. For more information, see [RFC
320
320
  # 1864][1].
@@ -327,7 +327,7 @@ module Aws::S3
327
327
  #
328
328
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
329
329
  # @option options [String] :checksum_algorithm
330
- # Indicates the algorithm used to create the checksum for the object
330
+ # Indicates the algorithm used to create the checksum for the request
331
331
  # when you use the SDK. This header will not provide any additional
332
332
  # functionality if you don't use the SDK. When you send this header,
333
333
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
@@ -223,7 +223,7 @@ module Aws::S3
223
223
  #
224
224
  # bucket_website.put({
225
225
  # content_md5: "ContentMD5",
226
- # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
226
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
227
227
  # website_configuration: { # required
228
228
  # error_document: {
229
229
  # key: "ObjectKey", # required
@@ -255,7 +255,7 @@ module Aws::S3
255
255
  # })
256
256
  # @param [Hash] options ({})
257
257
  # @option options [String] :content_md5
258
- # The base64-encoded 128-bit MD5 digest of the data. You must use this
258
+ # The Base64 encoded 128-bit `MD5` digest of the data. You must use this
259
259
  # header as a message integrity check to verify that the request body
260
260
  # was not corrupted in transit. For more information, see [RFC 1864][1].
261
261
  #
@@ -267,7 +267,7 @@ module Aws::S3
267
267
  #
268
268
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
269
269
  # @option options [String] :checksum_algorithm
270
- # Indicates the algorithm used to create the checksum for the object
270
+ # Indicates the algorithm used to create the checksum for the request
271
271
  # when you use the SDK. This header will not provide any additional
272
272
  # functionality if you don't use the SDK. When you send this header,
273
273
  # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`