Skip to main content

prepared_statements

Retrieves a list of prepared_statements in a region

Overview

Nameprepared_statements
TypeResource
Descriptionprepared_statements
Idawscc.athena.prepared_statements

Fields

NameDatatypeDescription
statement_namestringThe name of the prepared statement.
work_groupstringThe name of the workgroup to which the prepared statement belongs.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
statement_name,
work_group
FROM awscc.athena.prepared_statements
WHERE region = 'us-east-1'

Permissions

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

Create

athena:CreatePreparedStatement,
athena:GetPreparedStatement

List

athena:ListPreparedStatements