amazonka-codebuild-1.4.5: Amazon CodeBuild SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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.

Synopsis

Creating a Request

listBuildsForProject #

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 to get a list of build IDs for.

data ListBuildsForProject #

See: listBuildsForProject smart constructor.

Instances

Eq ListBuildsForProject # 
Data ListBuildsForProject # 

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 # 
Show ListBuildsForProject # 
Generic ListBuildsForProject # 
Hashable ListBuildsForProject # 
ToJSON ListBuildsForProject # 
NFData ListBuildsForProject # 

Methods

rnf :: ListBuildsForProject -> () #

AWSRequest ListBuildsForProject # 
ToQuery ListBuildsForProject # 
ToPath ListBuildsForProject # 
ToHeaders ListBuildsForProject # 
type Rep ListBuildsForProject # 
type Rep ListBuildsForProject = D1 (MetaData "ListBuildsForProject" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.4.5-3NVU2twfIhsHq4YMwwDof3" 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 # 

Request Lenses

lbfpSortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType) #

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) #

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 #

The name of the build project to get a list of build IDs for.

Destructuring the Response

listBuildsForProjectResponse #

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 #

See: listBuildsForProjectResponse smart constructor.

Instances

Eq ListBuildsForProjectResponse # 
Data ListBuildsForProjectResponse # 

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 # 
Show ListBuildsForProjectResponse # 
Generic ListBuildsForProjectResponse # 
NFData ListBuildsForProjectResponse # 
type Rep ListBuildsForProjectResponse # 
type Rep ListBuildsForProjectResponse = D1 (MetaData "ListBuildsForProjectResponse" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.4.5-3NVU2twfIhsHq4YMwwDof3" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

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

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

lbfprsNextToken :: Lens' ListBuildsForProjectResponse (Maybe Text) #

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.