prepared_statements
Retrieves a list of prepared_statements
in a region
Overview
Name | prepared_statements |
Type | Resource |
Description | prepared_statements |
Id | awscc.athena.prepared_statements |
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. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
statement_name,
work_group
FROM awscc.athena.prepared_statements
WHERE region = 'us-east-1'
Permissions
To operate on the prepared_statements
resource, the following permissions are required:
Create
athena:CreatePreparedStatement,
athena:GetPreparedStatement
List
athena:ListPreparedStatements