named_queries_list_only
Lists named_queries
in a region or regions, for all properties use named_queries
Overview
Name | named_queries_list_only |
Type | Resource |
Description | Resource schema for AWS::Athena::NamedQuery |
Id | aws.athena.named_queries_list_only |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The query name. |
database | string | The database to which the query belongs. |
description | string | The query description. |
query_string | string | The contents of the query with all query statements. |
work_group | string | The name of the workgroup that contains the named query. |
named_query_id | string | The unique ID of the query. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all named_queries
in a region.
SELECT
region,
named_query_id
FROM aws.athena.named_queries_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the named_queries_list_only
resource, see named_queries