Skip to content

Update Document

workdocs_update_document R Documentation

Updates the specified attributes of a document

Description

Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.

Usage

workdocs_update_document(AuthenticationToken, DocumentId, Name,
  ParentFolderId, ResourceState)

Arguments

AuthenticationToken

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

DocumentId

[required] The ID of the document.

Name

The name of the document.

ParentFolderId

The ID of the parent folder.

ResourceState

The resource state of the document. Only ACTIVE and RECYCLED are supported.

Value

An empty list.

Request syntax

svc$update_document(
  AuthenticationToken = "string",
  DocumentId = "string",
  Name = "string",
  ParentFolderId = "string",
  ResourceState = "ACTIVE"|"RESTORING"|"RECYCLING"|"RECYCLED"
)