aws-sdk-s3 1.143.0 → 1.208.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/CHANGELOG.md +412 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
- data/lib/aws-sdk-s3/bucket.rb +358 -106
- data/lib/aws-sdk-s3/bucket_acl.rb +10 -9
- data/lib/aws-sdk-s3/bucket_cors.rb +10 -9
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +11 -6
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +64 -7
- data/lib/aws-sdk-s3/bucket_logging.rb +5 -5
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/bucket_policy.rb +14 -13
- data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
- data/lib/aws-sdk-s3/bucket_request_payment.rb +6 -6
- data/lib/aws-sdk-s3/bucket_tagging.rb +7 -7
- data/lib/aws-sdk-s3/bucket_versioning.rb +47 -14
- data/lib/aws-sdk-s3/bucket_website.rb +7 -7
- data/lib/aws-sdk-s3/client.rb +5671 -2195
- data/lib/aws-sdk-s3/client_api.rb +665 -166
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/errors.rb +15 -2
- data/lib/aws-sdk-s3/customizations/object.rb +87 -91
- data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
- data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
- data/lib/aws-sdk-s3/customizations.rb +28 -36
- data/lib/aws-sdk-s3/default_executor.rb +103 -0
- data/lib/aws-sdk-s3/encryption/client.rb +4 -4
- data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +2 -0
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +4 -2
- data/lib/aws-sdk-s3/encryptionV2/client.rb +100 -25
- data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +7 -162
- data/lib/aws-sdk-s3/encryptionV2/decryption.rb +205 -0
- data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +17 -0
- data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +10 -2
- data/lib/aws-sdk-s3/encryptionV2/utils.rb +5 -0
- data/lib/aws-sdk-s3/encryptionV3/client.rb +885 -0
- data/lib/aws-sdk-s3/encryptionV3/decrypt_handler.rb +98 -0
- data/lib/aws-sdk-s3/encryptionV3/decryption.rb +244 -0
- data/lib/aws-sdk-s3/encryptionV3/default_cipher_provider.rb +159 -0
- data/lib/aws-sdk-s3/encryptionV3/default_key_provider.rb +35 -0
- data/lib/aws-sdk-s3/encryptionV3/encrypt_handler.rb +98 -0
- data/lib/aws-sdk-s3/encryptionV3/errors.rb +47 -0
- data/lib/aws-sdk-s3/encryptionV3/io_auth_decrypter.rb +60 -0
- data/lib/aws-sdk-s3/encryptionV3/io_decrypter.rb +35 -0
- data/lib/aws-sdk-s3/encryptionV3/io_encrypter.rb +84 -0
- data/lib/aws-sdk-s3/encryptionV3/key_provider.rb +28 -0
- data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +159 -0
- data/lib/aws-sdk-s3/encryptionV3/materials.rb +58 -0
- data/lib/aws-sdk-s3/encryptionV3/utils.rb +321 -0
- data/lib/aws-sdk-s3/encryption_v2.rb +1 -0
- data/lib/aws-sdk-s3/encryption_v3.rb +24 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +37 -34
- data/lib/aws-sdk-s3/endpoint_provider.rb +572 -277
- data/lib/aws-sdk-s3/endpoints.rb +566 -1612
- data/lib/aws-sdk-s3/errors.rb +58 -0
- data/lib/aws-sdk-s3/express_credentials_provider.rb +27 -4
- data/lib/aws-sdk-s3/file_downloader.rb +192 -146
- data/lib/aws-sdk-s3/file_uploader.rb +10 -14
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/multipart_download_error.rb +8 -0
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +106 -102
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +99 -108
- data/lib/aws-sdk-s3/multipart_upload.rb +112 -12
- data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +55 -39
- data/lib/aws-sdk-s3/object.rb +713 -227
- data/lib/aws-sdk-s3/object_acl.rb +15 -9
- data/lib/aws-sdk-s3/object_copier.rb +1 -1
- data/lib/aws-sdk-s3/object_multipart_copier.rb +12 -9
- data/lib/aws-sdk-s3/object_summary.rb +592 -173
- data/lib/aws-sdk-s3/object_version.rb +102 -17
- data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
- data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +25 -213
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +18 -21
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +55 -18
- data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
- data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/presigner.rb +7 -5
- data/lib/aws-sdk-s3/resource.rb +53 -20
- data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
- data/lib/aws-sdk-s3/types.rb +4738 -1542
- data/lib/aws-sdk-s3.rb +35 -31
- data/sig/bucket.rbs +28 -9
- data/sig/bucket_acl.rbs +1 -1
- data/sig/bucket_cors.rbs +1 -1
- data/sig/bucket_lifecycle.rbs +1 -1
- data/sig/bucket_lifecycle_configuration.rbs +8 -4
- data/sig/bucket_logging.rbs +1 -1
- data/sig/bucket_policy.rbs +1 -1
- data/sig/bucket_request_payment.rbs +1 -1
- data/sig/bucket_tagging.rbs +1 -1
- data/sig/bucket_versioning.rbs +3 -3
- data/sig/bucket_website.rbs +1 -1
- data/sig/client.rbs +324 -72
- data/sig/customizations/bucket.rbs +19 -0
- data/sig/customizations/object.rbs +38 -0
- data/sig/customizations/object_summary.rbs +35 -0
- data/sig/errors.rbs +10 -0
- data/sig/multipart_upload.rbs +13 -3
- data/sig/multipart_upload_part.rbs +5 -1
- data/sig/object.rbs +44 -16
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +29 -16
- data/sig/object_version.rbs +15 -3
- data/sig/resource.rbs +22 -5
- data/sig/types.rbs +403 -66
- data/sig/waiters.rbs +12 -0
- metadata +35 -13
- data/lib/aws-sdk-s3/express_credentials_cache.rb +0 -30
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module Aws
|
|
2
|
+
module S3
|
|
3
|
+
class Bucket
|
|
4
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#clear!-instance_method
|
|
5
|
+
def clear!: () -> void
|
|
6
|
+
|
|
7
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#delete!-instance_method
|
|
8
|
+
def delete!: (?max_attempts: ::Integer, ?initial_wait: ::Float) -> void
|
|
9
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
10
|
+
|
|
11
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#url-instance_method
|
|
12
|
+
def url: (?virtual_host: boolish, ?secure: boolish) -> String
|
|
13
|
+
| (?Hash[Symbol, untyped]) -> String
|
|
14
|
+
|
|
15
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#presigned_post-instance_method
|
|
16
|
+
def presigned_post: (Hash[Symbol, untyped]) -> untyped
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module Aws
|
|
2
|
+
module S3
|
|
3
|
+
class Object
|
|
4
|
+
alias size content_length
|
|
5
|
+
|
|
6
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#copy_from-instance_method
|
|
7
|
+
def copy_from: (untyped source, ?Hash[Symbol, untyped] options) -> void
|
|
8
|
+
| ...
|
|
9
|
+
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#copy_to-instance_method
|
|
11
|
+
def copy_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#move_to-instance_method
|
|
14
|
+
def move_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
|
15
|
+
|
|
16
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_post-instance_method
|
|
17
|
+
def presigned_post: (?Hash[Symbol, untyped]) -> untyped
|
|
18
|
+
|
|
19
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_url-instance_method
|
|
20
|
+
def presigned_url: (Symbol | String method, ?Hash[Symbol, untyped] params) -> String
|
|
21
|
+
|
|
22
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_request-instance_method
|
|
23
|
+
def presigned_request: (Symbol | String method, ?Hash[Symbol, untyped] params) -> [String, Hash[String, String]]
|
|
24
|
+
|
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#public_url-instance_method
|
|
26
|
+
def public_url: (?Hash[Symbol, untyped] options) -> String
|
|
27
|
+
|
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#upload_stream-instance_method
|
|
29
|
+
def upload_stream: (?Hash[Symbol, untyped] options) { (IO write_stream) -> void } -> bool
|
|
30
|
+
|
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#upload_file-instance_method
|
|
32
|
+
def upload_file: (untyped source, ?Hash[Symbol, untyped] options) ?{ (untyped response) -> void } -> bool
|
|
33
|
+
|
|
34
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#download_file-instance_method
|
|
35
|
+
def download_file: (String destination, ?Hash[Symbol, untyped] options) -> bool
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Aws
|
|
2
|
+
module S3
|
|
3
|
+
class ObjectSummary
|
|
4
|
+
alias content_length size
|
|
5
|
+
|
|
6
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#copy_from-instance_method
|
|
7
|
+
def copy_from: (untyped source, ?Hash[Symbol, untyped] options) -> void
|
|
8
|
+
| ...
|
|
9
|
+
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#copy_to-instance_method
|
|
11
|
+
def copy_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#move_to-instance_method
|
|
14
|
+
def move_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
|
|
15
|
+
|
|
16
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#presigned_post-instance_method
|
|
17
|
+
def presigned_post: (Hash[Symbol, untyped]) -> untyped
|
|
18
|
+
|
|
19
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#presigned_url-instance_method
|
|
20
|
+
def presigned_url: (Symbol | String method, ?Hash[Symbol, untyped] params) -> String
|
|
21
|
+
|
|
22
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#public_url-instance_method
|
|
23
|
+
def public_url: (?Hash[Symbol, untyped] options) -> String
|
|
24
|
+
|
|
25
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#upload_file-instance_method
|
|
26
|
+
def upload_file: (untyped source, ?Hash[Symbol, untyped] options) ?{ (untyped response) -> void } -> bool
|
|
27
|
+
|
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#upload_stream-instance_method
|
|
29
|
+
def upload_stream: (?Hash[Symbol, untyped] options) { (IO write_stream) -> void } -> bool
|
|
30
|
+
|
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#download_file-instance_method
|
|
32
|
+
def download_file: (String destination, ?Hash[Symbol, untyped] options) -> bool
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
data/sig/errors.rbs
CHANGED
|
@@ -15,10 +15,18 @@ module Aws
|
|
|
15
15
|
end
|
|
16
16
|
class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
|
|
17
17
|
end
|
|
18
|
+
class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
|
|
19
|
+
end
|
|
20
|
+
class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
|
|
21
|
+
end
|
|
18
22
|
class InvalidObjectState < ::Aws::Errors::ServiceError
|
|
19
23
|
def storage_class: () -> ::String
|
|
20
24
|
def access_tier: () -> ::String
|
|
21
25
|
end
|
|
26
|
+
class InvalidRequest < ::Aws::Errors::ServiceError
|
|
27
|
+
end
|
|
28
|
+
class InvalidWriteOffset < ::Aws::Errors::ServiceError
|
|
29
|
+
end
|
|
22
30
|
class NoSuchBucket < ::Aws::Errors::ServiceError
|
|
23
31
|
end
|
|
24
32
|
class NoSuchKey < ::Aws::Errors::ServiceError
|
|
@@ -29,6 +37,8 @@ module Aws
|
|
|
29
37
|
end
|
|
30
38
|
class ObjectNotInActiveTierError < ::Aws::Errors::ServiceError
|
|
31
39
|
end
|
|
40
|
+
class TooManyParts < ::Aws::Errors::ServiceError
|
|
41
|
+
end
|
|
32
42
|
end
|
|
33
43
|
end
|
|
34
44
|
end
|
data/sig/multipart_upload.rbs
CHANGED
|
@@ -33,7 +33,7 @@ module Aws
|
|
|
33
33
|
def initiated: () -> ::Time
|
|
34
34
|
|
|
35
35
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#storage_class-instance_method
|
|
36
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
36
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
|
|
37
37
|
|
|
38
38
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#owner-instance_method
|
|
39
39
|
def owner: () -> Types::Owner
|
|
@@ -42,7 +42,10 @@ module Aws
|
|
|
42
42
|
def initiator: () -> Types::Initiator
|
|
43
43
|
|
|
44
44
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_algorithm-instance_method
|
|
45
|
-
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
|
45
|
+
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
|
46
|
+
|
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_type-instance_method
|
|
48
|
+
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
46
49
|
|
|
47
50
|
def client: () -> Client
|
|
48
51
|
|
|
@@ -57,7 +60,8 @@ module Aws
|
|
|
57
60
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#abort-instance_method
|
|
58
61
|
def abort: (
|
|
59
62
|
?request_payer: ("requester"),
|
|
60
|
-
?expected_bucket_owner: ::String
|
|
63
|
+
?expected_bucket_owner: ::String,
|
|
64
|
+
?if_match_initiated_time: ::Time
|
|
61
65
|
) -> Types::AbortMultipartUploadOutput
|
|
62
66
|
| (?Hash[Symbol, untyped]) -> Types::AbortMultipartUploadOutput
|
|
63
67
|
|
|
@@ -69,6 +73,7 @@ module Aws
|
|
|
69
73
|
etag: ::String?,
|
|
70
74
|
checksum_crc32: ::String?,
|
|
71
75
|
checksum_crc32c: ::String?,
|
|
76
|
+
checksum_crc64nvme: ::String?,
|
|
72
77
|
checksum_sha1: ::String?,
|
|
73
78
|
checksum_sha256: ::String?,
|
|
74
79
|
part_number: ::Integer?
|
|
@@ -77,10 +82,15 @@ module Aws
|
|
|
77
82
|
},
|
|
78
83
|
?checksum_crc32: ::String,
|
|
79
84
|
?checksum_crc32c: ::String,
|
|
85
|
+
?checksum_crc64nvme: ::String,
|
|
80
86
|
?checksum_sha1: ::String,
|
|
81
87
|
?checksum_sha256: ::String,
|
|
88
|
+
?checksum_type: ("COMPOSITE" | "FULL_OBJECT"),
|
|
89
|
+
?mpu_object_size: ::Integer,
|
|
82
90
|
?request_payer: ("requester"),
|
|
83
91
|
?expected_bucket_owner: ::String,
|
|
92
|
+
?if_match: ::String,
|
|
93
|
+
?if_none_match: ::String,
|
|
84
94
|
?sse_customer_algorithm: ::String,
|
|
85
95
|
?sse_customer_key: ::String,
|
|
86
96
|
?sse_customer_key_md5: ::String
|
|
@@ -41,6 +41,9 @@ module Aws
|
|
|
41
41
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_crc32c-instance_method
|
|
42
42
|
def checksum_crc32c: () -> ::String
|
|
43
43
|
|
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_crc64nvme-instance_method
|
|
45
|
+
def checksum_crc64nvme: () -> ::String
|
|
46
|
+
|
|
44
47
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUploadPart.html#checksum_sha1-instance_method
|
|
45
48
|
def checksum_sha1: () -> ::String
|
|
46
49
|
|
|
@@ -82,9 +85,10 @@ module Aws
|
|
|
82
85
|
?body: ::String | ::StringIO | ::File,
|
|
83
86
|
?content_length: ::Integer,
|
|
84
87
|
?content_md5: ::String,
|
|
85
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
88
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
86
89
|
?checksum_crc32: ::String,
|
|
87
90
|
?checksum_crc32c: ::String,
|
|
91
|
+
?checksum_crc64nvme: ::String,
|
|
88
92
|
?checksum_sha1: ::String,
|
|
89
93
|
?checksum_sha256: ::String,
|
|
90
94
|
?sse_customer_algorithm: ::String,
|
data/sig/object.rbs
CHANGED
|
@@ -47,12 +47,18 @@ module Aws
|
|
|
47
47
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_crc32c-instance_method
|
|
48
48
|
def checksum_crc32c: () -> ::String
|
|
49
49
|
|
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_crc64nvme-instance_method
|
|
51
|
+
def checksum_crc64nvme: () -> ::String
|
|
52
|
+
|
|
50
53
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_sha1-instance_method
|
|
51
54
|
def checksum_sha1: () -> ::String
|
|
52
55
|
|
|
53
56
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_sha256-instance_method
|
|
54
57
|
def checksum_sha256: () -> ::String
|
|
55
58
|
|
|
59
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#checksum_type-instance_method
|
|
60
|
+
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
61
|
+
|
|
56
62
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#etag-instance_method
|
|
57
63
|
def etag: () -> ::String
|
|
58
64
|
|
|
@@ -77,6 +83,9 @@ module Aws
|
|
|
77
83
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#content_type-instance_method
|
|
78
84
|
def content_type: () -> ::String
|
|
79
85
|
|
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#content_range-instance_method
|
|
87
|
+
def content_range: () -> ::String
|
|
88
|
+
|
|
80
89
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#expires-instance_method
|
|
81
90
|
def expires: () -> ::Time
|
|
82
91
|
|
|
@@ -87,7 +96,7 @@ module Aws
|
|
|
87
96
|
def website_redirect_location: () -> ::String
|
|
88
97
|
|
|
89
98
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#server_side_encryption-instance_method
|
|
90
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
99
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
91
100
|
|
|
92
101
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#metadata-instance_method
|
|
93
102
|
def metadata: () -> ::Hash[::String, ::String]
|
|
@@ -105,7 +114,7 @@ module Aws
|
|
|
105
114
|
def bucket_key_enabled: () -> bool
|
|
106
115
|
|
|
107
116
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
|
|
108
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
117
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
|
|
109
118
|
|
|
110
119
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
|
|
111
120
|
def request_charged: () -> ("requester")
|
|
@@ -116,6 +125,9 @@ module Aws
|
|
|
116
125
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#parts_count-instance_method
|
|
117
126
|
def parts_count: () -> ::Integer
|
|
118
127
|
|
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#tag_count-instance_method
|
|
129
|
+
def tag_count: () -> ::Integer
|
|
130
|
+
|
|
119
131
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_mode-instance_method
|
|
120
132
|
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
|
121
133
|
|
|
@@ -153,7 +165,7 @@ module Aws
|
|
|
153
165
|
def copy_from: (
|
|
154
166
|
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
|
|
155
167
|
?cache_control: ::String,
|
|
156
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
168
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
157
169
|
?content_disposition: ::String,
|
|
158
170
|
?content_encoding: ::String,
|
|
159
171
|
?content_language: ::String,
|
|
@@ -168,11 +180,13 @@ module Aws
|
|
|
168
180
|
?grant_read: ::String,
|
|
169
181
|
?grant_read_acp: ::String,
|
|
170
182
|
?grant_write_acp: ::String,
|
|
183
|
+
?if_match: ::String,
|
|
184
|
+
?if_none_match: ::String,
|
|
171
185
|
?metadata: Hash[::String, ::String],
|
|
172
186
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
173
187
|
?tagging_directive: ("COPY" | "REPLACE"),
|
|
174
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
175
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
188
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
189
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
176
190
|
?website_redirect_location: ::String,
|
|
177
191
|
?sse_customer_algorithm: ::String,
|
|
178
192
|
?sse_customer_key: ::String,
|
|
@@ -199,7 +213,10 @@ module Aws
|
|
|
199
213
|
?version_id: ::String,
|
|
200
214
|
?request_payer: ("requester"),
|
|
201
215
|
?bypass_governance_retention: bool,
|
|
202
|
-
?expected_bucket_owner: ::String
|
|
216
|
+
?expected_bucket_owner: ::String,
|
|
217
|
+
?if_match: ::String,
|
|
218
|
+
?if_match_last_modified_time: ::Time,
|
|
219
|
+
?if_match_size: ::Integer
|
|
203
220
|
) -> Types::DeleteObjectOutput
|
|
204
221
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
|
205
222
|
|
|
@@ -241,8 +258,8 @@ module Aws
|
|
|
241
258
|
?grant_read_acp: ::String,
|
|
242
259
|
?grant_write_acp: ::String,
|
|
243
260
|
?metadata: Hash[::String, ::String],
|
|
244
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
245
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
261
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
262
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
246
263
|
?website_redirect_location: ::String,
|
|
247
264
|
?sse_customer_algorithm: ::String,
|
|
248
265
|
?sse_customer_key: ::String,
|
|
@@ -256,7 +273,8 @@ module Aws
|
|
|
256
273
|
?object_lock_retain_until_date: ::Time,
|
|
257
274
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
258
275
|
?expected_bucket_owner: ::String,
|
|
259
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
|
276
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
277
|
+
?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
260
278
|
) -> MultipartUpload
|
|
261
279
|
| (?Hash[Symbol, untyped]) -> MultipartUpload
|
|
262
280
|
|
|
@@ -271,19 +289,23 @@ module Aws
|
|
|
271
289
|
?content_length: ::Integer,
|
|
272
290
|
?content_md5: ::String,
|
|
273
291
|
?content_type: ::String,
|
|
274
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
292
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
275
293
|
?checksum_crc32: ::String,
|
|
276
294
|
?checksum_crc32c: ::String,
|
|
295
|
+
?checksum_crc64nvme: ::String,
|
|
277
296
|
?checksum_sha1: ::String,
|
|
278
297
|
?checksum_sha256: ::String,
|
|
279
298
|
?expires: ::Time,
|
|
299
|
+
?if_match: ::String,
|
|
300
|
+
?if_none_match: ::String,
|
|
280
301
|
?grant_full_control: ::String,
|
|
281
302
|
?grant_read: ::String,
|
|
282
303
|
?grant_read_acp: ::String,
|
|
283
304
|
?grant_write_acp: ::String,
|
|
305
|
+
?write_offset_bytes: ::Integer,
|
|
284
306
|
?metadata: Hash[::String, ::String],
|
|
285
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
286
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
307
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
308
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
287
309
|
?website_redirect_location: ::String,
|
|
288
310
|
?sse_customer_algorithm: ::String,
|
|
289
311
|
?sse_customer_key: ::String,
|
|
@@ -349,7 +371,7 @@ module Aws
|
|
|
349
371
|
bucket_name: ::String,
|
|
350
372
|
prefix: ::String,
|
|
351
373
|
encryption: {
|
|
352
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
374
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
353
375
|
kms_key_id: ::String?,
|
|
354
376
|
kms_context: ::String?
|
|
355
377
|
}?,
|
|
@@ -380,12 +402,12 @@ module Aws
|
|
|
380
402
|
value: ::String?
|
|
381
403
|
},
|
|
382
404
|
]?,
|
|
383
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
|
405
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
|
|
384
406
|
}?
|
|
385
407
|
}?
|
|
386
408
|
},
|
|
387
409
|
?request_payer: ("requester"),
|
|
388
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
410
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
389
411
|
?expected_bucket_owner: ::String
|
|
390
412
|
) -> Types::RestoreObjectOutput
|
|
391
413
|
| (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
|
|
@@ -397,6 +419,12 @@ module Aws
|
|
|
397
419
|
?if_none_match: ::String,
|
|
398
420
|
?if_unmodified_since: ::Time,
|
|
399
421
|
?range: ::String,
|
|
422
|
+
?response_cache_control: ::String,
|
|
423
|
+
?response_content_disposition: ::String,
|
|
424
|
+
?response_content_encoding: ::String,
|
|
425
|
+
?response_content_language: ::String,
|
|
426
|
+
?response_content_type: ::String,
|
|
427
|
+
?response_expires: ::Time,
|
|
400
428
|
?version_id: ::String,
|
|
401
429
|
?sse_customer_algorithm: ::String,
|
|
402
430
|
?sse_customer_key: ::String,
|
|
@@ -427,7 +455,7 @@ module Aws
|
|
|
427
455
|
?request_payer: ("requester"),
|
|
428
456
|
?bypass_governance_retention: bool,
|
|
429
457
|
?expected_bucket_owner: ::String,
|
|
430
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
|
458
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
|
431
459
|
) -> void
|
|
432
460
|
| (?Hash[Symbol, untyped]) -> void
|
|
433
461
|
end
|
data/sig/object_acl.rbs
CHANGED
|
@@ -64,7 +64,7 @@ module Aws
|
|
|
64
64
|
}?
|
|
65
65
|
},
|
|
66
66
|
?content_md5: ::String,
|
|
67
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
67
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
68
68
|
?grant_full_control: ::String,
|
|
69
69
|
?grant_read: ::String,
|
|
70
70
|
?grant_read_acp: ::String,
|
data/sig/object_summary.rbs
CHANGED
|
@@ -27,13 +27,16 @@ module Aws
|
|
|
27
27
|
def etag: () -> ::String
|
|
28
28
|
|
|
29
29
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#checksum_algorithm-instance_method
|
|
30
|
-
def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
|
|
30
|
+
def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
|
|
31
|
+
|
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#checksum_type-instance_method
|
|
33
|
+
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
31
34
|
|
|
32
35
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#size-instance_method
|
|
33
36
|
def size: () -> ::Integer
|
|
34
37
|
|
|
35
38
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#storage_class-instance_method
|
|
36
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
39
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")
|
|
37
40
|
|
|
38
41
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#owner-instance_method
|
|
39
42
|
def owner: () -> Types::Owner
|
|
@@ -66,7 +69,7 @@ module Aws
|
|
|
66
69
|
def copy_from: (
|
|
67
70
|
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
|
|
68
71
|
?cache_control: ::String,
|
|
69
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
72
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
70
73
|
?content_disposition: ::String,
|
|
71
74
|
?content_encoding: ::String,
|
|
72
75
|
?content_language: ::String,
|
|
@@ -81,11 +84,13 @@ module Aws
|
|
|
81
84
|
?grant_read: ::String,
|
|
82
85
|
?grant_read_acp: ::String,
|
|
83
86
|
?grant_write_acp: ::String,
|
|
87
|
+
?if_match: ::String,
|
|
88
|
+
?if_none_match: ::String,
|
|
84
89
|
?metadata: Hash[::String, ::String],
|
|
85
90
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
86
91
|
?tagging_directive: ("COPY" | "REPLACE"),
|
|
87
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
88
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
92
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
93
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
89
94
|
?website_redirect_location: ::String,
|
|
90
95
|
?sse_customer_algorithm: ::String,
|
|
91
96
|
?sse_customer_key: ::String,
|
|
@@ -112,7 +117,10 @@ module Aws
|
|
|
112
117
|
?version_id: ::String,
|
|
113
118
|
?request_payer: ("requester"),
|
|
114
119
|
?bypass_governance_retention: bool,
|
|
115
|
-
?expected_bucket_owner: ::String
|
|
120
|
+
?expected_bucket_owner: ::String,
|
|
121
|
+
?if_match: ::String,
|
|
122
|
+
?if_match_last_modified_time: ::Time,
|
|
123
|
+
?if_match_size: ::Integer
|
|
116
124
|
) -> Types::DeleteObjectOutput
|
|
117
125
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
|
118
126
|
|
|
@@ -154,8 +162,8 @@ module Aws
|
|
|
154
162
|
?grant_read_acp: ::String,
|
|
155
163
|
?grant_write_acp: ::String,
|
|
156
164
|
?metadata: Hash[::String, ::String],
|
|
157
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
158
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
165
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
166
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
159
167
|
?website_redirect_location: ::String,
|
|
160
168
|
?sse_customer_algorithm: ::String,
|
|
161
169
|
?sse_customer_key: ::String,
|
|
@@ -169,7 +177,8 @@ module Aws
|
|
|
169
177
|
?object_lock_retain_until_date: ::Time,
|
|
170
178
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
171
179
|
?expected_bucket_owner: ::String,
|
|
172
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
|
180
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
181
|
+
?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
173
182
|
) -> MultipartUpload
|
|
174
183
|
| (?Hash[Symbol, untyped]) -> MultipartUpload
|
|
175
184
|
|
|
@@ -184,19 +193,23 @@ module Aws
|
|
|
184
193
|
?content_length: ::Integer,
|
|
185
194
|
?content_md5: ::String,
|
|
186
195
|
?content_type: ::String,
|
|
187
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
196
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
188
197
|
?checksum_crc32: ::String,
|
|
189
198
|
?checksum_crc32c: ::String,
|
|
199
|
+
?checksum_crc64nvme: ::String,
|
|
190
200
|
?checksum_sha1: ::String,
|
|
191
201
|
?checksum_sha256: ::String,
|
|
192
202
|
?expires: ::Time,
|
|
203
|
+
?if_match: ::String,
|
|
204
|
+
?if_none_match: ::String,
|
|
193
205
|
?grant_full_control: ::String,
|
|
194
206
|
?grant_read: ::String,
|
|
195
207
|
?grant_read_acp: ::String,
|
|
196
208
|
?grant_write_acp: ::String,
|
|
209
|
+
?write_offset_bytes: ::Integer,
|
|
197
210
|
?metadata: Hash[::String, ::String],
|
|
198
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
199
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
211
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
212
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
200
213
|
?website_redirect_location: ::String,
|
|
201
214
|
?sse_customer_algorithm: ::String,
|
|
202
215
|
?sse_customer_key: ::String,
|
|
@@ -262,7 +275,7 @@ module Aws
|
|
|
262
275
|
bucket_name: ::String,
|
|
263
276
|
prefix: ::String,
|
|
264
277
|
encryption: {
|
|
265
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
278
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
266
279
|
kms_key_id: ::String?,
|
|
267
280
|
kms_context: ::String?
|
|
268
281
|
}?,
|
|
@@ -293,12 +306,12 @@ module Aws
|
|
|
293
306
|
value: ::String?
|
|
294
307
|
},
|
|
295
308
|
]?,
|
|
296
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
|
309
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
|
|
297
310
|
}?
|
|
298
311
|
}?
|
|
299
312
|
},
|
|
300
313
|
?request_payer: ("requester"),
|
|
301
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
|
314
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
302
315
|
?expected_bucket_owner: ::String
|
|
303
316
|
) -> Types::RestoreObjectOutput
|
|
304
317
|
| (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
|
|
@@ -325,7 +338,7 @@ module Aws
|
|
|
325
338
|
?request_payer: ("requester"),
|
|
326
339
|
?bypass_governance_retention: bool,
|
|
327
340
|
?expected_bucket_owner: ::String,
|
|
328
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
|
341
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
|
329
342
|
) -> void
|
|
330
343
|
| (?Hash[Symbol, untyped]) -> void
|
|
331
344
|
end
|
data/sig/object_version.rbs
CHANGED
|
@@ -27,7 +27,10 @@ module Aws
|
|
|
27
27
|
def etag: () -> ::String
|
|
28
28
|
|
|
29
29
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#checksum_algorithm-instance_method
|
|
30
|
-
def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256")]
|
|
30
|
+
def checksum_algorithm: () -> ::Array[("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")]
|
|
31
|
+
|
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#checksum_type-instance_method
|
|
33
|
+
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
31
34
|
|
|
32
35
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectVersion.html#size-instance_method
|
|
33
36
|
def size: () -> ::Integer
|
|
@@ -68,7 +71,10 @@ module Aws
|
|
|
68
71
|
?mfa: ::String,
|
|
69
72
|
?request_payer: ("requester"),
|
|
70
73
|
?bypass_governance_retention: bool,
|
|
71
|
-
?expected_bucket_owner: ::String
|
|
74
|
+
?expected_bucket_owner: ::String,
|
|
75
|
+
?if_match: ::String,
|
|
76
|
+
?if_match_last_modified_time: ::Time,
|
|
77
|
+
?if_match_size: ::Integer
|
|
72
78
|
) -> Types::DeleteObjectOutput
|
|
73
79
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
|
74
80
|
|
|
@@ -102,6 +108,12 @@ module Aws
|
|
|
102
108
|
?if_none_match: ::String,
|
|
103
109
|
?if_unmodified_since: ::Time,
|
|
104
110
|
?range: ::String,
|
|
111
|
+
?response_cache_control: ::String,
|
|
112
|
+
?response_content_disposition: ::String,
|
|
113
|
+
?response_content_encoding: ::String,
|
|
114
|
+
?response_content_language: ::String,
|
|
115
|
+
?response_content_type: ::String,
|
|
116
|
+
?response_expires: ::Time,
|
|
105
117
|
?sse_customer_algorithm: ::String,
|
|
106
118
|
?sse_customer_key: ::String,
|
|
107
119
|
?sse_customer_key_md5: ::String,
|
|
@@ -122,7 +134,7 @@ module Aws
|
|
|
122
134
|
?request_payer: ("requester"),
|
|
123
135
|
?bypass_governance_retention: bool,
|
|
124
136
|
?expected_bucket_owner: ::String,
|
|
125
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
|
137
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
|
126
138
|
) -> void
|
|
127
139
|
| (?Hash[Symbol, untyped]) -> void
|
|
128
140
|
end
|