Skip to content

List Transactions

lakeformation_list_transactions R Documentation

Returns metadata about transactions and their status

Description

Returns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.

This operation can help you identify uncommitted transactions or to get information about transactions.

Usage

lakeformation_list_transactions(CatalogId, StatusFilter, MaxResults,
  NextToken)

Arguments

CatalogId

The catalog for which to list transactions. Defaults to the account ID of the caller.

StatusFilter

A filter indicating the status of transactions to return. Options are ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is ALL.

MaxResults

The maximum number of transactions to return in a single call.

NextToken

A continuation token if this is not the first call to retrieve transactions.

Value

A list with the following syntax:

list(
  Transactions = list(
    list(
      TransactionId = "string",
      TransactionStatus = "ACTIVE"|"COMMITTED"|"ABORTED"|"COMMIT_IN_PROGRESS",
      TransactionStartTime = as.POSIXct(
        "2015-01-01"
      ),
      TransactionEndTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_transactions(
  CatalogId = "string",
  StatusFilter = "ALL"|"COMPLETED"|"ACTIVE"|"COMMITTED"|"ABORTED",
  MaxResults = 123,
  NextToken = "string"
)