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

Contents

Description

Posts a comment on the comparison between two commits.

Synopsis

Creating a Request

postCommentForComparedCommit Source #

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

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

  • pcfccLocation - The location of the comparison where you want to comment.
  • pcfccBeforeCommitId - To establish the directionality of the comparison, the full commit ID of the before commit.
  • pcfccClientRequestToken - 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.
  • pcfccRepositoryName - The name of the repository where you want to post a comment on the comparison between commits.
  • pcfccAfterCommitId - To establish the directionality of the comparison, the full commit ID of the after commit.
  • pcfccContent - The content of the comment you want to make.

data PostCommentForComparedCommit Source #

See: postCommentForComparedCommit smart constructor.

Instances

Eq PostCommentForComparedCommit Source # 
Data PostCommentForComparedCommit Source # 

Methods

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

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

toConstr :: PostCommentForComparedCommit -> Constr #

dataTypeOf :: PostCommentForComparedCommit -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PostCommentForComparedCommit Source # 
Show PostCommentForComparedCommit Source # 
Generic PostCommentForComparedCommit Source # 
Hashable PostCommentForComparedCommit Source # 
ToJSON PostCommentForComparedCommit Source # 
NFData PostCommentForComparedCommit Source # 
AWSRequest PostCommentForComparedCommit Source # 
ToHeaders PostCommentForComparedCommit Source # 
ToPath PostCommentForComparedCommit Source # 
ToQuery PostCommentForComparedCommit Source # 
type Rep PostCommentForComparedCommit Source # 
type Rep PostCommentForComparedCommit = D1 * (MetaData "PostCommentForComparedCommit" "Network.AWS.CodeCommit.PostCommentForComparedCommit" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "PostCommentForComparedCommit'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Location))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccBeforeCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pcfccClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccAfterCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_pcfccContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs PostCommentForComparedCommit Source # 

Request Lenses

pcfccLocation :: Lens' PostCommentForComparedCommit (Maybe Location) Source #

The location of the comparison where you want to comment.

pcfccBeforeCommitId :: Lens' PostCommentForComparedCommit (Maybe Text) Source #

To establish the directionality of the comparison, the full commit ID of the before commit.

pcfccClientRequestToken :: Lens' PostCommentForComparedCommit (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.

pcfccRepositoryName :: Lens' PostCommentForComparedCommit Text Source #

The name of the repository where you want to post a comment on the comparison between commits.

pcfccAfterCommitId :: Lens' PostCommentForComparedCommit Text Source #

To establish the directionality of the comparison, the full commit ID of the after commit.

pcfccContent :: Lens' PostCommentForComparedCommit Text Source #

The content of the comment you want to make.

Destructuring the Response

postCommentForComparedCommitResponse Source #

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

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

data PostCommentForComparedCommitResponse Source #

See: postCommentForComparedCommitResponse smart constructor.

Instances

Eq PostCommentForComparedCommitResponse Source # 
Data PostCommentForComparedCommitResponse Source # 

Methods

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

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

toConstr :: PostCommentForComparedCommitResponse -> Constr #

dataTypeOf :: PostCommentForComparedCommitResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PostCommentForComparedCommitResponse Source # 
Show PostCommentForComparedCommitResponse Source # 
Generic PostCommentForComparedCommitResponse Source # 
NFData PostCommentForComparedCommitResponse Source # 
type Rep PostCommentForComparedCommitResponse Source # 
type Rep PostCommentForComparedCommitResponse = D1 * (MetaData "PostCommentForComparedCommitResponse" "Network.AWS.CodeCommit.PostCommentForComparedCommit" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "PostCommentForComparedCommitResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccrsBeforeBlobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pcfccrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Location)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccrsAfterCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pcfccrsAfterBlobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccrsBeforeCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pcfccrsRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_pcfccrsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Comment))) (S1 * (MetaSel (Just Symbol "_pcfccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

pcfccrsBeforeBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the blob ID of the before blob.

pcfccrsLocation :: Lens' PostCommentForComparedCommitResponse (Maybe Location) Source #

The location of the comment in the comparison between the two commits.

pcfccrsAfterCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the full commit ID of the after commit.

pcfccrsAfterBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the blob ID of the after blob.

pcfccrsBeforeCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

In the directionality you established, the full commit ID of the before commit.

pcfccrsRepositoryName :: Lens' PostCommentForComparedCommitResponse (Maybe Text) Source #

The name of the repository where you posted a comment on the comparison between commits.