aws-sdk-s3 1.192.0 → 1.194.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +580 -38
- 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 +78 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +122 -0
- metadata +3 -3
data/lib/aws-sdk-s3.rb
CHANGED
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,
|
@@ -257,6 +258,34 @@ module Aws
|
|
257
258
|
) -> _CreateBucketResponseSuccess
|
258
259
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
259
260
|
|
261
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_configuration-instance_method
|
262
|
+
def create_bucket_metadata_configuration: (
|
263
|
+
bucket: ::String,
|
264
|
+
?content_md5: ::String,
|
265
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
266
|
+
metadata_configuration: {
|
267
|
+
journal_table_configuration: {
|
268
|
+
record_expiration: {
|
269
|
+
expiration: ("ENABLED" | "DISABLED"),
|
270
|
+
days: ::Integer?
|
271
|
+
},
|
272
|
+
encryption_configuration: {
|
273
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
274
|
+
kms_key_arn: ::String?
|
275
|
+
}?
|
276
|
+
},
|
277
|
+
inventory_table_configuration: {
|
278
|
+
configuration_state: ("ENABLED" | "DISABLED"),
|
279
|
+
encryption_configuration: {
|
280
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
281
|
+
kms_key_arn: ::String?
|
282
|
+
}?
|
283
|
+
}?
|
284
|
+
},
|
285
|
+
?expected_bucket_owner: ::String
|
286
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
287
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
288
|
+
|
260
289
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
|
261
290
|
def create_bucket_metadata_table_configuration: (
|
262
291
|
bucket: ::String,
|
@@ -396,6 +425,13 @@ module Aws
|
|
396
425
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
397
426
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
398
427
|
|
428
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_configuration-instance_method
|
429
|
+
def delete_bucket_metadata_configuration: (
|
430
|
+
bucket: ::String,
|
431
|
+
?expected_bucket_owner: ::String
|
432
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
433
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
434
|
+
|
399
435
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
|
400
436
|
def delete_bucket_metadata_table_configuration: (
|
401
437
|
bucket: ::String,
|
@@ -644,6 +680,17 @@ module Aws
|
|
644
680
|
) -> _GetBucketLoggingResponseSuccess
|
645
681
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
646
682
|
|
683
|
+
interface _GetBucketMetadataConfigurationResponseSuccess
|
684
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataConfigurationOutput]
|
685
|
+
def get_bucket_metadata_configuration_result: () -> Types::GetBucketMetadataConfigurationResult
|
686
|
+
end
|
687
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_configuration-instance_method
|
688
|
+
def get_bucket_metadata_configuration: (
|
689
|
+
bucket: ::String,
|
690
|
+
?expected_bucket_owner: ::String
|
691
|
+
) -> _GetBucketMetadataConfigurationResponseSuccess
|
692
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataConfigurationResponseSuccess
|
693
|
+
|
647
694
|
interface _GetBucketMetadataTableConfigurationResponseSuccess
|
648
695
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
|
649
696
|
def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
|
@@ -2322,6 +2369,37 @@ module Aws
|
|
2322
2369
|
) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
2323
2370
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _SelectObjectContentResponseSuccess
|
2324
2371
|
|
2372
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_inventory_table_configuration-instance_method
|
2373
|
+
def update_bucket_metadata_inventory_table_configuration: (
|
2374
|
+
bucket: ::String,
|
2375
|
+
?content_md5: ::String,
|
2376
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
2377
|
+
inventory_table_configuration: {
|
2378
|
+
configuration_state: ("ENABLED" | "DISABLED"),
|
2379
|
+
encryption_configuration: {
|
2380
|
+
sse_algorithm: ("aws:kms" | "AES256"),
|
2381
|
+
kms_key_arn: ::String?
|
2382
|
+
}?
|
2383
|
+
},
|
2384
|
+
?expected_bucket_owner: ::String
|
2385
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2386
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2387
|
+
|
2388
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#update_bucket_metadata_journal_table_configuration-instance_method
|
2389
|
+
def update_bucket_metadata_journal_table_configuration: (
|
2390
|
+
bucket: ::String,
|
2391
|
+
?content_md5: ::String,
|
2392
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
|
2393
|
+
journal_table_configuration: {
|
2394
|
+
record_expiration: {
|
2395
|
+
expiration: ("ENABLED" | "DISABLED"),
|
2396
|
+
days: ::Integer?
|
2397
|
+
}
|
2398
|
+
},
|
2399
|
+
?expected_bucket_owner: ::String
|
2400
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2401
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
2402
|
+
|
2325
2403
|
interface _UploadPartResponseSuccess
|
2326
2404
|
include ::Seahorse::Client::_ResponseSuccess[Types::UploadPartOutput]
|
2327
2405
|
def server_side_encryption: () -> ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse")
|
data/sig/resource.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,
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.194.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
version: '3'
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 3.
|
49
|
+
version: 3.227.0
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
version: '3'
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 3.
|
59
|
+
version: 3.227.0
|
60
60
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
61
61
|
This gem is part of the AWS SDK for Ruby.
|
62
62
|
email:
|