Skip to main content

folders_for_resources

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

Overview

Namefolders_for_resources
TypeResource
Idaws.quicksight.folders_for_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
folderstringA list that contains the Amazon Resource Names (ARNs) of all folders that the resource is a member of.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_folders_for_resourceselectaws_account_id, resource_arn, regionnext-token, max-resultsList all folders that a resource is a member of.

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 contains the resource.
regionstringAWS region (default: us-east-1)
resource_arnstringThe Amazon Resource Name (ARN) the resource whose folders you need to list.
max-resultsintegerThe maximum number of results to be returned per request.
next-tokenstringThe token for the next set of results, or null if there are no more results.

SELECT examples

List all folders that a resource is a member of.

SELECT
folder
FROM aws.quicksight.folders_for_resources
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND resource_arn = '{{ resource_arn }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;