Athena.Client.
create_prepared_statement
(**kwargs)¶Creates a prepared statement for use with SQL queries in Athena.
See also: AWS API Documentation
Request Syntax
response = client.create_prepared_statement(
StatementName='string',
WorkGroup='string',
QueryStatement='string',
Description='string'
)
[REQUIRED]
The name of the prepared statement.
[REQUIRED]
The name of the workgroup to which the prepared statement belongs.
[REQUIRED]
The query string for the prepared statement.
dict
Response Syntax
{}
Response Structure
Exceptions
Athena.Client.exceptions.InternalServerException
Athena.Client.exceptions.InvalidRequestException