aws-sdk-s3 1.111.3 → 1.113.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -187,6 +187,7 @@ module Aws::S3
187
187
  #
188
188
  # bucket_versioning.enable({
189
189
  # content_md5: "ContentMD5",
190
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
190
191
  # mfa: "MFA",
191
192
  # expected_bucket_owner: "AccountId",
192
193
  # })
@@ -204,13 +205,28 @@ module Aws::S3
204
205
  #
205
206
  #
206
207
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
208
+ # @option options [String] :checksum_algorithm
209
+ # Indicates the algorithm used to create the checksum for the object
210
+ # when using the SDK. This header will not provide any additional
211
+ # functionality if not using the SDK. When sending this header, there
212
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
213
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
214
+ # `400 Bad Request`. For more information, see [Checking object
215
+ # integrity][1] in the *Amazon S3 User Guide*.
216
+ #
217
+ # If you provide an individual checksum, Amazon S3 ignores any provided
218
+ # `ChecksumAlgorithm` parameter.
219
+ #
220
+ #
221
+ #
222
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
207
223
  # @option options [String] :mfa
208
224
  # The concatenation of the authentication device's serial number, a
209
225
  # space, and the value that is displayed on your authentication device.
210
226
  # @option options [String] :expected_bucket_owner
211
227
  # The account ID of the expected bucket owner. If the bucket is owned by
212
- # a different account, the request will fail with an HTTP `403 (Access
213
- # Denied)` error.
228
+ # a different account, the request fails with the HTTP status code `403
229
+ # Forbidden` (access denied).
214
230
  # @return [EmptyStructure]
215
231
  def enable(options = {})
216
232
  options = Aws::Util.deep_merge(options,
@@ -227,6 +243,7 @@ module Aws::S3
227
243
  #
228
244
  # bucket_versioning.put({
229
245
  # content_md5: "ContentMD5",
246
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
230
247
  # mfa: "MFA",
231
248
  # versioning_configuration: { # required
232
249
  # mfa_delete: "Enabled", # accepts Enabled, Disabled
@@ -248,6 +265,21 @@ module Aws::S3
248
265
  #
249
266
  #
250
267
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
268
+ # @option options [String] :checksum_algorithm
269
+ # Indicates the algorithm used to create the checksum for the object
270
+ # when using the SDK. This header will not provide any additional
271
+ # functionality if not using the SDK. When sending this header, there
272
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
273
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
274
+ # `400 Bad Request`. For more information, see [Checking object
275
+ # integrity][1] in the *Amazon S3 User Guide*.
276
+ #
277
+ # If you provide an individual checksum, Amazon S3 ignores any provided
278
+ # `ChecksumAlgorithm` parameter.
279
+ #
280
+ #
281
+ #
282
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
251
283
  # @option options [String] :mfa
252
284
  # The concatenation of the authentication device's serial number, a
253
285
  # space, and the value that is displayed on your authentication device.
@@ -255,8 +287,8 @@ module Aws::S3
255
287
  # Container for setting the versioning state.
256
288
  # @option options [String] :expected_bucket_owner
257
289
  # The account ID of the expected bucket owner. If the bucket is owned by
258
- # a different account, the request will fail with an HTTP `403 (Access
259
- # Denied)` error.
290
+ # a different account, the request fails with the HTTP status code `403
291
+ # Forbidden` (access denied).
260
292
  # @return [EmptyStructure]
261
293
  def put(options = {})
262
294
  options = options.merge(bucket: @bucket_name)
@@ -268,6 +300,7 @@ module Aws::S3
268
300
  #
269
301
  # bucket_versioning.suspend({
270
302
  # content_md5: "ContentMD5",
303
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
271
304
  # mfa: "MFA",
272
305
  # expected_bucket_owner: "AccountId",
273
306
  # })
@@ -285,13 +318,28 @@ module Aws::S3
285
318
  #
286
319
  #
287
320
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
321
+ # @option options [String] :checksum_algorithm
322
+ # Indicates the algorithm used to create the checksum for the object
323
+ # when using the SDK. This header will not provide any additional
324
+ # functionality if not using the SDK. When sending this header, there
325
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
326
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
327
+ # `400 Bad Request`. For more information, see [Checking object
328
+ # integrity][1] in the *Amazon S3 User Guide*.
329
+ #
330
+ # If you provide an individual checksum, Amazon S3 ignores any provided
331
+ # `ChecksumAlgorithm` parameter.
332
+ #
333
+ #
334
+ #
335
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
288
336
  # @option options [String] :mfa
289
337
  # The concatenation of the authentication device's serial number, a
290
338
  # space, and the value that is displayed on your authentication device.
291
339
  # @option options [String] :expected_bucket_owner
292
340
  # The account ID of the expected bucket owner. If the bucket is owned by
293
- # a different account, the request will fail with an HTTP `403 (Access
294
- # Denied)` error.
341
+ # a different account, the request fails with the HTTP status code `403
342
+ # Forbidden` (access denied).
295
343
  # @return [EmptyStructure]
296
344
  def suspend(options = {})
297
345
  options = Aws::Util.deep_merge(options,
@@ -204,8 +204,8 @@ module Aws::S3
204
204
  # @param [Hash] options ({})
205
205
  # @option options [String] :expected_bucket_owner
206
206
  # The account ID of the expected bucket owner. If the bucket is owned by
207
- # a different account, the request will fail with an HTTP `403 (Access
208
- # Denied)` error.
207
+ # a different account, the request fails with the HTTP status code `403
208
+ # Forbidden` (access denied).
209
209
  # @return [EmptyStructure]
210
210
  def delete(options = {})
211
211
  options = options.merge(bucket: @bucket_name)
@@ -217,6 +217,7 @@ module Aws::S3
217
217
  #
218
218
  # bucket_website.put({
219
219
  # content_md5: "ContentMD5",
220
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
220
221
  # website_configuration: { # required
221
222
  # error_document: {
222
223
  # key: "ObjectKey", # required
@@ -259,12 +260,27 @@ module Aws::S3
259
260
  #
260
261
  #
261
262
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
263
+ # @option options [String] :checksum_algorithm
264
+ # Indicates the algorithm used to create the checksum for the object
265
+ # when using the SDK. This header will not provide any additional
266
+ # functionality if not using the SDK. When sending this header, there
267
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
268
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status code
269
+ # `400 Bad Request`. For more information, see [Checking object
270
+ # integrity][1] in the *Amazon S3 User Guide*.
271
+ #
272
+ # If you provide an individual checksum, Amazon S3 ignores any provided
273
+ # `ChecksumAlgorithm` parameter.
274
+ #
275
+ #
276
+ #
277
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
262
278
  # @option options [required, Types::WebsiteConfiguration] :website_configuration
263
279
  # Container for the request.
264
280
  # @option options [String] :expected_bucket_owner
265
281
  # 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.
282
+ # a different account, the request fails with the HTTP status code `403
283
+ # Forbidden` (access denied).
268
284
  # @return [EmptyStructure]
269
285
  def put(options = {})
270
286
  options = options.merge(bucket: @bucket_name)