commit_transaction

LakeFormation.Client.commit_transaction(**kwargs)

Attempts to commit the specified transaction. Returns an exception if the transaction was previously aborted. This API action is idempotent if called multiple times for the same transaction.

See also: AWS API Documentation

Request Syntax

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

[REQUIRED]

The transaction to commit.

Return type
dict
Returns
Response Syntax
{
    'TransactionStatus': 'ACTIVE'|'COMMITTED'|'ABORTED'|'COMMIT_IN_PROGRESS'
}

Response Structure

  • (dict) --
    • TransactionStatus (string) --

      The status of the transaction.

Exceptions

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