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

Contents

Description

Returns information about comments made on the comparison between two commits.

This operation returns paginated results.

Synopsis

Creating a Request

getCommentsForComparedCommit Source #

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

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

  • gcfccNextToken - An enumeration token that when provided in a request, returns the next batch of the results.
  • gcfccBeforeCommitId - To establish the directionality of the comparison, the full commit ID of the before commit.
  • gcfccMaxResults - A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.
  • gcfccRepositoryName - The name of the repository where you want to compare commits.
  • gcfccAfterCommitId - To establish the directionality of the comparison, the full commit ID of the after commit.

data GetCommentsForComparedCommit Source #

See: getCommentsForComparedCommit smart constructor.

Instances

Eq GetCommentsForComparedCommit Source # 
Data GetCommentsForComparedCommit Source # 

Methods

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

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

toConstr :: GetCommentsForComparedCommit -> Constr #

dataTypeOf :: GetCommentsForComparedCommit -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCommentsForComparedCommit Source # 
Show GetCommentsForComparedCommit Source # 
Generic GetCommentsForComparedCommit Source # 
Hashable GetCommentsForComparedCommit Source # 
ToJSON GetCommentsForComparedCommit Source # 
NFData GetCommentsForComparedCommit Source # 
AWSPager GetCommentsForComparedCommit Source # 
AWSRequest GetCommentsForComparedCommit Source # 
ToHeaders GetCommentsForComparedCommit Source # 
ToPath GetCommentsForComparedCommit Source # 
ToQuery GetCommentsForComparedCommit Source # 
type Rep GetCommentsForComparedCommit Source # 
type Rep GetCommentsForComparedCommit = D1 * (MetaData "GetCommentsForComparedCommit" "Network.AWS.CodeCommit.GetCommentsForComparedCommit" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "GetCommentsForComparedCommit'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gcfccNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcfccBeforeCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcfccMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcfccRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gcfccAfterCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs GetCommentsForComparedCommit Source # 

Request Lenses

gcfccNextToken :: Lens' GetCommentsForComparedCommit (Maybe Text) Source #

An enumeration token that when provided in a request, returns the next batch of the results.

gcfccBeforeCommitId :: Lens' GetCommentsForComparedCommit (Maybe Text) Source #

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

gcfccMaxResults :: Lens' GetCommentsForComparedCommit (Maybe Int) Source #

A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.

gcfccRepositoryName :: Lens' GetCommentsForComparedCommit Text Source #

The name of the repository where you want to compare commits.

gcfccAfterCommitId :: Lens' GetCommentsForComparedCommit Text Source #

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

Destructuring the Response

getCommentsForComparedCommitResponse Source #

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

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

data GetCommentsForComparedCommitResponse Source #

See: getCommentsForComparedCommitResponse smart constructor.

Instances

Eq GetCommentsForComparedCommitResponse Source # 
Data GetCommentsForComparedCommitResponse Source # 

Methods

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

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

toConstr :: GetCommentsForComparedCommitResponse -> Constr #

dataTypeOf :: GetCommentsForComparedCommitResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCommentsForComparedCommitResponse Source # 
Show GetCommentsForComparedCommitResponse Source # 
Generic GetCommentsForComparedCommitResponse Source # 
NFData GetCommentsForComparedCommitResponse Source # 
type Rep GetCommentsForComparedCommitResponse Source # 
type Rep GetCommentsForComparedCommitResponse = D1 * (MetaData "GetCommentsForComparedCommitResponse" "Network.AWS.CodeCommit.GetCommentsForComparedCommit" "amazonka-codecommit-1.6.0-Ck6cSFWU4LEJwYMtJc4ier" False) (C1 * (MetaCons "GetCommentsForComparedCommitResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcfccrsCommentsForComparedCommitData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [CommentsForComparedCommit]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcfccrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcfccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gcfccrsNextToken :: Lens' GetCommentsForComparedCommitResponse (Maybe Text) Source #

An enumeration token that can be used in a request to return the next batch of the results.