libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.UpdateDocumentVersion

Description

Changes the status of the document version to ACTIVE.

Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload.

Synopsis

Creating a Request

data UpdateDocumentVersion Source #

See: newUpdateDocumentVersion smart constructor.

Constructors

UpdateDocumentVersion' 

Fields

Instances

Instances details
Eq UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Show UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Generic UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Associated Types

type Rep UpdateDocumentVersion :: Type -> Type #

NFData UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Methods

rnf :: UpdateDocumentVersion -> () #

Hashable UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

ToJSON UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

AWSRequest UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Associated Types

type AWSResponse UpdateDocumentVersion #

ToHeaders UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

ToPath UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

ToQuery UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

type Rep UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

type Rep UpdateDocumentVersion = D1 ('MetaData "UpdateDocumentVersion" "Amazonka.WorkDocs.UpdateDocumentVersion" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "UpdateDocumentVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "versionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentVersionStatus))) :*: (S1 ('MetaSel ('Just "documentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDocumentVersion Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

newUpdateDocumentVersion Source #

Create a value of UpdateDocumentVersion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:authenticationToken:UpdateDocumentVersion', updateDocumentVersion_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:versionStatus:UpdateDocumentVersion', updateDocumentVersion_versionStatus - The status of the version.

$sel:documentId:UpdateDocumentVersion', updateDocumentVersion_documentId - The ID of the document.

$sel:versionId:UpdateDocumentVersion', updateDocumentVersion_versionId - The version ID of the document.

Request Lenses

updateDocumentVersion_authenticationToken :: Lens' UpdateDocumentVersion (Maybe Text) Source #

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

Destructuring the Response

data UpdateDocumentVersionResponse Source #

See: newUpdateDocumentVersionResponse smart constructor.

Instances

Instances details
Eq UpdateDocumentVersionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Read UpdateDocumentVersionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Show UpdateDocumentVersionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Generic UpdateDocumentVersionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

Associated Types

type Rep UpdateDocumentVersionResponse :: Type -> Type #

NFData UpdateDocumentVersionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

type Rep UpdateDocumentVersionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.UpdateDocumentVersion

type Rep UpdateDocumentVersionResponse = D1 ('MetaData "UpdateDocumentVersionResponse" "Amazonka.WorkDocs.UpdateDocumentVersion" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "UpdateDocumentVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateDocumentVersionResponse :: UpdateDocumentVersionResponse Source #

Create a value of UpdateDocumentVersionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.