awswrangler.lakeformation.describe_transaction¶
- awswrangler.lakeformation.describe_transaction(transaction_id: str, boto3_session: Optional[Session] = None) str ¶
Return the status of a single transaction.
- 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
Transaction status (i.e. active|committed|aborted).
- Return type
str
Examples
>>> import awswrangler as wr >>> status = wr.lakeformation.describe_transaction(transaction_id="...")