NAME

Paws::WorkDocs::InitiateDocumentVersionUpload - Arguments for method InitiateDocumentVersionUpload on Paws::WorkDocs

DESCRIPTION

This class represents the parameters used for calling the method InitiateDocumentVersionUpload on the Amazon WorkDocs service. Use the attributes of this class as arguments to method InitiateDocumentVersionUpload.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to InitiateDocumentVersionUpload.

SYNOPSIS

my $workdocs = Paws->service('WorkDocs');
my $InitiateDocumentVersionUploadResponse =
  $workdocs->InitiateDocumentVersionUpload(
  ParentFolderId           => 'MyResourceIdType',
  AuthenticationToken      => 'MyAuthenticationHeaderType',    # OPTIONAL
  ContentCreatedTimestamp  => '1970-01-01T01:00:00',           # OPTIONAL
  ContentModifiedTimestamp => '1970-01-01T01:00:00',           # OPTIONAL
  ContentType              => 'MyDocumentContentType',         # OPTIONAL
  DocumentSizeInBytes      => 1,                               # OPTIONAL
  Id                       => 'MyResourceIdType',              # OPTIONAL
  Name                     => 'MyResourceNameType',            # OPTIONAL
  );

# Results:
my $Metadata       = $InitiateDocumentVersionUploadResponse->Metadata;
my $UploadMetadata = $InitiateDocumentVersionUploadResponse->UploadMetadata;

# Returns a L<Paws::WorkDocs::InitiateDocumentVersionUploadResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/workdocs/InitiateDocumentVersionUpload

ATTRIBUTES

AuthenticationToken => Str

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

ContentCreatedTimestamp => Str

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

ContentModifiedTimestamp => Str

The timestamp when the content of the document was modified.

ContentType => Str

The content type of the document.

DocumentSizeInBytes => Int

The size of the document, in bytes.

Id => Str

The ID of the document.

Name => Str

The name of the document.

REQUIRED ParentFolderId => Str

The ID of the parent folder.

SEE ALSO

This class forms part of Paws, documenting arguments for method InitiateDocumentVersionUpload in Paws::WorkDocs

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues