named_query
Gets an individual named_query
resource
Overview
Name | named_query |
Type | Resource |
Description | named_query |
Id | awscc.athena.named_query |
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
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
database,
description,
query_string,
work_group,
named_query_id
FROM awscc.athena.named_query
WHERE data__Identifier = '<NamedQueryId>';
Permissions
To operate on the named_query
resource, the following permissions are required:
Read
athena:GetNamedQuery
Delete
athena:DeleteNamedQuery