work_groups
Retrieves a list of work_groups
in a region
Overview
Name | work_groups |
Type | Resource |
Description | work_groups |
Id | awscc.athena.work_groups |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The workGroup name. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name
FROM awscc.athena.work_groups
WHERE region = 'us-east-1'
Permissions
To operate on the work_groups
resource, the following permissions are required:
Create
athena:CreateWorkGroup,
athena:TagResource,
iam:PassRole,
s3:GetBucketLocation,
s3:GetObject,
s3:ListBucket,
s3:ListBucketMultipartUploads,
s3:AbortMultipartUpload,
s3:PutObject,
s3:ListMultipartUploadParts,
kms:Decrypt,
kms:GenerateDataKey
List
athena:ListWorkGroups