list_transactions
¶
list_transactions(
*,
config_overrides: Optional[LakeFormationClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
status_filter: Optional[TransactionStatusFilter] = None,
max_results: Optional[PageSize] = None,
next_token: Optional[TokenString] = None,
) -> ListTransactionsResponse
Returns metadata about transactions and their status. To prevent the response from growing indefinitely, only uncommitted transactions and those available for time-travel queries are returned.
This operation can help you identify uncommitted transactions or to get information about transactions.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The catalog for which to list transactions. Defaults to the account ID of the caller.
-
status_filter(Optional[TransactionStatusFilter], default:None) –A filter indicating the status of transactions to return. Options are ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is
ALL. -
max_results(Optional[PageSize], default:None) –The maximum number of transactions to return in a single call.
-
next_token(Optional[TokenString], default:None) –A continuation token if this is not the first call to retrieve transactions.
Raises:
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lakeformation/_services/lake_formation.py
3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 | |