list_prepared_statements
async
¶
list_prepared_statements(
work_group: WorkGroupName,
*,
config_overrides: Optional[AsyncAthenaClientConfig] = None,
next_token: Optional[Token] = None,
max_results: Optional[MaxPreparedStatementsCount] = None,
) -> ListPreparedStatementsOutput
Lists the prepared statements in the specified workgroup.
Parameters:
-
work_group(WorkGroupName) –The workgroup to list the prepared statements for.
-
next_token(Optional[Token], default:None) –A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the
NextTokenfrom the response object of the previous page call. -
max_results(Optional[MaxPreparedStatementsCount], default:None) –The maximum number of results to return in this request.
Raises:
-
InternalServerException–Indicates a platform issue, which may be due to a transient condition or outage.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.
-
UnknownServiceError–The service returned an error code this client does not model.