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.ListBuilds

Contents

Description

Gets a list of build IDs, with each build ID representing a single build.

This operation returns paginated results.

Synopsis

Creating a Request

listBuilds :: ListBuilds #

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

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

  • lbSortOrder - 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.
  • lbNextToken - 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.

data ListBuilds #

See: listBuilds smart constructor.

Instances
Eq ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Data ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Methods

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

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

toConstr :: ListBuilds -> Constr #

dataTypeOf :: ListBuilds -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Show ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Generic ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Associated Types

type Rep ListBuilds :: * -> * #

Hashable ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

ToJSON ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

AWSPager ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

AWSRequest ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Associated Types

type Rs ListBuilds :: * #

ToHeaders ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Methods

toHeaders :: ListBuilds -> [Header] #

ToPath ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

ToQuery ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

NFData ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Methods

rnf :: ListBuilds -> () #

type Rep ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

type Rep ListBuilds = D1 (MetaData "ListBuilds" "Network.AWS.CodeBuild.ListBuilds" "amazonka-codebuild-1.6.0-11rnSNwGRcgAhQ9VEVnCai" False) (C1 (MetaCons "ListBuilds'" PrefixI True) (S1 (MetaSel (Just "_lbSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortOrderType)) :*: S1 (MetaSel (Just "_lbNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs ListBuilds # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Request Lenses

lbSortOrder :: Lens' ListBuilds (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.

lbNextToken :: Lens' ListBuilds (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.

Destructuring the Response

listBuildsResponse #

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

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

  • lbrsIds - A list of build IDs, with each build ID representing a single build.
  • lbrsNextToken - 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.
  • lbrsResponseStatus - -- | The response status code.

data ListBuildsResponse #

See: listBuildsResponse smart constructor.

Instances
Eq ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Data ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Methods

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

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

toConstr :: ListBuildsResponse -> Constr #

dataTypeOf :: ListBuildsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Show ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Generic ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Associated Types

type Rep ListBuildsResponse :: * -> * #

NFData ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

Methods

rnf :: ListBuildsResponse -> () #

type Rep ListBuildsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListBuilds

type Rep ListBuildsResponse = D1 (MetaData "ListBuildsResponse" "Network.AWS.CodeBuild.ListBuilds" "amazonka-codebuild-1.6.0-11rnSNwGRcgAhQ9VEVnCai" False) (C1 (MetaCons "ListBuildsResponse'" PrefixI True) (S1 (MetaSel (Just "_lbrsIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: (S1 (MetaSel (Just "_lbrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lbrsIds :: Lens' ListBuildsResponse (Maybe (NonEmpty Text)) #

A list of build IDs, with each build ID representing a single build.

lbrsNextToken :: Lens' ListBuildsResponse (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.

lbrsResponseStatus :: Lens' ListBuildsResponse Int #

  • - | The response status code.