Skip to main content

prepared_statement

Gets an individual prepared_statement resource

Overview

Nameprepared_statement
TypeResource
Descriptionprepared_statement
Idawscc.athena.prepared_statement

Fields

NameDatatypeDescription
statement_namestringThe name of the prepared statement.
work_groupstringThe name of the workgroup to which the prepared statement belongs.
descriptionstringThe description of the prepared statement.
query_statementstringThe query string for the prepared statement.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
statement_name,
work_group,
description,
query_statement
FROM awscc.athena.prepared_statement
WHERE data__Identifier = '<StatementName>|<WorkGroup>';

Permissions

To operate on the prepared_statement resource, the following permissions are required:

Read

athena:GetPreparedStatement

Update

athena:UpdatePreparedStatement

Delete

athena:DeletePreparedStatement,
athena:GetPreparedStatement