CmdID / aws / aws workdocs
aws workdocs create-labels
Adds the specified list of labels to the given resource (a document or folder) AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To create labels
The following create-labels example creates a series of labels for a document.
aws workdocs create-labels --resource-id d90d93c1fe44bad0c8471e973ebaab339090401a95e777cffa58e977d2983b65 --labels "documents" "examples" "my_documents"Identify--resource-idThe ID of the resource.--labelsList of labels to add to the resource.This command produces no output.
Options
--authentication-tokenAmazon WorkDocs authentication token.--labelsList of labels to add to the resource.--resource-idThe ID of the resource.