amazonka-codebuild-1.6.1: Amazon CodeBuild 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.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 AWS CodeBuild project.

data ListBuildsForProject Source #

See: listBuildsForProject smart constructor.

Instances
Eq ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Data ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.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 Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Show ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Generic ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Associated Types

type Rep ListBuildsForProject :: Type -> Type #

Hashable ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

ToJSON ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

AWSPager ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

AWSRequest ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Associated Types

type Rs ListBuildsForProject :: Type #

ToHeaders ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

ToPath ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

ToQuery ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

NFData ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Methods

rnf :: ListBuildsForProject -> () #

type Rep ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

type Rep ListBuildsForProject = D1 (MetaData "ListBuildsForProject" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.6.1-CHtoXrKmhWY3Wp1eAVtcUH" False) (C1 (MetaCons "ListBuildsForProject'" PrefixI True) (S1 (MetaSel (Just "_lbfpSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortOrderType)) :*: (S1 (MetaSel (Just "_lbfpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbfpProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListBuildsForProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

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

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Data ListBuildsForProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

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

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Show ListBuildsForProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Generic ListBuildsForProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Associated Types

type Rep ListBuildsForProjectResponse :: Type -> Type #

NFData ListBuildsForProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

type Rep ListBuildsForProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

type Rep ListBuildsForProjectResponse = D1 (MetaData "ListBuildsForProjectResponse" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.6.1-CHtoXrKmhWY3Wp1eAVtcUH" False) (C1 (MetaCons "ListBuildsForProjectResponse'" PrefixI True) (S1 (MetaSel (Just "_lbfprsIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: (S1 (MetaSel (Just "_lbfprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.