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

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Data GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

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

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Show GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Generic GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Associated Types

type Rep GetCommentsForComparedCommit :: Type -> Type #

Hashable GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

ToJSON GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

AWSPager GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

AWSRequest GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Associated Types

type Rs GetCommentsForComparedCommit :: Type #

ToHeaders GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

ToPath GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

ToQuery GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

NFData GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

type Rep GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

type Rep GetCommentsForComparedCommit = D1 (MetaData "GetCommentsForComparedCommit" "Network.AWS.CodeCommit.GetCommentsForComparedCommit" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "GetCommentsForComparedCommit'" PrefixI True) ((S1 (MetaSel (Just "_gcfccNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcfccBeforeCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gcfccMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_gcfccRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gcfccAfterCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetCommentsForComparedCommit Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

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

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Data GetCommentsForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

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

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Show GetCommentsForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

Generic GetCommentsForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

NFData GetCommentsForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

type Rep GetCommentsForComparedCommitResponse Source # 
Instance details

Defined in Network.AWS.CodeCommit.GetCommentsForComparedCommit

type Rep GetCommentsForComparedCommitResponse = D1 (MetaData "GetCommentsForComparedCommitResponse" "Network.AWS.CodeCommit.GetCommentsForComparedCommit" "amazonka-codecommit-1.6.1-5oFbBVW9gHvCvarYcjcXps" False) (C1 (MetaCons "GetCommentsForComparedCommitResponse'" PrefixI True) (S1 (MetaSel (Just "_gcfccrsCommentsForComparedCommitData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CommentsForComparedCommit])) :*: (S1 (MetaSel (Just "_gcfccrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.