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
}

Constant Summary collapse

SENSITIVE =
[:authentication_token]

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)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#content_created_timestampTime

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

Returns:

  • (Time)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#content_modified_timestampTime

The timestamp when the content of the document was modified.

Returns:

  • (Time)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#content_typeString

The content type of the document.

Returns:

  • (String)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#document_size_in_bytesInteger

The size of the document, in bytes.

Returns:

  • (Integer)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#idString

The ID of the document.

Returns:

  • (String)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#nameString

The name of the document.

Returns:

  • (String)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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

#parent_folder_idString

The ID of the parent folder.

Returns:

  • (String)


2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2333

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