Skip to content

/AWS1/IF_S3T=>PUTTABLERECORDEXPIRATIONCONF()

About PutTableRecordExpirationConfiguration

Creates or updates the expiration configuration settings for records in a table, including the status of the configuration. If you enable record expiration for a table, records expire and are automatically removed from the table after the number of days that you specify.

Permissions

You must have the s3tables:PutTableRecordExpirationConfiguration permission to use this operation.

Method Signature

METHODS /AWS1/IF_S3T~PUTTABLERECORDEXPIRATIONCONF
  IMPORTING
    !IV_TABLEARN TYPE /AWS1/S3TTABLEARN OPTIONAL
    !IO_VALUE TYPE REF TO /AWS1/CL_S3TTBLRECEXPIRCONFVAL OPTIONAL
  RAISING
    /AWS1/CX_S3TBADREQUESTEX
    /AWS1/CX_S3TFORBIDDENEXCEPTION
    /AWS1/CX_S3TINTERNALSERVERER00
    /AWS1/CX_S3TMETHODNOTALLOWEDEX
    /AWS1/CX_S3TNOTFOUNDEXCEPTION
    /AWS1/CX_S3TTOOMANYREQUESTSEX
    /AWS1/CX_S3TCLIENTEXC
    /AWS1/CX_S3TSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_tablearn TYPE /AWS1/S3TTABLEARN /AWS1/S3TTABLEARN

The Amazon Resource Name (ARN) of the table.

io_value TYPE REF TO /AWS1/CL_S3TTBLRECEXPIRCONFVAL /AWS1/CL_S3TTBLRECEXPIRCONFVAL

The record expiration configuration to apply to the table, including the status (enabled or disabled) and retention period in days.

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->puttablerecordexpirationconf(
  io_value = new /aws1/cl_s3ttblrecexpirconfval(
    io_settings = new /aws1/cl_s3ttablerecexpirstgs( 123 )
    iv_status = |string|
  )
  iv_tablearn = |string|
).