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.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 # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Data PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

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 # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Show PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Generic PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Associated Types

type Rep PostCommentForComparedCommit :: Type -> Type #

Hashable PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

ToJSON PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

AWSRequest PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Associated Types

type Rs PostCommentForComparedCommit :: Type #

ToHeaders PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

ToPath PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

ToQuery PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

NFData PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

type Rep PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

type Rep PostCommentForComparedCommit = D1 (MetaData "PostCommentForComparedCommit" "Network.AWS.CodeCommit.PostCommentForComparedCommit" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "PostCommentForComparedCommit'" PrefixI True) ((S1 (MetaSel (Just "_pcfccLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Location)) :*: (S1 (MetaSel (Just "_pcfccBeforeCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcfccClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pcfccRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pcfccAfterCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcfccContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs PostCommentForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

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 # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Data PostCommentForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

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 # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Show PostCommentForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

Generic PostCommentForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

NFData PostCommentForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

type Rep PostCommentForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.PostCommentForComparedCommit

type Rep PostCommentForComparedCommitResponse = D1 (MetaData "PostCommentForComparedCommitResponse" "Network.AWS.CodeCommit.PostCommentForComparedCommit" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "PostCommentForComparedCommitResponse'" PrefixI True) (((S1 (MetaSel (Just "_pcfccrsBeforeBlobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcfccrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Location))) :*: (S1 (MetaSel (Just "_pcfccrsAfterCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcfccrsAfterBlobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pcfccrsBeforeCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcfccrsRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pcfccrsComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Comment)) :*: S1 (MetaSel (Just "_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.