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
Examples
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
--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.