aws-sdk-s3 1.73.0 → 1.78.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 +2 -2
- data/lib/aws-sdk-s3/client.rb +127 -114
- data/lib/aws-sdk-s3/customizations/object.rb +12 -1
- data/lib/aws-sdk-s3/encryption.rb +2 -0
- data/lib/aws-sdk-s3/encryption/client.rb +11 -0
- data/lib/aws-sdk-s3/encryption/decrypt_handler.rb +64 -29
- data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +41 -5
- data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +5 -5
- data/lib/aws-sdk-s3/encryption/io_decrypter.rb +7 -6
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +32 -3
- data/lib/aws-sdk-s3/encryption/utils.rb +23 -0
- data/lib/aws-sdk-s3/encryptionV2/client.rb +201 -23
- data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +40 -12
- data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +77 -10
- data/lib/aws-sdk-s3/encryptionV2/default_key_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +7 -4
- data/lib/aws-sdk-s3/encryptionV2/errors.rb +24 -0
- data/lib/aws-sdk-s3/encryptionV2/io_auth_decrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/io_decrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/key_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +90 -20
- data/lib/aws-sdk-s3/encryptionV2/materials.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/utils.rb +2 -15
- data/lib/aws-sdk-s3/encryption_v2.rb +4 -1
- data/lib/aws-sdk-s3/file_uploader.rb +11 -0
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +37 -2
- data/lib/aws-sdk-s3/multipart_upload_part.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +19 -3
- data/lib/aws-sdk-s3/plugins/accelerate.rb +27 -38
- data/lib/aws-sdk-s3/plugins/dualstack.rb +3 -1
- data/lib/aws-sdk-s3/plugins/sse_cpk.rb +1 -1
- data/lib/aws-sdk-s3/presigned_post.rb +61 -28
- data/lib/aws-sdk-s3/presigner.rb +2 -2
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +25 -8
- metadata +4 -4
data/lib/aws-sdk-s3/resource.rb
CHANGED
@@ -41,7 +41,7 @@ module Aws::S3
|
|
41
41
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
42
42
|
# bucket: "BucketName", # required
|
43
43
|
# create_bucket_configuration: {
|
44
|
-
# location_constraint: "
|
44
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
45
45
|
# },
|
46
46
|
# grant_full_control: "GrantFullControl",
|
47
47
|
# grant_read: "GrantRead",
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -1517,7 +1517,7 @@ module Aws::S3
|
|
1517
1517
|
# data as a hash:
|
1518
1518
|
#
|
1519
1519
|
# {
|
1520
|
-
# location_constraint: "
|
1520
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
1521
1521
|
# }
|
1522
1522
|
#
|
1523
1523
|
# @!attribute [rw] location_constraint
|
@@ -1555,7 +1555,7 @@ module Aws::S3
|
|
1555
1555
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
1556
1556
|
# bucket: "BucketName", # required
|
1557
1557
|
# create_bucket_configuration: {
|
1558
|
-
# location_constraint: "
|
1558
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
1559
1559
|
# },
|
1560
1560
|
# grant_full_control: "GrantFullControl",
|
1561
1561
|
# grant_read: "GrantRead",
|
@@ -2457,7 +2457,7 @@ module Aws::S3
|
|
2457
2457
|
# @return [String]
|
2458
2458
|
#
|
2459
2459
|
# @!attribute [rw] key
|
2460
|
-
# Name of the
|
2460
|
+
# Name of the object key.
|
2461
2461
|
# @return [String]
|
2462
2462
|
#
|
2463
2463
|
# @!attribute [rw] version_id
|
@@ -7042,7 +7042,7 @@ module Aws::S3
|
|
7042
7042
|
# in the subsequent request to get next set of objects. Amazon S3
|
7043
7043
|
# lists objects in alphabetical order Note: This element is returned
|
7044
7044
|
# only if you have delimiter request parameter specified. If response
|
7045
|
-
# does not include the
|
7045
|
+
# does not include the NextMarker and it is truncated, you can use the
|
7046
7046
|
# value of the last Key in the response as the marker in the
|
7047
7047
|
# subsequent request to get the next set of object keys.
|
7048
7048
|
# @return [String]
|
@@ -8140,8 +8140,25 @@ module Aws::S3
|
|
8140
8140
|
# @return [Time]
|
8141
8141
|
#
|
8142
8142
|
# @!attribute [rw] etag
|
8143
|
-
# The entity tag is
|
8144
|
-
#
|
8143
|
+
# The entity tag is a hash of the object. The ETag reflects changes
|
8144
|
+
# only to the contents of an object, not its metadata. The ETag may or
|
8145
|
+
# may not be an MD5 digest of the object data. Whether or not it is
|
8146
|
+
# depends on how the object was created and how it is encrypted as
|
8147
|
+
# described below:
|
8148
|
+
#
|
8149
|
+
# * Objects created by the PUT Object, POST Object, or Copy operation,
|
8150
|
+
# or through the AWS Management Console, and are encrypted by SSE-S3
|
8151
|
+
# or plaintext, have ETags that are an MD5 digest of their object
|
8152
|
+
# data.
|
8153
|
+
#
|
8154
|
+
# * Objects created by the PUT Object, POST Object, or Copy operation,
|
8155
|
+
# or through the AWS Management Console, and are encrypted by SSE-C
|
8156
|
+
# or SSE-KMS, have ETags that are not an MD5 digest of their object
|
8157
|
+
# data.
|
8158
|
+
#
|
8159
|
+
# * If an object is created by either the Multipart Upload or Part
|
8160
|
+
# Copy operation, the ETag is not an MD5 digest, regardless of the
|
8161
|
+
# method of encryption.
|
8145
8162
|
# @return [String]
|
8146
8163
|
#
|
8147
8164
|
# @!attribute [rw] size
|
@@ -10553,7 +10570,7 @@ module Aws::S3
|
|
10553
10570
|
# @return [String]
|
10554
10571
|
#
|
10555
10572
|
# @!attribute [rw] key
|
10556
|
-
# Name of the
|
10573
|
+
# Name of the object key.
|
10557
10574
|
# @return [String]
|
10558
10575
|
#
|
10559
10576
|
# @!attribute [rw] version_id
|
@@ -12453,7 +12470,7 @@ module Aws::S3
|
|
12453
12470
|
# }
|
12454
12471
|
#
|
12455
12472
|
# @!attribute [rw] key
|
12456
|
-
# Name of the
|
12473
|
+
# Name of the object key.
|
12457
12474
|
# @return [String]
|
12458
12475
|
#
|
12459
12476
|
# @!attribute [rw] value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.78.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.104.3
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.104.3
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|