Skip to main content

named_queries_list_only

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

Overview

Namenamed_queries_list_only
TypeResource
DescriptionResource schema for AWS::Athena::NamedQuery
Idaws.athena.named_queries_list_only

Fields

NameDatatypeDescription
namestringThe query name.
databasestringThe database to which the query belongs.
descriptionstringThe query description.
query_stringstringThe contents of the query with all query statements.
work_groupstringThe name of the workgroup that contains the named query.
named_query_idstringThe unique ID of the query.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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