aws-sdk-s3 1.54.0 → 1.60.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 405e7f5e7a8427ca6cc93230e12617a824d6e5bb
4
- data.tar.gz: c126a861f72e68802c44ec099d2116668d044a89
3
+ metadata.gz: 41449023622c76f2366a11c1125599bc04ccd427
4
+ data.tar.gz: b73499cc776de6ed3cd07dc67107e4ddc68cab2b
5
5
  SHA512:
6
- metadata.gz: c5de3b39b07f4aebdcbcd5303960c35d5df0cb4c317b5e45a818c0e45db47bac37bb970750508ce8fcb796fcf0206b651dc46c864ac8bf419ae00538cfdf8977
7
- data.tar.gz: 3606c43636bb1ca8f629fe35481d080f44ba353610afe8de2bed1094b42f11cccd7f4c417a653f4e537cdff7193025831b02257dad4a039b4f8f7dac9d025f29
6
+ metadata.gz: f8777b96c2858dc1fda5dd836b188f4dc07e28890f14d449ec5fe925354e061308b5902d7977398eafa6d2da4cf3e8d2921d41d27805ff8db0e2cd961ec07c84
7
+ data.tar.gz: 9c0d3175675973fa1ec54d660dcdea88caf3980ce78ed0d4f4de8e8d12ffa43f9ce9d4cb85165842d357d27bc1febe99318347f3609ba56f22c21be2880f8ffe
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @name = extract_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -229,6 +230,7 @@ module Aws::S3
229
230
  # @option options [String] :acl
230
231
  # The canned ACL to apply to the bucket.
231
232
  # @option options [Types::CreateBucketConfiguration] :create_bucket_configuration
233
+ # The configuration information for the bucket.
232
234
  # @option options [String] :grant_full_control
233
235
  # Allows grantee the read, write, read ACP, and write ACP permissions on
234
236
  # the bucket.
@@ -242,8 +244,8 @@ module Aws::S3
242
244
  # @option options [String] :grant_write_acp
243
245
  # Allows grantee to write the ACL for the applicable bucket.
244
246
  # @option options [Boolean] :object_lock_enabled_for_bucket
245
- # Specifies whether you want Amazon S3 object lock to be enabled for the
246
- # new bucket.
247
+ # Specifies whether you want S3 Object Lock to be enabled for the new
248
+ # bucket.
247
249
  # @return [Types::CreateBucketOutput]
248
250
  def create(options = {})
249
251
  options = options.merge(bucket: @name)
@@ -280,18 +282,25 @@ module Aws::S3
280
282
  # })
281
283
  # @param [Hash] options ({})
282
284
  # @option options [required, Types::Delete] :delete
285
+ # Container for the request.
283
286
  # @option options [String] :mfa
284
287
  # The concatenation of the authentication device's serial number, a
285
288
  # space, and the value that is displayed on your authentication device.
289
+ # Required to permanently delete a versioned object if versioning is
290
+ # configured with MFA delete enabled.
286
291
  # @option options [String] :request_payer
287
- # Confirms that the requester knows that she or he will be charged for
288
- # the request. Bucket owners need not specify this parameter in their
289
- # requests. Documentation on downloading objects from requester pays
290
- # buckets can be found at
291
- # http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
292
+ # Confirms that the requester knows that they will be charged for the
293
+ # request. Bucket owners need not specify this parameter in their
294
+ # requests. For information about downloading objects from requester
295
+ # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
296
+ # in the *Amazon S3 Developer Guide*.
297
+ #
298
+ #
299
+ #
300
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
292
301
  # @option options [Boolean] :bypass_governance_retention
293
302
  # Specifies whether you want to delete this object even if it has a
294
- # Governance-type object lock in place. You must have sufficient
303
+ # Governance-type Object Lock in place. You must have sufficient
295
304
  # permissions to perform this operation.
296
305
  # @return [Types::DeleteObjectsOutput]
297
306
  def delete_objects(options = {})
@@ -337,30 +346,77 @@ module Aws::S3
337
346
  # })
338
347
  # @param [Hash] options ({})
339
348
  # @option options [String] :acl
340
- # The canned ACL to apply to the object.
349
+ # The canned ACL to apply to the object. For more information, see
350
+ # [Canned ACL][1].
351
+ #
352
+ #
353
+ #
354
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
341
355
  # @option options [String, IO] :body
342
356
  # Object data.
343
357
  # @option options [String] :cache_control
344
- # Specifies caching behavior along the request/reply chain.
358
+ # Can be used to specify caching behavior along the request/reply chain.
359
+ # For more information, see
360
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9][1].
361
+ #
362
+ #
363
+ #
364
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
345
365
  # @option options [String] :content_disposition
346
- # Specifies presentational information for the object.
366
+ # Specifies presentational information for the object. For more
367
+ # information, see
368
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1][1].
369
+ #
370
+ #
371
+ #
372
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
347
373
  # @option options [String] :content_encoding
348
374
  # Specifies what content encodings have been applied to the object and
349
375
  # thus what decoding mechanisms must be applied to obtain the media-type
350
- # referenced by the Content-Type header field.
376
+ # referenced by the Content-Type header field. For more information, see
377
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11][1].
378
+ #
379
+ #
380
+ #
381
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
351
382
  # @option options [String] :content_language
352
383
  # The language the content is in.
353
384
  # @option options [Integer] :content_length
354
385
  # Size of the body in bytes. This parameter is useful when the size of
355
- # the body cannot be determined automatically.
386
+ # the body cannot be determined automatically. For more information, see
387
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13][1].
388
+ #
389
+ #
390
+ #
391
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
356
392
  # @option options [String] :content_md5
357
- # The base64-encoded 128-bit MD5 digest of the part data. This parameter
358
- # is auto-populated when using the command from the CLI. This parameted
359
- # is required if object lock parameters are specified.
393
+ # The base64-encoded 128-bit MD5 digest of the message (without the
394
+ # headers) according to RFC 1864. This header can be used as a message
395
+ # integrity check to verify that the data is the same data that was
396
+ # originally sent. Although it is optional, we recommend using the
397
+ # Content-MD5 mechanism as an end-to-end integrity check. For more
398
+ # information about REST request authentication, see [REST
399
+ # Authentication][1].
400
+ #
401
+ #
402
+ #
403
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
360
404
  # @option options [String] :content_type
361
- # A standard MIME type describing the format of the object data.
405
+ # A standard MIME type describing the format of the contents. For more
406
+ # information, see
407
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17][1].
408
+ #
409
+ #
410
+ #
411
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
362
412
  # @option options [Time,DateTime,Date,Integer,String] :expires
363
- # The date and time at which the object is no longer cacheable.
413
+ # The date and time at which the object is no longer cacheable. For more
414
+ # information, see
415
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21][1].
416
+ #
417
+ #
418
+ #
419
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21
364
420
  # @option options [String] :grant_full_control
365
421
  # Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
366
422
  # object.
@@ -375,52 +431,89 @@ module Aws::S3
375
431
  # @option options [Hash<String,String>] :metadata
376
432
  # A map of metadata to store with the object in S3.
377
433
  # @option options [String] :server_side_encryption
378
- # The Server-side encryption algorithm used when storing this object in
379
- # S3 (e.g., AES256, aws:kms).
434
+ # The server-side encryption algorithm used when storing this object in
435
+ # Amazon S3 (for example, AES256, aws:kms).
380
436
  # @option options [String] :storage_class
381
- # The type of storage to use for the object. Defaults to 'STANDARD'.
437
+ # If you don't specify, Standard is the default storage class. Amazon
438
+ # S3 supports other storage classes.
382
439
  # @option options [String] :website_redirect_location
383
440
  # If the bucket is configured as a website, redirects requests for this
384
441
  # 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.
442
+ # Amazon S3 stores the value of this header in the object metadata. For
443
+ # information about object metadata, see [Object Key and Metadata][1].
444
+ #
445
+ # In the following example, the request header sets the redirect to an
446
+ # object (anotherPage.html) in the same bucket:
447
+ #
448
+ # `x-amz-website-redirect-location: /anotherPage.html`
449
+ #
450
+ # In the following example, the request header sets the object redirect
451
+ # to another website:
452
+ #
453
+ # `x-amz-website-redirect-location: http://www.example.com/`
454
+ #
455
+ # For more information about website hosting in Amazon S3, see [Hosting
456
+ # Websites on Amazon S3][2] and [How to Configure Website Page
457
+ # Redirects][3].
458
+ #
459
+ #
460
+ #
461
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
462
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
463
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html
386
464
  # @option options [String] :sse_customer_algorithm
387
- # Specifies the algorithm to use to when encrypting the object (e.g.,
388
- # AES256).
465
+ # Specifies the algorithm to use to when encrypting the object (for
466
+ # example, AES256).
389
467
  # @option options [String] :sse_customer_key
390
468
  # Specifies the customer-provided encryption key for Amazon S3 to use in
391
469
  # encrypting data. This value is used to store the object and then it is
392
- # discarded; Amazon does not store the encryption key. The key must be
393
- # appropriate for use with the algorithm specified in the
394
- # x-amz-server-side​-encryption​-customer-algorithm header.
470
+ # discarded; Amazon S3 does not store the encryption key. The key must
471
+ # be appropriate for use with the algorithm specified in the
472
+ # `x-amz-server-side​-encryption​-customer-algorithm` header.
395
473
  # @option options [String] :sse_customer_key_md5
396
474
  # Specifies the 128-bit MD5 digest of the encryption key according to
397
475
  # RFC 1321. Amazon S3 uses this header for a message integrity check to
398
- # ensure the encryption key was transmitted without error.
476
+ # ensure that the encryption key was transmitted without error.
399
477
  # @option options [String] :ssekms_key_id
400
- # Specifies the AWS KMS key ID to use for object encryption. All GET and
401
- # PUT requests for an object protected by AWS KMS will fail if not made
402
- # via SSL or using SigV4. Documentation on configuring any of the
403
- # officially supported AWS SDKs and CLI can be found at
404
- # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
478
+ # If `x-amz-server-side-encryption` is present and has the value of
479
+ # `aws:kms`, this header specifies the ID of the AWS Key Management
480
+ # Service (AWS KMS) symmetrical customer managed customer master key
481
+ # (CMK) that was used for the object.
482
+ #
483
+ # If the value of `x-amz-server-side-encryption` is `aws:kms`, this
484
+ # header specifies the ID of the symmetric customer managed AWS KMS CMK
485
+ # that will be used for the object. If you specify
486
+ # `x-amz-server-side-encryption:aws:kms`, but do not provide`
487
+ # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the AWS
488
+ # managed CMK in AWS to protect the data.
405
489
  # @option options [String] :ssekms_encryption_context
406
490
  # Specifies the AWS KMS Encryption Context to use for object encryption.
407
491
  # The value of this header is a base64-encoded UTF-8 string holding JSON
408
492
  # with the encryption context key-value pairs.
409
493
  # @option options [String] :request_payer
410
- # Confirms that the requester knows that she or he will be charged for
411
- # the request. Bucket owners need not specify this parameter in their
412
- # requests. Documentation on downloading objects from requester pays
413
- # buckets can be found at
414
- # http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
494
+ # Confirms that the requester knows that they will be charged for the
495
+ # request. Bucket owners need not specify this parameter in their
496
+ # requests. For information about downloading objects from requester
497
+ # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
498
+ # in the *Amazon S3 Developer Guide*.
499
+ #
500
+ #
501
+ #
502
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
415
503
  # @option options [String] :tagging
416
504
  # The tag-set for the object. The tag-set must be encoded as URL Query
417
505
  # parameters. (For example, "Key1=Value1")
418
506
  # @option options [String] :object_lock_mode
419
- # The object lock mode that you want to apply to this object.
507
+ # The Object Lock mode that you want to apply to this object.
420
508
  # @option options [Time,DateTime,Date,Integer,String] :object_lock_retain_until_date
421
- # The date and time when you want this object's object lock to expire.
509
+ # The date and time when you want this object's Object Lock to expire.
422
510
  # @option options [String] :object_lock_legal_hold_status
423
- # The Legal Hold status that you want to apply to the specified object.
511
+ # Specifies whether a legal hold will be applied to this object. For
512
+ # more information about S3 Object Lock, see [Object Lock][1].
513
+ #
514
+ #
515
+ #
516
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
424
517
  # @return [Object]
425
518
  def put_object(options = {})
426
519
  options = options.merge(bucket: @name)
@@ -486,6 +579,13 @@ module Aws::S3
486
579
  # @param [Hash] options ({})
487
580
  # @option options [String] :delimiter
488
581
  # Character you use to group keys.
582
+ #
583
+ # All keys that contain the same string between the prefix, if
584
+ # specified, and the first occurrence of the delimiter after the prefix
585
+ # are grouped under a single result element, `CommonPrefixes`. If you
586
+ # don't specify the prefix parameter, then the substring starts at the
587
+ # beginning of the key. The keys that are grouped under `CommonPrefixes`
588
+ # result element are not returned elsewhere in the response.
489
589
  # @option options [String] :encoding_type
490
590
  # Requests Amazon S3 to encode the object keys in the response and
491
591
  # specifies the encoding method to use. An object key may contain any
@@ -496,13 +596,27 @@ module Aws::S3
496
596
  # @option options [String] :key_marker
497
597
  # Together with upload-id-marker, this parameter specifies the multipart
498
598
  # upload after which listing should begin.
599
+ #
600
+ # If `upload-id-marker` is not specified, only the keys
601
+ # lexicographically greater than the specified `key-marker` will be
602
+ # included in the list.
603
+ #
604
+ # If `upload-id-marker` is specified, any multipart uploads for a key
605
+ # equal to the `key-marker` might also be included, provided those
606
+ # multipart uploads have upload IDs lexicographically greater than the
607
+ # specified `upload-id-marker`.
499
608
  # @option options [String] :prefix
500
609
  # Lists in-progress uploads only for those keys that begin with the
501
- # specified prefix.
610
+ # specified prefix. You can use prefixes to separate a bucket into
611
+ # different grouping of keys. (You can think of using prefix to make
612
+ # groups in the same way you'd use a folder in a file system.)
502
613
  # @option options [String] :upload_id_marker
503
614
  # Together with key-marker, specifies the multipart upload after which
504
615
  # listing should begin. If key-marker is not specified, the
505
- # upload-id-marker parameter is ignored.
616
+ # upload-id-marker parameter is ignored. Otherwise, any multipart
617
+ # uploads for a key equal to the key-marker might be included in the
618
+ # list only if they have an upload ID lexicographically greater than the
619
+ # specified `upload-id-marker`.
506
620
  # @return [MultipartUpload::Collection]
507
621
  def multipart_uploads(options = {})
508
622
  batches = Enumerator.new do |y|
@@ -554,7 +668,12 @@ module Aws::S3
554
668
  # })
555
669
  # @param [Hash] options ({})
556
670
  # @option options [String] :delimiter
557
- # A delimiter is a character you use to group keys.
671
+ # A delimiter is a character that you specify to group keys. All keys
672
+ # that contain the same string between the `prefix` and the first
673
+ # occurrence of the delimiter are grouped under a single result element
674
+ # in CommonPrefixes. These groups are counted as one result against the
675
+ # max-keys limitation. These keys are not returned elsewhere in the
676
+ # response.
558
677
  # @option options [String] :encoding_type
559
678
  # Requests Amazon S3 to encode the object keys in the response and
560
679
  # specifies the encoding method to use. An object key may contain any
@@ -565,7 +684,12 @@ module Aws::S3
565
684
  # @option options [String] :key_marker
566
685
  # Specifies the key to start with when listing objects in a bucket.
567
686
  # @option options [String] :prefix
568
- # Limits the response to keys that begin with the specified prefix.
687
+ # Use this parameter to select only those keys that begin with the
688
+ # specified prefix. You can use prefixes to separate a bucket into
689
+ # different groupings of keys. (You can think of using prefix to make
690
+ # groups in the same way you'd use a folder in a file system.) You can
691
+ # use prefix with delimiter to roll up numerous objects into a single
692
+ # result under CommonPrefixes.
569
693
  # @option options [String] :version_id_marker
570
694
  # Specifies the object version you want to start listing from.
571
695
  # @return [ObjectVersion::Collection]
@@ -610,11 +734,11 @@ module Aws::S3
610
734
  # @option options [Boolean] :fetch_owner
611
735
  # The owner field is not present in listV2 by default, if you want to
612
736
  # return owner field with each key in the result then set the fetch
613
- # owner field to true
737
+ # owner field to true.
614
738
  # @option options [String] :start_after
615
739
  # StartAfter is where you want Amazon S3 to start listing from. Amazon
616
740
  # S3 starts listing after this specified key. StartAfter can be any key
617
- # in the bucket
741
+ # in the bucket.
618
742
  # @option options [String] :request_payer
619
743
  # Confirms that the requester knows that she or he will be charged for
620
744
  # the list objects request in V2 style. Bucket owners need not specify
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -30,7 +31,7 @@ module Aws::S3
30
31
  @bucket_name
31
32
  end
32
33
 
33
-
34
+ # Container for the bucket owner's display name and ID.
34
35
  # @return [Types::Owner]
35
36
  def owner
36
37
  data[:owner]
@@ -210,6 +211,13 @@ module Aws::S3
210
211
  # Contains the elements that set the ACL permissions for an object per
211
212
  # grantee.
212
213
  # @option options [String] :content_md5
214
+ # The base64-encoded 128-bit MD5 digest of the data. This header must be
215
+ # used as a message integrity check to verify that the request body was
216
+ # not corrupted in transit. For more information, go to [RFC 1864.][1]
217
+ #
218
+ #
219
+ #
220
+ # [1]: http://www.ietf.org/rfc/rfc1864.txt
213
221
  # @option options [String] :grant_full_control
214
222
  # Allows grantee the read, write, read ACP, and write ACP permissions on
215
223
  # the bucket.
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -30,7 +31,8 @@ module Aws::S3
30
31
  @bucket_name
31
32
  end
32
33
 
33
-
34
+ # A set of origins and methods (cross-origin access that you want to
35
+ # allow). You can add up to 100 rules to the configuration.
34
36
  # @return [Array<Types::CORSRule>]
35
37
  def cors_rules
36
38
  data[:cors_rules]
@@ -197,7 +199,22 @@ module Aws::S3
197
199
  # })
198
200
  # @param [Hash] options ({})
199
201
  # @option options [required, Types::CORSConfiguration] :cors_configuration
202
+ # Describes the cross-origin access configuration for objects in an
203
+ # Amazon S3 bucket. For more information, see [Enabling Cross-Origin
204
+ # Resource Sharing][1] in the *Amazon Simple Storage Service Developer
205
+ # Guide*.
206
+ #
207
+ #
208
+ #
209
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev//cors.html
200
210
  # @option options [String] :content_md5
211
+ # The base64-encoded 128-bit MD5 digest of the data. This header must be
212
+ # used as a message integrity check to verify that the request body was
213
+ # not corrupted in transit. For more information, go to [RFC 1864.][1]
214
+ #
215
+ #
216
+ #
217
+ # [1]: http://www.ietf.org/rfc/rfc1864.txt
201
218
  # @return [EmptyStructure]
202
219
  def put(options = {})
203
220
  options = options.merge(bucket: @bucket_name)
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -30,7 +31,7 @@ module Aws::S3
30
31
  @bucket_name
31
32
  end
32
33
 
33
-
34
+ # Container for a lifecycle rule.
34
35
  # @return [Array<Types::Rule>]
35
36
  def rules
36
37
  data[:rules]
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -30,7 +31,7 @@ module Aws::S3
30
31
  @bucket_name
31
32
  end
32
33
 
33
-
34
+ # Container for a lifecycle rule.
34
35
  # @return [Array<Types::LifecycleRule>]
35
36
  def rules
36
37
  data[:rules]
@@ -234,6 +235,7 @@ module Aws::S3
234
235
  # })
235
236
  # @param [Hash] options ({})
236
237
  # @option options [Types::BucketLifecycleConfiguration] :lifecycle_configuration
238
+ # Container for lifecycle rules. You can add as many as 1,000 rules.
237
239
  # @return [EmptyStructure]
238
240
  def put(options = {})
239
241
  options = options.merge(bucket: @bucket_name)
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -30,7 +31,14 @@ module Aws::S3
30
31
  @bucket_name
31
32
  end
32
33
 
33
-
34
+ # Describes where logs are stored and the prefix that Amazon S3 assigns
35
+ # to all log object keys for a bucket. For more information, see [PUT
36
+ # Bucket logging][1] in the *Amazon Simple Storage Service API
37
+ # Reference*.
38
+ #
39
+ #
40
+ #
41
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html
34
42
  # @return [Types::LoggingEnabled]
35
43
  def logging_enabled
36
44
  data[:logging_enabled]
@@ -193,7 +201,9 @@ module Aws::S3
193
201
  # })
194
202
  # @param [Hash] options ({})
195
203
  # @option options [required, Types::BucketLoggingStatus] :bucket_logging_status
204
+ # Container for logging status information.
196
205
  # @option options [String] :content_md5
206
+ # The MD5 hash of the `PutBucketLogging` request body.
197
207
  # @return [EmptyStructure]
198
208
  def put(options = {})
199
209
  options = options.merge(bucket: @bucket_name)
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -191,7 +192,7 @@ module Aws::S3
191
192
  # {
192
193
  # id: "NotificationId",
193
194
  # topic_arn: "TopicArn", # required
194
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:Post, s3:ObjectRestore:Completed
195
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
195
196
  # filter: {
196
197
  # key: {
197
198
  # filter_rules: [
@@ -208,7 +209,7 @@ module Aws::S3
208
209
  # {
209
210
  # id: "NotificationId",
210
211
  # queue_arn: "QueueArn", # required
211
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:Post, s3:ObjectRestore:Completed
212
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
212
213
  # filter: {
213
214
  # key: {
214
215
  # filter_rules: [
@@ -225,7 +226,7 @@ module Aws::S3
225
226
  # {
226
227
  # id: "NotificationId",
227
228
  # lambda_function_arn: "LambdaFunctionArn", # required
228
- # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:Post, s3:ObjectRestore:Completed
229
+ # events: ["s3:ReducedRedundancyLostObject"], # required, accepts s3:ReducedRedundancyLostObject, s3:ObjectCreated:*, s3:ObjectCreated:Put, s3:ObjectCreated:Post, s3:ObjectCreated:Copy, s3:ObjectCreated:CompleteMultipartUpload, s3:ObjectRemoved:*, s3:ObjectRemoved:Delete, s3:ObjectRemoved:DeleteMarkerCreated, s3:ObjectRestore:*, s3:ObjectRestore:Post, s3:ObjectRestore:Completed, s3:Replication:*, s3:Replication:OperationFailedReplication, s3:Replication:OperationNotTracked, s3:Replication:OperationMissedThreshold, s3:Replication:OperationReplicatedAfterThreshold
229
230
  # filter: {
230
231
  # key: {
231
232
  # filter_rules: [
@@ -242,6 +243,9 @@ module Aws::S3
242
243
  # })
243
244
  # @param [Hash] options ({})
244
245
  # @option options [required, Types::NotificationConfiguration] :notification_configuration
246
+ # A container for specifying the notification configuration of the
247
+ # bucket. If this element is empty, notifications are turned off for the
248
+ # bucket.
245
249
  # @return [EmptyStructure]
246
250
  def put(options = {})
247
251
  options = options.merge(bucket: @bucket_name)
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -188,6 +189,7 @@ module Aws::S3
188
189
  # })
189
190
  # @param [Hash] options ({})
190
191
  # @option options [String] :content_md5
192
+ # The MD5 hash of the request body.
191
193
  # @option options [Boolean] :confirm_remove_self_bucket_access
192
194
  # Set this parameter to true to confirm that you want to remove your
193
195
  # permissions to change this bucket policy in the future.
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -178,7 +179,16 @@ module Aws::S3
178
179
  # })
179
180
  # @param [Hash] options ({})
180
181
  # @option options [String] :content_md5
182
+ # &gt;The base64-encoded 128-bit MD5 digest of the data. You must use
183
+ # this header as a message integrity check to verify that the request
184
+ # body was not corrupted in transit. For more information, see [RFC
185
+ # 1864][1].
186
+ #
187
+ #
188
+ #
189
+ # [1]: http://www.ietf.org/rfc/rfc1864.txt
181
190
  # @option options [required, Types::RequestPaymentConfiguration] :request_payment_configuration
191
+ # Container for Payer.
182
192
  # @return [EmptyStructure]
183
193
  def put(options = {})
184
194
  options = options.merge(bucket: @bucket_name)
@@ -21,6 +21,7 @@ module Aws::S3
21
21
  @bucket_name = extract_bucket_name(args, options)
22
22
  @data = options.delete(:data)
23
23
  @client = options.delete(:client) || Client.new(options)
24
+ @waiter_block_warned = false
24
25
  end
25
26
 
26
27
  # @!group Read-Only Attributes
@@ -30,7 +31,7 @@ module Aws::S3
30
31
  @bucket_name
31
32
  end
32
33
 
33
-
34
+ # Contains the tag set.
34
35
  # @return [Array<Types::Tag>]
35
36
  def tag_set
36
37
  data[:tag_set]
@@ -194,7 +195,15 @@ module Aws::S3
194
195
  # })
195
196
  # @param [Hash] options ({})
196
197
  # @option options [String] :content_md5
198
+ # The base64-encoded 128-bit MD5 digest of the data. You must use this
199
+ # header as a message integrity check to verify that the request body
200
+ # was not corrupted in transit. For more information, see [RFC 1864][1].
201
+ #
202
+ #
203
+ #
204
+ # [1]: http://www.ietf.org/rfc/rfc1864.txt
197
205
  # @option options [required, Types::Tagging] :tagging
206
+ # Container for the `TagSet` and `Tag` elements.
198
207
  # @return [EmptyStructure]
199
208
  def put(options = {})
200
209
  options = options.merge(bucket: @bucket_name)