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

Description

Deletes the specified comment from the document version.

Synopsis

Creating a Request

data DeleteComment Source #

See: newDeleteComment smart constructor.

Constructors

DeleteComment' 

Fields

Instances

Instances details
Eq DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Show DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Generic DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Associated Types

type Rep DeleteComment :: Type -> Type #

NFData DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Methods

rnf :: DeleteComment -> () #

Hashable DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

AWSRequest DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Associated Types

type AWSResponse DeleteComment #

ToHeaders DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

ToPath DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

ToQuery DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

type Rep DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

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

Defined in Amazonka.WorkDocs.DeleteComment

newDeleteComment Source #

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

$sel:documentId:DeleteComment', deleteComment_documentId - The ID of the document.

$sel:versionId:DeleteComment', deleteComment_versionId - The ID of the document version.

$sel:commentId:DeleteComment', deleteComment_commentId - The ID of the comment.

Request Lenses

deleteComment_authenticationToken :: Lens' DeleteComment (Maybe Text) Source #

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

deleteComment_versionId :: Lens' DeleteComment Text Source #

The ID of the document version.

Destructuring the Response

data DeleteCommentResponse Source #

See: newDeleteCommentResponse smart constructor.

Instances

Instances details
Eq DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Read DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Show DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Generic DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Associated Types

type Rep DeleteCommentResponse :: Type -> Type #

NFData DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Methods

rnf :: DeleteCommentResponse -> () #

type Rep DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

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

newDeleteCommentResponse :: DeleteCommentResponse Source #

Create a value of DeleteCommentResponse with all optional fields omitted.

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