amazonka-codebuild-1.6.0: 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 #

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 #

See: listBuildsForProject smart constructor.

Instances
Eq ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

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

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Show ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Generic ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Associated Types

type Rep ListBuildsForProject :: * -> * #

Hashable ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

ToJSON ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

AWSPager ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

AWSRequest ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Associated Types

type Rs ListBuildsForProject :: * #

ToHeaders ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

ToPath ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

ToQuery ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

NFData ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Methods

rnf :: ListBuildsForProject -> () #

type Rep ListBuildsForProject # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

type Rep ListBuildsForProject = D1 (MetaData "ListBuildsForProject" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.6.0-11rnSNwGRcgAhQ9VEVnCai" 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 # 
Instance details

Defined in Network.AWS.CodeBuild.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 AWS CodeBuild project.

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

Defined in Network.AWS.CodeBuild.ListBuildsForProject

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

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Show ListBuildsForProjectResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Generic ListBuildsForProjectResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

Associated Types

type Rep ListBuildsForProjectResponse :: * -> * #

NFData ListBuildsForProjectResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

type Rep ListBuildsForProjectResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuildsForProject

type Rep ListBuildsForProjectResponse = D1 (MetaData "ListBuildsForProjectResponse" "Network.AWS.CodeBuild.ListBuildsForProject" "amazonka-codebuild-1.6.0-11rnSNwGRcgAhQ9VEVnCai" 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)) #

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.