Skip to main content

folder_paths

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

Overview

Namefolder_paths
TypeResource
Idaws.workdocs.folder_paths

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
componentsarrayThe components of the resource path.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_folder_pathselectfolder_id, regionAuthentication, limit, fields, markerRetrieves the path information (the hierarchy from the root folder) for the specified folder. By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.

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
folder_idstringThe ID of the folder.
regionstringAWS region (default: us-east-1)
AuthenticationstringAmazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
fieldsstringA comma-separated list of values. Specify "NAME" to include the names of the parent folders.
limitintegerThe maximum number of levels in the hierarchy to return.
markerstringThis value is not supported.

SELECT examples

Retrieves the path information (the hierarchy from the root folder) for the specified folder. By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.

SELECT
components
FROM aws.workdocs.folder_paths
WHERE folder_id = '{{ folder_id }}' -- required
AND region = '{{ region }}' -- required
AND Authentication = '{{ Authentication }}'
AND limit = '{{ limit }}'
AND fields = '{{ fields }}'
AND marker = '{{ marker }}'
;