Skip to main content

space_resources

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

Overview

Namespace_resources
TypeResource
Idaws.quicksight.space_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
request_idstringThe Amazon Web Services request ID for this operation.
space_resourcesarrayA list of resource summaries in the space.
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
list_space_resourcesselectaws_account_id, space_id, regionLists the resources in an Amazon QuickSight space.
update_space_resourcesupdateaws_account_id, space_id, regionAdds or removes resources from 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 resources for.

SELECT examples

Lists the resources in an Amazon QuickSight space.

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

UPDATE examples

Adds or removes resources from an Amazon QuickSight space.

UPDATE aws.quicksight.space_resources
SET
AddResources = '{{ AddResources }}',
RemoveResources = '{{ RemoveResources }}'
WHERE
aws_account_id = '{{ aws_account_id }}' --required
AND space_id = '{{ space_id }}' --required
AND region = '{{ region }}' --required
RETURNING
failed_resource_operations,
request_id,
space_arn,
space_id;