list_transactions
async
¶
list_transactions(
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = 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/async_lake_formation.py
3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 | |