aws-sdk-s3 1.156.0 → 1.190.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 +193 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +12 -3
- data/lib/aws-sdk-s3/bucket.rb +304 -94
- data/lib/aws-sdk-s3/bucket_acl.rb +6 -5
- data/lib/aws-sdk-s3/bucket_cors.rb +6 -5
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +7 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +60 -3
- data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_policy.rb +10 -9
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_versioning.rb +9 -9
- data/lib/aws-sdk-s3/bucket_website.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +4081 -1812
- data/lib/aws-sdk-s3/client_api.rb +404 -162
- data/lib/aws-sdk-s3/customizations/object.rb +6 -0
- 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 +24 -38
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoint_provider.rb +400 -276
- data/lib/aws-sdk-s3/endpoints.rb +465 -1706
- data/lib/aws-sdk-s3/errors.rb +58 -0
- data/lib/aws-sdk-s3/file_downloader.rb +14 -31
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
- data/lib/aws-sdk-s3/multipart_upload.rb +108 -8
- data/lib/aws-sdk-s3/multipart_upload_part.rb +52 -36
- data/lib/aws-sdk-s3/object.rb +614 -203
- data/lib/aws-sdk-s3/object_acl.rb +11 -5
- data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
- data/lib/aws-sdk-s3/object_summary.rb +518 -151
- data/lib/aws-sdk-s3/object_version.rb +81 -12
- data/lib/aws-sdk-s3/plugins/access_grants.rb +68 -4
- data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +24 -212
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
- data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
- 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 +5 -5
- data/lib/aws-sdk-s3/resource.rb +45 -18
- data/lib/aws-sdk-s3/types.rb +3462 -1337
- data/lib/aws-sdk-s3.rb +35 -31
- data/sig/bucket.rbs +16 -6
- 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 +162 -45
- data/sig/errors.rbs +10 -0
- data/sig/multipart_upload.rbs +12 -2
- data/sig/multipart_upload_part.rbs +5 -1
- data/sig/object.rbs +26 -6
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +18 -7
- data/sig/object_version.rbs +9 -3
- data/sig/resource.rbs +11 -4
- data/sig/types.rbs +210 -38
- metadata +8 -10
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
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
@@ -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
|
|
@@ -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,
|
@@ -199,7 +211,10 @@ module Aws
|
|
199
211
|
?version_id: ::String,
|
200
212
|
?request_payer: ("requester"),
|
201
213
|
?bypass_governance_retention: bool,
|
202
|
-
?expected_bucket_owner: ::String
|
214
|
+
?expected_bucket_owner: ::String,
|
215
|
+
?if_match: ::String,
|
216
|
+
?if_match_last_modified_time: ::Time,
|
217
|
+
?if_match_size: ::Integer
|
203
218
|
) -> Types::DeleteObjectOutput
|
204
219
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
205
220
|
|
@@ -256,7 +271,8 @@ module Aws
|
|
256
271
|
?object_lock_retain_until_date: ::Time,
|
257
272
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
258
273
|
?expected_bucket_owner: ::String,
|
259
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
274
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
275
|
+
?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
260
276
|
) -> MultipartUpload
|
261
277
|
| (?Hash[Symbol, untyped]) -> MultipartUpload
|
262
278
|
|
@@ -271,16 +287,20 @@ module Aws
|
|
271
287
|
?content_length: ::Integer,
|
272
288
|
?content_md5: ::String,
|
273
289
|
?content_type: ::String,
|
274
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
290
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
275
291
|
?checksum_crc32: ::String,
|
276
292
|
?checksum_crc32c: ::String,
|
293
|
+
?checksum_crc64nvme: ::String,
|
277
294
|
?checksum_sha1: ::String,
|
278
295
|
?checksum_sha256: ::String,
|
279
296
|
?expires: ::Time,
|
297
|
+
?if_match: ::String,
|
298
|
+
?if_none_match: ::String,
|
280
299
|
?grant_full_control: ::String,
|
281
300
|
?grant_read: ::String,
|
282
301
|
?grant_read_acp: ::String,
|
283
302
|
?grant_write_acp: ::String,
|
303
|
+
?write_offset_bytes: ::Integer,
|
284
304
|
?metadata: Hash[::String, ::String],
|
285
305
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
286
306
|
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
@@ -385,7 +405,7 @@ module Aws
|
|
385
405
|
}?
|
386
406
|
},
|
387
407
|
?request_payer: ("requester"),
|
388
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
408
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
389
409
|
?expected_bucket_owner: ::String
|
390
410
|
) -> Types::RestoreObjectOutput
|
391
411
|
| (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
|
@@ -433,7 +453,7 @@ module Aws
|
|
433
453
|
?request_payer: ("requester"),
|
434
454
|
?bypass_governance_retention: bool,
|
435
455
|
?expected_bucket_owner: ::String,
|
436
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
456
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
437
457
|
) -> void
|
438
458
|
| (?Hash[Symbol, untyped]) -> void
|
439
459
|
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,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/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
|
@@ -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,
|
@@ -112,7 +115,10 @@ module Aws
|
|
112
115
|
?version_id: ::String,
|
113
116
|
?request_payer: ("requester"),
|
114
117
|
?bypass_governance_retention: bool,
|
115
|
-
?expected_bucket_owner: ::String
|
118
|
+
?expected_bucket_owner: ::String,
|
119
|
+
?if_match: ::String,
|
120
|
+
?if_match_last_modified_time: ::Time,
|
121
|
+
?if_match_size: ::Integer
|
116
122
|
) -> Types::DeleteObjectOutput
|
117
123
|
| (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
|
118
124
|
|
@@ -169,7 +175,8 @@ module Aws
|
|
169
175
|
?object_lock_retain_until_date: ::Time,
|
170
176
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
171
177
|
?expected_bucket_owner: ::String,
|
172
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
178
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
179
|
+
?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
173
180
|
) -> MultipartUpload
|
174
181
|
| (?Hash[Symbol, untyped]) -> MultipartUpload
|
175
182
|
|
@@ -184,16 +191,20 @@ module Aws
|
|
184
191
|
?content_length: ::Integer,
|
185
192
|
?content_md5: ::String,
|
186
193
|
?content_type: ::String,
|
187
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
194
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
188
195
|
?checksum_crc32: ::String,
|
189
196
|
?checksum_crc32c: ::String,
|
197
|
+
?checksum_crc64nvme: ::String,
|
190
198
|
?checksum_sha1: ::String,
|
191
199
|
?checksum_sha256: ::String,
|
192
200
|
?expires: ::Time,
|
201
|
+
?if_match: ::String,
|
202
|
+
?if_none_match: ::String,
|
193
203
|
?grant_full_control: ::String,
|
194
204
|
?grant_read: ::String,
|
195
205
|
?grant_read_acp: ::String,
|
196
206
|
?grant_write_acp: ::String,
|
207
|
+
?write_offset_bytes: ::Integer,
|
197
208
|
?metadata: Hash[::String, ::String],
|
198
209
|
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
199
210
|
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
@@ -298,7 +309,7 @@ module Aws
|
|
298
309
|
}?
|
299
310
|
},
|
300
311
|
?request_payer: ("requester"),
|
301
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
312
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
302
313
|
?expected_bucket_owner: ::String
|
303
314
|
) -> Types::RestoreObjectOutput
|
304
315
|
| (?Hash[Symbol, untyped]) -> Types::RestoreObjectOutput
|
@@ -325,7 +336,7 @@ module Aws
|
|
325
336
|
?request_payer: ("requester"),
|
326
337
|
?bypass_governance_retention: bool,
|
327
338
|
?expected_bucket_owner: ::String,
|
328
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
339
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
329
340
|
) -> void
|
330
341
|
| (?Hash[Symbol, untyped]) -> void
|
331
342
|
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
|
|
@@ -128,7 +134,7 @@ module Aws
|
|
128
134
|
?request_payer: ("requester"),
|
129
135
|
?bypass_governance_retention: bool,
|
130
136
|
?expected_bucket_owner: ::String,
|
131
|
-
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
137
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
132
138
|
) -> void
|
133
139
|
| (?Hash[Symbol, untyped]) -> void
|
134
140
|
end
|
data/sig/resource.rbs
CHANGED
@@ -17,6 +17,7 @@ module Aws
|
|
17
17
|
?access_grants: bool,
|
18
18
|
?access_grants_credentials_provider: untyped,
|
19
19
|
?access_key_id: String,
|
20
|
+
?account_id: String,
|
20
21
|
?active_endpoint_cache: bool,
|
21
22
|
?adaptive_retry_wait_to_fill: bool,
|
22
23
|
?client_side_monitoring: bool,
|
@@ -48,8 +49,10 @@ module Aws
|
|
48
49
|
?max_attempts: Integer,
|
49
50
|
?output_event_stream_handler: Proc,
|
50
51
|
?profile: String,
|
52
|
+
?request_checksum_calculation: String,
|
51
53
|
?request_min_compression_size_bytes: Integer,
|
52
54
|
?require_https_for_sse_cpk: bool,
|
55
|
+
?response_checksum_validation: String,
|
53
56
|
?retry_backoff: Proc,
|
54
57
|
?retry_base_delay: Float,
|
55
58
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -64,6 +67,7 @@ module Aws
|
|
64
67
|
?session_token: String,
|
65
68
|
?sigv4a_signing_region_set: Array[String],
|
66
69
|
?stub_responses: untyped,
|
70
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
67
71
|
?token_provider: untyped,
|
68
72
|
?use_accelerate_endpoint: bool,
|
69
73
|
?use_dualstack_endpoint: bool,
|
@@ -95,13 +99,13 @@ module Aws
|
|
95
99
|
?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read"),
|
96
100
|
bucket: ::String,
|
97
101
|
?create_bucket_configuration: {
|
98
|
-
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "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")?,
|
102
|
+
location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "il-central-1" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
|
99
103
|
location: {
|
100
|
-
type: ("AvailabilityZone")?,
|
104
|
+
type: ("AvailabilityZone" | "LocalZone")?,
|
101
105
|
name: ::String?
|
102
106
|
}?,
|
103
107
|
bucket: {
|
104
|
-
data_redundancy: ("SingleAvailabilityZone")?,
|
108
|
+
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
105
109
|
type: ("Directory")?
|
106
110
|
}?
|
107
111
|
},
|
@@ -120,7 +124,10 @@ module Aws
|
|
120
124
|
def bucket: (String name) -> Bucket
|
121
125
|
|
122
126
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Resource.html#buckets-instance_method
|
123
|
-
def buckets: (
|
127
|
+
def buckets: (
|
128
|
+
?prefix: ::String,
|
129
|
+
?bucket_region: ::String
|
130
|
+
) -> Bucket::Collection
|
124
131
|
| (?Hash[Symbol, untyped]) -> Bucket::Collection
|
125
132
|
end
|
126
133
|
end
|