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
4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 | |