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

Description

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

Synopsis

Creating a Request

data PostCommentReply Source #

See: newPostCommentReply smart constructor.

Constructors

PostCommentReply' 

Fields

  • clientRequestToken :: Maybe Text

    A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

  • inReplyTo :: Text

    The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

  • content :: Text

    The contents of your reply to a comment.

Instances

Instances details
Eq PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Read PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Show PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Generic PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Associated Types

type Rep PostCommentReply :: Type -> Type #

NFData PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Methods

rnf :: PostCommentReply -> () #

Hashable PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

ToJSON PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

AWSRequest PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Associated Types

type AWSResponse PostCommentReply #

ToHeaders PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

ToPath PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

ToQuery PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

type Rep PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

type Rep PostCommentReply = D1 ('MetaData "PostCommentReply" "Amazonka.CodeCommit.PostCommentReply" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "PostCommentReply'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inReplyTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PostCommentReply Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

newPostCommentReply Source #

Create a value of PostCommentReply 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:clientRequestToken:PostCommentReply', postCommentReply_clientRequestToken - A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

$sel:inReplyTo:PostCommentReply', postCommentReply_inReplyTo - The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

$sel:content:PostCommentReply', postCommentReply_content - The contents of your reply to a comment.

Request Lenses

postCommentReply_clientRequestToken :: Lens' PostCommentReply (Maybe Text) Source #

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

postCommentReply_inReplyTo :: Lens' PostCommentReply Text Source #

The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

postCommentReply_content :: Lens' PostCommentReply Text Source #

The contents of your reply to a comment.

Destructuring the Response

data PostCommentReplyResponse Source #

See: newPostCommentReplyResponse smart constructor.

Constructors

PostCommentReplyResponse' 

Fields

Instances

Instances details
Eq PostCommentReplyResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Read PostCommentReplyResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Show PostCommentReplyResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Generic PostCommentReplyResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

Associated Types

type Rep PostCommentReplyResponse :: Type -> Type #

NFData PostCommentReplyResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

type Rep PostCommentReplyResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PostCommentReply

type Rep PostCommentReplyResponse = D1 ('MetaData "PostCommentReplyResponse" "Amazonka.CodeCommit.PostCommentReply" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "PostCommentReplyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Comment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPostCommentReplyResponse Source #

Create a value of PostCommentReplyResponse 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:PostCommentReplyResponse', postCommentReplyResponse_comment - Information about the reply to a comment.

$sel:httpStatus:PostCommentReplyResponse', postCommentReplyResponse_httpStatus - The response's http status code.

Response Lenses