folder_paths
Creates, updates, deletes, gets or lists a folder_paths resource.
Overview
| Name | folder_paths |
| Type | Resource |
| Id | aws.workdocs.folder_paths |
Fields
The following fields are returned by SELECT queries:
- get_folder_path
| Name | Datatype | Description |
|---|---|---|
components | array | The components of the resource path. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_folder_path | select | folder_id, region | Authentication, limit, fields, marker | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
folder_id | string | The ID of the folder. |
region | string | AWS region (default: us-east-1) |
Authentication | string | Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. |
fields | string | A comma-separated list of values. Specify "NAME" to include the names of the parent folders. |
limit | integer | The maximum number of levels in the hierarchy to return. |
marker | string | This value is not supported. |
SELECT examples
- get_folder_path
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 }}'
;