prepared_statements_list_only
Lists prepared_statements
in a region or regions, for all properties use prepared_statements
Overview
Name | prepared_statements_list_only |
Type | Resource |
Description | Resource schema for AWS::Athena::PreparedStatement |
Id | aws.athena.prepared_statements_list_only |
Fields
Name | Datatype | Description |
---|---|---|
statement_name | string | The name of the prepared statement. |
work_group | string | The name of the workgroup to which the prepared statement belongs. |
description | string | The description of the prepared statement. |
query_statement | string | The query string for the prepared statement. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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