Create Bucket Metadata Table Configuration
s3_create_bucket_metadata_table_configuration | R Documentation |
Creates a metadata table configuration for a general purpose bucket¶
Description¶
Creates a metadata table configuration for a general purpose bucket. For more information, see Accelerating data discovery with S3 Metadata in the Amazon S3 User Guide.
Permissions¶
To use this operation, you must have the following permissions. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide.
If you also want to integrate your table bucket with Amazon Web Services analytics services so that you can query your metadata table, you need additional permissions. For more information, see Integrating Amazon S3 Tables with Amazon Web Services analytics services in the Amazon S3 User Guide.
-
s3:CreateBucketMetadataTableConfiguration
-
s3tables:CreateNamespace
-
s3tables:GetTable
-
s3tables:CreateTable
-
s3tables:PutTablePolicy
The following operations are related to
create_bucket_metadata_table_configuration
:
-
delete_bucket_metadata_table_configuration
-
get_bucket_metadata_table_configuration
Usage¶
s3_create_bucket_metadata_table_configuration(Bucket, ContentMD5,
ChecksumAlgorithm, MetadataTableConfiguration, ExpectedBucketOwner)
Arguments¶
Bucket
[required] The general purpose bucket that you want to create the metadata table configuration in.
ContentMD5
The
Content-MD5
header for the metadata table configuration.ChecksumAlgorithm
The checksum algorithm to use with your metadata table configuration.
MetadataTableConfiguration
[required] The contents of your metadata table configuration.
ExpectedBucketOwner
The expected owner of the general purpose bucket that contains your metadata table configuration.
Value¶
An empty list.
Request syntax¶
svc$create_bucket_metadata_table_configuration(
Bucket = "string",
ContentMD5 = "string",
ChecksumAlgorithm = "CRC32"|"CRC32C"|"SHA1"|"SHA256"|"CRC64NVME",
MetadataTableConfiguration = list(
S3TablesDestination = list(
TableBucketArn = "string",
TableName = "string"
)
),
ExpectedBucketOwner = "string"
)