amazonka-workdocs-2.0: Amazon WorkDocs SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Associated Types

type AWSResponse DeleteComment #

Generic DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Associated Types

type Rep DeleteComment :: Type -> Type #

Show DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

NFData DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Methods

rnf :: DeleteComment -> () #

Eq DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Hashable DeleteComment Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

type AWSResponse 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" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" '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))))

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.

DeleteComment, deleteComment_versionId - The ID of the document version.

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
Generic DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Associated Types

type Rep DeleteCommentResponse :: Type -> Type #

Read DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Show DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

NFData DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

Methods

rnf :: DeleteCommentResponse -> () #

Eq DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

type Rep DeleteCommentResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DeleteComment

type Rep DeleteCommentResponse = D1 ('MetaData "DeleteCommentResponse" "Amazonka.WorkDocs.DeleteComment" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" '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.