aws.grafana.list_permissions
Example SQL Queries
SELECT * FROMaws.grafana.list_permissionsWHERE"workspace_id" = 'VALUE';Description
Lists the users and groups who have the Grafana Admin and Editor roles in this workspace. If you use this operation without specifying userId or groupId, the operation returns the roles of all users and groups. If you specify a userId or a groupId, only the roles for that user or group are returned. If you do this, you can specify only one userId or one groupId.
Table Definition
| Column Name | Column Data Type |
|---|---|
| workspace_id Required Input Column The ID of the workspace to list permissions for. This parameter is required. | VARCHAR |
| group_id Input Column (Optional) Limits the results to only the group that matches this ID. | VARCHAR |
| user_id Input Column (Optional) Limits the results to only the user that matches this ID. | VARCHAR |
| user_type Input Column (Optional) If you specify SSO_USER, then only the permissions of IAM Identity Center users are returned. If you specify SSO_GROUP, only the permissions of IAM Identity Center groups are returned. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| role Specifies whether the user or group has the Admin, Editor, or Viewer role. | VARCHAR |
| user A structure with the ID of the user or group with this role. | STRUCT( |
Show child fields
| |