aws-sdk-s3 1.188.0 → 1.205.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 +119 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +43 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +33 -0
- data/lib/aws-sdk-s3/client.rb +1943 -252
- data/lib/aws-sdk-s3/client_api.rb +289 -0
- data/lib/aws-sdk-s3/customizations/object.rb +76 -86
- data/lib/aws-sdk-s3/customizations.rb +3 -1
- data/lib/aws-sdk-s3/default_executor.rb +103 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +17 -17
- data/lib/aws-sdk-s3/endpoint_provider.rb +220 -50
- data/lib/aws-sdk-s3/endpoints.rb +110 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/file_downloader.rb +197 -134
- data/lib/aws-sdk-s3/file_uploader.rb +9 -13
- 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 +92 -107
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +96 -107
- data/lib/aws-sdk-s3/multipart_upload_error.rb +3 -4
- data/lib/aws-sdk-s3/object.rb +110 -35
- data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
- data/lib/aws-sdk-s3/object_summary.rb +72 -20
- data/lib/aws-sdk-s3/object_version.rb +7 -9
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -1
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/resource.rb +6 -0
- data/lib/aws-sdk-s3/transfer_manager.rb +303 -0
- data/lib/aws-sdk-s3/types.rb +1490 -189
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +12 -3
- data/sig/client.rbs +170 -31
- data/sig/errors.rbs +2 -0
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +15 -10
- data/sig/object_summary.rbs +11 -9
- data/sig/resource.rbs +8 -1
- data/sig/types.rbs +215 -29
- metadata +7 -4
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
|
@@ -23,6 +23,9 @@ module Aws
|
|
|
23
23
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
|
|
24
24
|
def bucket_region: () -> ::String
|
|
25
25
|
|
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_arn-instance_method
|
|
27
|
+
def bucket_arn: () -> ::String
|
|
28
|
+
|
|
26
29
|
def client: () -> Client
|
|
27
30
|
|
|
28
31
|
|
|
@@ -56,7 +59,13 @@ module Aws
|
|
|
56
59
|
bucket: {
|
|
57
60
|
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
|
58
61
|
type: ("Directory")?
|
|
59
|
-
}
|
|
62
|
+
}?,
|
|
63
|
+
tags: Array[
|
|
64
|
+
{
|
|
65
|
+
key: ::String,
|
|
66
|
+
value: ::String
|
|
67
|
+
},
|
|
68
|
+
]?
|
|
60
69
|
},
|
|
61
70
|
?grant_full_control: ::String,
|
|
62
71
|
?grant_read: ::String,
|
|
@@ -123,8 +132,8 @@ module Aws
|
|
|
123
132
|
key: ::String,
|
|
124
133
|
?write_offset_bytes: ::Integer,
|
|
125
134
|
?metadata: Hash[::String, ::String],
|
|
126
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
127
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
135
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
136
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
|
128
137
|
?website_redirect_location: ::String,
|
|
129
138
|
?sse_customer_algorithm: ::String,
|
|
130
139
|
?sse_customer_key: ::String,
|
data/sig/client.rbs
CHANGED
|
@@ -20,6 +20,7 @@ module Aws
|
|
|
20
20
|
?account_id: String,
|
|
21
21
|
?active_endpoint_cache: bool,
|
|
22
22
|
?adaptive_retry_wait_to_fill: bool,
|
|
23
|
+
?auth_scheme_preference: Array[String],
|
|
23
24
|
?client_side_monitoring: bool,
|
|
24
25
|
?client_side_monitoring_client_id: String,
|
|
25
26
|
?client_side_monitoring_host: String,
|
|
@@ -120,7 +121,7 @@ module Aws
|
|
|
120
121
|
def checksum_sha1: () -> ::String
|
|
121
122
|
def checksum_sha256: () -> ::String
|
|
122
123
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
123
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
124
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
124
125
|
def version_id: () -> ::String
|
|
125
126
|
def ssekms_key_id: () -> ::String
|
|
126
127
|
def bucket_key_enabled: () -> bool
|
|
@@ -167,7 +168,7 @@ module Aws
|
|
|
167
168
|
def expiration: () -> ::String
|
|
168
169
|
def copy_source_version_id: () -> ::String
|
|
169
170
|
def version_id: () -> ::String
|
|
170
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
171
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
171
172
|
def sse_customer_algorithm: () -> ::String
|
|
172
173
|
def sse_customer_key_md5: () -> ::String
|
|
173
174
|
def ssekms_key_id: () -> ::String
|
|
@@ -195,12 +196,14 @@ module Aws
|
|
|
195
196
|
?grant_read: ::String,
|
|
196
197
|
?grant_read_acp: ::String,
|
|
197
198
|
?grant_write_acp: ::String,
|
|
199
|
+
?if_match: ::String,
|
|
200
|
+
?if_none_match: ::String,
|
|
198
201
|
key: ::String,
|
|
199
202
|
?metadata: Hash[::String, ::String],
|
|
200
203
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
201
204
|
?tagging_directive: ("COPY" | "REPLACE"),
|
|
202
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
203
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
205
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
206
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
|
204
207
|
?website_redirect_location: ::String,
|
|
205
208
|
?sse_customer_algorithm: ::String,
|
|
206
209
|
?sse_customer_key: ::String,
|
|
@@ -224,6 +227,7 @@ module Aws
|
|
|
224
227
|
interface _CreateBucketResponseSuccess
|
|
225
228
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBucketOutput]
|
|
226
229
|
def location: () -> ::String
|
|
230
|
+
def bucket_arn: () -> ::String
|
|
227
231
|
end
|
|
228
232
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket-instance_method
|
|
229
233
|
def create_bucket: (
|
|
@@ -238,7 +242,13 @@ module Aws
|
|
|
238
242
|
bucket: {
|
|
239
243
|
data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
|
|
240
244
|
type: ("Directory")?
|
|
241
|
-
}
|
|
245
|
+
}?,
|
|
246
|
+
tags: Array[
|
|
247
|
+
{
|
|
248
|
+
key: ::String,
|
|
249
|
+
value: ::String
|
|
250
|
+
},
|
|
251
|
+
]?
|
|
242
252
|
},
|
|
243
253
|
?grant_full_control: ::String,
|
|
244
254
|
?grant_read: ::String,
|
|
@@ -250,6 +260,34 @@ module Aws
|
|
|
250
260
|
) -> _CreateBucketResponseSuccess
|
|
251
261
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
|
252
262
|
|
|
263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_configuration-instance_method
|
|
264
|
+
def create_bucket_metadata_configuration: (
|
|
265
|
+
bucket: ::String,
|
|
266
|
+
?content_md5: ::String,
|
|
267
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
268
|
+
metadata_configuration: {
|
|
269
|
+
journal_table_configuration: {
|
|
270
|
+
record_expiration: {
|
|
271
|
+
expiration: ("ENABLED" | "DISABLED"),
|
|
272
|
+
days: ::Integer?
|
|
273
|
+
},
|
|
274
|
+
encryption_configuration: {
|
|
275
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
|
276
|
+
kms_key_arn: ::String?
|
|
277
|
+
}?
|
|
278
|
+
},
|
|
279
|
+
inventory_table_configuration: {
|
|
280
|
+
configuration_state: ("ENABLED" | "DISABLED"),
|
|
281
|
+
encryption_configuration: {
|
|
282
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
|
283
|
+
kms_key_arn: ::String?
|
|
284
|
+
}?
|
|
285
|
+
}?
|
|
286
|
+
},
|
|
287
|
+
?expected_bucket_owner: ::String
|
|
288
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
290
|
+
|
|
253
291
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
|
|
254
292
|
def create_bucket_metadata_table_configuration: (
|
|
255
293
|
bucket: ::String,
|
|
@@ -272,7 +310,7 @@ module Aws
|
|
|
272
310
|
def bucket: () -> ::String
|
|
273
311
|
def key: () -> ::String
|
|
274
312
|
def upload_id: () -> ::String
|
|
275
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
313
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
276
314
|
def sse_customer_algorithm: () -> ::String
|
|
277
315
|
def sse_customer_key_md5: () -> ::String
|
|
278
316
|
def ssekms_key_id: () -> ::String
|
|
@@ -298,8 +336,8 @@ module Aws
|
|
|
298
336
|
?grant_write_acp: ::String,
|
|
299
337
|
key: ::String,
|
|
300
338
|
?metadata: Hash[::String, ::String],
|
|
301
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
302
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
339
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
340
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
|
303
341
|
?website_redirect_location: ::String,
|
|
304
342
|
?sse_customer_algorithm: ::String,
|
|
305
343
|
?sse_customer_key: ::String,
|
|
@@ -320,7 +358,7 @@ module Aws
|
|
|
320
358
|
|
|
321
359
|
interface _CreateSessionResponseSuccess
|
|
322
360
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
|
|
323
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
361
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
324
362
|
def ssekms_key_id: () -> ::String
|
|
325
363
|
def ssekms_encryption_context: () -> ::String
|
|
326
364
|
def bucket_key_enabled: () -> bool
|
|
@@ -330,7 +368,7 @@ module Aws
|
|
|
330
368
|
def create_session: (
|
|
331
369
|
?session_mode: ("ReadOnly" | "ReadWrite"),
|
|
332
370
|
bucket: ::String,
|
|
333
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
371
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
334
372
|
?ssekms_key_id: ::String,
|
|
335
373
|
?ssekms_encryption_context: ::String,
|
|
336
374
|
?bucket_key_enabled: bool
|
|
@@ -369,7 +407,8 @@ module Aws
|
|
|
369
407
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_intelligent_tiering_configuration-instance_method
|
|
370
408
|
def delete_bucket_intelligent_tiering_configuration: (
|
|
371
409
|
bucket: ::String,
|
|
372
|
-
id: ::String
|
|
410
|
+
id: ::String,
|
|
411
|
+
?expected_bucket_owner: ::String
|
|
373
412
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
374
413
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
375
414
|
|
|
@@ -388,6 +427,13 @@ module Aws
|
|
|
388
427
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
389
428
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
390
429
|
|
|
430
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_configuration-instance_method
|
|
431
|
+
def delete_bucket_metadata_configuration: (
|
|
432
|
+
bucket: ::String,
|
|
433
|
+
?expected_bucket_owner: ::String
|
|
434
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
435
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
436
|
+
|
|
391
437
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
|
|
392
438
|
def delete_bucket_metadata_table_configuration: (
|
|
393
439
|
bucket: ::String,
|
|
@@ -508,6 +554,17 @@ module Aws
|
|
|
508
554
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
509
555
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
510
556
|
|
|
557
|
+
interface _GetBucketAbacResponseSuccess
|
|
558
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAbacOutput]
|
|
559
|
+
def abac_status: () -> Types::AbacStatus
|
|
560
|
+
end
|
|
561
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_abac-instance_method
|
|
562
|
+
def get_bucket_abac: (
|
|
563
|
+
bucket: ::String,
|
|
564
|
+
?expected_bucket_owner: ::String
|
|
565
|
+
) -> _GetBucketAbacResponseSuccess
|
|
566
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketAbacResponseSuccess
|
|
567
|
+
|
|
511
568
|
interface _GetBucketAccelerateConfigurationResponseSuccess
|
|
512
569
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketAccelerateConfigurationOutput]
|
|
513
570
|
def status: () -> ("Enabled" | "Suspended")
|
|
@@ -574,7 +631,8 @@ module Aws
|
|
|
574
631
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_intelligent_tiering_configuration-instance_method
|
|
575
632
|
def get_bucket_intelligent_tiering_configuration: (
|
|
576
633
|
bucket: ::String,
|
|
577
|
-
id: ::String
|
|
634
|
+
id: ::String,
|
|
635
|
+
?expected_bucket_owner: ::String
|
|
578
636
|
) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
|
|
579
637
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketIntelligentTieringConfigurationResponseSuccess
|
|
580
638
|
|
|
@@ -635,6 +693,17 @@ module Aws
|
|
|
635
693
|
) -> _GetBucketLoggingResponseSuccess
|
|
636
694
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
|
637
695
|
|
|
696
|
+
interface _GetBucketMetadataConfigurationResponseSuccess
|
|
697
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataConfigurationOutput]
|
|
698
|
+
def get_bucket_metadata_configuration_result: () -> Types::GetBucketMetadataConfigurationResult
|
|
699
|
+
end
|
|
700
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_configuration-instance_method
|
|
701
|
+
def get_bucket_metadata_configuration: (
|
|
702
|
+
bucket: ::String,
|
|
703
|
+
?expected_bucket_owner: ::String
|
|
704
|
+
) -> _GetBucketMetadataConfigurationResponseSuccess
|
|
705
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataConfigurationResponseSuccess
|
|
706
|
+
|
|
638
707
|
interface _GetBucketMetadataTableConfigurationResponseSuccess
|
|
639
708
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
|
|
640
709
|
def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
|
|
@@ -804,13 +873,13 @@ module Aws
|
|
|
804
873
|
def expires: () -> ::Time
|
|
805
874
|
def expires_string: () -> ::String
|
|
806
875
|
def website_redirect_location: () -> ::String
|
|
807
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
876
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
808
877
|
def metadata: () -> ::Hash[::String, ::String]
|
|
809
878
|
def sse_customer_algorithm: () -> ::String
|
|
810
879
|
def sse_customer_key_md5: () -> ::String
|
|
811
880
|
def ssekms_key_id: () -> ::String
|
|
812
881
|
def bucket_key_enabled: () -> bool
|
|
813
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
882
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
|
814
883
|
def request_charged: () -> ("requester")
|
|
815
884
|
def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
|
|
816
885
|
def parts_count: () -> ::Integer
|
|
@@ -870,7 +939,7 @@ module Aws
|
|
|
870
939
|
def etag: () -> ::String
|
|
871
940
|
def checksum: () -> Types::Checksum
|
|
872
941
|
def object_parts: () -> Types::GetObjectAttributesParts
|
|
873
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
942
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
|
874
943
|
def object_size: () -> ::Integer
|
|
875
944
|
end
|
|
876
945
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_object_attributes-instance_method
|
|
@@ -970,6 +1039,7 @@ module Aws
|
|
|
970
1039
|
|
|
971
1040
|
interface _HeadBucketResponseSuccess
|
|
972
1041
|
include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
|
|
1042
|
+
def bucket_arn: () -> ::String
|
|
973
1043
|
def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
|
|
974
1044
|
def bucket_location_name: () -> ::String
|
|
975
1045
|
def bucket_region: () -> ::String
|
|
@@ -1009,16 +1079,17 @@ module Aws
|
|
|
1009
1079
|
def expires: () -> ::Time
|
|
1010
1080
|
def expires_string: () -> ::String
|
|
1011
1081
|
def website_redirect_location: () -> ::String
|
|
1012
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
1082
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
1013
1083
|
def metadata: () -> ::Hash[::String, ::String]
|
|
1014
1084
|
def sse_customer_algorithm: () -> ::String
|
|
1015
1085
|
def sse_customer_key_md5: () -> ::String
|
|
1016
1086
|
def ssekms_key_id: () -> ::String
|
|
1017
1087
|
def bucket_key_enabled: () -> bool
|
|
1018
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
1088
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
|
1019
1089
|
def request_charged: () -> ("requester")
|
|
1020
1090
|
def replication_status: () -> ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED")
|
|
1021
1091
|
def parts_count: () -> ::Integer
|
|
1092
|
+
def tag_count: () -> ::Integer
|
|
1022
1093
|
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
|
1023
1094
|
def object_lock_retain_until_date: () -> ::Time
|
|
1024
1095
|
def object_lock_legal_hold_status: () -> ("ON" | "OFF")
|
|
@@ -1074,7 +1145,8 @@ module Aws
|
|
|
1074
1145
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_bucket_intelligent_tiering_configurations-instance_method
|
|
1075
1146
|
def list_bucket_intelligent_tiering_configurations: (
|
|
1076
1147
|
bucket: ::String,
|
|
1077
|
-
?continuation_token: ::String
|
|
1148
|
+
?continuation_token: ::String,
|
|
1149
|
+
?expected_bucket_owner: ::String
|
|
1078
1150
|
) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
|
1079
1151
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketIntelligentTieringConfigurationsResponseSuccess
|
|
1080
1152
|
|
|
@@ -1272,7 +1344,7 @@ module Aws
|
|
|
1272
1344
|
def parts: () -> ::Array[Types::Part]
|
|
1273
1345
|
def initiator: () -> Types::Initiator
|
|
1274
1346
|
def owner: () -> Types::Owner
|
|
1275
|
-
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
|
|
1347
|
+
def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")
|
|
1276
1348
|
def request_charged: () -> ("requester")
|
|
1277
1349
|
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
|
1278
1350
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
@@ -1292,6 +1364,18 @@ module Aws
|
|
|
1292
1364
|
) -> _ListPartsResponseSuccess
|
|
1293
1365
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPartsResponseSuccess
|
|
1294
1366
|
|
|
1367
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_abac-instance_method
|
|
1368
|
+
def put_bucket_abac: (
|
|
1369
|
+
bucket: ::String,
|
|
1370
|
+
?content_md5: ::String,
|
|
1371
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
1372
|
+
?expected_bucket_owner: ::String,
|
|
1373
|
+
abac_status: {
|
|
1374
|
+
status: ("Enabled" | "Disabled")?
|
|
1375
|
+
}
|
|
1376
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1377
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
1378
|
+
|
|
1295
1379
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_accelerate_configuration-instance_method
|
|
1296
1380
|
def put_bucket_accelerate_configuration: (
|
|
1297
1381
|
bucket: ::String,
|
|
@@ -1406,10 +1490,13 @@ module Aws
|
|
|
1406
1490
|
rules: Array[
|
|
1407
1491
|
{
|
|
1408
1492
|
apply_server_side_encryption_by_default: {
|
|
1409
|
-
sse_algorithm: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
1493
|
+
sse_algorithm: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
1410
1494
|
kms_master_key_id: ::String?
|
|
1411
1495
|
}?,
|
|
1412
|
-
bucket_key_enabled: bool
|
|
1496
|
+
bucket_key_enabled: bool?,
|
|
1497
|
+
blocked_encryption_types: {
|
|
1498
|
+
encryption_type: Array[("NONE" | "SSE-C")]?
|
|
1499
|
+
}?
|
|
1413
1500
|
},
|
|
1414
1501
|
]
|
|
1415
1502
|
},
|
|
@@ -1421,6 +1508,7 @@ module Aws
|
|
|
1421
1508
|
def put_bucket_intelligent_tiering_configuration: (
|
|
1422
1509
|
bucket: ::String,
|
|
1423
1510
|
id: ::String,
|
|
1511
|
+
?expected_bucket_owner: ::String,
|
|
1424
1512
|
intelligent_tiering_configuration: {
|
|
1425
1513
|
id: ::String,
|
|
1426
1514
|
filter: {
|
|
@@ -1819,7 +1907,7 @@ module Aws
|
|
|
1819
1907
|
destination: {
|
|
1820
1908
|
bucket: ::String,
|
|
1821
1909
|
account: ::String?,
|
|
1822
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?,
|
|
1910
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?,
|
|
1823
1911
|
access_control_translation: {
|
|
1824
1912
|
owner: ("Destination")
|
|
1825
1913
|
}?,
|
|
@@ -1939,7 +2027,7 @@ module Aws
|
|
|
1939
2027
|
def checksum_sha1: () -> ::String
|
|
1940
2028
|
def checksum_sha256: () -> ::String
|
|
1941
2029
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
1942
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
2030
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
1943
2031
|
def version_id: () -> ::String
|
|
1944
2032
|
def sse_customer_algorithm: () -> ::String
|
|
1945
2033
|
def sse_customer_key_md5: () -> ::String
|
|
@@ -1977,8 +2065,8 @@ module Aws
|
|
|
1977
2065
|
key: ::String,
|
|
1978
2066
|
?write_offset_bytes: ::Integer,
|
|
1979
2067
|
?metadata: Hash[::String, ::String],
|
|
1980
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
1981
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
2068
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
2069
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
|
1982
2070
|
?website_redirect_location: ::String,
|
|
1983
2071
|
?sse_customer_algorithm: ::String,
|
|
1984
2072
|
?sse_customer_key: ::String,
|
|
@@ -2139,6 +2227,26 @@ module Aws
|
|
|
2139
2227
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
2140
2228
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
2141
2229
|
|
|
2230
|
+
interface _RenameObjectResponseSuccess
|
|
2231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RenameObjectOutput]
|
|
2232
|
+
end
|
|
2233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#rename_object-instance_method
|
|
2234
|
+
def rename_object: (
|
|
2235
|
+
bucket: ::String,
|
|
2236
|
+
key: ::String,
|
|
2237
|
+
rename_source: ::String,
|
|
2238
|
+
?destination_if_match: ::String,
|
|
2239
|
+
?destination_if_none_match: ::String,
|
|
2240
|
+
?destination_if_modified_since: ::Time,
|
|
2241
|
+
?destination_if_unmodified_since: ::Time,
|
|
2242
|
+
?source_if_match: ::String,
|
|
2243
|
+
?source_if_none_match: ::String,
|
|
2244
|
+
?source_if_modified_since: ::Time,
|
|
2245
|
+
?source_if_unmodified_since: ::Time,
|
|
2246
|
+
?client_token: ::String
|
|
2247
|
+
) -> _RenameObjectResponseSuccess
|
|
2248
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RenameObjectResponseSuccess
|
|
2249
|
+
|
|
2142
2250
|
interface _RestoreObjectResponseSuccess
|
|
2143
2251
|
include ::Seahorse::Client::_ResponseSuccess[Types::RestoreObjectOutput]
|
|
2144
2252
|
def request_charged: () -> ("requester")
|
|
@@ -2195,7 +2303,7 @@ module Aws
|
|
|
2195
2303
|
bucket_name: ::String,
|
|
2196
2304
|
prefix: ::String,
|
|
2197
2305
|
encryption: {
|
|
2198
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
2306
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
2199
2307
|
kms_key_id: ::String?,
|
|
2200
2308
|
kms_context: ::String?
|
|
2201
2309
|
}?,
|
|
@@ -2226,7 +2334,7 @@ module Aws
|
|
|
2226
2334
|
value: ::String?
|
|
2227
2335
|
},
|
|
2228
2336
|
]?,
|
|
2229
|
-
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")?
|
|
2337
|
+
storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS")?
|
|
2230
2338
|
}?
|
|
2231
2339
|
}?
|
|
2232
2340
|
},
|
|
@@ -2289,9 +2397,40 @@ module Aws
|
|
|
2289
2397
|
) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
|
2290
2398
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
|
2291
2399
|
|
|
2400
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_inventory_table_configuration-instance_method
|
|
2401
|
+
def update_bucket_metadata_inventory_table_configuration: (
|
|
2402
|
+
bucket: ::String,
|
|
2403
|
+
?content_md5: ::String,
|
|
2404
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
2405
|
+
inventory_table_configuration: {
|
|
2406
|
+
configuration_state: ("ENABLED" | "DISABLED"),
|
|
2407
|
+
encryption_configuration: {
|
|
2408
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
|
2409
|
+
kms_key_arn: ::String?
|
|
2410
|
+
}?
|
|
2411
|
+
},
|
|
2412
|
+
?expected_bucket_owner: ::String
|
|
2413
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
2414
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
2415
|
+
|
|
2416
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_journal_table_configuration-instance_method
|
|
2417
|
+
def update_bucket_metadata_journal_table_configuration: (
|
|
2418
|
+
bucket: ::String,
|
|
2419
|
+
?content_md5: ::String,
|
|
2420
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
|
2421
|
+
journal_table_configuration: {
|
|
2422
|
+
record_expiration: {
|
|
2423
|
+
expiration: ("ENABLED" | "DISABLED"),
|
|
2424
|
+
days: ::Integer?
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
?expected_bucket_owner: ::String
|
|
2428
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
2429
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
2430
|
+
|
|
2292
2431
|
interface _UploadPartResponseSuccess
|
|
2293
2432
|
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
|
|
2294
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
2433
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
2295
2434
|
def etag: () -> ::String
|
|
2296
2435
|
def checksum_crc32: () -> ::String
|
|
2297
2436
|
def checksum_crc32c: () -> ::String
|
|
@@ -2331,7 +2470,7 @@ module Aws
|
|
|
2331
2470
|
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartCopyOutput]
|
|
2332
2471
|
def copy_source_version_id: () -> ::String
|
|
2333
2472
|
def copy_part_result: () -> Types::CopyPartResult
|
|
2334
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
2473
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
2335
2474
|
def sse_customer_algorithm: () -> ::String
|
|
2336
2475
|
def sse_customer_key_md5: () -> ::String
|
|
2337
2476
|
def ssekms_key_id: () -> ::String
|
|
@@ -2397,11 +2536,11 @@ module Aws
|
|
|
2397
2536
|
?replication_status: ("COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED"),
|
|
2398
2537
|
?request_charged: ("requester"),
|
|
2399
2538
|
?restore: ::String,
|
|
2400
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
2539
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
2401
2540
|
?sse_customer_algorithm: ::String,
|
|
2402
2541
|
?ssekms_key_id: ::String,
|
|
2403
2542
|
?sse_customer_key_md5: ::String,
|
|
2404
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
|
|
2543
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"),
|
|
2405
2544
|
?tag_count: ::Integer,
|
|
2406
2545
|
?version_id: ::String,
|
|
2407
2546
|
?bucket_key_enabled: bool
|
data/sig/errors.rbs
CHANGED
|
@@ -17,6 +17,8 @@ module Aws
|
|
|
17
17
|
end
|
|
18
18
|
class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
|
|
19
19
|
end
|
|
20
|
+
class IdempotencyParameterMismatch < ::Aws::Errors::ServiceError
|
|
21
|
+
end
|
|
20
22
|
class InvalidObjectState < ::Aws::Errors::ServiceError
|
|
21
23
|
def storage_class: () -> ::String
|
|
22
24
|
def access_tier: () -> ::String
|
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")
|
|
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
|
data/sig/object.rbs
CHANGED
|
@@ -96,7 +96,7 @@ module Aws
|
|
|
96
96
|
def website_redirect_location: () -> ::String
|
|
97
97
|
|
|
98
98
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#server_side_encryption-instance_method
|
|
99
|
-
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
|
99
|
+
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
|
100
100
|
|
|
101
101
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#metadata-instance_method
|
|
102
102
|
def metadata: () -> ::Hash[::String, ::String]
|
|
@@ -114,7 +114,7 @@ module Aws
|
|
|
114
114
|
def bucket_key_enabled: () -> bool
|
|
115
115
|
|
|
116
116
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#storage_class-instance_method
|
|
117
|
-
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")
|
|
118
118
|
|
|
119
119
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#request_charged-instance_method
|
|
120
120
|
def request_charged: () -> ("requester")
|
|
@@ -125,6 +125,9 @@ module Aws
|
|
|
125
125
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#parts_count-instance_method
|
|
126
126
|
def parts_count: () -> ::Integer
|
|
127
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
|
+
|
|
128
131
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#object_lock_mode-instance_method
|
|
129
132
|
def object_lock_mode: () -> ("GOVERNANCE" | "COMPLIANCE")
|
|
130
133
|
|
|
@@ -177,11 +180,13 @@ module Aws
|
|
|
177
180
|
?grant_read: ::String,
|
|
178
181
|
?grant_read_acp: ::String,
|
|
179
182
|
?grant_write_acp: ::String,
|
|
183
|
+
?if_match: ::String,
|
|
184
|
+
?if_none_match: ::String,
|
|
180
185
|
?metadata: Hash[::String, ::String],
|
|
181
186
|
?metadata_directive: ("COPY" | "REPLACE"),
|
|
182
187
|
?tagging_directive: ("COPY" | "REPLACE"),
|
|
183
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
184
|
-
?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"),
|
|
185
190
|
?website_redirect_location: ::String,
|
|
186
191
|
?sse_customer_algorithm: ::String,
|
|
187
192
|
?sse_customer_key: ::String,
|
|
@@ -253,8 +258,8 @@ module Aws
|
|
|
253
258
|
?grant_read_acp: ::String,
|
|
254
259
|
?grant_write_acp: ::String,
|
|
255
260
|
?metadata: Hash[::String, ::String],
|
|
256
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
257
|
-
?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"),
|
|
258
263
|
?website_redirect_location: ::String,
|
|
259
264
|
?sse_customer_algorithm: ::String,
|
|
260
265
|
?sse_customer_key: ::String,
|
|
@@ -299,8 +304,8 @@ module Aws
|
|
|
299
304
|
?grant_write_acp: ::String,
|
|
300
305
|
?write_offset_bytes: ::Integer,
|
|
301
306
|
?metadata: Hash[::String, ::String],
|
|
302
|
-
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
303
|
-
?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"),
|
|
304
309
|
?website_redirect_location: ::String,
|
|
305
310
|
?sse_customer_algorithm: ::String,
|
|
306
311
|
?sse_customer_key: ::String,
|
|
@@ -366,7 +371,7 @@ module Aws
|
|
|
366
371
|
bucket_name: ::String,
|
|
367
372
|
prefix: ::String,
|
|
368
373
|
encryption: {
|
|
369
|
-
encryption_type: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
|
374
|
+
encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
370
375
|
kms_key_id: ::String?,
|
|
371
376
|
kms_context: ::String?
|
|
372
377
|
}?,
|
|
@@ -397,7 +402,7 @@ module Aws
|
|
|
397
402
|
value: ::String?
|
|
398
403
|
},
|
|
399
404
|
]?,
|
|
400
|
-
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")?
|
|
401
406
|
}?
|
|
402
407
|
}?
|
|
403
408
|
},
|