v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1460298233.0 KB

Creates a prepared statement for use with SQL queries in Athena.

post/#X-Amz-Target=AmazonAthena.CreatePreparedStatement

Headers

X-Amz-Target'AmazonAthena.CreatePreparedStatement' required

Request body

StatementNamestring required

The name of the prepared statement.

WorkGroupstring required

The name of the workgroup to which the prepared statement belongs.

QueryStatementstring required

The query string for the prepared statement.

Descriptionstring

The description of the prepared statement.

Response

Success

CreatePreparedStatementOutput required