Skip to main content

groups

Creates, updates, deletes, gets or lists a groups resource.

Overview

Namegroups
TypeResource
Idaws.quicksight.groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
groupobjectA group in Quick Sight consists of a set of users. You can use groups to make it easier to manage access and security.
request_idstringThe Amazon Web Services request ID for this operation.
statusintegerThe HTTP status of the request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_groupselectgroup_name, aws_account_id, namespace, regionReturns an Amazon Quick Sight group's description and Amazon Resource Name (ARN).
search_groupsselectaws_account_id, namespace, regionnext-token, max-resultsUse the SearchGroups operation to search groups in a specified Quick Sight namespace using the supplied filters.
list_groupsselectaws_account_id, namespace, regionnext-token, max-resultsLists all user groups in Amazon Quick Sight.
create_groupinsertaws_account_id, namespace, region, GroupNameUse the CreateGroup operation to create a group in Quick Sight. You can create up to 10,000 groups in a namespace. If you want to create more than 10,000 groups in a namespace, contact Amazon Web Services Support. The permissions resource is arn:aws:quicksight:<your-region>:<relevant-aws-account-id>:group/default/<group-name> . The response is a group object.
update_groupupdategroup_name, aws_account_id, namespace, regionChanges a group description.
delete_groupdeletegroup_name, aws_account_id, namespace, regionRemoves a user group from Amazon Quick Sight.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
aws_account_idstringThe ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.
group_namestringThe name of the group that you want to delete.
namespacestringThe namespace of the group that you want to delete.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of results to return.
next-tokenstringA pagination token that can be used in a subsequent request.

SELECT examples

Returns an Amazon Quick Sight group's description and Amazon Resource Name (ARN).

SELECT
group,
request_id,
status
FROM aws.quicksight.groups
WHERE group_name = '{{ group_name }}' -- required
AND aws_account_id = '{{ aws_account_id }}' -- required
AND namespace = '{{ namespace }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Use the CreateGroup operation to create a group in Quick Sight. You can create up to 10,000 groups in a namespace. If you want to create more than 10,000 groups in a namespace, contact Amazon Web Services Support. The permissions resource is arn:aws:quicksight:<your-region>:<relevant-aws-account-id>:group/default/<group-name> . The response is a group object.

INSERT INTO aws.quicksight.groups (
GroupName,
Description,
aws_account_id,
namespace,
region
)
SELECT
'{{ GroupName }}' /* required */,
'{{ Description }}',
'{{ aws_account_id }}',
'{{ namespace }}',
'{{ region }}'
RETURNING
group,
request_id,
status
;

UPDATE examples

Changes a group description.

UPDATE aws.quicksight.groups
SET
Description = '{{ Description }}'
WHERE
group_name = '{{ group_name }}' --required
AND aws_account_id = '{{ aws_account_id }}' --required
AND namespace = '{{ namespace }}' --required
AND region = '{{ region }}' --required
RETURNING
group,
request_id,
status;

DELETE examples

Removes a user group from Amazon Quick Sight.

DELETE FROM aws.quicksight.groups
WHERE group_name = '{{ group_name }}' --required
AND aws_account_id = '{{ aws_account_id }}' --required
AND namespace = '{{ namespace }}' --required
AND region = '{{ region }}' --required
;