aws-sdk-s3 1.55.0 → 1.56.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/bucket.rb +141 -28
- data/lib/aws-sdk-s3/bucket_acl.rb +8 -1
- data/lib/aws-sdk-s3/bucket_cors.rb +17 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -1
- data/lib/aws-sdk-s3/bucket_logging.rb +10 -1
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -0
- data/lib/aws-sdk-s3/bucket_policy.rb +1 -0
- data/lib/aws-sdk-s3/bucket_request_payment.rb +9 -0
- data/lib/aws-sdk-s3/bucket_tagging.rb +9 -1
- data/lib/aws-sdk-s3/bucket_versioning.rb +25 -0
- data/lib/aws-sdk-s3/bucket_website.rb +14 -4
- data/lib/aws-sdk-s3/client.rb +4558 -298
- data/lib/aws-sdk-s3/client_api.rb +6 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +3 -1
- data/lib/aws-sdk-s3/object.rb +195 -37
- data/lib/aws-sdk-s3/object_acl.rb +15 -2
- data/lib/aws-sdk-s3/object_summary.rb +115 -30
- data/lib/aws-sdk-s3/object_version.rb +8 -4
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +2 -0
- data/lib/aws-sdk-s3/resource.rb +4 -2
- data/lib/aws-sdk-s3/types.rb +1990 -192
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97510d745f7ed2fd04221e9213bc80749aa72800
|
4
|
+
data.tar.gz: 8f486dbd89e0b58c112b18cc877f79a19d7299da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02dc98b651db4c246856e368a86e06f8fa2791d2ba636ef0805038206749b6603cd00e0c5ed163fc6cd20d3b5cd118fa9f26d449a964a8f4dd2298a3318b285b
|
7
|
+
data.tar.gz: fcbfaa5ee8c9c68b47f3f5b1166603b0e4a82b84c1efef8865818449b1da44c4f0f22efb96dbd60f9decbf3d3dfc91d0e3bf3fc54cfe866604de77472060fef4
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -229,6 +229,7 @@ module Aws::S3
|
|
229
229
|
# @option options [String] :acl
|
230
230
|
# The canned ACL to apply to the bucket.
|
231
231
|
# @option options [Types::CreateBucketConfiguration] :create_bucket_configuration
|
232
|
+
# The configuration information for the bucket.
|
232
233
|
# @option options [String] :grant_full_control
|
233
234
|
# Allows grantee the read, write, read ACP, and write ACP permissions on
|
234
235
|
# the bucket.
|
@@ -242,8 +243,8 @@ module Aws::S3
|
|
242
243
|
# @option options [String] :grant_write_acp
|
243
244
|
# Allows grantee to write the ACL for the applicable bucket.
|
244
245
|
# @option options [Boolean] :object_lock_enabled_for_bucket
|
245
|
-
# Specifies whether you want
|
246
|
-
#
|
246
|
+
# Specifies whether you want S3 Object Lock to be enabled for the new
|
247
|
+
# bucket.
|
247
248
|
# @return [Types::CreateBucketOutput]
|
248
249
|
def create(options = {})
|
249
250
|
options = options.merge(bucket: @name)
|
@@ -280,9 +281,12 @@ module Aws::S3
|
|
280
281
|
# })
|
281
282
|
# @param [Hash] options ({})
|
282
283
|
# @option options [required, Types::Delete] :delete
|
284
|
+
# Container for the request.
|
283
285
|
# @option options [String] :mfa
|
284
286
|
# The concatenation of the authentication device's serial number, a
|
285
287
|
# space, and the value that is displayed on your authentication device.
|
288
|
+
# Required to permanently delete a versioned object if versioning is
|
289
|
+
# configured with MFA Delete enabled.
|
286
290
|
# @option options [String] :request_payer
|
287
291
|
# Confirms that the requester knows that she or he will be charged for
|
288
292
|
# the request. Bucket owners need not specify this parameter in their
|
@@ -291,7 +295,7 @@ module Aws::S3
|
|
291
295
|
# http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
292
296
|
# @option options [Boolean] :bypass_governance_retention
|
293
297
|
# Specifies whether you want to delete this object even if it has a
|
294
|
-
# Governance-type
|
298
|
+
# Governance-type Object Lock in place. You must have sufficient
|
295
299
|
# permissions to perform this operation.
|
296
300
|
# @return [Types::DeleteObjectsOutput]
|
297
301
|
def delete_objects(options = {})
|
@@ -337,30 +341,77 @@ module Aws::S3
|
|
337
341
|
# })
|
338
342
|
# @param [Hash] options ({})
|
339
343
|
# @option options [String] :acl
|
340
|
-
# The canned ACL to apply to the object.
|
344
|
+
# The canned ACL to apply to the object. For more information, see
|
345
|
+
# [Canned ACL][1].
|
346
|
+
#
|
347
|
+
#
|
348
|
+
#
|
349
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
|
341
350
|
# @option options [String, IO] :body
|
342
351
|
# Object data.
|
343
352
|
# @option options [String] :cache_control
|
344
|
-
#
|
353
|
+
# Can be used to specify caching behavior along the request/reply chain.
|
354
|
+
# For more information, see
|
355
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9][1].
|
356
|
+
#
|
357
|
+
#
|
358
|
+
#
|
359
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
|
345
360
|
# @option options [String] :content_disposition
|
346
|
-
# Specifies presentational information for the object.
|
361
|
+
# Specifies presentational information for the object. For more
|
362
|
+
# information, see
|
363
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1][1].
|
364
|
+
#
|
365
|
+
#
|
366
|
+
#
|
367
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
|
347
368
|
# @option options [String] :content_encoding
|
348
369
|
# Specifies what content encodings have been applied to the object and
|
349
370
|
# thus what decoding mechanisms must be applied to obtain the media-type
|
350
|
-
# referenced by the Content-Type header field.
|
371
|
+
# referenced by the Content-Type header field. For more information, see
|
372
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11][1].
|
373
|
+
#
|
374
|
+
#
|
375
|
+
#
|
376
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
|
351
377
|
# @option options [String] :content_language
|
352
378
|
# The language the content is in.
|
353
379
|
# @option options [Integer] :content_length
|
354
380
|
# Size of the body in bytes. This parameter is useful when the size of
|
355
|
-
# the body cannot be determined automatically.
|
381
|
+
# the body cannot be determined automatically. For more information, see
|
382
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13][1].
|
383
|
+
#
|
384
|
+
#
|
385
|
+
#
|
386
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
|
356
387
|
# @option options [String] :content_md5
|
357
|
-
# The base64-encoded 128-bit MD5 digest of the
|
358
|
-
#
|
359
|
-
#
|
388
|
+
# The base64-encoded 128-bit MD5 digest of the message (without the
|
389
|
+
# headers) according to RFC 1864. This header can be used as a message
|
390
|
+
# integrity check to verify that the data is the same data that was
|
391
|
+
# originally sent. Although it is optional, we recommend using the
|
392
|
+
# Content-MD5 mechanism as an end-to-end integrity check. For more
|
393
|
+
# information about REST request authentication, see [REST
|
394
|
+
# Authentication][1].
|
395
|
+
#
|
396
|
+
#
|
397
|
+
#
|
398
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
|
360
399
|
# @option options [String] :content_type
|
361
|
-
# A standard MIME type describing the format of the
|
400
|
+
# A standard MIME type describing the format of the contents. For more
|
401
|
+
# information, see
|
402
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17][1].
|
403
|
+
#
|
404
|
+
#
|
405
|
+
#
|
406
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
362
407
|
# @option options [Time,DateTime,Date,Integer,String] :expires
|
363
|
-
# The date and time at which the object is no longer cacheable.
|
408
|
+
# The date and time at which the object is no longer cacheable. For more
|
409
|
+
# information, see
|
410
|
+
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21][1].
|
411
|
+
#
|
412
|
+
#
|
413
|
+
#
|
414
|
+
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21
|
364
415
|
# @option options [String] :grant_full_control
|
365
416
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
366
417
|
# object.
|
@@ -378,11 +429,32 @@ module Aws::S3
|
|
378
429
|
# The Server-side encryption algorithm used when storing this object in
|
379
430
|
# S3 (e.g., AES256, aws:kms).
|
380
431
|
# @option options [String] :storage_class
|
381
|
-
#
|
432
|
+
# If you don't specify, Standard is the default storage class. Amazon
|
433
|
+
# S3 supports other storage classes.
|
382
434
|
# @option options [String] :website_redirect_location
|
383
435
|
# If the bucket is configured as a website, redirects requests for this
|
384
436
|
# object to another object in the same bucket or to an external URL.
|
385
|
-
# Amazon S3 stores the value of this header in the object metadata.
|
437
|
+
# Amazon S3 stores the value of this header in the object metadata. For
|
438
|
+
# information about object metadata, see .
|
439
|
+
#
|
440
|
+
# In the following example, the request header sets the redirect to an
|
441
|
+
# object (anotherPage.html) in the same bucket:
|
442
|
+
#
|
443
|
+
# `x-amz-website-redirect-location: /anotherPage.html`
|
444
|
+
#
|
445
|
+
# In the following example, the request header sets the object redirect
|
446
|
+
# to another website:
|
447
|
+
#
|
448
|
+
# `x-amz-website-redirect-location: http://www.example.com/`
|
449
|
+
#
|
450
|
+
# For more information about website hosting in Amazon S3, see [Hosting
|
451
|
+
# Websites on Amazon S3][1] and [How to Configure Website Page
|
452
|
+
# Redirects][2].
|
453
|
+
#
|
454
|
+
#
|
455
|
+
#
|
456
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
|
457
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html
|
386
458
|
# @option options [String] :sse_customer_algorithm
|
387
459
|
# Specifies the algorithm to use to when encrypting the object (e.g.,
|
388
460
|
# AES256).
|
@@ -397,11 +469,16 @@ module Aws::S3
|
|
397
469
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
398
470
|
# ensure the encryption key was transmitted without error.
|
399
471
|
# @option options [String] :ssekms_key_id
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
472
|
+
# If the x-amz-server-side-encryption is present and has the value of
|
473
|
+
# aws:kms, this header specifies the ID of the AWS Key Management
|
474
|
+
# Service (AWS KMS) customer master key (CMK) that was used for the
|
475
|
+
# object.
|
476
|
+
#
|
477
|
+
# If the value of x-amz-server-side-encryption is aws:kms, this header
|
478
|
+
# specifies the ID of the AWS KMS CMK that will be used for the object.
|
479
|
+
# If you specify x-amz-server-side-encryption:aws:kms, but do not
|
480
|
+
# provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses
|
481
|
+
# the AWS managed CMK in AWS to protect the data.
|
405
482
|
# @option options [String] :ssekms_encryption_context
|
406
483
|
# Specifies the AWS KMS Encryption Context to use for object encryption.
|
407
484
|
# The value of this header is a base64-encoded UTF-8 string holding JSON
|
@@ -416,11 +493,16 @@ module Aws::S3
|
|
416
493
|
# The tag-set for the object. The tag-set must be encoded as URL Query
|
417
494
|
# parameters. (For example, "Key1=Value1")
|
418
495
|
# @option options [String] :object_lock_mode
|
419
|
-
# The
|
496
|
+
# The Object Lock mode that you want to apply to this object.
|
420
497
|
# @option options [Time,DateTime,Date,Integer,String] :object_lock_retain_until_date
|
421
|
-
# The date and time when you want this object's
|
498
|
+
# The date and time when you want this object's Object Lock to expire.
|
422
499
|
# @option options [String] :object_lock_legal_hold_status
|
423
|
-
#
|
500
|
+
# Specifies whether a legal hold will be applied to this object. For
|
501
|
+
# more information about S3 Object Lock, see [Object Lock][1].
|
502
|
+
#
|
503
|
+
#
|
504
|
+
#
|
505
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
|
424
506
|
# @return [Object]
|
425
507
|
def put_object(options = {})
|
426
508
|
options = options.merge(bucket: @name)
|
@@ -486,6 +568,13 @@ module Aws::S3
|
|
486
568
|
# @param [Hash] options ({})
|
487
569
|
# @option options [String] :delimiter
|
488
570
|
# Character you use to group keys.
|
571
|
+
#
|
572
|
+
# All keys that contain the same string between the prefix, if
|
573
|
+
# specified, and the first occurrence of the delimiter after the prefix
|
574
|
+
# are grouped under a single result element, `CommonPrefixes`. If you
|
575
|
+
# don't specify the prefix parameter, then the substring starts at the
|
576
|
+
# beginning of the key. The keys that are grouped under `CommonPrefixes`
|
577
|
+
# result element are not returned elsewhere in the response.
|
489
578
|
# @option options [String] :encoding_type
|
490
579
|
# Requests Amazon S3 to encode the object keys in the response and
|
491
580
|
# specifies the encoding method to use. An object key may contain any
|
@@ -496,13 +585,27 @@ module Aws::S3
|
|
496
585
|
# @option options [String] :key_marker
|
497
586
|
# Together with upload-id-marker, this parameter specifies the multipart
|
498
587
|
# upload after which listing should begin.
|
588
|
+
#
|
589
|
+
# If `upload-id-marker` is not specified, only the keys
|
590
|
+
# lexicographically greater than the specified `key-marker` will be
|
591
|
+
# included in the list.
|
592
|
+
#
|
593
|
+
# If `upload-id-marker` is specified, any multipart uploads for a key
|
594
|
+
# equal to the `key-marker` might also be included, provided those
|
595
|
+
# multipart uploads have upload IDs lexicographically greater than the
|
596
|
+
# specified `upload-id-marker`.
|
499
597
|
# @option options [String] :prefix
|
500
598
|
# Lists in-progress uploads only for those keys that begin with the
|
501
|
-
# specified prefix.
|
599
|
+
# specified prefix. You can use prefixes to separate a bucket into
|
600
|
+
# different grouping of keys. (You can think of using prefix to make
|
601
|
+
# groups in the same way you'd use a folder in a file system.)
|
502
602
|
# @option options [String] :upload_id_marker
|
503
603
|
# Together with key-marker, specifies the multipart upload after which
|
504
604
|
# listing should begin. If key-marker is not specified, the
|
505
|
-
# upload-id-marker parameter is ignored.
|
605
|
+
# upload-id-marker parameter is ignored. Otherwise, any multipart
|
606
|
+
# uploads for a key equal to the key-marker might be included in the
|
607
|
+
# list only if they have an upload ID lexicographically greater than the
|
608
|
+
# specified upload-id-marker.
|
506
609
|
# @return [MultipartUpload::Collection]
|
507
610
|
def multipart_uploads(options = {})
|
508
611
|
batches = Enumerator.new do |y|
|
@@ -554,7 +657,12 @@ module Aws::S3
|
|
554
657
|
# })
|
555
658
|
# @param [Hash] options ({})
|
556
659
|
# @option options [String] :delimiter
|
557
|
-
# A delimiter is a character you
|
660
|
+
# A delimiter is a character that you specify to group keys. All keys
|
661
|
+
# that contain the same string between the `prefix` and the first
|
662
|
+
# occurrence of the delimiter are grouped under a single result element
|
663
|
+
# in CommonPrefixes. These groups are counted as one result against the
|
664
|
+
# max-keys limitation. These keys are not returned elsewhere in the
|
665
|
+
# response.
|
558
666
|
# @option options [String] :encoding_type
|
559
667
|
# Requests Amazon S3 to encode the object keys in the response and
|
560
668
|
# specifies the encoding method to use. An object key may contain any
|
@@ -565,7 +673,12 @@ module Aws::S3
|
|
565
673
|
# @option options [String] :key_marker
|
566
674
|
# Specifies the key to start with when listing objects in a bucket.
|
567
675
|
# @option options [String] :prefix
|
568
|
-
#
|
676
|
+
# Use this parameter to select only those keys that begin with the
|
677
|
+
# specified prefix. You can use prefixes to separate a bucket into
|
678
|
+
# different groupings of keys. (You can think of using prefix to make
|
679
|
+
# groups in the same way you'd use a folder in a file system.) You can
|
680
|
+
# use prefix with delimiter to roll up numerous objects into a single
|
681
|
+
# result under CommonPrefixes.
|
569
682
|
# @option options [String] :version_id_marker
|
570
683
|
# Specifies the object version you want to start listing from.
|
571
684
|
# @return [ObjectVersion::Collection]
|
@@ -614,7 +727,7 @@ module Aws::S3
|
|
614
727
|
# @option options [String] :start_after
|
615
728
|
# StartAfter is where you want Amazon S3 to start listing from. Amazon
|
616
729
|
# S3 starts listing after this specified key. StartAfter can be any key
|
617
|
-
# in the bucket
|
730
|
+
# in the bucket.
|
618
731
|
# @option options [String] :request_payer
|
619
732
|
# Confirms that the requester knows that she or he will be charged for
|
620
733
|
# the list objects request in V2 style. Bucket owners need not specify
|
@@ -30,7 +30,7 @@ module Aws::S3
|
|
30
30
|
@bucket_name
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
# Container for the bucket owner's display name and ID.
|
34
34
|
# @return [Types::Owner]
|
35
35
|
def owner
|
36
36
|
data[:owner]
|
@@ -210,6 +210,13 @@ module Aws::S3
|
|
210
210
|
# Contains the elements that set the ACL permissions for an object per
|
211
211
|
# grantee.
|
212
212
|
# @option options [String] :content_md5
|
213
|
+
# The base64-encoded 128-bit MD5 digest of the data. This header must be
|
214
|
+
# used as a message integrity check to verify that the request body was
|
215
|
+
# not corrupted in transit. For more information, go to [RFC 1864.][1]
|
216
|
+
#
|
217
|
+
#
|
218
|
+
#
|
219
|
+
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
213
220
|
# @option options [String] :grant_full_control
|
214
221
|
# Allows grantee the read, write, read ACP, and write ACP permissions on
|
215
222
|
# the bucket.
|
@@ -30,7 +30,8 @@ module Aws::S3
|
|
30
30
|
@bucket_name
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
# A set of origins and methods (cross-origin access that you want to
|
34
|
+
# allow). You can add up to 100 rules to the configuration.
|
34
35
|
# @return [Array<Types::CORSRule>]
|
35
36
|
def cors_rules
|
36
37
|
data[:cors_rules]
|
@@ -197,7 +198,22 @@ module Aws::S3
|
|
197
198
|
# })
|
198
199
|
# @param [Hash] options ({})
|
199
200
|
# @option options [required, Types::CORSConfiguration] :cors_configuration
|
201
|
+
# Describes the cross-origin access configuration for objects in an
|
202
|
+
# Amazon S3 bucket. For more information, see [Enabling Cross-Origin
|
203
|
+
# Resource Sharing][1] in the Amazon Simple Storage Service Developer
|
204
|
+
# Guide.
|
205
|
+
#
|
206
|
+
#
|
207
|
+
#
|
208
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev//cors.html
|
200
209
|
# @option options [String] :content_md5
|
210
|
+
# The base64-encoded 128-bit MD5 digest of the data. This header must be
|
211
|
+
# used as a message integrity check to verify that the request body was
|
212
|
+
# not corrupted in transit. For more information, go to [RFC 1864.][1]
|
213
|
+
#
|
214
|
+
#
|
215
|
+
#
|
216
|
+
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
201
217
|
# @return [EmptyStructure]
|
202
218
|
def put(options = {})
|
203
219
|
options = options.merge(bucket: @bucket_name)
|
@@ -30,7 +30,7 @@ module Aws::S3
|
|
30
30
|
@bucket_name
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
# Container for a lifecycle rule.
|
34
34
|
# @return [Array<Types::LifecycleRule>]
|
35
35
|
def rules
|
36
36
|
data[:rules]
|
@@ -234,6 +234,7 @@ module Aws::S3
|
|
234
234
|
# })
|
235
235
|
# @param [Hash] options ({})
|
236
236
|
# @option options [Types::BucketLifecycleConfiguration] :lifecycle_configuration
|
237
|
+
# Container for lifecycle rules. You can add as many as 1,000 rules.
|
237
238
|
# @return [EmptyStructure]
|
238
239
|
def put(options = {})
|
239
240
|
options = options.merge(bucket: @bucket_name)
|
@@ -30,7 +30,14 @@ module Aws::S3
|
|
30
30
|
@bucket_name
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
# Describes where logs are stored and the prefix that Amazon S3 assigns
|
34
|
+
# to all log object keys for a bucket. For more information, see [PUT
|
35
|
+
# Bucket logging][1] in the *Amazon Simple Storage Service API
|
36
|
+
# Reference*.
|
37
|
+
#
|
38
|
+
#
|
39
|
+
#
|
40
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html
|
34
41
|
# @return [Types::LoggingEnabled]
|
35
42
|
def logging_enabled
|
36
43
|
data[:logging_enabled]
|
@@ -193,7 +200,9 @@ module Aws::S3
|
|
193
200
|
# })
|
194
201
|
# @param [Hash] options ({})
|
195
202
|
# @option options [required, Types::BucketLoggingStatus] :bucket_logging_status
|
203
|
+
# Container for logging status information.
|
196
204
|
# @option options [String] :content_md5
|
205
|
+
# The MD5 hash of the `PutBucketLogging` request body.
|
197
206
|
# @return [EmptyStructure]
|
198
207
|
def put(options = {})
|
199
208
|
options = options.merge(bucket: @bucket_name)
|
@@ -242,6 +242,9 @@ module Aws::S3
|
|
242
242
|
# })
|
243
243
|
# @param [Hash] options ({})
|
244
244
|
# @option options [required, Types::NotificationConfiguration] :notification_configuration
|
245
|
+
# A container for specifying the notification configuration of the
|
246
|
+
# bucket. If this element is empty, notifications are turned off for the
|
247
|
+
# bucket.
|
245
248
|
# @return [EmptyStructure]
|
246
249
|
def put(options = {})
|
247
250
|
options = options.merge(bucket: @bucket_name)
|
@@ -188,6 +188,7 @@ module Aws::S3
|
|
188
188
|
# })
|
189
189
|
# @param [Hash] options ({})
|
190
190
|
# @option options [String] :content_md5
|
191
|
+
# The MD5 hash of the request body.
|
191
192
|
# @option options [Boolean] :confirm_remove_self_bucket_access
|
192
193
|
# Set this parameter to true to confirm that you want to remove your
|
193
194
|
# permissions to change this bucket policy in the future.
|
@@ -178,7 +178,16 @@ module Aws::S3
|
|
178
178
|
# })
|
179
179
|
# @param [Hash] options ({})
|
180
180
|
# @option options [String] :content_md5
|
181
|
+
# >The base64-encoded 128-bit MD5 digest of the data. You must use
|
182
|
+
# this header as a message integrity check to verify that the request
|
183
|
+
# body was not corrupted in transit. For more information, see [RFC
|
184
|
+
# 1864][1].
|
185
|
+
#
|
186
|
+
#
|
187
|
+
#
|
188
|
+
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
181
189
|
# @option options [required, Types::RequestPaymentConfiguration] :request_payment_configuration
|
190
|
+
# Container for Payer.
|
182
191
|
# @return [EmptyStructure]
|
183
192
|
def put(options = {})
|
184
193
|
options = options.merge(bucket: @bucket_name)
|