CmdID / aws / aws workdocs
aws workdocs update-document
Updates the specified attributes of a document. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To update a document
The following update-document example updates a document's name and parent folder.
aws workdocs update-document --document-id 15df51e0335cfcc6a2e4de9dd8be9f22ee40545ad9176f54758dcf903be982d3 --name updatedDoc --parent-folder-id 50893c0af679524d1a0e0651130ed6d073e1a05f95bd12c42dcde5d35634ed08Identify--document-idThe ID of the document.--nameThe name of the document.--parent-folder-idThe ID of the parent folder.This command produces no output.
Options
--authentication-tokenAmazon WorkDocs authentication token.--document-idThe ID of the document.--nameThe name of the document.--parent-folder-idThe ID of the parent folder.--resource-stateThe resource state of the document.