aws-sdk-s3 1.192.0 → 1.193.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +562 -30
- data/lib/aws-sdk-s3/client_api.rb +182 -0
- data/lib/aws-sdk-s3/endpoints.rb +70 -0
- data/lib/aws-sdk-s3/types.rb +701 -24
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +77 -0
- data/sig/types.rbs +122 -0
- metadata +1 -1
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -257,6 +257,34 @@ module Aws
|
|
257
257
|
) -> _CreateBucketResponseSuccess
|
258
258
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
259
259
|
|
260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_configuration-instance_method
|
261
|
+
def create_bucket_metadata_configuration: (
|
262
|
+
bucket: ::String,
|
263
|
+
?content_md5: ::String,
|
264
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
265
|
+
metadata_configuration: {
|
266
|
+
journal_table_configuration: {
|
267
|
+
record_expiration: {
|
268
|
+
expiration: ("ENABLED" | "DISABLED"),
|
269
|
+
days: ::Integer?
|
270
|
+
},
|
271
|
+
encryption_configuration: {
|
272
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
273
|
+
kms_key_arn: ::String?
|
274
|
+
}?
|
275
|
+
},
|
276
|
+
inventory_table_configuration: {
|
277
|
+
configuration_state: ("ENABLED" | "DISABLED"),
|
278
|
+
encryption_configuration: {
|
279
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
280
|
+
kms_key_arn: ::String?
|
281
|
+
}?
|
282
|
+
}?
|
283
|
+
},
|
284
|
+
?expected_bucket_owner: ::String
|
285
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
286
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
287
|
+
|
260
288
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
|
261
289
|
def create_bucket_metadata_table_configuration: (
|
262
290
|
bucket: ::String,
|
@@ -396,6 +424,13 @@ module Aws
|
|
396
424
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
397
425
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
398
426
|
|
427
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_configuration-instance_method
|
428
|
+
def delete_bucket_metadata_configuration: (
|
429
|
+
bucket: ::String,
|
430
|
+
?expected_bucket_owner: ::String
|
431
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
432
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
433
|
+
|
399
434
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
|
400
435
|
def delete_bucket_metadata_table_configuration: (
|
401
436
|
bucket: ::String,
|
@@ -644,6 +679,17 @@ module Aws
|
|
644
679
|
) -> _GetBucketLoggingResponseSuccess
|
645
680
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
646
681
|
|
682
|
+
interface _GetBucketMetadataConfigurationResponseSuccess
|
683
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataConfigurationOutput]
|
684
|
+
def get_bucket_metadata_configuration_result: () -> Types::GetBucketMetadataConfigurationResult
|
685
|
+
end
|
686
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_configuration-instance_method
|
687
|
+
def get_bucket_metadata_configuration: (
|
688
|
+
bucket: ::String,
|
689
|
+
?expected_bucket_owner: ::String
|
690
|
+
) -> _GetBucketMetadataConfigurationResponseSuccess
|
691
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataConfigurationResponseSuccess
|
692
|
+
|
647
693
|
interface _GetBucketMetadataTableConfigurationResponseSuccess
|
648
694
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
|
649
695
|
def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
|
@@ -2322,6 +2368,37 @@ module Aws
|
|
2322
2368
|
) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
2323
2369
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
2324
2370
|
|
2371
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_inventory_table_configuration-instance_method
|
2372
|
+
def update_bucket_metadata_inventory_table_configuration: (
|
2373
|
+
bucket: ::String,
|
2374
|
+
?content_md5: ::String,
|
2375
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
2376
|
+
inventory_table_configuration: {
|
2377
|
+
configuration_state: ("ENABLED" | "DISABLED"),
|
2378
|
+
encryption_configuration: {
|
2379
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
2380
|
+
kms_key_arn: ::String?
|
2381
|
+
}?
|
2382
|
+
},
|
2383
|
+
?expected_bucket_owner: ::String
|
2384
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2385
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2386
|
+
|
2387
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_journal_table_configuration-instance_method
|
2388
|
+
def update_bucket_metadata_journal_table_configuration: (
|
2389
|
+
bucket: ::String,
|
2390
|
+
?content_md5: ::String,
|
2391
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
2392
|
+
journal_table_configuration: {
|
2393
|
+
record_expiration: {
|
2394
|
+
expiration: ("ENABLED" | "DISABLED"),
|
2395
|
+
days: ::Integer?
|
2396
|
+
}
|
2397
|
+
},
|
2398
|
+
?expected_bucket_owner: ::String
|
2399
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2400
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2401
|
+
|
2325
2402
|
interface _UploadPartResponseSuccess
|
2326
2403
|
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
|
2327
2404
|
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
data/sig/types.rbs
CHANGED
@@ -326,6 +326,15 @@ module Aws::S3
|
|
326
326
|
SENSITIVE: []
|
327
327
|
end
|
328
328
|
|
329
|
+
class CreateBucketMetadataConfigurationRequest
|
330
|
+
attr_accessor bucket: ::String
|
331
|
+
attr_accessor content_md5: ::String
|
332
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
333
|
+
attr_accessor metadata_configuration: Types::MetadataConfiguration
|
334
|
+
attr_accessor expected_bucket_owner: ::String
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
329
338
|
class CreateBucketMetadataTableConfigurationRequest
|
330
339
|
attr_accessor bucket: ::String
|
331
340
|
attr_accessor content_md5: ::String
|
@@ -479,6 +488,12 @@ module Aws::S3
|
|
479
488
|
SENSITIVE: []
|
480
489
|
end
|
481
490
|
|
491
|
+
class DeleteBucketMetadataConfigurationRequest
|
492
|
+
attr_accessor bucket: ::String
|
493
|
+
attr_accessor expected_bucket_owner: ::String
|
494
|
+
SENSITIVE: []
|
495
|
+
end
|
496
|
+
|
482
497
|
class DeleteBucketMetadataTableConfigurationRequest
|
483
498
|
attr_accessor bucket: ::String
|
484
499
|
attr_accessor expected_bucket_owner: ::String
|
@@ -619,6 +634,13 @@ module Aws::S3
|
|
619
634
|
SENSITIVE: []
|
620
635
|
end
|
621
636
|
|
637
|
+
class DestinationResult
|
638
|
+
attr_accessor table_bucket_type: ("aws" | "customer")
|
639
|
+
attr_accessor table_bucket_arn: ::String
|
640
|
+
attr_accessor table_namespace: ::String
|
641
|
+
SENSITIVE: []
|
642
|
+
end
|
643
|
+
|
622
644
|
class Encryption
|
623
645
|
attr_accessor encryption_type: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
624
646
|
attr_accessor kms_key_id: ::String
|
@@ -800,6 +822,22 @@ module Aws::S3
|
|
800
822
|
SENSITIVE: []
|
801
823
|
end
|
802
824
|
|
825
|
+
class GetBucketMetadataConfigurationOutput
|
826
|
+
attr_accessor get_bucket_metadata_configuration_result: Types::GetBucketMetadataConfigurationResult
|
827
|
+
SENSITIVE: []
|
828
|
+
end
|
829
|
+
|
830
|
+
class GetBucketMetadataConfigurationRequest
|
831
|
+
attr_accessor bucket: ::String
|
832
|
+
attr_accessor expected_bucket_owner: ::String
|
833
|
+
SENSITIVE: []
|
834
|
+
end
|
835
|
+
|
836
|
+
class GetBucketMetadataConfigurationResult
|
837
|
+
attr_accessor metadata_configuration_result: Types::MetadataConfigurationResult
|
838
|
+
SENSITIVE: []
|
839
|
+
end
|
840
|
+
|
803
841
|
class GetBucketMetadataTableConfigurationOutput
|
804
842
|
attr_accessor get_bucket_metadata_table_configuration_result: Types::GetBucketMetadataTableConfigurationResult
|
805
843
|
SENSITIVE: []
|
@@ -1328,6 +1366,27 @@ module Aws::S3
|
|
1328
1366
|
SENSITIVE: []
|
1329
1367
|
end
|
1330
1368
|
|
1369
|
+
class InventoryTableConfiguration
|
1370
|
+
attr_accessor configuration_state: ("ENABLED" | "DISABLED")
|
1371
|
+
attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
|
1372
|
+
SENSITIVE: []
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
class InventoryTableConfigurationResult
|
1376
|
+
attr_accessor configuration_state: ("ENABLED" | "DISABLED")
|
1377
|
+
attr_accessor table_status: ::String
|
1378
|
+
attr_accessor error: Types::ErrorDetails
|
1379
|
+
attr_accessor table_name: ::String
|
1380
|
+
attr_accessor table_arn: ::String
|
1381
|
+
SENSITIVE: []
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
class InventoryTableConfigurationUpdates
|
1385
|
+
attr_accessor configuration_state: ("ENABLED" | "DISABLED")
|
1386
|
+
attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
|
1387
|
+
SENSITIVE: []
|
1388
|
+
end
|
1389
|
+
|
1331
1390
|
class JSONInput
|
1332
1391
|
attr_accessor type: ("DOCUMENT" | "LINES")
|
1333
1392
|
SENSITIVE: []
|
@@ -1338,6 +1397,26 @@ module Aws::S3
|
|
1338
1397
|
SENSITIVE: []
|
1339
1398
|
end
|
1340
1399
|
|
1400
|
+
class JournalTableConfiguration
|
1401
|
+
attr_accessor record_expiration: Types::RecordExpiration
|
1402
|
+
attr_accessor encryption_configuration: Types::MetadataTableEncryptionConfiguration
|
1403
|
+
SENSITIVE: []
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
class JournalTableConfigurationResult
|
1407
|
+
attr_accessor table_status: ::String
|
1408
|
+
attr_accessor error: Types::ErrorDetails
|
1409
|
+
attr_accessor table_name: ::String
|
1410
|
+
attr_accessor table_arn: ::String
|
1411
|
+
attr_accessor record_expiration: Types::RecordExpiration
|
1412
|
+
SENSITIVE: []
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
class JournalTableConfigurationUpdates
|
1416
|
+
attr_accessor record_expiration: Types::RecordExpiration
|
1417
|
+
SENSITIVE: []
|
1418
|
+
end
|
1419
|
+
|
1341
1420
|
class LambdaFunctionConfiguration
|
1342
1421
|
attr_accessor id: ::String
|
1343
1422
|
attr_accessor lambda_function_arn: ::String
|
@@ -1646,6 +1725,19 @@ module Aws::S3
|
|
1646
1725
|
SENSITIVE: []
|
1647
1726
|
end
|
1648
1727
|
|
1728
|
+
class MetadataConfiguration
|
1729
|
+
attr_accessor journal_table_configuration: Types::JournalTableConfiguration
|
1730
|
+
attr_accessor inventory_table_configuration: Types::InventoryTableConfiguration
|
1731
|
+
SENSITIVE: []
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
class MetadataConfigurationResult
|
1735
|
+
attr_accessor destination_result: Types::DestinationResult
|
1736
|
+
attr_accessor journal_table_configuration_result: Types::JournalTableConfigurationResult
|
1737
|
+
attr_accessor inventory_table_configuration_result: Types::InventoryTableConfigurationResult
|
1738
|
+
SENSITIVE: []
|
1739
|
+
end
|
1740
|
+
|
1649
1741
|
class MetadataEntry
|
1650
1742
|
attr_accessor name: ::String
|
1651
1743
|
attr_accessor value: ::String
|
@@ -1662,6 +1754,12 @@ module Aws::S3
|
|
1662
1754
|
SENSITIVE: []
|
1663
1755
|
end
|
1664
1756
|
|
1757
|
+
class MetadataTableEncryptionConfiguration
|
1758
|
+
attr_accessor sse_algorithm: ("aws:kms" | "AES256")
|
1759
|
+
attr_accessor kms_key_arn: ::String
|
1760
|
+
SENSITIVE: []
|
1761
|
+
end
|
1762
|
+
|
1665
1763
|
class Metrics
|
1666
1764
|
attr_accessor status: ("Enabled" | "Disabled")
|
1667
1765
|
attr_accessor event_threshold: Types::ReplicationTimeValue
|
@@ -2263,6 +2361,12 @@ module Aws::S3
|
|
2263
2361
|
SENSITIVE: []
|
2264
2362
|
end
|
2265
2363
|
|
2364
|
+
class RecordExpiration
|
2365
|
+
attr_accessor expiration: ("ENABLED" | "DISABLED")
|
2366
|
+
attr_accessor days: ::Integer
|
2367
|
+
SENSITIVE: []
|
2368
|
+
end
|
2369
|
+
|
2266
2370
|
class RecordsEvent
|
2267
2371
|
attr_accessor payload: ::IO
|
2268
2372
|
attr_accessor event_type: untyped
|
@@ -2605,6 +2709,24 @@ module Aws::S3
|
|
2605
2709
|
SENSITIVE: []
|
2606
2710
|
end
|
2607
2711
|
|
2712
|
+
class UpdateBucketMetadataInventoryTableConfigurationRequest
|
2713
|
+
attr_accessor bucket: ::String
|
2714
|
+
attr_accessor content_md5: ::String
|
2715
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
2716
|
+
attr_accessor inventory_table_configuration: Types::InventoryTableConfigurationUpdates
|
2717
|
+
attr_accessor expected_bucket_owner: ::String
|
2718
|
+
SENSITIVE: []
|
2719
|
+
end
|
2720
|
+
|
2721
|
+
class UpdateBucketMetadataJournalTableConfigurationRequest
|
2722
|
+
attr_accessor bucket: ::String
|
2723
|
+
attr_accessor content_md5: ::String
|
2724
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
|
2725
|
+
attr_accessor journal_table_configuration: Types::JournalTableConfigurationUpdates
|
2726
|
+
attr_accessor expected_bucket_owner: ::String
|
2727
|
+
SENSITIVE: []
|
2728
|
+
end
|
2729
|
+
|
2608
2730
|
class UploadPartCopyOutput
|
2609
2731
|
attr_accessor copy_source_version_id: ::String
|
2610
2732
|
attr_accessor copy_part_result: Types::CopyPartResult
|