AthenaClient.batch_get_prepared_statement
rboto-athena==0.4.0 · Service index · Types
Model summary (excerpt): Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in UnprocessedPreparedStatementNames .
Install and imports
from rboto import AthenaClient
from collections.abc import Sequence
from rboto_athena.types import (
BatchGetPreparedStatementOutput,
)
Signature
async def batch_get_prepared_statement(
*,
prepared_statement_names: Sequence[str],
work_group: str,
) -> BatchGetPreparedStatementOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
prepared_statement_names |
Yes | A list of prepared statement names to return. |
work_group |
Yes | The name of the workgroup to which the prepared statements belong. |
Output
BatchGetPreparedStatementOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
prepared_statements |
list[PreparedStatementOutput] | None |
Always present | PreparedStatementOutput |
unprocessed_prepared_statement_names |
list[UnprocessedPreparedStatementNameOutput] | None |
Always present | UnprocessedPreparedStatementNameOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
BatchGetPreparedStatementOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_athena.exceptions:
InternalServerError, InvalidRequestError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.