aws-sdk-s3 1.137.0 → 1.141.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +424 -93
  5. data/lib/aws-sdk-s3/bucket_acl.rb +9 -9
  6. data/lib/aws-sdk-s3/bucket_cors.rb +12 -12
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +12 -12
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +12 -12
  9. data/lib/aws-sdk-s3/bucket_logging.rb +16 -9
  10. data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
  11. data/lib/aws-sdk-s3/bucket_policy.rb +58 -14
  12. data/lib/aws-sdk-s3/bucket_request_payment.rb +9 -9
  13. data/lib/aws-sdk-s3/bucket_tagging.rb +12 -12
  14. data/lib/aws-sdk-s3/bucket_versioning.rb +27 -27
  15. data/lib/aws-sdk-s3/bucket_website.rb +12 -12
  16. data/lib/aws-sdk-s3/client.rb +5597 -2487
  17. data/lib/aws-sdk-s3/client_api.rb +111 -16
  18. data/lib/aws-sdk-s3/customizations.rb +5 -0
  19. data/lib/aws-sdk-s3/endpoint_parameters.rb +32 -0
  20. data/lib/aws-sdk-s3/endpoint_provider.rb +82 -0
  21. data/lib/aws-sdk-s3/endpoints.rb +440 -0
  22. data/lib/aws-sdk-s3/express_credentials.rb +55 -0
  23. data/lib/aws-sdk-s3/express_credentials_cache.rb +30 -0
  24. data/lib/aws-sdk-s3/express_credentials_provider.rb +36 -0
  25. data/lib/aws-sdk-s3/file_downloader.rb +0 -1
  26. data/lib/aws-sdk-s3/multipart_file_uploader.rb +0 -1
  27. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +0 -1
  28. data/lib/aws-sdk-s3/multipart_upload.rb +75 -28
  29. data/lib/aws-sdk-s3/multipart_upload_part.rb +164 -43
  30. data/lib/aws-sdk-s3/object.rb +1498 -247
  31. data/lib/aws-sdk-s3/object_acl.rb +31 -19
  32. data/lib/aws-sdk-s3/object_summary.rb +1369 -272
  33. data/lib/aws-sdk-s3/object_version.rb +305 -58
  34. data/lib/aws-sdk-s3/plugins/endpoints.rb +13 -2
  35. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +90 -0
  36. data/lib/aws-sdk-s3/plugins/location_constraint.rb +3 -1
  37. data/lib/aws-sdk-s3/plugins/md5s.rb +2 -1
  38. data/lib/aws-sdk-s3/presigner.rb +2 -2
  39. data/lib/aws-sdk-s3/resource.rb +83 -11
  40. data/lib/aws-sdk-s3/types.rb +4338 -1252
  41. data/lib/aws-sdk-s3.rb +1 -1
  42. metadata +11 -7
@@ -235,12 +235,12 @@ module Aws::S3
235
235
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
236
236
  # @option options [String] :checksum_algorithm
237
237
  # Indicates the algorithm used to create the checksum for the object
238
- # when using the SDK. This header will not provide any additional
239
- # functionality if not using the SDK. When sending this header, there
240
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
241
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
242
- # `400 Bad Request`. For more information, see [Checking object
243
- # integrity][1] in the *Amazon S3 User Guide*.
238
+ # when you use the SDK. This header will not provide any additional
239
+ # functionality if you don't use the SDK. When you send this header,
240
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
241
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
242
+ # status code `400 Bad Request`. For more information, see [Checking
243
+ # object integrity][1] in the *Amazon S3 User Guide*.
244
244
  #
245
245
  # If you provide an individual checksum, Amazon S3 ignores any provided
246
246
  # `ChecksumAlgorithm` parameter.
@@ -263,9 +263,9 @@ module Aws::S3
263
263
  # @option options [String] :grant_write_acp
264
264
  # Allows grantee to write the ACL for the applicable bucket.
265
265
  # @option options [String] :expected_bucket_owner
266
- # The account ID of the expected bucket owner. If the bucket is owned by
267
- # a different account, the request fails with the HTTP status code `403
268
- # Forbidden` (access denied).
266
+ # The account ID of the expected bucket owner. If the account ID that
267
+ # you provide does not match the actual owner of the bucket, the request
268
+ # fails with the HTTP status code `403 Forbidden` (access denied).
269
269
  # @return [EmptyStructure]
270
270
  def put(options = {})
271
271
  options = options.merge(bucket: @bucket_name)
@@ -186,9 +186,9 @@ module Aws::S3
186
186
  # })
187
187
  # @param [Hash] options ({})
188
188
  # @option options [String] :expected_bucket_owner
189
- # The account ID of the expected bucket owner. If the bucket is owned by
190
- # a different account, the request fails with the HTTP status code `403
191
- # Forbidden` (access denied).
189
+ # The account ID of the expected bucket owner. If the account ID that
190
+ # you provide does not match the actual owner of the bucket, the request
191
+ # fails with the HTTP status code `403 Forbidden` (access denied).
192
192
  # @return [EmptyStructure]
193
193
  def delete(options = {})
194
194
  options = options.merge(bucket: @bucket_name)
@@ -240,12 +240,12 @@ module Aws::S3
240
240
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
241
241
  # @option options [String] :checksum_algorithm
242
242
  # Indicates the algorithm used to create the checksum for the object
243
- # when using the SDK. This header will not provide any additional
244
- # functionality if not using the SDK. When sending this header, there
245
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
246
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
247
- # `400 Bad Request`. For more information, see [Checking object
248
- # integrity][1] in the *Amazon S3 User Guide*.
243
+ # when you use the SDK. This header will not provide any additional
244
+ # functionality if you don't use the SDK. When you send this header,
245
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
246
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
247
+ # status code `400 Bad Request`. For more information, see [Checking
248
+ # object integrity][1] in the *Amazon S3 User Guide*.
249
249
  #
250
250
  # If you provide an individual checksum, Amazon S3 ignores any provided
251
251
  # `ChecksumAlgorithm` parameter.
@@ -254,9 +254,9 @@ module Aws::S3
254
254
  #
255
255
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
256
256
  # @option options [String] :expected_bucket_owner
257
- # The account ID of the expected bucket owner. If the bucket is owned by
258
- # a different account, the request fails with the HTTP status code `403
259
- # Forbidden` (access denied).
257
+ # The account ID of the expected bucket owner. If the account ID that
258
+ # you provide does not match the actual owner of the bucket, the request
259
+ # fails with the HTTP status code `403 Forbidden` (access denied).
260
260
  # @return [EmptyStructure]
261
261
  def put(options = {})
262
262
  options = options.merge(bucket: @bucket_name)
@@ -185,9 +185,9 @@ module Aws::S3
185
185
  # })
186
186
  # @param [Hash] options ({})
187
187
  # @option options [String] :expected_bucket_owner
188
- # The account ID of the expected bucket owner. If the bucket is owned by
189
- # a different account, the request fails with the HTTP status code `403
190
- # Forbidden` (access denied).
188
+ # The account ID of the expected bucket owner. If the account ID that
189
+ # you provide does not match the actual owner of the bucket, the request
190
+ # fails with the HTTP status code `403 Forbidden` (access denied).
191
191
  # @return [EmptyStructure]
192
192
  def delete(options = {})
193
193
  options = options.merge(bucket: @bucket_name)
@@ -242,12 +242,12 @@ module Aws::S3
242
242
  # automatically.
243
243
  # @option options [String] :checksum_algorithm
244
244
  # Indicates the algorithm used to create the checksum for the object
245
- # when using the SDK. This header will not provide any additional
246
- # functionality if not using the SDK. When sending this header, there
247
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
248
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
249
- # `400 Bad Request`. For more information, see [Checking object
250
- # integrity][1] in the *Amazon S3 User Guide*.
245
+ # when you use the SDK. This header will not provide any additional
246
+ # functionality if you don't use the SDK. When you send this header,
247
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
248
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
249
+ # status code `400 Bad Request`. For more information, see [Checking
250
+ # object integrity][1] in the *Amazon S3 User Guide*.
251
251
  #
252
252
  # If you provide an individual checksum, Amazon S3 ignores any provided
253
253
  # `ChecksumAlgorithm` parameter.
@@ -257,9 +257,9 @@ module Aws::S3
257
257
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
258
258
  # @option options [Types::LifecycleConfiguration] :lifecycle_configuration
259
259
  # @option options [String] :expected_bucket_owner
260
- # The account ID of the expected bucket owner. If the bucket is owned by
261
- # a different account, the request fails with the HTTP status code `403
262
- # Forbidden` (access denied).
260
+ # The account ID of the expected bucket owner. If the account ID that
261
+ # you provide does not match the actual owner of the bucket, the request
262
+ # fails with the HTTP status code `403 Forbidden` (access denied).
263
263
  # @return [EmptyStructure]
264
264
  def put(options = {})
265
265
  options = options.merge(bucket: @bucket_name)
@@ -185,9 +185,9 @@ module Aws::S3
185
185
  # })
186
186
  # @param [Hash] options ({})
187
187
  # @option options [String] :expected_bucket_owner
188
- # The account ID of the expected bucket owner. If the bucket is owned by
189
- # a different account, the request fails with the HTTP status code `403
190
- # Forbidden` (access denied).
188
+ # The account ID of the expected bucket owner. If the account ID that
189
+ # you provide does not match the actual owner of the bucket, the request
190
+ # fails with the HTTP status code `403 Forbidden` (access denied).
191
191
  # @return [EmptyStructure]
192
192
  def delete(options = {})
193
193
  options = options.merge(bucket: @bucket_name)
@@ -261,12 +261,12 @@ module Aws::S3
261
261
  # @param [Hash] options ({})
262
262
  # @option options [String] :checksum_algorithm
263
263
  # Indicates the algorithm used to create the checksum for the object
264
- # when using the SDK. This header will not provide any additional
265
- # functionality if not using the SDK. When sending this header, there
266
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
267
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
268
- # `400 Bad Request`. For more information, see [Checking object
269
- # integrity][1] in the *Amazon S3 User Guide*.
264
+ # when you use the SDK. This header will not provide any additional
265
+ # functionality if you don't use the SDK. When you send this header,
266
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
267
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
268
+ # status code `400 Bad Request`. For more information, see [Checking
269
+ # object integrity][1] in the *Amazon S3 User Guide*.
270
270
  #
271
271
  # If you provide an individual checksum, Amazon S3 ignores any provided
272
272
  # `ChecksumAlgorithm` parameter.
@@ -277,9 +277,9 @@ module Aws::S3
277
277
  # @option options [Types::BucketLifecycleConfiguration] :lifecycle_configuration
278
278
  # Container for lifecycle rules. You can add as many as 1,000 rules.
279
279
  # @option options [String] :expected_bucket_owner
280
- # The account ID of the expected bucket owner. If the bucket is owned by
281
- # a different account, the request fails with the HTTP status code `403
282
- # Forbidden` (access denied).
280
+ # The account ID of the expected bucket owner. If the account ID that
281
+ # you provide does not match the actual owner of the bucket, the request
282
+ # fails with the HTTP status code `403 Forbidden` (access denied).
283
283
  # @return [EmptyStructure]
284
284
  def put(options = {})
285
285
  options = options.merge(bucket: @bucket_name)
@@ -203,6 +203,13 @@ module Aws::S3
203
203
  # },
204
204
  # ],
205
205
  # target_prefix: "TargetPrefix", # required
206
+ # target_object_key_format: {
207
+ # simple_prefix: {
208
+ # },
209
+ # partitioned_prefix: {
210
+ # partition_date_source: "EventTime", # accepts EventTime, DeliveryTime
211
+ # },
212
+ # },
206
213
  # },
207
214
  # },
208
215
  # content_md5: "ContentMD5",
@@ -220,12 +227,12 @@ module Aws::S3
220
227
  # automatically.
221
228
  # @option options [String] :checksum_algorithm
222
229
  # Indicates the algorithm used to create the checksum for the object
223
- # when using the SDK. This header will not provide any additional
224
- # functionality if not using the SDK. When sending this header, there
225
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
226
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
227
- # `400 Bad Request`. For more information, see [Checking object
228
- # integrity][1] in the *Amazon S3 User Guide*.
230
+ # when you use the SDK. This header will not provide any additional
231
+ # functionality if you don't use the SDK. When you send this header,
232
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
233
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
234
+ # status code `400 Bad Request`. For more information, see [Checking
235
+ # object integrity][1] in the *Amazon S3 User Guide*.
229
236
  #
230
237
  # If you provide an individual checksum, Amazon S3 ignores any provided
231
238
  # `ChecksumAlgorithm` parameter.
@@ -234,9 +241,9 @@ module Aws::S3
234
241
  #
235
242
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
236
243
  # @option options [String] :expected_bucket_owner
237
- # The account ID of the expected bucket owner. If the bucket is owned by
238
- # a different account, the request fails with the HTTP status code `403
239
- # Forbidden` (access denied).
244
+ # The account ID of the expected bucket owner. If the account ID that
245
+ # you provide does not match the actual owner of the bucket, the request
246
+ # fails with the HTTP status code `403 Forbidden` (access denied).
240
247
  # @return [EmptyStructure]
241
248
  def put(options = {})
242
249
  options = options.merge(bucket: @bucket_name)
@@ -266,9 +266,9 @@ module Aws::S3
266
266
  # bucket. If this element is empty, notifications are turned off for the
267
267
  # bucket.
268
268
  # @option options [String] :expected_bucket_owner
269
- # The account ID of the expected bucket owner. If the bucket is owned by
270
- # a different account, the request fails with the HTTP status code `403
271
- # Forbidden` (access denied).
269
+ # The account ID of the expected bucket owner. If the account ID that
270
+ # you provide does not match the actual owner of the bucket, the request
271
+ # fails with the HTTP status code `403 Forbidden` (access denied).
272
272
  # @option options [Boolean] :skip_destination_validation
273
273
  # Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations.
274
274
  # True or false value.
@@ -185,9 +185,15 @@ module Aws::S3
185
185
  # })
186
186
  # @param [Hash] options ({})
187
187
  # @option options [String] :expected_bucket_owner
188
- # The account ID of the expected bucket owner. If the bucket is owned by
189
- # a different account, the request fails with the HTTP status code `403
190
- # Forbidden` (access denied).
188
+ # The account ID of the expected bucket owner. If the account ID that
189
+ # you provide does not match the actual owner of the bucket, the request
190
+ # fails with the HTTP status code `403 Forbidden` (access denied).
191
+ #
192
+ # <note markdown="1"> For directory buckets, this header is not supported in this API
193
+ # operation. If you specify this header, the request fails with the HTTP
194
+ # status code `501 Not Implemented`.
195
+ #
196
+ # </note>
191
197
  # @return [EmptyStructure]
192
198
  def delete(options = {})
193
199
  options = options.merge(bucket: @bucket_name)
@@ -213,17 +219,42 @@ module Aws::S3
213
219
  # For requests made using the Amazon Web Services Command Line Interface
214
220
  # (CLI) or Amazon Web Services SDKs, this field is calculated
215
221
  # automatically.
222
+ #
223
+ # <note markdown="1"> This functionality is not supported for directory buckets.
224
+ #
225
+ # </note>
216
226
  # @option options [String] :checksum_algorithm
217
227
  # Indicates the algorithm used to create the checksum for the object
218
- # when using the SDK. This header will not provide any additional
219
- # functionality if not using the SDK. When sending this header, there
220
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
221
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
222
- # `400 Bad Request`. For more information, see [Checking object
223
- # integrity][1] in the *Amazon S3 User Guide*.
228
+ # when you use the SDK. This header will not provide any additional
229
+ # functionality if you don't use the SDK. When you send this header,
230
+ # there must be a corresponding `x-amz-checksum-algorithm ` or
231
+ # `x-amz-trailer` header sent. Otherwise, Amazon S3 fails the request
232
+ # with the HTTP status code `400 Bad Request`.
233
+ #
234
+ # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
235
+ # the supported algorithm from the following list:
236
+ #
237
+ # * CRC32
238
+ #
239
+ # * CRC32C
240
+ #
241
+ # * SHA1
242
+ #
243
+ # * SHA256
224
244
  #
225
- # If you provide an individual checksum, Amazon S3 ignores any provided
226
- # `ChecksumAlgorithm` parameter.
245
+ # For more information, see [Checking object integrity][1] in the
246
+ # *Amazon S3 User Guide*.
247
+ #
248
+ # If the individual checksum value you provide through
249
+ # `x-amz-checksum-algorithm ` doesn't match the checksum algorithm you
250
+ # set through `x-amz-sdk-checksum-algorithm`, Amazon S3 ignores any
251
+ # provided `ChecksumAlgorithm` parameter and uses the checksum algorithm
252
+ # that matches the provided value in `x-amz-checksum-algorithm `.
253
+ #
254
+ # <note markdown="1"> For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
255
+ # is the default checksum algorithm that's used for performance.
256
+ #
257
+ # </note>
227
258
  #
228
259
  #
229
260
  #
@@ -231,12 +262,25 @@ module Aws::S3
231
262
  # @option options [Boolean] :confirm_remove_self_bucket_access
232
263
  # Set this parameter to true to confirm that you want to remove your
233
264
  # permissions to change this bucket policy in the future.
265
+ #
266
+ # <note markdown="1"> This functionality is not supported for directory buckets.
267
+ #
268
+ # </note>
234
269
  # @option options [required, String] :policy
235
270
  # The bucket policy as a JSON document.
271
+ #
272
+ # For directory buckets, the only IAM action supported in the bucket
273
+ # policy is `s3express:CreateSession`.
236
274
  # @option options [String] :expected_bucket_owner
237
- # The account ID of the expected bucket owner. If the bucket is owned by
238
- # a different account, the request fails with the HTTP status code `403
239
- # Forbidden` (access denied).
275
+ # The account ID of the expected bucket owner. If the account ID that
276
+ # you provide does not match the actual owner of the bucket, the request
277
+ # fails with the HTTP status code `403 Forbidden` (access denied).
278
+ #
279
+ # <note markdown="1"> For directory buckets, this header is not supported in this API
280
+ # operation. If you specify this header, the request fails with the HTTP
281
+ # status code `501 Not Implemented`.
282
+ #
283
+ # </note>
240
284
  # @return [EmptyStructure]
241
285
  def put(options = {})
242
286
  options = options.merge(bucket: @bucket_name)
@@ -203,12 +203,12 @@ module Aws::S3
203
203
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
204
204
  # @option options [String] :checksum_algorithm
205
205
  # Indicates the algorithm used to create the checksum for the object
206
- # when using the SDK. This header will not provide any additional
207
- # functionality if not using the SDK. When sending this header, there
208
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
209
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
210
- # `400 Bad Request`. For more information, see [Checking object
211
- # integrity][1] in the *Amazon S3 User Guide*.
206
+ # when you use the SDK. This header will not provide any additional
207
+ # functionality if you don't use the SDK. When you send this header,
208
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
209
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
210
+ # status code `400 Bad Request`. For more information, see [Checking
211
+ # object integrity][1] in the *Amazon S3 User Guide*.
212
212
  #
213
213
  # If you provide an individual checksum, Amazon S3 ignores any provided
214
214
  # `ChecksumAlgorithm` parameter.
@@ -219,9 +219,9 @@ module Aws::S3
219
219
  # @option options [required, Types::RequestPaymentConfiguration] :request_payment_configuration
220
220
  # Container for Payer.
221
221
  # @option options [String] :expected_bucket_owner
222
- # The account ID of the expected bucket owner. If the bucket is owned by
223
- # a different account, the request fails with the HTTP status code `403
224
- # Forbidden` (access denied).
222
+ # The account ID of the expected bucket owner. If the account ID that
223
+ # you provide does not match the actual owner of the bucket, the request
224
+ # fails with the HTTP status code `403 Forbidden` (access denied).
225
225
  # @return [EmptyStructure]
226
226
  def put(options = {})
227
227
  options = options.merge(bucket: @bucket_name)
@@ -185,9 +185,9 @@ module Aws::S3
185
185
  # })
186
186
  # @param [Hash] options ({})
187
187
  # @option options [String] :expected_bucket_owner
188
- # The account ID of the expected bucket owner. If the bucket is owned by
189
- # a different account, the request fails with the HTTP status code `403
190
- # Forbidden` (access denied).
188
+ # The account ID of the expected bucket owner. If the account ID that
189
+ # you provide does not match the actual owner of the bucket, the request
190
+ # fails with the HTTP status code `403 Forbidden` (access denied).
191
191
  # @return [EmptyStructure]
192
192
  def delete(options = {})
193
193
  options = options.merge(bucket: @bucket_name)
@@ -227,12 +227,12 @@ module Aws::S3
227
227
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
228
228
  # @option options [String] :checksum_algorithm
229
229
  # Indicates the algorithm used to create the checksum for the object
230
- # when using the SDK. This header will not provide any additional
231
- # functionality if not using the SDK. When sending this header, there
232
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
233
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
234
- # `400 Bad Request`. For more information, see [Checking object
235
- # integrity][1] in the *Amazon S3 User Guide*.
230
+ # when you use the SDK. This header will not provide any additional
231
+ # functionality if you don't use the SDK. When you send this header,
232
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
233
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
234
+ # status code `400 Bad Request`. For more information, see [Checking
235
+ # object integrity][1] in the *Amazon S3 User Guide*.
236
236
  #
237
237
  # If you provide an individual checksum, Amazon S3 ignores any provided
238
238
  # `ChecksumAlgorithm` parameter.
@@ -243,9 +243,9 @@ module Aws::S3
243
243
  # @option options [required, Types::Tagging] :tagging
244
244
  # Container for the `TagSet` and `Tag` elements.
245
245
  # @option options [String] :expected_bucket_owner
246
- # The account ID of the expected bucket owner. If the bucket is owned by
247
- # a different account, the request fails with the HTTP status code `403
248
- # Forbidden` (access denied).
246
+ # The account ID of the expected bucket owner. If the account ID that
247
+ # you provide does not match the actual owner of the bucket, the request
248
+ # fails with the HTTP status code `403 Forbidden` (access denied).
249
249
  # @return [EmptyStructure]
250
250
  def put(options = {})
251
251
  options = options.merge(bucket: @bucket_name)
@@ -211,12 +211,12 @@ module Aws::S3
211
211
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
212
212
  # @option options [String] :checksum_algorithm
213
213
  # Indicates the algorithm used to create the checksum for the object
214
- # when using the SDK. This header will not provide any additional
215
- # functionality if not using the SDK. When sending this header, there
216
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
217
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
218
- # `400 Bad Request`. For more information, see [Checking object
219
- # integrity][1] in the *Amazon S3 User Guide*.
214
+ # when you use the SDK. This header will not provide any additional
215
+ # functionality if you don't use the SDK. When you send this header,
216
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
217
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
218
+ # status code `400 Bad Request`. For more information, see [Checking
219
+ # object integrity][1] in the *Amazon S3 User Guide*.
220
220
  #
221
221
  # If you provide an individual checksum, Amazon S3 ignores any provided
222
222
  # `ChecksumAlgorithm` parameter.
@@ -228,9 +228,9 @@ module Aws::S3
228
228
  # The concatenation of the authentication device's serial number, a
229
229
  # space, and the value that is displayed on your authentication device.
230
230
  # @option options [String] :expected_bucket_owner
231
- # The account ID of the expected bucket owner. If the bucket is owned by
232
- # a different account, the request fails with the HTTP status code `403
233
- # Forbidden` (access denied).
231
+ # The account ID of the expected bucket owner. If the account ID that
232
+ # you provide does not match the actual owner of the bucket, the request
233
+ # fails with the HTTP status code `403 Forbidden` (access denied).
234
234
  # @return [EmptyStructure]
235
235
  def enable(options = {})
236
236
  options = Aws::Util.deep_merge(options,
@@ -273,12 +273,12 @@ module Aws::S3
273
273
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
274
274
  # @option options [String] :checksum_algorithm
275
275
  # Indicates the algorithm used to create the checksum for the object
276
- # when using the SDK. This header will not provide any additional
277
- # functionality if not using the SDK. When sending this header, there
278
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
279
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
280
- # `400 Bad Request`. For more information, see [Checking object
281
- # integrity][1] in the *Amazon S3 User Guide*.
276
+ # when you use the SDK. This header will not provide any additional
277
+ # functionality if you don't use the SDK. When you send this header,
278
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
279
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
280
+ # status code `400 Bad Request`. For more information, see [Checking
281
+ # object integrity][1] in the *Amazon S3 User Guide*.
282
282
  #
283
283
  # If you provide an individual checksum, Amazon S3 ignores any provided
284
284
  # `ChecksumAlgorithm` parameter.
@@ -292,9 +292,9 @@ module Aws::S3
292
292
  # @option options [required, Types::VersioningConfiguration] :versioning_configuration
293
293
  # Container for setting the versioning state.
294
294
  # @option options [String] :expected_bucket_owner
295
- # The account ID of the expected bucket owner. If the bucket is owned by
296
- # a different account, the request fails with the HTTP status code `403
297
- # Forbidden` (access denied).
295
+ # The account ID of the expected bucket owner. If the account ID that
296
+ # you provide does not match the actual owner of the bucket, the request
297
+ # fails with the HTTP status code `403 Forbidden` (access denied).
298
298
  # @return [EmptyStructure]
299
299
  def put(options = {})
300
300
  options = options.merge(bucket: @bucket_name)
@@ -328,12 +328,12 @@ module Aws::S3
328
328
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
329
329
  # @option options [String] :checksum_algorithm
330
330
  # Indicates the algorithm used to create the checksum for the object
331
- # when using the SDK. This header will not provide any additional
332
- # functionality if not using the SDK. When sending this header, there
333
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
334
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
335
- # `400 Bad Request`. For more information, see [Checking object
336
- # integrity][1] in the *Amazon S3 User Guide*.
331
+ # when you use the SDK. This header will not provide any additional
332
+ # functionality if you don't use the SDK. When you send this header,
333
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
334
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
335
+ # status code `400 Bad Request`. For more information, see [Checking
336
+ # object integrity][1] in the *Amazon S3 User Guide*.
337
337
  #
338
338
  # If you provide an individual checksum, Amazon S3 ignores any provided
339
339
  # `ChecksumAlgorithm` parameter.
@@ -345,9 +345,9 @@ module Aws::S3
345
345
  # The concatenation of the authentication device's serial number, a
346
346
  # space, and the value that is displayed on your authentication device.
347
347
  # @option options [String] :expected_bucket_owner
348
- # The account ID of the expected bucket owner. If the bucket is owned by
349
- # a different account, the request fails with the HTTP status code `403
350
- # Forbidden` (access denied).
348
+ # The account ID of the expected bucket owner. If the account ID that
349
+ # you provide does not match the actual owner of the bucket, the request
350
+ # fails with the HTTP status code `403 Forbidden` (access denied).
351
351
  # @return [EmptyStructure]
352
352
  def suspend(options = {})
353
353
  options = Aws::Util.deep_merge(options,
@@ -207,9 +207,9 @@ module Aws::S3
207
207
  # })
208
208
  # @param [Hash] options ({})
209
209
  # @option options [String] :expected_bucket_owner
210
- # The account ID of the expected bucket owner. If the bucket is owned by
211
- # a different account, the request fails with the HTTP status code `403
212
- # Forbidden` (access denied).
210
+ # The account ID of the expected bucket owner. If the account ID that
211
+ # you provide does not match the actual owner of the bucket, the request
212
+ # fails with the HTTP status code `403 Forbidden` (access denied).
213
213
  # @return [EmptyStructure]
214
214
  def delete(options = {})
215
215
  options = options.merge(bucket: @bucket_name)
@@ -268,12 +268,12 @@ module Aws::S3
268
268
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
269
269
  # @option options [String] :checksum_algorithm
270
270
  # Indicates the algorithm used to create the checksum for the object
271
- # when using the SDK. This header will not provide any additional
272
- # functionality if not using the SDK. When sending this header, there
273
- # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
274
- # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
275
- # `400 Bad Request`. For more information, see [Checking object
276
- # integrity][1] in the *Amazon S3 User Guide*.
271
+ # when you use the SDK. This header will not provide any additional
272
+ # functionality if you don't use the SDK. When you send this header,
273
+ # there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
274
+ # header sent. Otherwise, Amazon S3 fails the request with the HTTP
275
+ # status code `400 Bad Request`. For more information, see [Checking
276
+ # object integrity][1] in the *Amazon S3 User Guide*.
277
277
  #
278
278
  # If you provide an individual checksum, Amazon S3 ignores any provided
279
279
  # `ChecksumAlgorithm` parameter.
@@ -284,9 +284,9 @@ module Aws::S3
284
284
  # @option options [required, Types::WebsiteConfiguration] :website_configuration
285
285
  # Container for the request.
286
286
  # @option options [String] :expected_bucket_owner
287
- # The account ID of the expected bucket owner. If the bucket is owned by
288
- # a different account, the request fails with the HTTP status code `403
289
- # Forbidden` (access denied).
287
+ # The account ID of the expected bucket owner. If the account ID that
288
+ # you provide does not match the actual owner of the bucket, the request
289
+ # fails with the HTTP status code `403 Forbidden` (access denied).
290
290
  # @return [EmptyStructure]
291
291
  def put(options = {})
292
292
  options = options.merge(bucket: @bucket_name)