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.DeleteDocument

Description

Permanently deletes the specified document and its associated metadata.

Synopsis

Creating a Request

data DeleteDocument Source #

See: newDeleteDocument smart constructor.

Constructors

DeleteDocument' 

Fields

Instances

Instances details
Eq DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Show DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Generic DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Associated Types

type Rep DeleteDocument :: Type -> Type #

NFData DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Methods

rnf :: DeleteDocument -> () #

Hashable DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

AWSRequest DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Associated Types

type AWSResponse DeleteDocument #

ToHeaders DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

ToPath DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

ToQuery DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

type Rep DeleteDocument Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

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

Defined in Amazonka.WorkDocs.DeleteDocument

newDeleteDocument Source #

Create a value of DeleteDocument 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:DeleteDocument', deleteDocument_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:documentId:DeleteDocument', deleteDocument_documentId - The ID of the document.

Request Lenses

deleteDocument_authenticationToken :: Lens' DeleteDocument (Maybe Text) Source #

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

Destructuring the Response

data DeleteDocumentResponse Source #

See: newDeleteDocumentResponse smart constructor.

Instances

Instances details
Eq DeleteDocumentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Read DeleteDocumentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Show DeleteDocumentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Generic DeleteDocumentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Associated Types

type Rep DeleteDocumentResponse :: Type -> Type #

NFData DeleteDocumentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

Methods

rnf :: DeleteDocumentResponse -> () #

type Rep DeleteDocumentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteDocument

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

newDeleteDocumentResponse :: DeleteDocumentResponse Source #

Create a value of DeleteDocumentResponse with all optional fields omitted.

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