prepared_statement
Gets an individual prepared_statement
resource
Overview
Name | prepared_statement |
Type | Resource |
Description | prepared_statement |
Id | awscc.athena.prepared_statement |
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
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
statement_name,
work_group,
description,
query_statement
FROM awscc.athena.prepared_statement
WHERE data__Identifier = '<StatementName>|<WorkGroup>';
Permissions
To operate on the prepared_statement
resource, the following permissions are required:
Read
athena:GetPreparedStatement
Update
athena:UpdatePreparedStatement
Delete
athena:DeletePreparedStatement,
athena:GetPreparedStatement