Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

commit_transaction

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