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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb

Overview

Note:

When making an API call, you may pass InitiateDocumentVersionUploadRequest data as a 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)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#content_created_timestampTime

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

Returns:

  • (Time)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#content_modified_timestampTime

The timestamp when the content of the document was modified.

Returns:

  • (Time)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#content_typeString

The content type of the document.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#document_size_in_bytesInteger

The size of the document, in bytes.

Returns:

  • (Integer)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#idString

The ID of the document.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#nameString

The name of the document.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end

#parent_folder_idString

The ID of the parent folder.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

class InitiateDocumentVersionUploadRequest < Struct.new(
  :authentication_token,
  :id,
  :name,
  :content_created_timestamp,
  :content_modified_timestamp,
  :content_type,
  :document_size_in_bytes,
  :parent_folder_id)
  include Aws::Structure
end