libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.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
Eq DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Read DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Show DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Generic DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Associated Types

type Rep DeleteCommentContent :: Type -> Type #

NFData DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Methods

rnf :: DeleteCommentContent -> () #

Hashable DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

ToJSON DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

AWSRequest DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Associated Types

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

type Rep DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

type Rep DeleteCommentContent = D1 ('MetaData "DeleteCommentContent" "Amazonka.CodeCommit.DeleteCommentContent" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "DeleteCommentContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "commentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCommentContent Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

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:

$sel:commentId: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
Eq DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Read DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Show DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Generic DeleteCommentContentResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.DeleteCommentContent

Associated Types

type Rep DeleteCommentContentResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" '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