awswrangler.lakeformation.commit_transaction

awswrangler.lakeformation.commit_transaction(transaction_id: str, boto3_session: Optional[boto3.session.Session] = None) None

Commit the specified transaction. Returns exception if the transaction was previously canceled.

Parameters
  • transaction_id (str) – The ID of the transaction.

  • boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session received None.

Returns

None.

Return type

None

Examples

>>> import awswrangler as wr
>>> wr.lakeformation.commit_transaction(transaction_id="...")