Skip to content

Put Table Record Expiration Configuration

s3tables_put_table_record_expiration_configuration R Documentation

Creates or updates the expiration configuration settings for records in a table, including the status of the configuration

Description

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.

Usage

s3tables_put_table_record_expiration_configuration(tableArn, value)

Arguments

tableArn

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

value

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

Value

An empty list.

Request syntax

svc$put_table_record_expiration_configuration(
  tableArn = "string",
  value = list(
    status = "enabled"|"disabled",
    settings = list(
      days = 123
    )
  )
)