describe_transaction
(**kwargs)¶Returns the details of a single transaction.
See also: AWS API Documentation
Request Syntax
response = client.describe_transaction(
TransactionId='string'
)
[REQUIRED]
The transaction for which to return status.
{
'TransactionDescription': {
'TransactionId': 'string',
'TransactionStatus': 'ACTIVE'|'COMMITTED'|'ABORTED'|'COMMIT_IN_PROGRESS',
'TransactionStartTime': datetime(2015, 1, 1),
'TransactionEndTime': datetime(2015, 1, 1)
}
}
Response Structure
Returns a TransactionDescription
object containing information about the transaction.
The ID of the transaction.
A status of ACTIVE, COMMITTED, or ABORTED.
The time when the transaction started.
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