Skip to main content

prepared_statements_list_only

Lists prepared_statements in a region or regions, for all properties use prepared_statements

Overview

Nameprepared_statements_list_only
TypeResource
DescriptionResource schema for AWS::Athena::PreparedStatement
Idaws.athena.prepared_statements_list_only

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

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all prepared_statements in a region.

SELECT
region,
statement_name,
work_group
FROM aws.athena.prepared_statements_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the prepared_statements_list_only resource, see prepared_statements