amazonka-codebuild-1.5.0: Amazon CodeBuild SDK.

Copyright(c) 2013-2017 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.CodeBuild.ListBuildsForProject

Contents

Description

Gets a list of build IDs for the specified build project, with each build ID representing a single build.

This operation returns paginated results.

Synopsis

Creating a Request

listBuildsForProject Source #

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

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

  • lbfpSortOrder - The order to list build IDs. Valid values include: * ASCENDING : List the build IDs in ascending order by build ID. * DESCENDING : List the build IDs in descending order by build ID.
  • lbfpNextToken - During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
  • lbfpProjectName - The name of the build project.

data ListBuildsForProject Source #

See: listBuildsForProject smart constructor.

Instances

Eq ListBuildsForProject Source # 
Data ListBuildsForProject Source # 

Methods

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

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

toConstr :: ListBuildsForProject -> Constr #

dataTypeOf :: ListBuildsForProject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBuildsForProject Source # 
Show ListBuildsForProject Source # 
Generic ListBuildsForProject Source # 
Hashable ListBuildsForProject Source # 
ToJSON ListBuildsForProject Source # 
NFData ListBuildsForProject Source # 

Methods

rnf :: ListBuildsForProject -> () #

AWSPager ListBuildsForProject Source # 
AWSRequest ListBuildsForProject Source # 
ToQuery ListBuildsForProject Source # 
ToPath ListBuildsForProject Source # 
ToHeaders ListBuildsForProject Source # 
type Rep ListBuildsForProject Source # 
type Rep ListBuildsForProject = D1 (MetaData "ListBuildsForProject" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.5.0-2ek6cqv6qBXE0cPl3ApURV" False) (C1 (MetaCons "ListBuildsForProject'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbfpSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortOrderType))) ((:*:) (S1 (MetaSel (Just Symbol "_lbfpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbfpProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListBuildsForProject Source # 

Request Lenses

lbfpSortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType) Source #

The order to list build IDs. Valid values include: * ASCENDING : List the build IDs in ascending order by build ID. * DESCENDING : List the build IDs in descending order by build ID.

lbfpNextToken :: Lens' ListBuildsForProject (Maybe Text) Source #

During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.

lbfpProjectName :: Lens' ListBuildsForProject Text Source #

The name of the build project.

Destructuring the Response

listBuildsForProjectResponse Source #

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

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

  • lbfprsIds - A list of build IDs for the specified build project, with each build ID representing a single build.
  • lbfprsNextToken - If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call.
  • lbfprsResponseStatus - -- | The response status code.

data ListBuildsForProjectResponse Source #

See: listBuildsForProjectResponse smart constructor.

Instances

Eq ListBuildsForProjectResponse Source # 
Data ListBuildsForProjectResponse Source # 

Methods

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

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

toConstr :: ListBuildsForProjectResponse -> Constr #

dataTypeOf :: ListBuildsForProjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBuildsForProjectResponse Source # 
Show ListBuildsForProjectResponse Source # 
Generic ListBuildsForProjectResponse Source # 
NFData ListBuildsForProjectResponse Source # 
type Rep ListBuildsForProjectResponse Source # 
type Rep ListBuildsForProjectResponse = D1 (MetaData "ListBuildsForProjectResponse" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.5.0-2ek6cqv6qBXE0cPl3ApURV" False) (C1 (MetaCons "ListBuildsForProjectResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lbfprsIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lbfprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lbfprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lbfprsIds :: Lens' ListBuildsForProjectResponse (Maybe (NonEmpty Text)) Source #

A list of build IDs for the specified build project, with each build ID representing a single build.

lbfprsNextToken :: Lens' ListBuildsForProjectResponse (Maybe Text) Source #

If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call.