amazonka-codecommit-1.6.0: 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 # 
Data PostCommentReply Source # 

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 # 
Show PostCommentReply Source # 
Generic PostCommentReply Source # 
Hashable PostCommentReply Source # 
ToJSON PostCommentReply Source # 
NFData PostCommentReply Source # 

Methods

rnf :: PostCommentReply -> () #

AWSRequest PostCommentReply Source # 
ToHeaders PostCommentReply Source # 
ToPath PostCommentReply Source # 
ToQuery PostCommentReply Source # 
type Rep PostCommentReply Source # 
type Rep PostCommentReply = D1 * (MetaData "PostCommentReply" "Network.AWS.CodeCommit.PostCommentReply" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "PostCommentReply'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcrClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcrInReplyTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_pcrContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs PostCommentReply Source # 

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 # 
Data PostCommentReplyResponse Source # 

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 # 
Show PostCommentReplyResponse Source # 
Generic PostCommentReplyResponse Source # 
NFData PostCommentReplyResponse Source # 
type Rep PostCommentReplyResponse Source # 
type Rep PostCommentReplyResponse = D1 * (MetaData "PostCommentReplyResponse" "Network.AWS.CodeCommit.PostCommentReply" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "PostCommentReplyResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcrrsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Comment))) (S1 * (MetaSel (Just Symbol "_pcrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

Information about the reply to a comment.