Skip to content

Get Table Record Expiration Job Status

s3tables_get_table_record_expiration_job_status R Documentation

Retrieves the status, metrics, and details of the latest record expiration job for a table

Description

Retrieves the status, metrics, and details of the latest record expiration job for a table. This includes when the job ran, and whether it succeeded or failed. If the job ran successfully, this also includes statistics about the records that were removed.

Permissions

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

Usage

s3tables_get_table_record_expiration_job_status(tableArn)

Arguments

tableArn

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

Value

A list with the following syntax:

list(
  status = "NotYetRun"|"Successful"|"Failed"|"Disabled",
  lastRunTimestamp = as.POSIXct(
    "2015-01-01"
  ),
  failureMessage = "string",
  metrics = list(
    deletedDataFiles = 123,
    deletedRecords = 123,
    removedFilesSize = 123
  )
)

Request syntax

svc$get_table_record_expiration_job_status(
  tableArn = "string"
)