Skip to main content

space_permissions

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

Overview

Namespace_permissions
TypeResource
Idaws.quicksight.space_permissions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
permissionsarrayA list of resource permissions for the space.
request_idstringThe Amazon Web Services request ID for this operation.
space_arnstringThe ARN of the space. (pattern: <code>arn:[a-z0-9-.]{1,63}:[a-z0-9-.]{0,63}:[a-z0-9-.]{0,63}:[a-z0-9-.]{0,63}:[^/].{0,1023}</code>)
space_idstringThe ID of the space. (pattern: <code>[0-9a-zA-Z-_=.+]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_space_permissionsselectaws_account_id, space_id, regionDescribes the permissions for an Amazon QuickSight space.
update_space_permissionsupdateaws_account_id, space_id, regionUpdates the permissions for an Amazon QuickSight space.

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 of the Amazon Web Services account that contains the space.
regionstringAWS region (default: us-east-1)
space_idstringThe ID of the space that you want to update permissions for.

SELECT examples

Describes the permissions for an Amazon QuickSight space.

SELECT
permissions,
request_id,
space_arn,
space_id
FROM aws.quicksight.space_permissions
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND space_id = '{{ space_id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Updates the permissions for an Amazon QuickSight space.

UPDATE aws.quicksight.space_permissions
SET
GrantPermissions = '{{ GrantPermissions }}',
RevokePermissions = '{{ RevokePermissions }}'
WHERE
aws_account_id = '{{ aws_account_id }}' --required
AND space_id = '{{ space_id }}' --required
AND region = '{{ region }}' --required
RETURNING
permissions,
request_id,
space_arn,
space_id;