You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WorkDocs::Types::CreateCustomMetadataRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateCustomMetadataRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  authentication_token: "AuthenticationHeaderType",
  resource_id: "ResourceIdType", # required
  version_id: "DocumentVersionIdType",
  custom_metadata: { # required
    "CustomMetadataKeyType" => "CustomMetadataValueType",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

Returns:

  • (String)

    Amazon WorkDocs authentication token.

#custom_metadataHash<String,String>

Custom metadata in the form of name-value pairs.

Returns:

  • (Hash<String,String>)

    Custom metadata in the form of name-value pairs.

#resource_idString

The ID of the resource.

Returns:

  • (String)

    The ID of the resource.

#version_idString

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

Returns:

  • (String)

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