describe_transaction

LakeFormation.Client.describe_transaction(**kwargs)

Returns the details of a single transaction.

See also: AWS API Documentation

Request Syntax

response = client.describe_transaction(
    TransactionId='string'
)
Parameters
TransactionId (string) --

[REQUIRED]

The transaction for which to return status.

Return type
dict
Returns
Response Syntax
{
    'TransactionDescription': {
        'TransactionId': 'string',
        'TransactionStatus': 'ACTIVE'|'COMMITTED'|'ABORTED'|'COMMIT_IN_PROGRESS',
        'TransactionStartTime': datetime(2015, 1, 1),
        'TransactionEndTime': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --
    • TransactionDescription (dict) --

      Returns a TransactionDescription object containing information about the transaction.

      • TransactionId (string) --

        The ID of the transaction.

      • TransactionStatus (string) --

        A status of ACTIVE, COMMITTED, or ABORTED.

      • TransactionStartTime (datetime) --

        The time when the transaction started.

      • TransactionEndTime (datetime) --

        The time when the transaction committed or aborted, if it is not currently active.

Exceptions

  • LakeFormation.Client.exceptions.EntityNotFoundException
  • LakeFormation.Client.exceptions.InvalidInputException
  • LakeFormation.Client.exceptions.InternalServiceException
  • LakeFormation.Client.exceptions.OperationTimeoutException