Skip to content

Adds one or more custom properties to the specified resource (a folder, document, or version)

Description

Adds one or more custom properties to the specified resource (a folder, document, or version).

Usage

workdocs_create_custom_metadata(AuthenticationToken, ResourceId,
  VersionId, CustomMetadata)

Arguments

  • AuthenticationToken

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

  • ResourceId

    [required] The ID of the resource.

  • VersionId

    The ID of the version, if the custom metadata is being added to a document version.

  • CustomMetadata

    [required] Custom metadata in the form of name-value pairs.

Value

An empty list.

Request syntax

svc$create_custom_metadata(
  AuthenticationToken = "string",
  ResourceId = "string",
  VersionId = "string",
  CustomMetadata = list(
    "string"
  )
)