/AWS1/CL_S3=>CREATEBUCKETMETTABLECONF()
¶
About CreateBucketMetadataTableConfiguration¶
We recommend that you create your S3 Metadata configurations by using the V2
CreateBucketMetadataConfiguration API operation. We no longer recommend using the V1
CreateBucketMetadataTableConfiguration
API operation.
If you created your S3 Metadata configuration before July 15, 2025, we recommend that you delete and re-create your configuration by using CreateBucketMetadataConfiguration so that you can expire journal table records and create a live inventory table.
Creates a V1 S3 Metadata 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 want to encrypt your metadata tables with server-side encryption with Key Management Service (KMS) keys (SSE-KMS), you need additional 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 CreateBucketMetadataTableConfiguration
:
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_bucket
TYPE /AWS1/S3_BUCKETNAME
/AWS1/S3_BUCKETNAME
¶
The general purpose bucket that you want to create the metadata table configuration for.
io_metadatatableconf
TYPE REF TO /AWS1/CL_S3_METADATATABLECONF
/AWS1/CL_S3_METADATATABLECONF
¶
The contents of your metadata table configuration.
Optional arguments:¶
iv_contentmd5
TYPE /AWS1/S3_CONTENTMD5
/AWS1/S3_CONTENTMD5
¶
The
Content-MD5
header for the metadata table configuration.
iv_checksumalgorithm
TYPE /AWS1/S3_CHECKSUMALGORITHM
/AWS1/S3_CHECKSUMALGORITHM
¶
The checksum algorithm to use with your metadata table configuration.
iv_expectedbucketowner
TYPE /AWS1/S3_ACCOUNTID
/AWS1/S3_ACCOUNTID
¶
The expected owner of the general purpose bucket that corresponds to your metadata table configuration.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->/aws1/if_s3~createbucketmettableconf(
io_metadatatableconf = new /aws1/cl_s3_metadatatableconf(
io_s3tablesdestination = new /aws1/cl_s3_s3tablesdst(
iv_tablebucketarn = |string|
iv_tablename = |string|
)
)
iv_bucket = |string|
iv_checksumalgorithm = |string|
iv_contentmd5 = |string|
iv_expectedbucketowner = |string|
).