CmdID / aws / aws workdocs
aws workdocs create-custom-metadata
Adds one or more custom properties to the specified resource (a folder, document, or version). AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To create custom metadata
The following create-custom-metadata example creates custom metadata for the specified document.
aws workdocs create-custom-metadata --resource-id d90d93c1fe44bad0c8471e973ebaab339090401a95e777cffa58e977d2983b65 --custom-metadata KeyName1=example,KeyName2=example2Identify--resource-idThe ID of the resource.--custom-metadataCustom metadata in the form of name-value pairs.This command produces no output.
Options
--authentication-tokenAmazon WorkDocs authentication token.--custom-metadataCustom metadata in the form of name-value pairs.--resource-idThe ID of the resource.--version-idThe ID of the version, if the custom metadata is being added to a document version.