CmdID

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

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

Examples

from aws-cli, each command read by CmdID

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

5 in the AWS CLI reference
--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.