Skip to content

Get Table Record Expiration Configuration

s3tables_get_table_record_expiration_configuration R Documentation

Retrieves the expiration configuration settings for records in a table, and the status of the configuration

Description

Retrieves the expiration configuration settings for records in a table, and the status of the configuration. If the status of the configuration is enabled, records expire and are automatically removed from the table after the specified number of days.

Permissions

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

Usage

s3tables_get_table_record_expiration_configuration(tableArn)

Arguments

tableArn

[required] The Amazon Resource Name (ARN) of the table.

Value

A list with the following syntax:

list(
  configuration = list(
    status = "enabled"|"disabled",
    settings = list(
      days = 123
    )
  )
)

Request syntax

svc$get_table_record_expiration_configuration(
  tableArn = "string"
)