amazonka-codecommit-1.6.1: Amazon CodeCommit SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeCommit.PostCommentReply

Contents

Description

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

Synopsis

Creating a Request

postCommentReply Source #

Creates a value of PostCommentReply with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pcrClientRequestToken - 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 will return information about the initial request that used that token.
  • pcrInReplyTo - The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest .
  • pcrContent - The contents of your reply to a comment.

data PostCommentReply Source #

See: postCommentReply smart constructor.

Instances
Eq PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Data PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PostCommentReply -> c PostCommentReply #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PostCommentReply #

toConstr :: PostCommentReply -> Constr #

dataTypeOf :: PostCommentReply -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PostCommentReply) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PostCommentReply) #

gmapT :: (forall b. Data b => b -> b) -> PostCommentReply -> PostCommentReply #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PostCommentReply -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PostCommentReply -> r #

gmapQ :: (forall d. Data d => d -> u) -> PostCommentReply -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PostCommentReply -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PostCommentReply -> m PostCommentReply #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PostCommentReply -> m PostCommentReply #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PostCommentReply -> m PostCommentReply #

Read PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Show PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Generic PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Associated Types

type Rep PostCommentReply :: Type -> Type #

Hashable PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

ToJSON PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

AWSRequest PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Associated Types

type Rs PostCommentReply :: Type #

ToHeaders PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

ToPath PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

ToQuery PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

NFData PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Methods

rnf :: PostCommentReply -> () #

type Rep PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

type Rep PostCommentReply = D1 (MetaData "PostCommentReply" "Network.AWS.CodeCommit.PostCommentReply" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "PostCommentReply'" PrefixI True) (S1 (MetaSel (Just "_pcrClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcrInReplyTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcrContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs PostCommentReply Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Request Lenses

pcrClientRequestToken :: 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 will return information about the initial request that used that token.

pcrInReplyTo :: 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 .

pcrContent :: Lens' PostCommentReply Text Source #

The contents of your reply to a comment.

Destructuring the Response

postCommentReplyResponse Source #

Creates a value of PostCommentReplyResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PostCommentReplyResponse Source #

See: postCommentReplyResponse smart constructor.

Instances
Eq PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Data PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PostCommentReplyResponse -> c PostCommentReplyResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PostCommentReplyResponse #

toConstr :: PostCommentReplyResponse -> Constr #

dataTypeOf :: PostCommentReplyResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PostCommentReplyResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PostCommentReplyResponse) #

gmapT :: (forall b. Data b => b -> b) -> PostCommentReplyResponse -> PostCommentReplyResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PostCommentReplyResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PostCommentReplyResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PostCommentReplyResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PostCommentReplyResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PostCommentReplyResponse -> m PostCommentReplyResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PostCommentReplyResponse -> m PostCommentReplyResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PostCommentReplyResponse -> m PostCommentReplyResponse #

Read PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Show PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Generic PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

Associated Types

type Rep PostCommentReplyResponse :: Type -> Type #

NFData PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

type Rep PostCommentReplyResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentReply

type Rep PostCommentReplyResponse = D1 (MetaData "PostCommentReplyResponse" "Network.AWS.CodeCommit.PostCommentReply" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "PostCommentReplyResponse'" PrefixI True) (S1 (MetaSel (Just "_pcrrsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Comment)) :*: S1 (MetaSel (Just "_pcrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

pcrrsComment :: Lens' PostCommentReplyResponse (Maybe Comment) Source #

Information about the reply to a comment.