AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::WorkDocs::Types::GetDocumentVersionRequest

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

Overview

Note:

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

{
  authentication_token: "AuthenticationHeaderType",
  document_id: "ResourceIdType", # required
  version_id: "DocumentVersionIdType", # required
  fields: "FieldNamesType",
  include_custom_metadata: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

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

Returns:

  • (String)

    Amazon WorkDocs authentication token.

#document_idString

The ID of the document.

Returns:

  • (String)

    The ID of the document.

#fieldsString

A comma-separated list of values. Specify \"SOURCE\" to include a URL for the source document.

Returns:

  • (String)

    A comma-separated list of values.

#include_custom_metadataBoolean

Set this to TRUE to include custom metadata in the response.

Returns:

  • (Boolean)

    Set this to TRUE to include custom metadata in the response.

#version_idString

The version ID of the document.

Returns:

  • (String)

    The version ID of the document.