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. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

Returns:

  • (String)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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 time stamp when the content of the document was originally created.

Returns:

  • (Time)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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 time stamp when the content of the document was modified.

Returns:

  • (Time)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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)


1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1988

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