aws-sdk-s3 1.220.0 → 1.232.2
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 +89 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +26 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +869 -62
- data/lib/aws-sdk-s3/client_api.rb +301 -0
- data/lib/aws-sdk-s3/customizations/object.rb +55 -25
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +14 -1
- data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +13 -1
- data/lib/aws-sdk-s3/endpoint_provider.rb +6 -3
- data/lib/aws-sdk-s3/endpoints.rb +68 -0
- data/lib/aws-sdk-s3/errors.rb +66 -0
- data/lib/aws-sdk-s3/file_downloader.rb +3 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +150 -8
- data/lib/aws-sdk-s3/object_copier.rb +11 -22
- data/lib/aws-sdk-s3/object_multipart_copier.rb +177 -84
- data/lib/aws-sdk-s3/object_summary.rb +117 -8
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +1 -1
- data/lib/aws-sdk-s3/transfer_manager.rb +44 -31
- data/lib/aws-sdk-s3/types.rb +1162 -46
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +7 -4
- 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 +4 -4
- data/sig/bucket_logging.rbs +1 -1
- data/sig/bucket_notification.rbs +9 -9
- data/sig/bucket_tagging.rbs +1 -1
- data/sig/bucket_website.rbs +1 -1
- data/sig/client.rbs +246 -198
- data/sig/errors.rbs +12 -0
- data/sig/multipart_upload.rbs +2 -2
- data/sig/object.rbs +32 -13
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +22 -12
- data/sig/params.rbs +78 -0
- data/sig/resource.rbs +1 -1
- data/sig/types.rbs +249 -39
- metadata +4 -3
data/sig/errors.rbs
CHANGED
|
@@ -13,6 +13,10 @@ module Aws
|
|
|
13
13
|
|
|
14
14
|
class AccessDenied < ::Aws::Errors::ServiceError
|
|
15
15
|
end
|
|
16
|
+
class AnnotationLimitExceeded < ::Aws::Errors::ServiceError
|
|
17
|
+
end
|
|
18
|
+
class AnnotationNameTooLong < ::Aws::Errors::ServiceError
|
|
19
|
+
end
|
|
16
20
|
class BucketAlreadyExists < ::Aws::Errors::ServiceError
|
|
17
21
|
end
|
|
18
22
|
class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
|
|
@@ -21,14 +25,20 @@ module Aws
|
|
|
21
25
|
end
|
|
22
26
|
class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
|
|
23
27
|
end
|
|
28
|
+
class InvalidAnnotationName < ::Aws::Errors::ServiceError
|
|
29
|
+
end
|
|
24
30
|
class InvalidObjectState < ::Aws::Errors::ServiceError
|
|
25
31
|
def storage_class: () -> ::String
|
|
26
32
|
def access_tier: () -> ::String
|
|
27
33
|
end
|
|
34
|
+
class InvalidPrefix < ::Aws::Errors::ServiceError
|
|
35
|
+
end
|
|
28
36
|
class InvalidRequest < ::Aws::Errors::ServiceError
|
|
29
37
|
end
|
|
30
38
|
class InvalidWriteOffset < ::Aws::Errors::ServiceError
|
|
31
39
|
end
|
|
40
|
+
class NoSuchAnnotation < ::Aws::Errors::ServiceError
|
|
41
|
+
end
|
|
32
42
|
class NoSuchBucket < ::Aws::Errors::ServiceError
|
|
33
43
|
end
|
|
34
44
|
class NoSuchKey < ::Aws::Errors::ServiceError
|
|
@@ -41,6 +51,8 @@ module Aws
|
|
|
41
51
|
end
|
|
42
52
|
class TooManyParts < ::Aws::Errors::ServiceError
|
|
43
53
|
end
|
|
54
|
+
class UnsupportedMediaType < ::Aws::Errors::ServiceError
|
|
55
|
+
end
|
|
44
56
|
end
|
|
45
57
|
end
|
|
46
58
|
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" | "FSX_OPENZFS" | "FSX_ONTAP")
|
|
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" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM")
|
|
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
|
|
@@ -82,7 +82,7 @@ module Aws
|
|
|
82
82
|
checksum_xxhash3: ::String?,
|
|
83
83
|
checksum_xxhash128: ::String?,
|
|
84
84
|
part_number: ::Integer?
|
|
85
|
-
}
|
|
85
|
+
}
|
|
86
86
|
]?
|
|
87
87
|
},
|
|
88
88
|
?checksum_crc32: ::String,
|
data/sig/object.rbs
CHANGED
|
@@ -111,7 +111,7 @@ module Aws
|
|
|
111
111
|
def website_redirect_location: () -> ::String
|
|
112
112
|
|
|
113
113
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#server_side_encryption-instance_method
|
|
114
|
-
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
114
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse")
|
|
115
115
|
|
|
116
116
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#metadata-instance_method
|
|
117
117
|
def metadata: () -> ::Hash[::String, ::String]
|
|
@@ -129,7 +129,7 @@ module Aws
|
|
|
129
129
|
def bucket_key_enabled: () -> bool
|
|
130
130
|
|
|
131
131
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
|
|
132
|
-
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")
|
|
132
|
+
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" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM")
|
|
133
133
|
|
|
134
134
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
|
|
135
135
|
def request_charged: () -> ("requester")
|
|
@@ -152,6 +152,15 @@ module Aws
|
|
|
152
152
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_legal_hold_status-instance_method
|
|
153
153
|
def object_lock_legal_hold_status: () -> ("ON" | "OFF")
|
|
154
154
|
|
|
155
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_event_hold-instance_method
|
|
156
|
+
def object_lock_event_hold: () -> ("ON" | "OFF")
|
|
157
|
+
|
|
158
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_event_hold_duration_days-instance_method
|
|
159
|
+
def object_lock_event_hold_duration_days: () -> ::Integer
|
|
160
|
+
|
|
161
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_event_hold_duration_years-instance_method
|
|
162
|
+
def object_lock_event_hold_duration_years: () -> ::Integer
|
|
163
|
+
|
|
155
164
|
def client: () -> Client
|
|
156
165
|
|
|
157
166
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#load-instance_method
|
|
@@ -200,8 +209,9 @@ module Aws
|
|
|
200
209
|
?metadata: Hash[::String, ::String],
|
|
201
210
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
202
211
|
?tagging_directive: ("COPY" | "REPLACE"),
|
|
203
|
-
?
|
|
204
|
-
?
|
|
212
|
+
?annotation_directive: ("COPY" | "EXCLUDE"),
|
|
213
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
214
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
205
215
|
?website_redirect_location: ::String,
|
|
206
216
|
?sse_customer_algorithm: ::String,
|
|
207
217
|
?sse_customer_key: ::String,
|
|
@@ -217,6 +227,9 @@ module Aws
|
|
|
217
227
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
218
228
|
?object_lock_retain_until_date: ::Time,
|
|
219
229
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
230
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
231
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
232
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
220
233
|
?expected_bucket_owner: ::String,
|
|
221
234
|
?expected_source_bucket_owner: ::String
|
|
222
235
|
) -> Types::CopyObjectOutput
|
|
@@ -273,8 +286,8 @@ module Aws
|
|
|
273
286
|
?grant_read_acp: ::String,
|
|
274
287
|
?grant_write_acp: ::String,
|
|
275
288
|
?metadata: Hash[::String, ::String],
|
|
276
|
-
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
277
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
289
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
290
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
278
291
|
?website_redirect_location: ::String,
|
|
279
292
|
?sse_customer_algorithm: ::String,
|
|
280
293
|
?sse_customer_key: ::String,
|
|
@@ -287,6 +300,9 @@ module Aws
|
|
|
287
300
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
288
301
|
?object_lock_retain_until_date: ::Time,
|
|
289
302
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
303
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
304
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
305
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
290
306
|
?expected_bucket_owner: ::String,
|
|
291
307
|
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128"),
|
|
292
308
|
?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
@@ -324,8 +340,8 @@ module Aws
|
|
|
324
340
|
?grant_write_acp: ::String,
|
|
325
341
|
?write_offset_bytes: ::Integer,
|
|
326
342
|
?metadata: Hash[::String, ::String],
|
|
327
|
-
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
328
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
343
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
344
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
329
345
|
?website_redirect_location: ::String,
|
|
330
346
|
?sse_customer_algorithm: ::String,
|
|
331
347
|
?sse_customer_key: ::String,
|
|
@@ -338,6 +354,9 @@ module Aws
|
|
|
338
354
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
339
355
|
?object_lock_retain_until_date: ::Time,
|
|
340
356
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
357
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
358
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
359
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
341
360
|
?expected_bucket_owner: ::String
|
|
342
361
|
) -> Types::PutObjectOutput
|
|
343
362
|
| (?Hash[Symbol, untyped]) -> Types::PutObjectOutput
|
|
@@ -391,7 +410,7 @@ module Aws
|
|
|
391
410
|
bucket_name: ::String,
|
|
392
411
|
prefix: ::String,
|
|
393
412
|
encryption: {
|
|
394
|
-
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
413
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
395
414
|
kms_key_id: ::String?,
|
|
396
415
|
kms_context: ::String?
|
|
397
416
|
}?,
|
|
@@ -406,23 +425,23 @@ module Aws
|
|
|
406
425
|
uri: ::String?
|
|
407
426
|
}?,
|
|
408
427
|
permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
|
|
409
|
-
}
|
|
428
|
+
}
|
|
410
429
|
]?,
|
|
411
430
|
tagging: {
|
|
412
431
|
tag_set: Array[
|
|
413
432
|
{
|
|
414
433
|
key: ::String,
|
|
415
434
|
value: ::String
|
|
416
|
-
}
|
|
435
|
+
}
|
|
417
436
|
]
|
|
418
437
|
}?,
|
|
419
438
|
user_metadata: Array[
|
|
420
439
|
{
|
|
421
440
|
name: ::String?,
|
|
422
441
|
value: ::String?
|
|
423
|
-
}
|
|
442
|
+
}
|
|
424
443
|
]?,
|
|
425
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
|
|
444
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM")?
|
|
426
445
|
}?
|
|
427
446
|
}?
|
|
428
447
|
},
|
data/sig/object_acl.rbs
CHANGED
data/sig/object_summary.rbs
CHANGED
|
@@ -36,7 +36,7 @@ module Aws
|
|
|
36
36
|
def size: () -> ::Integer
|
|
37
37
|
|
|
38
38
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#storage_class-instance_method
|
|
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")
|
|
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" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM")
|
|
40
40
|
|
|
41
41
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#owner-instance_method
|
|
42
42
|
def owner: () -> Types::Owner
|
|
@@ -89,8 +89,9 @@ module Aws
|
|
|
89
89
|
?metadata: Hash[::String, ::String],
|
|
90
90
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
91
91
|
?tagging_directive: ("COPY" | "REPLACE"),
|
|
92
|
-
?
|
|
93
|
-
?
|
|
92
|
+
?annotation_directive: ("COPY" | "EXCLUDE"),
|
|
93
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
94
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
94
95
|
?website_redirect_location: ::String,
|
|
95
96
|
?sse_customer_algorithm: ::String,
|
|
96
97
|
?sse_customer_key: ::String,
|
|
@@ -106,6 +107,9 @@ module Aws
|
|
|
106
107
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
107
108
|
?object_lock_retain_until_date: ::Time,
|
|
108
109
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
110
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
111
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
112
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
109
113
|
?expected_bucket_owner: ::String,
|
|
110
114
|
?expected_source_bucket_owner: ::String
|
|
111
115
|
) -> Types::CopyObjectOutput
|
|
@@ -162,8 +166,8 @@ module Aws
|
|
|
162
166
|
?grant_read_acp: ::String,
|
|
163
167
|
?grant_write_acp: ::String,
|
|
164
168
|
?metadata: Hash[::String, ::String],
|
|
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"),
|
|
169
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
170
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
167
171
|
?website_redirect_location: ::String,
|
|
168
172
|
?sse_customer_algorithm: ::String,
|
|
169
173
|
?sse_customer_key: ::String,
|
|
@@ -176,6 +180,9 @@ module Aws
|
|
|
176
180
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
177
181
|
?object_lock_retain_until_date: ::Time,
|
|
178
182
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
183
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
184
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
185
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
179
186
|
?expected_bucket_owner: ::String,
|
|
180
187
|
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128"),
|
|
181
188
|
?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
@@ -213,8 +220,8 @@ module Aws
|
|
|
213
220
|
?grant_write_acp: ::String,
|
|
214
221
|
?write_offset_bytes: ::Integer,
|
|
215
222
|
?metadata: Hash[::String, ::String],
|
|
216
|
-
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
217
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
223
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
224
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
218
225
|
?website_redirect_location: ::String,
|
|
219
226
|
?sse_customer_algorithm: ::String,
|
|
220
227
|
?sse_customer_key: ::String,
|
|
@@ -227,6 +234,9 @@ module Aws
|
|
|
227
234
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
228
235
|
?object_lock_retain_until_date: ::Time,
|
|
229
236
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
237
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
238
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
239
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
230
240
|
?expected_bucket_owner: ::String
|
|
231
241
|
) -> Types::PutObjectOutput
|
|
232
242
|
| (?Hash[Symbol, untyped]) -> Types::PutObjectOutput
|
|
@@ -280,7 +290,7 @@ module Aws
|
|
|
280
290
|
bucket_name: ::String,
|
|
281
291
|
prefix: ::String,
|
|
282
292
|
encryption: {
|
|
283
|
-
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
293
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
284
294
|
kms_key_id: ::String?,
|
|
285
295
|
kms_context: ::String?
|
|
286
296
|
}?,
|
|
@@ -295,23 +305,23 @@ module Aws
|
|
|
295
305
|
uri: ::String?
|
|
296
306
|
}?,
|
|
297
307
|
permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
|
|
298
|
-
}
|
|
308
|
+
}
|
|
299
309
|
]?,
|
|
300
310
|
tagging: {
|
|
301
311
|
tag_set: Array[
|
|
302
312
|
{
|
|
303
313
|
key: ::String,
|
|
304
314
|
value: ::String
|
|
305
|
-
}
|
|
315
|
+
}
|
|
306
316
|
]
|
|
307
317
|
}?,
|
|
308
318
|
user_metadata: Array[
|
|
309
319
|
{
|
|
310
320
|
name: ::String?,
|
|
311
321
|
value: ::String?
|
|
312
|
-
}
|
|
322
|
+
}
|
|
313
323
|
]?,
|
|
314
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP")?
|
|
324
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM")?
|
|
315
325
|
}?
|
|
316
326
|
}?
|
|
317
327
|
},
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module S3
|
|
10
|
+
module Params
|
|
11
|
+
type access_control_policy = {
|
|
12
|
+
grants: Array[
|
|
13
|
+
Params::grant
|
|
14
|
+
]?,
|
|
15
|
+
owner: {
|
|
16
|
+
display_name: ::String?,
|
|
17
|
+
id: ::String?
|
|
18
|
+
}?
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type grant = {
|
|
22
|
+
grantee: {
|
|
23
|
+
display_name: ::String?,
|
|
24
|
+
email_address: ::String?,
|
|
25
|
+
id: ::String?,
|
|
26
|
+
type: ("CanonicalUser" | "AmazonCustomerByEmail" | "Group"),
|
|
27
|
+
uri: ::String?
|
|
28
|
+
}?,
|
|
29
|
+
permission: ("FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP")?
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type notification_configuration_filter = {
|
|
33
|
+
key: {
|
|
34
|
+
filter_rules: Array[
|
|
35
|
+
{
|
|
36
|
+
name: ("prefix" | "suffix")?,
|
|
37
|
+
value: ::String?
|
|
38
|
+
}
|
|
39
|
+
]?
|
|
40
|
+
}?
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
type csv_input = {
|
|
44
|
+
file_header_info: ("USE" | "IGNORE" | "NONE")?,
|
|
45
|
+
comments: ::String?,
|
|
46
|
+
quote_escape_character: ::String?,
|
|
47
|
+
record_delimiter: ::String?,
|
|
48
|
+
field_delimiter: ::String?,
|
|
49
|
+
quote_character: ::String?,
|
|
50
|
+
allow_quoted_record_delimiter: bool?
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
type input_serialization = {
|
|
54
|
+
csv: Params::csv_input?,
|
|
55
|
+
compression_type: ("NONE" | "GZIP" | "BZIP2")?,
|
|
56
|
+
json: {
|
|
57
|
+
type: ("DOCUMENT" | "LINES")?
|
|
58
|
+
}?,
|
|
59
|
+
parquet: {
|
|
60
|
+
}?
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
type output_serialization = {
|
|
64
|
+
csv: {
|
|
65
|
+
quote_fields: ("ALWAYS" | "ASNEEDED")?,
|
|
66
|
+
quote_escape_character: ::String?,
|
|
67
|
+
record_delimiter: ::String?,
|
|
68
|
+
field_delimiter: ::String?,
|
|
69
|
+
quote_character: ::String?
|
|
70
|
+
}?,
|
|
71
|
+
json: {
|
|
72
|
+
record_delimiter: ::String?
|
|
73
|
+
}?
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|