CmdID

CmdID / aws / aws workdocs

aws workdocs get-resources

Retrieves a collection of resources, including folders and documents. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve shared resources

The following get-resources example retrieves the resources shared with the specified Amazon WorkDocs user.

aws workdocs get-resources --user-id "S-1-1-11-1111111111-2222222222-3333333333-3333" --collection-type SHARED_WITH_MEIdentify
--user-idThe user ID for the resource collection.
--collection-typeThe collection type.
Its output
{
"Folders": [],
"Documents": []
}

Options

5 in the AWS CLI reference
--authentication-tokenThe Amazon WorkDocs authentication token.
--collection-typeThe collection type.
--limitThe maximum number of resources to return.
--markerThe marker for the next set of results.
--user-idThe user ID for the resource collection.