Skip to content

/AWS1/CL_S3=>UPDATEBUCKETMETINVTABLECONF()

About UpdateBucketMetadataInventoryTableConfiguration

Enables or disables a live inventory table for an S3 Metadata configuration on 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 inventory table with server-side encryption with Key Management Service (KMS) keys (SSE-KMS), you need additional permissions in your KMS key policy. For more information, see Setting up permissions for configuring metadata tables in the Amazon S3 User Guide.

  • s3:UpdateBucketMetadataInventoryTableConfiguration

  • s3tables:CreateTableBucket

  • s3tables:CreateNamespace

  • s3tables:GetTable

  • s3tables:CreateTable

  • s3tables:PutTablePolicy

  • s3tables:PutTableEncryption

  • kms:DescribeKey

The following operations are related to UpdateBucketMetadataInventoryTableConfiguration:

Method Signature

IMPORTING

Required arguments:

iv_bucket TYPE /AWS1/S3_BUCKETNAME /AWS1/S3_BUCKETNAME

The general purpose bucket that corresponds to the metadata configuration that you want to enable or disable an inventory table for.

io_inventorytableconf TYPE REF TO /AWS1/CL_S3_INVTABLECONFUPDS /AWS1/CL_S3_INVTABLECONFUPDS

The contents of your inventory table configuration.

Optional arguments:

iv_contentmd5 TYPE /AWS1/S3_CONTENTMD5 /AWS1/S3_CONTENTMD5

The Content-MD5 header for the inventory table configuration.

iv_checksumalgorithm TYPE /AWS1/S3_CHECKSUMALGORITHM /AWS1/S3_CHECKSUMALGORITHM

The checksum algorithm to use with your inventory table configuration.

iv_expectedbucketowner TYPE /AWS1/S3_ACCOUNTID /AWS1/S3_ACCOUNTID

The expected owner of the general purpose bucket that corresponds to the metadata table configuration that you want to enable or disable an inventory table for.

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~updatebucketmetinvtableconf(
  io_inventorytableconf = new /aws1/cl_s3_invtableconfupds(
    io_encryptionconfiguration = new /aws1/cl_s3_mettableencconf(
      iv_kmskeyarn = |string|
      iv_ssealgorithm = |string|
    )
    iv_configurationstate = |string|
  )
  iv_bucket = |string|
  iv_checksumalgorithm = |string|
  iv_contentmd5 = |string|
  iv_expectedbucketowner = |string|
).