aws-sdk-s3 1.119.1 → 1.120.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +18 -15
- data/lib/aws-sdk-s3/client.rb +696 -614
- data/lib/aws-sdk-s3/customizations/errors.rb +27 -0
- data/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb +26 -0
- data/lib/aws-sdk-s3/customizations.rb +2 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +141 -141
- data/lib/aws-sdk-s3/multipart_upload_part.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +42 -37
- data/lib/aws-sdk-s3/object_summary.rb +34 -28
- data/lib/aws-sdk-s3/object_version.rb +6 -4
- data/lib/aws-sdk-s3/types.rb +292 -231
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0ecedb5029a9aae068dd207b987f29fafe9b30666926596c222af527a7534ec
|
4
|
+
data.tar.gz: 8aa24e696aeb7b1615715b4601a472b623dc253f6737b8ad2d29524fb621e927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bd1102fe8cedefa01adef46944e16446f7ca2a15faaf057dcbf1adce6fc69f017afa8cec52443590b4d9488846b1c1769204e388472ec949b2cca05d4990823
|
7
|
+
data.tar.gz: 95b10eb395a66dca4d6067da1237c38e0da95bef1fd18226ea8aa19ce11ae61791d36d2edc487d9b89c35f4f855833de9c0b2817814cd34073681d64de98110b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.120.0 (2023-03-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon S3
|
8
|
+
|
9
|
+
1.119.2 (2023-03-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Provide `endpoint` and `bucket` attributes on `Aws::S3::Errors::PermanentRedirect` error objects.
|
13
|
+
|
4
14
|
1.119.1 (2023-02-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.120.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -430,30 +430,30 @@ module Aws::S3
|
|
430
430
|
# @option options [String] :content_disposition
|
431
431
|
# Specifies presentational information for the object. For more
|
432
432
|
# information, see
|
433
|
-
# [
|
433
|
+
# [https://www.rfc-editor.org/rfc/rfc6266#section-4][1].
|
434
434
|
#
|
435
435
|
#
|
436
436
|
#
|
437
|
-
# [1]:
|
437
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc6266#section-4
|
438
438
|
# @option options [String] :content_encoding
|
439
439
|
# Specifies what content encodings have been applied to the object and
|
440
440
|
# thus what decoding mechanisms must be applied to obtain the media-type
|
441
441
|
# referenced by the Content-Type header field. For more information, see
|
442
|
-
# [
|
442
|
+
# [https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding][1].
|
443
443
|
#
|
444
444
|
#
|
445
445
|
#
|
446
|
-
# [1]:
|
446
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding
|
447
447
|
# @option options [String] :content_language
|
448
448
|
# The language the content is in.
|
449
449
|
# @option options [Integer] :content_length
|
450
450
|
# Size of the body in bytes. This parameter is useful when the size of
|
451
451
|
# the body cannot be determined automatically. For more information, see
|
452
|
-
# [
|
452
|
+
# [https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length][1].
|
453
453
|
#
|
454
454
|
#
|
455
455
|
#
|
456
|
-
# [1]:
|
456
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length
|
457
457
|
# @option options [String] :content_md5
|
458
458
|
# The base64-encoded 128-bit MD5 digest of the message (without the
|
459
459
|
# headers) according to RFC 1864. This header can be used as a message
|
@@ -469,11 +469,11 @@ module Aws::S3
|
|
469
469
|
# @option options [String] :content_type
|
470
470
|
# A standard MIME type describing the format of the contents. For more
|
471
471
|
# information, see
|
472
|
-
# [
|
472
|
+
# [https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type][1].
|
473
473
|
#
|
474
474
|
#
|
475
475
|
#
|
476
|
-
# [1]:
|
476
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
|
477
477
|
# @option options [String] :checksum_algorithm
|
478
478
|
# Indicates the algorithm used to create the checksum for the object
|
479
479
|
# when using the SDK. This header will not provide any additional
|
@@ -532,11 +532,11 @@ module Aws::S3
|
|
532
532
|
# @option options [Time,DateTime,Date,Integer,String] :expires
|
533
533
|
# The date and time at which the object is no longer cacheable. For more
|
534
534
|
# information, see
|
535
|
-
# [
|
535
|
+
# [https://www.rfc-editor.org/rfc/rfc7234#section-5.3][1].
|
536
536
|
#
|
537
537
|
#
|
538
538
|
#
|
539
|
-
# [1]:
|
539
|
+
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
540
540
|
# @option options [String] :grant_full_control
|
541
541
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
542
542
|
# object.
|
@@ -560,7 +560,7 @@ module Aws::S3
|
|
560
560
|
# A map of metadata to store with the object in S3.
|
561
561
|
# @option options [String] :server_side_encryption
|
562
562
|
# The server-side encryption algorithm used when storing this object in
|
563
|
-
# Amazon S3 (for example, AES256, aws:kms).
|
563
|
+
# Amazon S3 (for example, AES256, `aws:kms`).
|
564
564
|
# @option options [String] :storage_class
|
565
565
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
566
566
|
# created objects. The STANDARD storage class provides high durability
|
@@ -611,9 +611,9 @@ module Aws::S3
|
|
611
611
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
612
612
|
# ensure that the encryption key was transmitted without error.
|
613
613
|
# @option options [String] :ssekms_key_id
|
614
|
-
# If `x-amz-server-side-encryption`
|
615
|
-
#
|
616
|
-
#
|
614
|
+
# If `x-amz-server-side-encryption` has a valid value of `aws:kms`, this
|
615
|
+
# header specifies the ID of the Amazon Web Services Key Management
|
616
|
+
# Service (Amazon Web Services KMS) symmetric encryption customer
|
617
617
|
# managed key that was used for the object. If you specify
|
618
618
|
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
619
619
|
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
@@ -623,7 +623,10 @@ module Aws::S3
|
|
623
623
|
# @option options [String] :ssekms_encryption_context
|
624
624
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
625
625
|
# object encryption. The value of this header is a base64-encoded UTF-8
|
626
|
-
# string holding JSON with the encryption context key-value pairs.
|
626
|
+
# string holding JSON with the encryption context key-value pairs. This
|
627
|
+
# value is stored as object metadata and automatically gets passed on to
|
628
|
+
# Amazon Web Services KMS for future `GetObject` or `CopyObject`
|
629
|
+
# operations on this object.
|
627
630
|
# @option options [Boolean] :bucket_key_enabled
|
628
631
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
629
632
|
# encryption with server-side encryption using AWS KMS (SSE-KMS).
|