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

Class: Aws::WorkDocs::Types::InitiateDocumentVersionUploadRequest

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

Overview

Note:

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

{
  authentication_token: "AuthenticationHeaderType",
  id: "ResourceIdType",
  name: "ResourceNameType",
  content_created_timestamp: Time.now,
  content_modified_timestamp: Time.now,
  content_type: "DocumentContentType",
  document_size_in_bytes: 1,
  parent_folder_id: "ResourceIdType", # required
}

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.

#content_created_timestampTime

The timestamp when the content of the document was originally created.

Returns:

  • (Time)

    The timestamp when the content of the document was originally created.

#content_modified_timestampTime

The timestamp when the content of the document was modified.

Returns:

  • (Time)

    The timestamp when the content of the document was modified.

#content_typeString

The content type of the document.

Returns:

  • (String)

    The content type of the document.

#document_size_in_bytesInteger

The size of the document, in bytes.

Returns:

  • (Integer)

    The size of the document, in bytes.

#idString

The ID of the document.

Returns:

  • (String)

    The ID of the document.

#nameString

The name of the document.

Returns:

  • (String)

    The name of the document.

#parent_folder_idString

The ID of the parent folder.

Returns:

  • (String)

    The ID of the parent folder.