aws-sdk-s3 1.112.0 → 1.113.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7135385809fecd43db1af321e774082d7033ed91c0a0affcc1bcf702157d6642
4
- data.tar.gz: 853b902870e3d5d395b970066e66fc19fc2cbb83fcf3b2df0930a94dc5600116
3
+ metadata.gz: 5274b91e581e514386584d3ea2284363db3bcc1d1d6cbdd3ea992484a26ba3e3
4
+ data.tar.gz: 6659086890fbfcb9223311361dbb67f3a55738f2a01ce4845bb05210dd06f59a
5
5
  SHA512:
6
- metadata.gz: 7ff3c7f6ecee4e91933275c7e0d10fb7bac8e6473b3e8c206b41c1ad81307f4b65ea794b095287ac807d091c2b0d414e0e00aef411ab9556c954b43c93eb93cc
7
- data.tar.gz: d876c94edf3c2c3286a8c704b8a3dde2c8565dd7f8e9878f3ca5cbac4211f6ac3558dc07cbaecd3beda2a9d151843ac0fb16814eb0301b86c44ed27e975470f5
6
+ metadata.gz: 2e25bc0dd1c8249a1c5982cb36f1e06b8b8dc8c3c04e277cd2b9eff8bb3ed2fc4cfd2617ecdd8ea206881e066a02a0bccfc525258a5dc9b2b15a42ad1568a31b
7
+ data.tar.gz: 9fb04f15c827cdcad16645bde85de0e2b9bdca01483acebc13d6ca8b163eeb21038882468a275b96e293f4c7be42ff481b9275c681d492925cc6e3469a05de02
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.113.2 (2022-04-26)
5
+ ------------------
6
+
7
+ * Issue - Fix an issue where `ExpiredToken` errors were retried as if the request was from another region.
8
+
9
+ 1.113.1 (2022-04-25)
10
+ ------------------
11
+
12
+ * Issue - Rewind the underlying file on a streaming retry that is not a truncated body (#2692).
13
+
14
+ 1.113.0 (2022-02-24)
15
+ ------------------
16
+
17
+ * Feature - This release adds support for new integrity checking capabilities in Amazon S3. You can choose from four supported checksum algorithms for data integrity checking on your upload and download requests. In addition, AWS SDK can automatically calculate a checksum as it streams data into S3
18
+
4
19
  1.112.0 (2022-02-03)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.112.0
1
+ 1.113.2
@@ -287,8 +287,8 @@ module Aws::S3
287
287
  # @param [Hash] options ({})
288
288
  # @option options [String] :expected_bucket_owner
289
289
  # The account ID of the expected bucket owner. If the bucket is owned by
290
- # a different account, the request will fail with an HTTP `403 (Access
291
- # Denied)` error.
290
+ # a different account, the request fails with the HTTP status code `403
291
+ # Forbidden` (access denied).
292
292
  # @return [EmptyStructure]
293
293
  def delete(options = {})
294
294
  options = options.merge(bucket: @name)
@@ -312,6 +312,7 @@ module Aws::S3
312
312
  # request_payer: "requester", # accepts requester
313
313
  # bypass_governance_retention: false,
314
314
  # expected_bucket_owner: "AccountId",
315
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
315
316
  # })
316
317
  # @param [Hash] options ({})
317
318
  # @option options [required, Types::Delete] :delete
@@ -324,8 +325,8 @@ module Aws::S3
324
325
  # @option options [String] :request_payer
325
326
  # Confirms that the requester knows that they will be charged for the
326
327
  # request. Bucket owners need not specify this parameter in their
327
- # requests. For information about downloading objects from requester
328
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
328
+ # requests. For information about downloading objects from Requester
329
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
329
330
  # in the *Amazon S3 User Guide*.
330
331
  #
331
332
  #
@@ -334,11 +335,29 @@ module Aws::S3
334
335
  # @option options [Boolean] :bypass_governance_retention
335
336
  # Specifies whether you want to delete this object even if it has a
336
337
  # Governance-type Object Lock in place. To use this header, you must
337
- # have the `s3:PutBucketPublicAccessBlock` permission.
338
+ # have the `s3:BypassGovernanceRetention` permission.
338
339
  # @option options [String] :expected_bucket_owner
339
340
  # The account ID of the expected bucket owner. If the bucket is owned by
340
- # a different account, the request will fail with an HTTP `403 (Access
341
- # Denied)` error.
341
+ # a different account, the request fails with the HTTP status code `403
342
+ # Forbidden` (access denied).
343
+ # @option options [String] :checksum_algorithm
344
+ # Indicates the algorithm used to create the checksum for the object
345
+ # when using the SDK. This header will not provide any additional
346
+ # functionality if not using the SDK. When sending this header, there
347
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
348
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
349
+ # `400 Bad Request`. For more information, see [Checking object
350
+ # integrity][1] in the *Amazon S3 User Guide*.
351
+ #
352
+ # If you provide an individual checksum, Amazon S3 ignores any provided
353
+ # `ChecksumAlgorithm` parameter.
354
+ #
355
+ # This checksum algorithm must be the same for all parts and it match
356
+ # the checksum value supplied in the `CreateMultipartUpload` request.
357
+ #
358
+ #
359
+ #
360
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
342
361
  # @return [Types::DeleteObjectsOutput]
343
362
  def delete_objects(options = {})
344
363
  options = options.merge(bucket: @name)
@@ -358,6 +377,11 @@ module Aws::S3
358
377
  # content_length: 1,
359
378
  # content_md5: "ContentMD5",
360
379
  # content_type: "ContentType",
380
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
381
+ # checksum_crc32: "ChecksumCRC32",
382
+ # checksum_crc32c: "ChecksumCRC32C",
383
+ # checksum_sha1: "ChecksumSHA1",
384
+ # checksum_sha256: "ChecksumSHA256",
361
385
  # expires: Time.now,
362
386
  # grant_full_control: "GrantFullControl",
363
387
  # grant_read: "GrantRead",
@@ -450,6 +474,61 @@ module Aws::S3
450
474
  #
451
475
  #
452
476
  # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
477
+ # @option options [String] :checksum_algorithm
478
+ # Indicates the algorithm used to create the checksum for the object
479
+ # when using the SDK. This header will not provide any additional
480
+ # functionality if not using the SDK. When sending this header, there
481
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
482
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
483
+ # `400 Bad Request`. For more information, see [Checking object
484
+ # integrity][1] in the *Amazon S3 User Guide*.
485
+ #
486
+ # If you provide an individual checksum, Amazon S3 ignores any provided
487
+ # `ChecksumAlgorithm` parameter.
488
+ #
489
+ #
490
+ #
491
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
492
+ # @option options [String] :checksum_crc32
493
+ # This header can be used as a data integrity check to verify that the
494
+ # data received is the same data that was originally sent. This header
495
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object. For
496
+ # more information, see [Checking object integrity][1] in the *Amazon S3
497
+ # User Guide*.
498
+ #
499
+ #
500
+ #
501
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
502
+ # @option options [String] :checksum_crc32c
503
+ # This header can be used as a data integrity check to verify that the
504
+ # data received is the same data that was originally sent. This header
505
+ # specifies the base64-encoded, 32-bit CRC32C checksum of the object.
506
+ # For more information, see [Checking object integrity][1] in the
507
+ # *Amazon S3 User Guide*.
508
+ #
509
+ #
510
+ #
511
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
512
+ # @option options [String] :checksum_sha1
513
+ # This header can be used as a data integrity check to verify that the
514
+ # data received is the same data that was originally sent. This header
515
+ # specifies the base64-encoded, 160-bit SHA-1 digest of the object. For
516
+ # more information, see [Checking object integrity][1] in the *Amazon S3
517
+ # User Guide*.
518
+ #
519
+ #
520
+ #
521
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
522
+ # @option options [String] :checksum_sha256
523
+ # This header can be used as a data integrity check to verify that the
524
+ # data received is the same data that was originally sent. This header
525
+ # specifies the base64-encoded, 256-bit SHA-256 digest of the object.
526
+ # For more information, see [Checking object integrity][1] in the
527
+ # *Amazon S3 User Guide*.
528
+ #
529
+ #
530
+ #
531
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
453
532
  # @option options [Time,DateTime,Date,Integer,String] :expires
454
533
  # The date and time at which the object is no longer cacheable. For more
455
534
  # information, see
@@ -556,8 +635,8 @@ module Aws::S3
556
635
  # @option options [String] :request_payer
557
636
  # Confirms that the requester knows that they will be charged for the
558
637
  # request. Bucket owners need not specify this parameter in their
559
- # requests. For information about downloading objects from requester
560
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
638
+ # requests. For information about downloading objects from Requester
639
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
561
640
  # in the *Amazon S3 User Guide*.
562
641
  #
563
642
  #
@@ -580,8 +659,8 @@ module Aws::S3
580
659
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
581
660
  # @option options [String] :expected_bucket_owner
582
661
  # The account ID of the expected bucket owner. If the bucket is owned by
583
- # a different account, the request will fail with an HTTP `403 (Access
584
- # Denied)` error.
662
+ # a different account, the request fails with the HTTP status code `403
663
+ # Forbidden` (access denied).
585
664
  # @return [Object]
586
665
  def put_object(options = {})
587
666
  options = options.merge(bucket: @name)
@@ -688,8 +767,8 @@ module Aws::S3
688
767
  # specified `upload-id-marker`.
689
768
  # @option options [String] :expected_bucket_owner
690
769
  # The account ID of the expected bucket owner. If the bucket is owned by
691
- # a different account, the request will fail with an HTTP `403 (Access
692
- # Denied)` error.
770
+ # a different account, the request fails with the HTTP status code `403
771
+ # Forbidden` (access denied).
693
772
  # @return [MultipartUpload::Collection]
694
773
  def multipart_uploads(options = {})
695
774
  batches = Enumerator.new do |y|
@@ -768,8 +847,8 @@ module Aws::S3
768
847
  # Specifies the object version you want to start listing from.
769
848
  # @option options [String] :expected_bucket_owner
770
849
  # The account ID of the expected bucket owner. If the bucket is owned by
771
- # a different account, the request will fail with an HTTP `403 (Access
772
- # Denied)` error.
850
+ # a different account, the request fails with the HTTP status code `403
851
+ # Forbidden` (access denied).
773
852
  # @return [ObjectVersion::Collection]
774
853
  def object_versions(options = {})
775
854
  batches = Enumerator.new do |y|
@@ -824,8 +903,8 @@ module Aws::S3
824
903
  # this parameter in their requests.
825
904
  # @option options [String] :expected_bucket_owner
826
905
  # The account ID of the expected bucket owner. If the bucket is owned by
827
- # a different account, the request will fail with an HTTP `403 (Access
828
- # Denied)` error.
906
+ # a different account, the request fails with the HTTP status code `403
907
+ # Forbidden` (access denied).
829
908
  # @return [ObjectSummary::Collection]
830
909
  def objects(options = {})
831
910
  batches = Enumerator.new do |y|
@@ -203,6 +203,7 @@ module Aws::S3
203
203
  # },
204
204
  # },
205
205
  # content_md5: "ContentMD5",
206
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
206
207
  # grant_full_control: "GrantFullControl",
207
208
  # grant_read: "GrantRead",
208
209
  # grant_read_acp: "GrantReadACP",
@@ -228,6 +229,21 @@ module Aws::S3
228
229
  #
229
230
  #
230
231
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
232
+ # @option options [String] :checksum_algorithm
233
+ # Indicates the algorithm used to create the checksum for the object
234
+ # when using the SDK. This header will not provide any additional
235
+ # functionality if not using the SDK. When sending this header, there
236
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
237
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
238
+ # `400 Bad Request`. For more information, see [Checking object
239
+ # integrity][1] in the *Amazon S3 User Guide*.
240
+ #
241
+ # If you provide an individual checksum, Amazon S3 ignores any provided
242
+ # `ChecksumAlgorithm` parameter.
243
+ #
244
+ #
245
+ #
246
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
231
247
  # @option options [String] :grant_full_control
232
248
  # Allows grantee the read, write, read ACP, and write ACP permissions on
233
249
  # the bucket.
@@ -244,8 +260,8 @@ module Aws::S3
244
260
  # Allows grantee to write the ACL for the applicable bucket.
245
261
  # @option options [String] :expected_bucket_owner
246
262
  # The account ID of the expected bucket owner. If the bucket is owned by
247
- # a different account, the request will fail with an HTTP `403 (Access
248
- # Denied)` error.
263
+ # a different account, the request fails with the HTTP status code `403
264
+ # Forbidden` (access denied).
249
265
  # @return [EmptyStructure]
250
266
  def put(options = {})
251
267
  options = options.merge(bucket: @bucket_name)
@@ -183,8 +183,8 @@ module Aws::S3
183
183
  # @param [Hash] options ({})
184
184
  # @option options [String] :expected_bucket_owner
185
185
  # The account ID of the expected bucket owner. If the bucket is owned by
186
- # a different account, the request will fail with an HTTP `403 (Access
187
- # Denied)` error.
186
+ # a different account, the request fails with the HTTP status code `403
187
+ # Forbidden` (access denied).
188
188
  # @return [EmptyStructure]
189
189
  def delete(options = {})
190
190
  options = options.merge(bucket: @bucket_name)
@@ -208,6 +208,7 @@ module Aws::S3
208
208
  # ],
209
209
  # },
210
210
  # content_md5: "ContentMD5",
211
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
211
212
  # expected_bucket_owner: "AccountId",
212
213
  # })
213
214
  # @param [Hash] options ({})
@@ -231,10 +232,25 @@ module Aws::S3
231
232
  #
232
233
  #
233
234
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
235
+ # @option options [String] :checksum_algorithm
236
+ # Indicates the algorithm used to create the checksum for the object
237
+ # when using the SDK. This header will not provide any additional
238
+ # functionality if not using the SDK. When sending this header, there
239
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
240
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
241
+ # `400 Bad Request`. For more information, see [Checking object
242
+ # integrity][1] in the *Amazon S3 User Guide*.
243
+ #
244
+ # If you provide an individual checksum, Amazon S3 ignores any provided
245
+ # `ChecksumAlgorithm` parameter.
246
+ #
247
+ #
248
+ #
249
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
234
250
  # @option options [String] :expected_bucket_owner
235
251
  # The account ID of the expected bucket owner. If the bucket is owned by
236
- # a different account, the request will fail with an HTTP `403 (Access
237
- # Denied)` error.
252
+ # a different account, the request fails with the HTTP status code `403
253
+ # Forbidden` (access denied).
238
254
  # @return [EmptyStructure]
239
255
  def put(options = {})
240
256
  options = options.merge(bucket: @bucket_name)
@@ -182,8 +182,8 @@ module Aws::S3
182
182
  # @param [Hash] options ({})
183
183
  # @option options [String] :expected_bucket_owner
184
184
  # The account ID of the expected bucket owner. If the bucket is owned by
185
- # a different account, the request will fail with an HTTP `403 (Access
186
- # Denied)` error.
185
+ # a different account, the request fails with the HTTP status code `403
186
+ # Forbidden` (access denied).
187
187
  # @return [EmptyStructure]
188
188
  def delete(options = {})
189
189
  options = options.merge(bucket: @bucket_name)
@@ -195,6 +195,7 @@ module Aws::S3
195
195
  #
196
196
  # bucket_lifecycle.put({
197
197
  # content_md5: "ContentMD5",
198
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
198
199
  # lifecycle_configuration: {
199
200
  # rules: [ # required
200
201
  # {
@@ -233,11 +234,26 @@ module Aws::S3
233
234
  # For requests made using the Amazon Web Services Command Line Interface
234
235
  # (CLI) or Amazon Web Services SDKs, this field is calculated
235
236
  # automatically.
237
+ # @option options [String] :checksum_algorithm
238
+ # Indicates the algorithm used to create the checksum for the object
239
+ # when using the SDK. This header will not provide any additional
240
+ # functionality if not using the SDK. When sending this header, there
241
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
242
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
243
+ # `400 Bad Request`. For more information, see [Checking object
244
+ # integrity][1] in the *Amazon S3 User Guide*.
245
+ #
246
+ # If you provide an individual checksum, Amazon S3 ignores any provided
247
+ # `ChecksumAlgorithm` parameter.
248
+ #
249
+ #
250
+ #
251
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
236
252
  # @option options [Types::LifecycleConfiguration] :lifecycle_configuration
237
253
  # @option options [String] :expected_bucket_owner
238
254
  # The account ID of the expected bucket owner. If the bucket is owned by
239
- # a different account, the request will fail with an HTTP `403 (Access
240
- # Denied)` error.
255
+ # a different account, the request fails with the HTTP status code `403
256
+ # Forbidden` (access denied).
241
257
  # @return [EmptyStructure]
242
258
  def put(options = {})
243
259
  options = options.merge(bucket: @bucket_name)
@@ -182,8 +182,8 @@ module Aws::S3
182
182
  # @param [Hash] options ({})
183
183
  # @option options [String] :expected_bucket_owner
184
184
  # The account ID of the expected bucket owner. If the bucket is owned by
185
- # a different account, the request will fail with an HTTP `403 (Access
186
- # Denied)` error.
185
+ # a different account, the request fails with the HTTP status code `403
186
+ # Forbidden` (access denied).
187
187
  # @return [EmptyStructure]
188
188
  def delete(options = {})
189
189
  options = options.merge(bucket: @bucket_name)
@@ -194,6 +194,7 @@ module Aws::S3
194
194
  # @example Request syntax with placeholder values
195
195
  #
196
196
  # bucket_lifecycle_configuration.put({
197
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
197
198
  # lifecycle_configuration: {
198
199
  # rules: [ # required
199
200
  # {
@@ -252,12 +253,27 @@ module Aws::S3
252
253
  # expected_bucket_owner: "AccountId",
253
254
  # })
254
255
  # @param [Hash] options ({})
256
+ # @option options [String] :checksum_algorithm
257
+ # Indicates the algorithm used to create the checksum for the object
258
+ # when using the SDK. This header will not provide any additional
259
+ # functionality if not using the SDK. When sending this header, there
260
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
261
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
262
+ # `400 Bad Request`. For more information, see [Checking object
263
+ # integrity][1] in the *Amazon S3 User Guide*.
264
+ #
265
+ # If you provide an individual checksum, Amazon S3 ignores any provided
266
+ # `ChecksumAlgorithm` parameter.
267
+ #
268
+ #
269
+ #
270
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
255
271
  # @option options [Types::BucketLifecycleConfiguration] :lifecycle_configuration
256
272
  # Container for lifecycle rules. You can add as many as 1,000 rules.
257
273
  # @option options [String] :expected_bucket_owner
258
274
  # The account ID of the expected bucket owner. If the bucket is owned by
259
- # a different account, the request will fail with an HTTP `403 (Access
260
- # Denied)` error.
275
+ # a different account, the request fails with the HTTP status code `403
276
+ # Forbidden` (access denied).
261
277
  # @return [EmptyStructure]
262
278
  def put(options = {})
263
279
  options = options.merge(bucket: @bucket_name)
@@ -202,6 +202,7 @@ module Aws::S3
202
202
  # },
203
203
  # },
204
204
  # content_md5: "ContentMD5",
205
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
205
206
  # expected_bucket_owner: "AccountId",
206
207
  # })
207
208
  # @param [Hash] options ({})
@@ -213,10 +214,25 @@ module Aws::S3
213
214
  # For requests made using the Amazon Web Services Command Line Interface
214
215
  # (CLI) or Amazon Web Services SDKs, this field is calculated
215
216
  # automatically.
217
+ # @option options [String] :checksum_algorithm
218
+ # Indicates the algorithm used to create the checksum for the object
219
+ # when using the SDK. This header will not provide any additional
220
+ # functionality if not using the SDK. When sending this header, there
221
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
222
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
223
+ # `400 Bad Request`. For more information, see [Checking object
224
+ # integrity][1] in the *Amazon S3 User Guide*.
225
+ #
226
+ # If you provide an individual checksum, Amazon S3 ignores any provided
227
+ # `ChecksumAlgorithm` parameter.
228
+ #
229
+ #
230
+ #
231
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
216
232
  # @option options [String] :expected_bucket_owner
217
233
  # The account ID of the expected bucket owner. If the bucket is owned by
218
- # a different account, the request will fail with an HTTP `403 (Access
219
- # Denied)` error.
234
+ # a different account, the request fails with the HTTP status code `403
235
+ # Forbidden` (access denied).
220
236
  # @return [EmptyStructure]
221
237
  def put(options = {})
222
238
  options = options.merge(bucket: @bucket_name)
@@ -263,8 +263,8 @@ module Aws::S3
263
263
  # bucket.
264
264
  # @option options [String] :expected_bucket_owner
265
265
  # The account ID of the expected bucket owner. If the bucket is owned by
266
- # a different account, the request will fail with an HTTP `403 (Access
267
- # Denied)` error.
266
+ # a different account, the request fails with the HTTP status code `403
267
+ # Forbidden` (access denied).
268
268
  # @option options [Boolean] :skip_destination_validation
269
269
  # Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations.
270
270
  # True or false value.
@@ -182,8 +182,8 @@ module Aws::S3
182
182
  # @param [Hash] options ({})
183
183
  # @option options [String] :expected_bucket_owner
184
184
  # The account ID of the expected bucket owner. If the bucket is owned by
185
- # a different account, the request will fail with an HTTP `403 (Access
186
- # Denied)` error.
185
+ # a different account, the request fails with the HTTP status code `403
186
+ # Forbidden` (access denied).
187
187
  # @return [EmptyStructure]
188
188
  def delete(options = {})
189
189
  options = options.merge(bucket: @bucket_name)
@@ -195,6 +195,7 @@ module Aws::S3
195
195
  #
196
196
  # bucket_policy.put({
197
197
  # content_md5: "ContentMD5",
198
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
198
199
  # confirm_remove_self_bucket_access: false,
199
200
  # policy: "Policy", # required
200
201
  # expected_bucket_owner: "AccountId",
@@ -206,6 +207,21 @@ module Aws::S3
206
207
  # For requests made using the Amazon Web Services Command Line Interface
207
208
  # (CLI) or Amazon Web Services SDKs, this field is calculated
208
209
  # automatically.
210
+ # @option options [String] :checksum_algorithm
211
+ # Indicates the algorithm used to create the checksum for the object
212
+ # when using the SDK. This header will not provide any additional
213
+ # functionality if not using the SDK. When sending this header, there
214
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
215
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
216
+ # `400 Bad Request`. For more information, see [Checking object
217
+ # integrity][1] in the *Amazon S3 User Guide*.
218
+ #
219
+ # If you provide an individual checksum, Amazon S3 ignores any provided
220
+ # `ChecksumAlgorithm` parameter.
221
+ #
222
+ #
223
+ #
224
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
209
225
  # @option options [Boolean] :confirm_remove_self_bucket_access
210
226
  # Set this parameter to true to confirm that you want to remove your
211
227
  # permissions to change this bucket policy in the future.
@@ -213,8 +229,8 @@ module Aws::S3
213
229
  # The bucket policy as a JSON document.
214
230
  # @option options [String] :expected_bucket_owner
215
231
  # The account ID of the expected bucket owner. If the bucket is owned by
216
- # a different account, the request will fail with an HTTP `403 (Access
217
- # Denied)` error.
232
+ # a different account, the request fails with the HTTP status code `403
233
+ # Forbidden` (access denied).
218
234
  # @return [EmptyStructure]
219
235
  def put(options = {})
220
236
  options = options.merge(bucket: @bucket_name)
@@ -178,6 +178,7 @@ module Aws::S3
178
178
  #
179
179
  # bucket_request_payment.put({
180
180
  # content_md5: "ContentMD5",
181
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
181
182
  # request_payment_configuration: { # required
182
183
  # payer: "Requester", # required, accepts Requester, BucketOwner
183
184
  # },
@@ -196,12 +197,27 @@ module Aws::S3
196
197
  #
197
198
  #
198
199
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
200
+ # @option options [String] :checksum_algorithm
201
+ # Indicates the algorithm used to create the checksum for the object
202
+ # when using the SDK. This header will not provide any additional
203
+ # functionality if not using the SDK. When sending this header, there
204
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
205
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
206
+ # `400 Bad Request`. For more information, see [Checking object
207
+ # integrity][1] in the *Amazon S3 User Guide*.
208
+ #
209
+ # If you provide an individual checksum, Amazon S3 ignores any provided
210
+ # `ChecksumAlgorithm` parameter.
211
+ #
212
+ #
213
+ #
214
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
199
215
  # @option options [required, Types::RequestPaymentConfiguration] :request_payment_configuration
200
216
  # Container for Payer.
201
217
  # @option options [String] :expected_bucket_owner
202
218
  # The account ID of the expected bucket owner. If the bucket is owned by
203
- # a different account, the request will fail with an HTTP `403 (Access
204
- # Denied)` error.
219
+ # a different account, the request fails with the HTTP status code `403
220
+ # Forbidden` (access denied).
205
221
  # @return [EmptyStructure]
206
222
  def put(options = {})
207
223
  options = options.merge(bucket: @bucket_name)
@@ -182,8 +182,8 @@ module Aws::S3
182
182
  # @param [Hash] options ({})
183
183
  # @option options [String] :expected_bucket_owner
184
184
  # The account ID of the expected bucket owner. If the bucket is owned by
185
- # a different account, the request will fail with an HTTP `403 (Access
186
- # Denied)` error.
185
+ # a different account, the request fails with the HTTP status code `403
186
+ # Forbidden` (access denied).
187
187
  # @return [EmptyStructure]
188
188
  def delete(options = {})
189
189
  options = options.merge(bucket: @bucket_name)
@@ -195,6 +195,7 @@ module Aws::S3
195
195
  #
196
196
  # bucket_tagging.put({
197
197
  # content_md5: "ContentMD5",
198
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
198
199
  # tagging: { # required
199
200
  # tag_set: [ # required
200
201
  # {
@@ -218,12 +219,27 @@ module Aws::S3
218
219
  #
219
220
  #
220
221
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
222
+ # @option options [String] :checksum_algorithm
223
+ # Indicates the algorithm used to create the checksum for the object
224
+ # when using the SDK. This header will not provide any additional
225
+ # functionality if not using the SDK. When sending this header, there
226
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
227
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
228
+ # `400 Bad Request`. For more information, see [Checking object
229
+ # integrity][1] in the *Amazon S3 User Guide*.
230
+ #
231
+ # If you provide an individual checksum, Amazon S3 ignores any provided
232
+ # `ChecksumAlgorithm` parameter.
233
+ #
234
+ #
235
+ #
236
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
221
237
  # @option options [required, Types::Tagging] :tagging
222
238
  # Container for the `TagSet` and `Tag` elements.
223
239
  # @option options [String] :expected_bucket_owner
224
240
  # The account ID of the expected bucket owner. If the bucket is owned by
225
- # a different account, the request will fail with an HTTP `403 (Access
226
- # Denied)` error.
241
+ # a different account, the request fails with the HTTP status code `403
242
+ # Forbidden` (access denied).
227
243
  # @return [EmptyStructure]
228
244
  def put(options = {})
229
245
  options = options.merge(bucket: @bucket_name)