amazonka-codecommit-2.0: Amazon CodeCommit 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.CodeCommit.DeleteCommentContent

Description

Deletes the content of a comment made on a change, file, or commit in a repository.

Synopsis

Creating a Request

data DeleteCommentContent Source #

See: newDeleteCommentContent smart constructor.

Constructors

DeleteCommentContent' 

Fields

  • commentId :: Text

    The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

Instances

Instances details
ToJSON DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

ToHeaders DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

ToPath DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

ToQuery DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

AWSRequest DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Associated Types

type AWSResponse DeleteCommentContent #

Generic DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Associated Types

type Rep DeleteCommentContent :: Type -> Type #

Read DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Show DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

NFData DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Methods

rnf :: DeleteCommentContent -> () #

Eq DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Hashable DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

type AWSResponse DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContent = D1 ('MetaData "DeleteCommentContent" "Amazonka.CodeCommit.DeleteCommentContent" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "DeleteCommentContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "commentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteCommentContent Source #

Create a value of DeleteCommentContent 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:

DeleteCommentContent, deleteCommentContent_commentId - The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

Request Lenses

deleteCommentContent_commentId :: Lens' DeleteCommentContent Text Source #

The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

Destructuring the Response

data DeleteCommentContentResponse Source #

See: newDeleteCommentContentResponse smart constructor.

Constructors

DeleteCommentContentResponse' 

Fields

Instances

Instances details
Generic DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Associated Types

type Rep DeleteCommentContentResponse :: Type -> Type #

Read DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Show DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

NFData DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Eq DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContentResponse = D1 ('MetaData "DeleteCommentContentResponse" "Amazonka.CodeCommit.DeleteCommentContent" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "DeleteCommentContentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Comment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteCommentContentResponse Source #

Create a value of DeleteCommentContentResponse 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:comment:DeleteCommentContentResponse', deleteCommentContentResponse_comment - Information about the comment you just deleted.

$sel:httpStatus:DeleteCommentContentResponse', deleteCommentContentResponse_httpStatus - The response's http status code.

Response Lenses