aws-sdk-s3 1.175.0 → 1.176.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +250 -52
- data/lib/aws-sdk-s3/client_api.rb +94 -0
- data/lib/aws-sdk-s3/endpoints.rb +42 -0
- data/lib/aws-sdk-s3/types.rb +330 -0
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +33 -0
- data/sig/types.rbs +63 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55de3e4e9fb24894b5af65b2945a0e3a5b6de6e666f2ef8888388b56f869ba9c
|
4
|
+
data.tar.gz: 3ec709acfcc16bc9f50ca0f793a6125d0f0e03e1d3cdb2d8d45dbeb825e368dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2eba01f80e3e630fa043f5115486cd019f6da11bafadd9c32f83336d65f71d0fb74cfdf14712b0bf3acc28ee9cde2564387596e7cdb01ef8a260ed276f4d8eb
|
7
|
+
data.tar.gz: badadb2916b359b1724fb969c55790c84a38a18d03521e86afbde89dda3b217c174362c26be80634f40b6018697a413941821ee70cb21fd72873454034260e22
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.176.0 (2024-12-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets.
|
8
|
+
|
4
9
|
1.175.0 (2024-12-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.176.0
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -2601,6 +2601,90 @@ module Aws::S3
|
|
2601
2601
|
req.send_request(options)
|
2602
2602
|
end
|
2603
2603
|
|
2604
|
+
# Creates a metadata table configuration for a general purpose bucket.
|
2605
|
+
# For more information, see [Accelerating data discovery with S3
|
2606
|
+
# Metadata][1] in the *Amazon S3 User Guide*.
|
2607
|
+
#
|
2608
|
+
# Permissions
|
2609
|
+
#
|
2610
|
+
# : To use this operation, you must have the following permissions. For
|
2611
|
+
# more information, see [Setting up permissions for configuring
|
2612
|
+
# metadata tables][2] in the *Amazon S3 User Guide*.
|
2613
|
+
#
|
2614
|
+
# If you also want to integrate your table bucket with Amazon Web
|
2615
|
+
# Services analytics services so that you can query your metadata
|
2616
|
+
# table, you need additional permissions. For more information, see [
|
2617
|
+
# Integrating Amazon S3 Tables with Amazon Web Services analytics
|
2618
|
+
# services][3] in the *Amazon S3 User Guide*.
|
2619
|
+
#
|
2620
|
+
# * `s3:CreateBucketMetadataTableConfiguration`
|
2621
|
+
#
|
2622
|
+
# * `s3tables:CreateNamespace`
|
2623
|
+
#
|
2624
|
+
# * `s3tables:GetTable`
|
2625
|
+
#
|
2626
|
+
# * `s3tables:CreateTable`
|
2627
|
+
#
|
2628
|
+
# * `s3tables:PutTablePolicy`
|
2629
|
+
#
|
2630
|
+
# The following operations are related to
|
2631
|
+
# `CreateBucketMetadataTableConfiguration`:
|
2632
|
+
#
|
2633
|
+
# * [DeleteBucketMetadataTableConfiguration][4]
|
2634
|
+
#
|
2635
|
+
# * [GetBucketMetadataTableConfiguration][5]
|
2636
|
+
#
|
2637
|
+
#
|
2638
|
+
#
|
2639
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html
|
2640
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html
|
2641
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-integrating-aws.html
|
2642
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html
|
2643
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataTableConfiguration.html
|
2644
|
+
#
|
2645
|
+
# @option params [required, String] :bucket
|
2646
|
+
# The general purpose bucket that you want to create the metadata table
|
2647
|
+
# configuration in.
|
2648
|
+
#
|
2649
|
+
# @option params [String] :content_md5
|
2650
|
+
# The `Content-MD5` header for the metadata table configuration.
|
2651
|
+
#
|
2652
|
+
# @option params [String] :checksum_algorithm
|
2653
|
+
# The checksum algorithm to use with your metadata table configuration.
|
2654
|
+
#
|
2655
|
+
# @option params [required, Types::MetadataTableConfiguration] :metadata_table_configuration
|
2656
|
+
# The contents of your metadata table configuration.
|
2657
|
+
#
|
2658
|
+
# @option params [String] :expected_bucket_owner
|
2659
|
+
# The expected owner of the general purpose bucket that contains your
|
2660
|
+
# metadata table configuration.
|
2661
|
+
#
|
2662
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2663
|
+
#
|
2664
|
+
# @example Request syntax with placeholder values
|
2665
|
+
#
|
2666
|
+
# resp = client.create_bucket_metadata_table_configuration({
|
2667
|
+
# bucket: "BucketName", # required
|
2668
|
+
# content_md5: "ContentMD5",
|
2669
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
2670
|
+
# metadata_table_configuration: { # required
|
2671
|
+
# s3_tables_destination: { # required
|
2672
|
+
# table_bucket_arn: "S3TablesBucketArn", # required
|
2673
|
+
# table_name: "S3TablesName", # required
|
2674
|
+
# },
|
2675
|
+
# },
|
2676
|
+
# expected_bucket_owner: "AccountId",
|
2677
|
+
# })
|
2678
|
+
#
|
2679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketMetadataTableConfiguration AWS API Documentation
|
2680
|
+
#
|
2681
|
+
# @overload create_bucket_metadata_table_configuration(params = {})
|
2682
|
+
# @param [Hash] params ({})
|
2683
|
+
def create_bucket_metadata_table_configuration(params = {}, options = {})
|
2684
|
+
req = build_request(:create_bucket_metadata_table_configuration, params)
|
2685
|
+
req.send_request(options)
|
2686
|
+
end
|
2687
|
+
|
2604
2688
|
# This action initiates a multipart upload and returns an upload ID.
|
2605
2689
|
# This upload ID is used to associate all of the parts in the specific
|
2606
2690
|
# multipart upload. You specify this upload ID in each of your
|
@@ -4427,6 +4511,57 @@ module Aws::S3
|
|
4427
4511
|
req.send_request(options)
|
4428
4512
|
end
|
4429
4513
|
|
4514
|
+
# Deletes a metadata table configuration from a general purpose bucket.
|
4515
|
+
# For more information, see [Accelerating data discovery with S3
|
4516
|
+
# Metadata][1] in the *Amazon S3 User Guide*.
|
4517
|
+
#
|
4518
|
+
# Permissions
|
4519
|
+
#
|
4520
|
+
# : To use this operation, you must have the
|
4521
|
+
# `s3:DeleteBucketMetadataTableConfiguration` permission. For more
|
4522
|
+
# information, see [Setting up permissions for configuring metadata
|
4523
|
+
# tables][2] in the *Amazon S3 User Guide*.
|
4524
|
+
#
|
4525
|
+
# The following operations are related to
|
4526
|
+
# `DeleteBucketMetadataTableConfiguration`:
|
4527
|
+
#
|
4528
|
+
# * [CreateBucketMetadataTableConfiguration][3]
|
4529
|
+
#
|
4530
|
+
# * [GetBucketMetadataTableConfiguration][4]
|
4531
|
+
#
|
4532
|
+
#
|
4533
|
+
#
|
4534
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html
|
4535
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html
|
4536
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataTableConfiguration.html
|
4537
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetadataTableConfiguration.html
|
4538
|
+
#
|
4539
|
+
# @option params [required, String] :bucket
|
4540
|
+
# The general purpose bucket that you want to remove the metadata table
|
4541
|
+
# configuration from.
|
4542
|
+
#
|
4543
|
+
# @option params [String] :expected_bucket_owner
|
4544
|
+
# The expected bucket owner of the general purpose bucket that you want
|
4545
|
+
# to remove the metadata table configuration from.
|
4546
|
+
#
|
4547
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4548
|
+
#
|
4549
|
+
# @example Request syntax with placeholder values
|
4550
|
+
#
|
4551
|
+
# resp = client.delete_bucket_metadata_table_configuration({
|
4552
|
+
# bucket: "BucketName", # required
|
4553
|
+
# expected_bucket_owner: "AccountId",
|
4554
|
+
# })
|
4555
|
+
#
|
4556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetadataTableConfiguration AWS API Documentation
|
4557
|
+
#
|
4558
|
+
# @overload delete_bucket_metadata_table_configuration(params = {})
|
4559
|
+
# @param [Hash] params ({})
|
4560
|
+
def delete_bucket_metadata_table_configuration(params = {}, options = {})
|
4561
|
+
req = build_request(:delete_bucket_metadata_table_configuration, params)
|
4562
|
+
req.send_request(options)
|
4563
|
+
end
|
4564
|
+
|
4430
4565
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
4431
4566
|
#
|
4432
4567
|
# </note>
|
@@ -6887,6 +7022,69 @@ module Aws::S3
|
|
6887
7022
|
req.send_request(options)
|
6888
7023
|
end
|
6889
7024
|
|
7025
|
+
# Retrieves the metadata table configuration for a general purpose
|
7026
|
+
# bucket. For more information, see [Accelerating data discovery with S3
|
7027
|
+
# Metadata][1] in the *Amazon S3 User Guide*.
|
7028
|
+
#
|
7029
|
+
# Permissions
|
7030
|
+
#
|
7031
|
+
# : To use this operation, you must have the
|
7032
|
+
# `s3:GetBucketMetadataTableConfiguration` permission. For more
|
7033
|
+
# information, see [Setting up permissions for configuring metadata
|
7034
|
+
# tables][2] in the *Amazon S3 User Guide*.
|
7035
|
+
#
|
7036
|
+
# The following operations are related to
|
7037
|
+
# `GetBucketMetadataTableConfiguration`:
|
7038
|
+
#
|
7039
|
+
# * [CreateBucketMetadataTableConfiguration][3]
|
7040
|
+
#
|
7041
|
+
# * [DeleteBucketMetadataTableConfiguration][4]
|
7042
|
+
#
|
7043
|
+
#
|
7044
|
+
#
|
7045
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html
|
7046
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html
|
7047
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataTableConfiguration.html
|
7048
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html
|
7049
|
+
#
|
7050
|
+
# @option params [required, String] :bucket
|
7051
|
+
# The general purpose bucket that contains the metadata table
|
7052
|
+
# configuration that you want to retrieve.
|
7053
|
+
#
|
7054
|
+
# @option params [String] :expected_bucket_owner
|
7055
|
+
# The expected owner of the general purpose bucket that you want to
|
7056
|
+
# retrieve the metadata table configuration from.
|
7057
|
+
#
|
7058
|
+
# @return [Types::GetBucketMetadataTableConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7059
|
+
#
|
7060
|
+
# * {Types::GetBucketMetadataTableConfigurationOutput#get_bucket_metadata_table_configuration_result #get_bucket_metadata_table_configuration_result} => Types::GetBucketMetadataTableConfigurationResult
|
7061
|
+
#
|
7062
|
+
# @example Request syntax with placeholder values
|
7063
|
+
#
|
7064
|
+
# resp = client.get_bucket_metadata_table_configuration({
|
7065
|
+
# bucket: "BucketName", # required
|
7066
|
+
# expected_bucket_owner: "AccountId",
|
7067
|
+
# })
|
7068
|
+
#
|
7069
|
+
# @example Response structure
|
7070
|
+
#
|
7071
|
+
# resp.get_bucket_metadata_table_configuration_result.metadata_table_configuration_result.s3_tables_destination_result.table_bucket_arn #=> String
|
7072
|
+
# resp.get_bucket_metadata_table_configuration_result.metadata_table_configuration_result.s3_tables_destination_result.table_name #=> String
|
7073
|
+
# resp.get_bucket_metadata_table_configuration_result.metadata_table_configuration_result.s3_tables_destination_result.table_arn #=> String
|
7074
|
+
# resp.get_bucket_metadata_table_configuration_result.metadata_table_configuration_result.s3_tables_destination_result.table_namespace #=> String
|
7075
|
+
# resp.get_bucket_metadata_table_configuration_result.status #=> String
|
7076
|
+
# resp.get_bucket_metadata_table_configuration_result.error.error_code #=> String
|
7077
|
+
# resp.get_bucket_metadata_table_configuration_result.error.error_message #=> String
|
7078
|
+
#
|
7079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfiguration AWS API Documentation
|
7080
|
+
#
|
7081
|
+
# @overload get_bucket_metadata_table_configuration(params = {})
|
7082
|
+
# @param [Hash] params ({})
|
7083
|
+
def get_bucket_metadata_table_configuration(params = {}, options = {})
|
7084
|
+
req = build_request(:get_bucket_metadata_table_configuration, params)
|
7085
|
+
req.send_request(options)
|
7086
|
+
end
|
7087
|
+
|
6890
7088
|
# <note markdown="1"> This operation is not supported for directory buckets.
|
6891
7089
|
#
|
6892
7090
|
# </note>
|
@@ -16777,63 +16975,65 @@ module Aws::S3
|
|
16777
16975
|
# * {Types::PutObjectOutput#request_charged #request_charged} => String
|
16778
16976
|
#
|
16779
16977
|
#
|
16780
|
-
# @example Example: To upload object
|
16978
|
+
# @example Example: To upload an object (specify optional headers)
|
16781
16979
|
#
|
16782
|
-
# # The following example
|
16783
|
-
# #
|
16980
|
+
# # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
|
16981
|
+
# # storage class and use server-side encryption.
|
16784
16982
|
#
|
16785
16983
|
# resp = client.put_object({
|
16786
|
-
# body: "
|
16984
|
+
# body: "HappyFace.jpg",
|
16787
16985
|
# bucket: "examplebucket",
|
16788
|
-
# key: "
|
16789
|
-
#
|
16790
|
-
#
|
16791
|
-
# "metadata2" => "value2",
|
16792
|
-
# },
|
16986
|
+
# key: "HappyFace.jpg",
|
16987
|
+
# server_side_encryption: "AES256",
|
16988
|
+
# storage_class: "STANDARD_IA",
|
16793
16989
|
# })
|
16794
16990
|
#
|
16795
16991
|
# resp.to_h outputs the following:
|
16796
16992
|
# {
|
16797
16993
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
16798
|
-
#
|
16994
|
+
# server_side_encryption: "AES256",
|
16995
|
+
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
16799
16996
|
# }
|
16800
16997
|
#
|
16801
|
-
# @example Example: To upload an object and specify
|
16998
|
+
# @example Example: To upload an object and specify server-side encryption and object tags
|
16802
16999
|
#
|
16803
|
-
# # The following example uploads an object. The request specifies optional
|
16804
|
-
# # S3 returns version ID
|
17000
|
+
# # The following example uploads an object. The request specifies the optional server-side encryption option. The request
|
17001
|
+
# # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
16805
17002
|
#
|
16806
17003
|
# resp = client.put_object({
|
16807
|
-
# body: "
|
17004
|
+
# body: "filetoupload",
|
16808
17005
|
# bucket: "examplebucket",
|
16809
|
-
# key: "
|
17006
|
+
# key: "exampleobject",
|
17007
|
+
# server_side_encryption: "AES256",
|
16810
17008
|
# tagging: "key1=value1&key2=value2",
|
16811
17009
|
# })
|
16812
17010
|
#
|
16813
17011
|
# resp.to_h outputs the following:
|
16814
17012
|
# {
|
16815
17013
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
16816
|
-
#
|
17014
|
+
# server_side_encryption: "AES256",
|
17015
|
+
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
16817
17016
|
# }
|
16818
17017
|
#
|
16819
|
-
# @example Example: To upload
|
17018
|
+
# @example Example: To upload object and specify user-defined metadata
|
16820
17019
|
#
|
16821
|
-
# # The following example
|
16822
|
-
# #
|
17020
|
+
# # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
|
17021
|
+
# # enabled, S3 returns version ID in response.
|
16823
17022
|
#
|
16824
17023
|
# resp = client.put_object({
|
16825
|
-
# body: "
|
17024
|
+
# body: "filetoupload",
|
16826
17025
|
# bucket: "examplebucket",
|
16827
|
-
# key: "
|
16828
|
-
#
|
16829
|
-
#
|
17026
|
+
# key: "exampleobject",
|
17027
|
+
# metadata: {
|
17028
|
+
# "metadata1" => "value1",
|
17029
|
+
# "metadata2" => "value2",
|
17030
|
+
# },
|
16830
17031
|
# })
|
16831
17032
|
#
|
16832
17033
|
# resp.to_h outputs the following:
|
16833
17034
|
# {
|
16834
17035
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
16835
|
-
#
|
16836
|
-
# version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
|
17036
|
+
# version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
|
16837
17037
|
# }
|
16838
17038
|
#
|
16839
17039
|
# @example Example: To upload an object and specify canned ACL.
|
@@ -16854,41 +17054,39 @@ module Aws::S3
|
|
16854
17054
|
# version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
|
16855
17055
|
# }
|
16856
17056
|
#
|
16857
|
-
# @example Example: To upload an object
|
17057
|
+
# @example Example: To upload an object and specify optional tags
|
16858
17058
|
#
|
16859
|
-
# # The following example uploads an object
|
16860
|
-
# #
|
17059
|
+
# # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
|
17060
|
+
# # S3 returns version ID of the newly created object.
|
16861
17061
|
#
|
16862
17062
|
# resp = client.put_object({
|
16863
|
-
# body: "HappyFace.jpg",
|
17063
|
+
# body: "c:\\HappyFace.jpg",
|
16864
17064
|
# bucket: "examplebucket",
|
16865
17065
|
# key: "HappyFace.jpg",
|
17066
|
+
# tagging: "key1=value1&key2=value2",
|
16866
17067
|
# })
|
16867
17068
|
#
|
16868
17069
|
# resp.to_h outputs the following:
|
16869
17070
|
# {
|
16870
17071
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
16871
|
-
# version_id: "
|
17072
|
+
# version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
|
16872
17073
|
# }
|
16873
17074
|
#
|
16874
|
-
# @example Example: To upload an object
|
17075
|
+
# @example Example: To upload an object
|
16875
17076
|
#
|
16876
|
-
# # The following example uploads an object. The
|
16877
|
-
# #
|
17077
|
+
# # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
|
17078
|
+
# # syntax. S3 returns VersionId of the newly created object.
|
16878
17079
|
#
|
16879
17080
|
# resp = client.put_object({
|
16880
|
-
# body: "
|
17081
|
+
# body: "HappyFace.jpg",
|
16881
17082
|
# bucket: "examplebucket",
|
16882
|
-
# key: "
|
16883
|
-
# server_side_encryption: "AES256",
|
16884
|
-
# tagging: "key1=value1&key2=value2",
|
17083
|
+
# key: "HappyFace.jpg",
|
16885
17084
|
# })
|
16886
17085
|
#
|
16887
17086
|
# resp.to_h outputs the following:
|
16888
17087
|
# {
|
16889
17088
|
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
16890
|
-
#
|
16891
|
-
# version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
|
17089
|
+
# version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
|
16892
17090
|
# }
|
16893
17091
|
#
|
16894
17092
|
# @example Example: To create an object.
|
@@ -19773,45 +19971,45 @@ module Aws::S3
|
|
19773
19971
|
# * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
|
19774
19972
|
#
|
19775
19973
|
#
|
19776
|
-
# @example Example: To upload a part by copying
|
19974
|
+
# @example Example: To upload a part by copying byte range from an existing object as data source
|
19777
19975
|
#
|
19778
|
-
# # The following example uploads a part of a multipart upload by copying
|
19976
|
+
# # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
|
19977
|
+
# # data source.
|
19779
19978
|
#
|
19780
19979
|
# resp = client.upload_part_copy({
|
19781
19980
|
# bucket: "examplebucket",
|
19782
19981
|
# copy_source: "/bucketname/sourceobjectkey",
|
19982
|
+
# copy_source_range: "bytes=1-100000",
|
19783
19983
|
# key: "examplelargeobject",
|
19784
|
-
# part_number:
|
19984
|
+
# part_number: 2,
|
19785
19985
|
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
|
19786
19986
|
# })
|
19787
19987
|
#
|
19788
19988
|
# resp.to_h outputs the following:
|
19789
19989
|
# {
|
19790
19990
|
# copy_part_result: {
|
19791
|
-
# etag: "\"
|
19792
|
-
# last_modified: Time.parse("2016-12-29T21:
|
19991
|
+
# etag: "\"65d16d19e65a7508a51f043180edcc36\"",
|
19992
|
+
# last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
|
19793
19993
|
# },
|
19794
19994
|
# }
|
19795
19995
|
#
|
19796
|
-
# @example Example: To upload a part by copying
|
19996
|
+
# @example Example: To upload a part by copying data from an existing object as data source
|
19797
19997
|
#
|
19798
|
-
# # The following example uploads a part of a multipart upload by copying
|
19799
|
-
# # data source.
|
19998
|
+
# # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
|
19800
19999
|
#
|
19801
20000
|
# resp = client.upload_part_copy({
|
19802
20001
|
# bucket: "examplebucket",
|
19803
20002
|
# copy_source: "/bucketname/sourceobjectkey",
|
19804
|
-
# copy_source_range: "bytes=1-100000",
|
19805
20003
|
# key: "examplelargeobject",
|
19806
|
-
# part_number:
|
20004
|
+
# part_number: 1,
|
19807
20005
|
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
|
19808
20006
|
# })
|
19809
20007
|
#
|
19810
20008
|
# resp.to_h outputs the following:
|
19811
20009
|
# {
|
19812
20010
|
# copy_part_result: {
|
19813
|
-
# etag: "\"
|
19814
|
-
# last_modified: Time.parse("2016-12-29T21:
|
20011
|
+
# etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
20012
|
+
# last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
|
19815
20013
|
# },
|
19816
20014
|
# }
|
19817
20015
|
#
|
@@ -20273,7 +20471,7 @@ module Aws::S3
|
|
20273
20471
|
tracer: tracer
|
20274
20472
|
)
|
20275
20473
|
context[:gem_name] = 'aws-sdk-s3'
|
20276
|
-
context[:gem_version] = '1.
|
20474
|
+
context[:gem_version] = '1.176.0'
|
20277
20475
|
Seahorse::Client::Request.new(handlers, context)
|
20278
20476
|
end
|
20279
20477
|
|
@@ -117,6 +117,7 @@ module Aws::S3
|
|
117
117
|
CopySourceSSECustomerKeyMD5 = Shapes::StringShape.new(name: 'CopySourceSSECustomerKeyMD5')
|
118
118
|
CopySourceVersionId = Shapes::StringShape.new(name: 'CopySourceVersionId')
|
119
119
|
CreateBucketConfiguration = Shapes::StructureShape.new(name: 'CreateBucketConfiguration')
|
120
|
+
CreateBucketMetadataTableConfigurationRequest = Shapes::StructureShape.new(name: 'CreateBucketMetadataTableConfigurationRequest')
|
120
121
|
CreateBucketOutput = Shapes::StructureShape.new(name: 'CreateBucketOutput')
|
121
122
|
CreateBucketRequest = Shapes::StructureShape.new(name: 'CreateBucketRequest')
|
122
123
|
CreateMultipartUploadOutput = Shapes::StructureShape.new(name: 'CreateMultipartUploadOutput')
|
@@ -136,6 +137,7 @@ module Aws::S3
|
|
136
137
|
DeleteBucketIntelligentTieringConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketIntelligentTieringConfigurationRequest')
|
137
138
|
DeleteBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketInventoryConfigurationRequest')
|
138
139
|
DeleteBucketLifecycleRequest = Shapes::StructureShape.new(name: 'DeleteBucketLifecycleRequest')
|
140
|
+
DeleteBucketMetadataTableConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetadataTableConfigurationRequest')
|
139
141
|
DeleteBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetricsConfigurationRequest')
|
140
142
|
DeleteBucketOwnershipControlsRequest = Shapes::StructureShape.new(name: 'DeleteBucketOwnershipControlsRequest')
|
141
143
|
DeleteBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteBucketPolicyRequest')
|
@@ -174,6 +176,7 @@ module Aws::S3
|
|
174
176
|
EndEvent = Shapes::StructureShape.new(name: 'EndEvent')
|
175
177
|
Error = Shapes::StructureShape.new(name: 'Error')
|
176
178
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
179
|
+
ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
|
177
180
|
ErrorDocument = Shapes::StructureShape.new(name: 'ErrorDocument')
|
178
181
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
179
182
|
Errors = Shapes::ListShape.new(name: 'Errors', flattened: true)
|
@@ -220,6 +223,9 @@ module Aws::S3
|
|
220
223
|
GetBucketLocationRequest = Shapes::StructureShape.new(name: 'GetBucketLocationRequest')
|
221
224
|
GetBucketLoggingOutput = Shapes::StructureShape.new(name: 'GetBucketLoggingOutput')
|
222
225
|
GetBucketLoggingRequest = Shapes::StructureShape.new(name: 'GetBucketLoggingRequest')
|
226
|
+
GetBucketMetadataTableConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketMetadataTableConfigurationOutput')
|
227
|
+
GetBucketMetadataTableConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketMetadataTableConfigurationRequest')
|
228
|
+
GetBucketMetadataTableConfigurationResult = Shapes::StructureShape.new(name: 'GetBucketMetadataTableConfigurationResult')
|
223
229
|
GetBucketMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketMetricsConfigurationOutput')
|
224
230
|
GetBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketMetricsConfigurationRequest')
|
225
231
|
GetBucketNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketNotificationConfigurationRequest')
|
@@ -377,6 +383,9 @@ module Aws::S3
|
|
377
383
|
MetadataDirective = Shapes::StringShape.new(name: 'MetadataDirective')
|
378
384
|
MetadataEntry = Shapes::StructureShape.new(name: 'MetadataEntry')
|
379
385
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
386
|
+
MetadataTableConfiguration = Shapes::StructureShape.new(name: 'MetadataTableConfiguration')
|
387
|
+
MetadataTableConfigurationResult = Shapes::StructureShape.new(name: 'MetadataTableConfigurationResult')
|
388
|
+
MetadataTableStatus = Shapes::StringShape.new(name: 'MetadataTableStatus')
|
380
389
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
381
390
|
Metrics = Shapes::StructureShape.new(name: 'Metrics')
|
382
391
|
MetricsAndOperator = Shapes::StructureShape.new(name: 'MetricsAndOperator')
|
@@ -555,6 +564,12 @@ module Aws::S3
|
|
555
564
|
Rules = Shapes::ListShape.new(name: 'Rules', flattened: true)
|
556
565
|
S3KeyFilter = Shapes::StructureShape.new(name: 'S3KeyFilter')
|
557
566
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
567
|
+
S3TablesArn = Shapes::StringShape.new(name: 'S3TablesArn')
|
568
|
+
S3TablesBucketArn = Shapes::StringShape.new(name: 'S3TablesBucketArn')
|
569
|
+
S3TablesDestination = Shapes::StructureShape.new(name: 'S3TablesDestination')
|
570
|
+
S3TablesDestinationResult = Shapes::StructureShape.new(name: 'S3TablesDestinationResult')
|
571
|
+
S3TablesName = Shapes::StringShape.new(name: 'S3TablesName')
|
572
|
+
S3TablesNamespace = Shapes::StringShape.new(name: 'S3TablesNamespace')
|
558
573
|
SSECustomerAlgorithm = Shapes::StringShape.new(name: 'SSECustomerAlgorithm')
|
559
574
|
SSECustomerKey = Shapes::StringShape.new(name: 'SSECustomerKey')
|
560
575
|
SSECustomerKeyMD5 = Shapes::StringShape.new(name: 'SSECustomerKeyMD5')
|
@@ -892,6 +907,15 @@ module Aws::S3
|
|
892
907
|
CreateBucketConfiguration.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketInfo, location_name: "Bucket"))
|
893
908
|
CreateBucketConfiguration.struct_class = Types::CreateBucketConfiguration
|
894
909
|
|
910
|
+
CreateBucketMetadataTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
911
|
+
CreateBucketMetadataTableConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
912
|
+
CreateBucketMetadataTableConfigurationRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
|
913
|
+
CreateBucketMetadataTableConfigurationRequest.add_member(:metadata_table_configuration, Shapes::ShapeRef.new(shape: MetadataTableConfiguration, required: true, location_name: "MetadataTableConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
914
|
+
CreateBucketMetadataTableConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
915
|
+
CreateBucketMetadataTableConfigurationRequest.struct_class = Types::CreateBucketMetadataTableConfigurationRequest
|
916
|
+
CreateBucketMetadataTableConfigurationRequest[:payload] = :metadata_table_configuration
|
917
|
+
CreateBucketMetadataTableConfigurationRequest[:payload_member] = CreateBucketMetadataTableConfigurationRequest.member(:metadata_table_configuration)
|
918
|
+
|
895
919
|
CreateBucketOutput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location: "header", location_name: "Location"))
|
896
920
|
CreateBucketOutput.struct_class = Types::CreateBucketOutput
|
897
921
|
|
@@ -1006,6 +1030,10 @@ module Aws::S3
|
|
1006
1030
|
DeleteBucketLifecycleRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1007
1031
|
DeleteBucketLifecycleRequest.struct_class = Types::DeleteBucketLifecycleRequest
|
1008
1032
|
|
1033
|
+
DeleteBucketMetadataTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
1034
|
+
DeleteBucketMetadataTableConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1035
|
+
DeleteBucketMetadataTableConfigurationRequest.struct_class = Types::DeleteBucketMetadataTableConfigurationRequest
|
1036
|
+
|
1009
1037
|
DeleteBucketMetricsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
1010
1038
|
DeleteBucketMetricsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: MetricsId, required: true, location: "querystring", location_name: "id"))
|
1011
1039
|
DeleteBucketMetricsConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
@@ -1128,6 +1156,10 @@ module Aws::S3
|
|
1128
1156
|
Error.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
1129
1157
|
Error.struct_class = Types::Error
|
1130
1158
|
|
1159
|
+
ErrorDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
1160
|
+
ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
1161
|
+
ErrorDetails.struct_class = Types::ErrorDetails
|
1162
|
+
|
1131
1163
|
ErrorDocument.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location_name: "Key"))
|
1132
1164
|
ErrorDocument.struct_class = Types::ErrorDocument
|
1133
1165
|
|
@@ -1239,6 +1271,20 @@ module Aws::S3
|
|
1239
1271
|
GetBucketLoggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1240
1272
|
GetBucketLoggingRequest.struct_class = Types::GetBucketLoggingRequest
|
1241
1273
|
|
1274
|
+
GetBucketMetadataTableConfigurationOutput.add_member(:get_bucket_metadata_table_configuration_result, Shapes::ShapeRef.new(shape: GetBucketMetadataTableConfigurationResult, location_name: "GetBucketMetadataTableConfigurationResult"))
|
1275
|
+
GetBucketMetadataTableConfigurationOutput.struct_class = Types::GetBucketMetadataTableConfigurationOutput
|
1276
|
+
GetBucketMetadataTableConfigurationOutput[:payload] = :get_bucket_metadata_table_configuration_result
|
1277
|
+
GetBucketMetadataTableConfigurationOutput[:payload_member] = GetBucketMetadataTableConfigurationOutput.member(:get_bucket_metadata_table_configuration_result)
|
1278
|
+
|
1279
|
+
GetBucketMetadataTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
1280
|
+
GetBucketMetadataTableConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1281
|
+
GetBucketMetadataTableConfigurationRequest.struct_class = Types::GetBucketMetadataTableConfigurationRequest
|
1282
|
+
|
1283
|
+
GetBucketMetadataTableConfigurationResult.add_member(:metadata_table_configuration_result, Shapes::ShapeRef.new(shape: MetadataTableConfigurationResult, required: true, location_name: "MetadataTableConfigurationResult"))
|
1284
|
+
GetBucketMetadataTableConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: MetadataTableStatus, required: true, location_name: "Status"))
|
1285
|
+
GetBucketMetadataTableConfigurationResult.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "Error"))
|
1286
|
+
GetBucketMetadataTableConfigurationResult.struct_class = Types::GetBucketMetadataTableConfigurationResult
|
1287
|
+
|
1242
1288
|
GetBucketMetricsConfigurationOutput.add_member(:metrics_configuration, Shapes::ShapeRef.new(shape: MetricsConfiguration, location_name: "MetricsConfiguration"))
|
1243
1289
|
GetBucketMetricsConfigurationOutput.struct_class = Types::GetBucketMetricsConfigurationOutput
|
1244
1290
|
GetBucketMetricsConfigurationOutput[:payload] = :metrics_configuration
|
@@ -1914,6 +1960,12 @@ module Aws::S3
|
|
1914
1960
|
MetadataEntry.add_member(:value, Shapes::ShapeRef.new(shape: MetadataValue, location_name: "Value"))
|
1915
1961
|
MetadataEntry.struct_class = Types::MetadataEntry
|
1916
1962
|
|
1963
|
+
MetadataTableConfiguration.add_member(:s3_tables_destination, Shapes::ShapeRef.new(shape: S3TablesDestination, required: true, location_name: "S3TablesDestination"))
|
1964
|
+
MetadataTableConfiguration.struct_class = Types::MetadataTableConfiguration
|
1965
|
+
|
1966
|
+
MetadataTableConfigurationResult.add_member(:s3_tables_destination_result, Shapes::ShapeRef.new(shape: S3TablesDestinationResult, required: true, location_name: "S3TablesDestinationResult"))
|
1967
|
+
MetadataTableConfigurationResult.struct_class = Types::MetadataTableConfigurationResult
|
1968
|
+
|
1917
1969
|
Metrics.add_member(:status, Shapes::ShapeRef.new(shape: MetricsStatus, required: true, location_name: "Status"))
|
1918
1970
|
Metrics.add_member(:event_threshold, Shapes::ShapeRef.new(shape: ReplicationTimeValue, location_name: "EventThreshold"))
|
1919
1971
|
Metrics.struct_class = Types::Metrics
|
@@ -2561,6 +2613,16 @@ module Aws::S3
|
|
2561
2613
|
S3Location.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "StorageClass"))
|
2562
2614
|
S3Location.struct_class = Types::S3Location
|
2563
2615
|
|
2616
|
+
S3TablesDestination.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: S3TablesBucketArn, required: true, location_name: "TableBucketArn"))
|
2617
|
+
S3TablesDestination.add_member(:table_name, Shapes::ShapeRef.new(shape: S3TablesName, required: true, location_name: "TableName"))
|
2618
|
+
S3TablesDestination.struct_class = Types::S3TablesDestination
|
2619
|
+
|
2620
|
+
S3TablesDestinationResult.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: S3TablesBucketArn, required: true, location_name: "TableBucketArn"))
|
2621
|
+
S3TablesDestinationResult.add_member(:table_name, Shapes::ShapeRef.new(shape: S3TablesName, required: true, location_name: "TableName"))
|
2622
|
+
S3TablesDestinationResult.add_member(:table_arn, Shapes::ShapeRef.new(shape: S3TablesArn, required: true, location_name: "TableArn"))
|
2623
|
+
S3TablesDestinationResult.add_member(:table_namespace, Shapes::ShapeRef.new(shape: S3TablesNamespace, required: true, location_name: "TableNamespace"))
|
2624
|
+
S3TablesDestinationResult.struct_class = Types::S3TablesDestinationResult
|
2625
|
+
|
2564
2626
|
SSEKMS.add_member(:key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, required: true, location_name: "KeyId"))
|
2565
2627
|
SSEKMS.struct_class = Types::SSEKMS
|
2566
2628
|
|
@@ -2872,6 +2934,22 @@ module Aws::S3
|
|
2872
2934
|
o.errors << Shapes::ShapeRef.new(shape: BucketAlreadyOwnedByYou)
|
2873
2935
|
end)
|
2874
2936
|
|
2937
|
+
api.add_operation(:create_bucket_metadata_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2938
|
+
o.name = "CreateBucketMetadataTableConfiguration"
|
2939
|
+
o.http_method = "POST"
|
2940
|
+
o.http_request_uri = "/?metadataTable"
|
2941
|
+
o.http_checksum = {
|
2942
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
2943
|
+
"requestChecksumRequired" => true,
|
2944
|
+
}
|
2945
|
+
o.http_checksum = {
|
2946
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
2947
|
+
"requestChecksumRequired" => true,
|
2948
|
+
}
|
2949
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBucketMetadataTableConfigurationRequest)
|
2950
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2951
|
+
end)
|
2952
|
+
|
2875
2953
|
api.add_operation(:create_multipart_upload, Seahorse::Model::Operation.new.tap do |o|
|
2876
2954
|
o.name = "CreateMultipartUpload"
|
2877
2955
|
o.http_method = "POST"
|
@@ -2945,6 +3023,14 @@ module Aws::S3
|
|
2945
3023
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2946
3024
|
end)
|
2947
3025
|
|
3026
|
+
api.add_operation(:delete_bucket_metadata_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3027
|
+
o.name = "DeleteBucketMetadataTableConfiguration"
|
3028
|
+
o.http_method = "DELETE"
|
3029
|
+
o.http_request_uri = "/?metadataTable"
|
3030
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketMetadataTableConfigurationRequest)
|
3031
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3032
|
+
end)
|
3033
|
+
|
2948
3034
|
api.add_operation(:delete_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2949
3035
|
o.name = "DeleteBucketMetricsConfiguration"
|
2950
3036
|
o.http_method = "DELETE"
|
@@ -3122,6 +3208,14 @@ module Aws::S3
|
|
3122
3208
|
o.output = Shapes::ShapeRef.new(shape: GetBucketLoggingOutput)
|
3123
3209
|
end)
|
3124
3210
|
|
3211
|
+
api.add_operation(:get_bucket_metadata_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3212
|
+
o.name = "GetBucketMetadataTableConfiguration"
|
3213
|
+
o.http_method = "GET"
|
3214
|
+
o.http_request_uri = "/?metadataTable"
|
3215
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketMetadataTableConfigurationRequest)
|
3216
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketMetadataTableConfigurationOutput)
|
3217
|
+
end)
|
3218
|
+
|
3125
3219
|
api.add_operation(:get_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3126
3220
|
o.name = "GetBucketMetricsConfiguration"
|
3127
3221
|
o.http_method = "GET"
|
data/lib/aws-sdk-s3/endpoints.rb
CHANGED
@@ -63,6 +63,18 @@ module Aws::S3
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
class CreateBucketMetadataTableConfiguration
|
67
|
+
def self.build(context)
|
68
|
+
Aws::S3::EndpointParameters.create(
|
69
|
+
context.config,
|
70
|
+
bucket: context.params[:bucket],
|
71
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
72
|
+
accelerate: context[:use_accelerate_endpoint],
|
73
|
+
use_s3_express_control_endpoint: true,
|
74
|
+
)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
66
78
|
class CreateMultipartUpload
|
67
79
|
def self.build(context)
|
68
80
|
Aws::S3::EndpointParameters.create(
|
@@ -171,6 +183,18 @@ module Aws::S3
|
|
171
183
|
end
|
172
184
|
end
|
173
185
|
|
186
|
+
class DeleteBucketMetadataTableConfiguration
|
187
|
+
def self.build(context)
|
188
|
+
Aws::S3::EndpointParameters.create(
|
189
|
+
context.config,
|
190
|
+
bucket: context.params[:bucket],
|
191
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
192
|
+
accelerate: context[:use_accelerate_endpoint],
|
193
|
+
use_s3_express_control_endpoint: true,
|
194
|
+
)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
174
198
|
class DeleteBucketMetricsConfiguration
|
175
199
|
def self.build(context)
|
176
200
|
Aws::S3::EndpointParameters.create(
|
@@ -421,6 +445,18 @@ module Aws::S3
|
|
421
445
|
end
|
422
446
|
end
|
423
447
|
|
448
|
+
class GetBucketMetadataTableConfiguration
|
449
|
+
def self.build(context)
|
450
|
+
Aws::S3::EndpointParameters.create(
|
451
|
+
context.config,
|
452
|
+
bucket: context.params[:bucket],
|
453
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
454
|
+
accelerate: context[:use_accelerate_endpoint],
|
455
|
+
use_s3_express_control_endpoint: true,
|
456
|
+
)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
424
460
|
class GetBucketMetricsConfiguration
|
425
461
|
def self.build(context)
|
426
462
|
Aws::S3::EndpointParameters.create(
|
@@ -1194,6 +1230,8 @@ module Aws::S3
|
|
1194
1230
|
CopyObject.build(context)
|
1195
1231
|
when :create_bucket
|
1196
1232
|
CreateBucket.build(context)
|
1233
|
+
when :create_bucket_metadata_table_configuration
|
1234
|
+
CreateBucketMetadataTableConfiguration.build(context)
|
1197
1235
|
when :create_multipart_upload
|
1198
1236
|
CreateMultipartUpload.build(context)
|
1199
1237
|
when :create_session
|
@@ -1212,6 +1250,8 @@ module Aws::S3
|
|
1212
1250
|
DeleteBucketInventoryConfiguration.build(context)
|
1213
1251
|
when :delete_bucket_lifecycle
|
1214
1252
|
DeleteBucketLifecycle.build(context)
|
1253
|
+
when :delete_bucket_metadata_table_configuration
|
1254
|
+
DeleteBucketMetadataTableConfiguration.build(context)
|
1215
1255
|
when :delete_bucket_metrics_configuration
|
1216
1256
|
DeleteBucketMetricsConfiguration.build(context)
|
1217
1257
|
when :delete_bucket_ownership_controls
|
@@ -1254,6 +1294,8 @@ module Aws::S3
|
|
1254
1294
|
GetBucketLocation.build(context)
|
1255
1295
|
when :get_bucket_logging
|
1256
1296
|
GetBucketLogging.build(context)
|
1297
|
+
when :get_bucket_metadata_table_configuration
|
1298
|
+
GetBucketMetadataTableConfiguration.build(context)
|
1257
1299
|
when :get_bucket_metrics_configuration
|
1258
1300
|
GetBucketMetricsConfiguration.build(context)
|
1259
1301
|
when :get_bucket_notification
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -2530,6 +2530,41 @@ module Aws::S3
|
|
2530
2530
|
include Aws::Structure
|
2531
2531
|
end
|
2532
2532
|
|
2533
|
+
# @!attribute [rw] bucket
|
2534
|
+
# The general purpose bucket that you want to create the metadata
|
2535
|
+
# table configuration in.
|
2536
|
+
# @return [String]
|
2537
|
+
#
|
2538
|
+
# @!attribute [rw] content_md5
|
2539
|
+
# The `Content-MD5` header for the metadata table configuration.
|
2540
|
+
# @return [String]
|
2541
|
+
#
|
2542
|
+
# @!attribute [rw] checksum_algorithm
|
2543
|
+
# The checksum algorithm to use with your metadata table
|
2544
|
+
# configuration.
|
2545
|
+
# @return [String]
|
2546
|
+
#
|
2547
|
+
# @!attribute [rw] metadata_table_configuration
|
2548
|
+
# The contents of your metadata table configuration.
|
2549
|
+
# @return [Types::MetadataTableConfiguration]
|
2550
|
+
#
|
2551
|
+
# @!attribute [rw] expected_bucket_owner
|
2552
|
+
# The expected owner of the general purpose bucket that contains your
|
2553
|
+
# metadata table configuration.
|
2554
|
+
# @return [String]
|
2555
|
+
#
|
2556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketMetadataTableConfigurationRequest AWS API Documentation
|
2557
|
+
#
|
2558
|
+
class CreateBucketMetadataTableConfigurationRequest < Struct.new(
|
2559
|
+
:bucket,
|
2560
|
+
:content_md5,
|
2561
|
+
:checksum_algorithm,
|
2562
|
+
:metadata_table_configuration,
|
2563
|
+
:expected_bucket_owner)
|
2564
|
+
SENSITIVE = []
|
2565
|
+
include Aws::Structure
|
2566
|
+
end
|
2567
|
+
|
2533
2568
|
# @!attribute [rw] location
|
2534
2569
|
# A forward slash followed by the name of the bucket.
|
2535
2570
|
# @return [String]
|
@@ -3856,6 +3891,25 @@ module Aws::S3
|
|
3856
3891
|
include Aws::Structure
|
3857
3892
|
end
|
3858
3893
|
|
3894
|
+
# @!attribute [rw] bucket
|
3895
|
+
# The general purpose bucket that you want to remove the metadata
|
3896
|
+
# table configuration from.
|
3897
|
+
# @return [String]
|
3898
|
+
#
|
3899
|
+
# @!attribute [rw] expected_bucket_owner
|
3900
|
+
# The expected bucket owner of the general purpose bucket that you
|
3901
|
+
# want to remove the metadata table configuration from.
|
3902
|
+
# @return [String]
|
3903
|
+
#
|
3904
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetadataTableConfigurationRequest AWS API Documentation
|
3905
|
+
#
|
3906
|
+
class DeleteBucketMetadataTableConfigurationRequest < Struct.new(
|
3907
|
+
:bucket,
|
3908
|
+
:expected_bucket_owner)
|
3909
|
+
SENSITIVE = []
|
3910
|
+
include Aws::Structure
|
3911
|
+
end
|
3912
|
+
|
3859
3913
|
# @!attribute [rw] bucket
|
3860
3914
|
# The name of the bucket containing the metrics configuration to
|
3861
3915
|
# delete.
|
@@ -5571,6 +5625,103 @@ module Aws::S3
|
|
5571
5625
|
include Aws::Structure
|
5572
5626
|
end
|
5573
5627
|
|
5628
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds, but
|
5629
|
+
# S3 Metadata was unable to create the table, this structure contains
|
5630
|
+
# the error code and error message.
|
5631
|
+
#
|
5632
|
+
# @!attribute [rw] error_code
|
5633
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
5634
|
+
# but S3 Metadata was unable to create the table, this structure
|
5635
|
+
# contains the error code. The possible error codes and error messages
|
5636
|
+
# are as follows:
|
5637
|
+
#
|
5638
|
+
# * `AccessDeniedCreatingResources` - You don't have sufficient
|
5639
|
+
# permissions to create the required resources. Make sure that you
|
5640
|
+
# have `s3tables:CreateNamespace`, `s3tables:CreateTable`,
|
5641
|
+
# `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and
|
5642
|
+
# then try again. To create a new metadata table, you must delete
|
5643
|
+
# the metadata configuration for this bucket, and then create a new
|
5644
|
+
# metadata configuration.
|
5645
|
+
#
|
5646
|
+
# * `AccessDeniedWritingToTable` - Unable to write to the metadata
|
5647
|
+
# table because of missing resource permissions. To fix the resource
|
5648
|
+
# policy, Amazon S3 needs to create a new metadata table. To create
|
5649
|
+
# a new metadata table, you must delete the metadata configuration
|
5650
|
+
# for this bucket, and then create a new metadata configuration.
|
5651
|
+
#
|
5652
|
+
# * `DestinationTableNotFound` - The destination table doesn't exist.
|
5653
|
+
# To create a new metadata table, you must delete the metadata
|
5654
|
+
# configuration for this bucket, and then create a new metadata
|
5655
|
+
# configuration.
|
5656
|
+
#
|
5657
|
+
# * `ServerInternalError` - An internal error has occurred. To create
|
5658
|
+
# a new metadata table, you must delete the metadata configuration
|
5659
|
+
# for this bucket, and then create a new metadata configuration.
|
5660
|
+
#
|
5661
|
+
# * `TableAlreadyExists` - The table that you specified already exists
|
5662
|
+
# in the table bucket's namespace. Specify a different table name.
|
5663
|
+
# To create a new metadata table, you must delete the metadata
|
5664
|
+
# configuration for this bucket, and then create a new metadata
|
5665
|
+
# configuration.
|
5666
|
+
#
|
5667
|
+
# * `TableBucketNotFound` - The table bucket that you specified
|
5668
|
+
# doesn't exist in this Amazon Web Services Region and account.
|
5669
|
+
# Create or choose a different table bucket. To create a new
|
5670
|
+
# metadata table, you must delete the metadata configuration for
|
5671
|
+
# this bucket, and then create a new metadata configuration.
|
5672
|
+
# @return [String]
|
5673
|
+
#
|
5674
|
+
# @!attribute [rw] error_message
|
5675
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
5676
|
+
# but S3 Metadata was unable to create the table, this structure
|
5677
|
+
# contains the error message. The possible error codes and error
|
5678
|
+
# messages are as follows:
|
5679
|
+
#
|
5680
|
+
# * `AccessDeniedCreatingResources` - You don't have sufficient
|
5681
|
+
# permissions to create the required resources. Make sure that you
|
5682
|
+
# have `s3tables:CreateNamespace`, `s3tables:CreateTable`,
|
5683
|
+
# `s3tables:GetTable` and `s3tables:PutTablePolicy` permissions, and
|
5684
|
+
# then try again. To create a new metadata table, you must delete
|
5685
|
+
# the metadata configuration for this bucket, and then create a new
|
5686
|
+
# metadata configuration.
|
5687
|
+
#
|
5688
|
+
# * `AccessDeniedWritingToTable` - Unable to write to the metadata
|
5689
|
+
# table because of missing resource permissions. To fix the resource
|
5690
|
+
# policy, Amazon S3 needs to create a new metadata table. To create
|
5691
|
+
# a new metadata table, you must delete the metadata configuration
|
5692
|
+
# for this bucket, and then create a new metadata configuration.
|
5693
|
+
#
|
5694
|
+
# * `DestinationTableNotFound` - The destination table doesn't exist.
|
5695
|
+
# To create a new metadata table, you must delete the metadata
|
5696
|
+
# configuration for this bucket, and then create a new metadata
|
5697
|
+
# configuration.
|
5698
|
+
#
|
5699
|
+
# * `ServerInternalError` - An internal error has occurred. To create
|
5700
|
+
# a new metadata table, you must delete the metadata configuration
|
5701
|
+
# for this bucket, and then create a new metadata configuration.
|
5702
|
+
#
|
5703
|
+
# * `TableAlreadyExists` - The table that you specified already exists
|
5704
|
+
# in the table bucket's namespace. Specify a different table name.
|
5705
|
+
# To create a new metadata table, you must delete the metadata
|
5706
|
+
# configuration for this bucket, and then create a new metadata
|
5707
|
+
# configuration.
|
5708
|
+
#
|
5709
|
+
# * `TableBucketNotFound` - The table bucket that you specified
|
5710
|
+
# doesn't exist in this Amazon Web Services Region and account.
|
5711
|
+
# Create or choose a different table bucket. To create a new
|
5712
|
+
# metadata table, you must delete the metadata configuration for
|
5713
|
+
# this bucket, and then create a new metadata configuration.
|
5714
|
+
# @return [String]
|
5715
|
+
#
|
5716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDetails AWS API Documentation
|
5717
|
+
#
|
5718
|
+
class ErrorDetails < Struct.new(
|
5719
|
+
:error_code,
|
5720
|
+
:error_message)
|
5721
|
+
SENSITIVE = []
|
5722
|
+
include Aws::Structure
|
5723
|
+
end
|
5724
|
+
|
5574
5725
|
# The error information.
|
5575
5726
|
#
|
5576
5727
|
# @!attribute [rw] key
|
@@ -6166,6 +6317,73 @@ module Aws::S3
|
|
6166
6317
|
include Aws::Structure
|
6167
6318
|
end
|
6168
6319
|
|
6320
|
+
# @!attribute [rw] get_bucket_metadata_table_configuration_result
|
6321
|
+
# The metadata table configuration for the general purpose bucket.
|
6322
|
+
# @return [Types::GetBucketMetadataTableConfigurationResult]
|
6323
|
+
#
|
6324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationOutput AWS API Documentation
|
6325
|
+
#
|
6326
|
+
class GetBucketMetadataTableConfigurationOutput < Struct.new(
|
6327
|
+
:get_bucket_metadata_table_configuration_result)
|
6328
|
+
SENSITIVE = []
|
6329
|
+
include Aws::Structure
|
6330
|
+
end
|
6331
|
+
|
6332
|
+
# @!attribute [rw] bucket
|
6333
|
+
# The general purpose bucket that contains the metadata table
|
6334
|
+
# configuration that you want to retrieve.
|
6335
|
+
# @return [String]
|
6336
|
+
#
|
6337
|
+
# @!attribute [rw] expected_bucket_owner
|
6338
|
+
# The expected owner of the general purpose bucket that you want to
|
6339
|
+
# retrieve the metadata table configuration from.
|
6340
|
+
# @return [String]
|
6341
|
+
#
|
6342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationRequest AWS API Documentation
|
6343
|
+
#
|
6344
|
+
class GetBucketMetadataTableConfigurationRequest < Struct.new(
|
6345
|
+
:bucket,
|
6346
|
+
:expected_bucket_owner)
|
6347
|
+
SENSITIVE = []
|
6348
|
+
include Aws::Structure
|
6349
|
+
end
|
6350
|
+
|
6351
|
+
# The metadata table configuration for a general purpose bucket.
|
6352
|
+
#
|
6353
|
+
# @!attribute [rw] metadata_table_configuration_result
|
6354
|
+
# The metadata table configuration for a general purpose bucket.
|
6355
|
+
# @return [Types::MetadataTableConfigurationResult]
|
6356
|
+
#
|
6357
|
+
# @!attribute [rw] status
|
6358
|
+
# The status of the metadata table. The status values are:
|
6359
|
+
#
|
6360
|
+
# * `CREATING` - The metadata table is in the process of being created
|
6361
|
+
# in the specified table bucket.
|
6362
|
+
#
|
6363
|
+
# * `ACTIVE` - The metadata table has been created successfully and
|
6364
|
+
# records are being delivered to the table.
|
6365
|
+
#
|
6366
|
+
# * `FAILED` - Amazon S3 is unable to create the metadata table, or
|
6367
|
+
# Amazon S3 is unable to deliver records. See `ErrorDetails` for
|
6368
|
+
# details.
|
6369
|
+
# @return [String]
|
6370
|
+
#
|
6371
|
+
# @!attribute [rw] error
|
6372
|
+
# If the `CreateBucketMetadataTableConfiguration` request succeeds,
|
6373
|
+
# but S3 Metadata was unable to create the table, this structure
|
6374
|
+
# contains the error code and error message.
|
6375
|
+
# @return [Types::ErrorDetails]
|
6376
|
+
#
|
6377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetadataTableConfigurationResult AWS API Documentation
|
6378
|
+
#
|
6379
|
+
class GetBucketMetadataTableConfigurationResult < Struct.new(
|
6380
|
+
:metadata_table_configuration_result,
|
6381
|
+
:status,
|
6382
|
+
:error)
|
6383
|
+
SENSITIVE = []
|
6384
|
+
include Aws::Structure
|
6385
|
+
end
|
6386
|
+
|
6169
6387
|
# @!attribute [rw] metrics_configuration
|
6170
6388
|
# Specifies the metrics configuration.
|
6171
6389
|
# @return [Types::MetricsConfiguration]
|
@@ -11554,6 +11772,46 @@ module Aws::S3
|
|
11554
11772
|
include Aws::Structure
|
11555
11773
|
end
|
11556
11774
|
|
11775
|
+
# The metadata table configuration for a general purpose bucket.
|
11776
|
+
#
|
11777
|
+
# @!attribute [rw] s3_tables_destination
|
11778
|
+
# The destination information for the metadata table configuration.
|
11779
|
+
# The destination table bucket must be in the same Region and Amazon
|
11780
|
+
# Web Services account as the general purpose bucket. The specified
|
11781
|
+
# metadata table name must be unique within the `aws_s3_metadata`
|
11782
|
+
# namespace in the destination table bucket.
|
11783
|
+
# @return [Types::S3TablesDestination]
|
11784
|
+
#
|
11785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataTableConfiguration AWS API Documentation
|
11786
|
+
#
|
11787
|
+
class MetadataTableConfiguration < Struct.new(
|
11788
|
+
:s3_tables_destination)
|
11789
|
+
SENSITIVE = []
|
11790
|
+
include Aws::Structure
|
11791
|
+
end
|
11792
|
+
|
11793
|
+
# The metadata table configuration for a general purpose bucket. The
|
11794
|
+
# destination table bucket must be in the same Region and Amazon Web
|
11795
|
+
# Services account as the general purpose bucket. The specified metadata
|
11796
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
11797
|
+
# the destination table bucket.
|
11798
|
+
#
|
11799
|
+
# @!attribute [rw] s3_tables_destination_result
|
11800
|
+
# The destination information for the metadata table configuration.
|
11801
|
+
# The destination table bucket must be in the same Region and Amazon
|
11802
|
+
# Web Services account as the general purpose bucket. The specified
|
11803
|
+
# metadata table name must be unique within the `aws_s3_metadata`
|
11804
|
+
# namespace in the destination table bucket.
|
11805
|
+
# @return [Types::S3TablesDestinationResult]
|
11806
|
+
#
|
11807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataTableConfigurationResult AWS API Documentation
|
11808
|
+
#
|
11809
|
+
class MetadataTableConfigurationResult < Struct.new(
|
11810
|
+
:s3_tables_destination_result)
|
11811
|
+
SENSITIVE = []
|
11812
|
+
include Aws::Structure
|
11813
|
+
end
|
11814
|
+
|
11557
11815
|
# A container specifying replication metrics-related settings enabling
|
11558
11816
|
# replication metrics and events.
|
11559
11817
|
#
|
@@ -16425,6 +16683,78 @@ module Aws::S3
|
|
16425
16683
|
include Aws::Structure
|
16426
16684
|
end
|
16427
16685
|
|
16686
|
+
# The destination information for the metadata table configuration. The
|
16687
|
+
# destination table bucket must be in the same Region and Amazon Web
|
16688
|
+
# Services account as the general purpose bucket. The specified metadata
|
16689
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
16690
|
+
# the destination table bucket.
|
16691
|
+
#
|
16692
|
+
# @!attribute [rw] table_bucket_arn
|
16693
|
+
# The Amazon Resource Name (ARN) for the table bucket that's
|
16694
|
+
# specified as the destination in the metadata table configuration.
|
16695
|
+
# The destination table bucket must be in the same Region and Amazon
|
16696
|
+
# Web Services account as the general purpose bucket.
|
16697
|
+
# @return [String]
|
16698
|
+
#
|
16699
|
+
# @!attribute [rw] table_name
|
16700
|
+
# The name for the metadata table in your metadata table
|
16701
|
+
# configuration. The specified metadata table name must be unique
|
16702
|
+
# within the `aws_s3_metadata` namespace in the destination table
|
16703
|
+
# bucket.
|
16704
|
+
# @return [String]
|
16705
|
+
#
|
16706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3TablesDestination AWS API Documentation
|
16707
|
+
#
|
16708
|
+
class S3TablesDestination < Struct.new(
|
16709
|
+
:table_bucket_arn,
|
16710
|
+
:table_name)
|
16711
|
+
SENSITIVE = []
|
16712
|
+
include Aws::Structure
|
16713
|
+
end
|
16714
|
+
|
16715
|
+
# The destination information for the metadata table configuration. The
|
16716
|
+
# destination table bucket must be in the same Region and Amazon Web
|
16717
|
+
# Services account as the general purpose bucket. The specified metadata
|
16718
|
+
# table name must be unique within the `aws_s3_metadata` namespace in
|
16719
|
+
# the destination table bucket.
|
16720
|
+
#
|
16721
|
+
# @!attribute [rw] table_bucket_arn
|
16722
|
+
# The Amazon Resource Name (ARN) for the table bucket that's
|
16723
|
+
# specified as the destination in the metadata table configuration.
|
16724
|
+
# The destination table bucket must be in the same Region and Amazon
|
16725
|
+
# Web Services account as the general purpose bucket.
|
16726
|
+
# @return [String]
|
16727
|
+
#
|
16728
|
+
# @!attribute [rw] table_name
|
16729
|
+
# The name for the metadata table in your metadata table
|
16730
|
+
# configuration. The specified metadata table name must be unique
|
16731
|
+
# within the `aws_s3_metadata` namespace in the destination table
|
16732
|
+
# bucket.
|
16733
|
+
# @return [String]
|
16734
|
+
#
|
16735
|
+
# @!attribute [rw] table_arn
|
16736
|
+
# The Amazon Resource Name (ARN) for the metadata table in the
|
16737
|
+
# metadata table configuration. The specified metadata table name must
|
16738
|
+
# be unique within the `aws_s3_metadata` namespace in the destination
|
16739
|
+
# table bucket.
|
16740
|
+
# @return [String]
|
16741
|
+
#
|
16742
|
+
# @!attribute [rw] table_namespace
|
16743
|
+
# The table bucket namespace for the metadata table in your metadata
|
16744
|
+
# table configuration. This value is always `aws_s3_metadata`.
|
16745
|
+
# @return [String]
|
16746
|
+
#
|
16747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3TablesDestinationResult AWS API Documentation
|
16748
|
+
#
|
16749
|
+
class S3TablesDestinationResult < Struct.new(
|
16750
|
+
:table_bucket_arn,
|
16751
|
+
:table_name,
|
16752
|
+
:table_arn,
|
16753
|
+
:table_namespace)
|
16754
|
+
SENSITIVE = []
|
16755
|
+
include Aws::Structure
|
16756
|
+
end
|
16757
|
+
|
16428
16758
|
# Specifies the use of SSE-KMS to encrypt delivered inventory reports.
|
16429
16759
|
#
|
16430
16760
|
# @!attribute [rw] key_id
|
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -242,6 +242,21 @@ module Aws
|
|
242
242
|
) -> _CreateBucketResponseSuccess
|
243
243
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
|
244
244
|
|
245
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
|
246
|
+
def create_bucket_metadata_table_configuration: (
|
247
|
+
bucket: ::String,
|
248
|
+
?content_md5: ::String,
|
249
|
+
?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
|
250
|
+
metadata_table_configuration: {
|
251
|
+
s3_tables_destination: {
|
252
|
+
table_bucket_arn: ::String,
|
253
|
+
table_name: ::String
|
254
|
+
}
|
255
|
+
},
|
256
|
+
?expected_bucket_owner: ::String
|
257
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
259
|
+
|
245
260
|
interface _CreateMultipartUploadResponseSuccess
|
246
261
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultipartUploadOutput]
|
247
262
|
def abort_date: () -> ::Time
|
@@ -363,6 +378,13 @@ module Aws
|
|
363
378
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
364
379
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
365
380
|
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
|
382
|
+
def delete_bucket_metadata_table_configuration: (
|
383
|
+
bucket: ::String,
|
384
|
+
?expected_bucket_owner: ::String
|
385
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
386
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
387
|
+
|
366
388
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
|
367
389
|
def delete_bucket_metrics_configuration: (
|
368
390
|
bucket: ::String,
|
@@ -603,6 +625,17 @@ module Aws
|
|
603
625
|
) -> _GetBucketLoggingResponseSuccess
|
604
626
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
|
605
627
|
|
628
|
+
interface _GetBucketMetadataTableConfigurationResponseSuccess
|
629
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
|
630
|
+
def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
|
631
|
+
end
|
632
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_table_configuration-instance_method
|
633
|
+
def get_bucket_metadata_table_configuration: (
|
634
|
+
bucket: ::String,
|
635
|
+
?expected_bucket_owner: ::String
|
636
|
+
) -> _GetBucketMetadataTableConfigurationResponseSuccess
|
637
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataTableConfigurationResponseSuccess
|
638
|
+
|
606
639
|
interface _GetBucketMetricsConfigurationResponseSuccess
|
607
640
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
|
608
641
|
def metrics_configuration: () -> Types::MetricsConfiguration
|
data/sig/types.rbs
CHANGED
@@ -313,6 +313,15 @@ module Aws::S3
|
|
313
313
|
SENSITIVE: []
|
314
314
|
end
|
315
315
|
|
316
|
+
class CreateBucketMetadataTableConfigurationRequest
|
317
|
+
attr_accessor bucket: ::String
|
318
|
+
attr_accessor content_md5: ::String
|
319
|
+
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
320
|
+
attr_accessor metadata_table_configuration: Types::MetadataTableConfiguration
|
321
|
+
attr_accessor expected_bucket_owner: ::String
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
316
325
|
class CreateBucketOutput
|
317
326
|
attr_accessor location: ::String
|
318
327
|
SENSITIVE: []
|
@@ -453,6 +462,12 @@ module Aws::S3
|
|
453
462
|
SENSITIVE: []
|
454
463
|
end
|
455
464
|
|
465
|
+
class DeleteBucketMetadataTableConfigurationRequest
|
466
|
+
attr_accessor bucket: ::String
|
467
|
+
attr_accessor expected_bucket_owner: ::String
|
468
|
+
SENSITIVE: []
|
469
|
+
end
|
470
|
+
|
456
471
|
class DeleteBucketMetricsConfigurationRequest
|
457
472
|
attr_accessor bucket: ::String
|
458
473
|
attr_accessor id: ::String
|
@@ -615,6 +630,12 @@ module Aws::S3
|
|
615
630
|
SENSITIVE: []
|
616
631
|
end
|
617
632
|
|
633
|
+
class ErrorDetails
|
634
|
+
attr_accessor error_code: ::String
|
635
|
+
attr_accessor error_message: ::String
|
636
|
+
SENSITIVE: []
|
637
|
+
end
|
638
|
+
|
618
639
|
class ErrorDocument
|
619
640
|
attr_accessor key: ::String
|
620
641
|
SENSITIVE: []
|
@@ -761,6 +782,24 @@ module Aws::S3
|
|
761
782
|
SENSITIVE: []
|
762
783
|
end
|
763
784
|
|
785
|
+
class GetBucketMetadataTableConfigurationOutput
|
786
|
+
attr_accessor get_bucket_metadata_table_configuration_result: Types::GetBucketMetadataTableConfigurationResult
|
787
|
+
SENSITIVE: []
|
788
|
+
end
|
789
|
+
|
790
|
+
class GetBucketMetadataTableConfigurationRequest
|
791
|
+
attr_accessor bucket: ::String
|
792
|
+
attr_accessor expected_bucket_owner: ::String
|
793
|
+
SENSITIVE: []
|
794
|
+
end
|
795
|
+
|
796
|
+
class GetBucketMetadataTableConfigurationResult
|
797
|
+
attr_accessor metadata_table_configuration_result: Types::MetadataTableConfigurationResult
|
798
|
+
attr_accessor status: ::String
|
799
|
+
attr_accessor error: Types::ErrorDetails
|
800
|
+
SENSITIVE: []
|
801
|
+
end
|
802
|
+
|
764
803
|
class GetBucketMetricsConfigurationOutput
|
765
804
|
attr_accessor metrics_configuration: Types::MetricsConfiguration
|
766
805
|
SENSITIVE: []
|
@@ -1583,6 +1622,16 @@ module Aws::S3
|
|
1583
1622
|
SENSITIVE: []
|
1584
1623
|
end
|
1585
1624
|
|
1625
|
+
class MetadataTableConfiguration
|
1626
|
+
attr_accessor s3_tables_destination: Types::S3TablesDestination
|
1627
|
+
SENSITIVE: []
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
class MetadataTableConfigurationResult
|
1631
|
+
attr_accessor s3_tables_destination_result: Types::S3TablesDestinationResult
|
1632
|
+
SENSITIVE: []
|
1633
|
+
end
|
1634
|
+
|
1586
1635
|
class Metrics
|
1587
1636
|
attr_accessor status: ("Enabled" | "Disabled")
|
1588
1637
|
attr_accessor event_threshold: Types::ReplicationTimeValue
|
@@ -2322,6 +2371,20 @@ module Aws::S3
|
|
2322
2371
|
SENSITIVE: []
|
2323
2372
|
end
|
2324
2373
|
|
2374
|
+
class S3TablesDestination
|
2375
|
+
attr_accessor table_bucket_arn: ::String
|
2376
|
+
attr_accessor table_name: ::String
|
2377
|
+
SENSITIVE: []
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
class S3TablesDestinationResult
|
2381
|
+
attr_accessor table_bucket_arn: ::String
|
2382
|
+
attr_accessor table_name: ::String
|
2383
|
+
attr_accessor table_arn: ::String
|
2384
|
+
attr_accessor table_namespace: ::String
|
2385
|
+
SENSITIVE: []
|
2386
|
+
end
|
2387
|
+
|
2325
2388
|
class SSEKMS
|
2326
2389
|
attr_accessor key_id: ::String
|
2327
2390
|
SENSITIVE: [:key_id]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.176.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|