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

Contents

Description

Gets a list of build project names, with each build project name representing a single build project.

This operation returns paginated results.

Synopsis

Creating a Request

listProjects :: ListProjects #

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

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

  • lpSortOrder - The order in which to list build projects. Valid values include: * ASCENDING : List the build project names in ascending order. * DESCENDING : List the build project names in descending order. Use sortBy to specify the criterion to be used to list build project names.
  • lpNextToken - 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.
  • lpSortBy - The criterion to be used to list build project names. Valid values include: * CREATED_TIME : List the build project names based on when each build project was created. * LAST_MODIFIED_TIME : List the build project names based on when information about each build project was last changed. * NAME : List the build project names based on each build project's name. Use sortOrder to specify in what order to list the build project names based on the preceding criteria.

data ListProjects #

See: listProjects smart constructor.

Instances
Eq ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Data ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Methods

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

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

toConstr :: ListProjects -> Constr #

dataTypeOf :: ListProjects -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Show ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Generic ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Associated Types

type Rep ListProjects :: * -> * #

Hashable ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

ToJSON ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

AWSPager ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

AWSRequest ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Associated Types

type Rs ListProjects :: * #

ToHeaders ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

ToPath ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

ToQuery ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

NFData ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Methods

rnf :: ListProjects -> () #

type Rep ListProjects # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

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

Defined in Network.AWS.CodeBuild.ListProjects

Request Lenses

lpSortOrder :: Lens' ListProjects (Maybe SortOrderType) #

The order in which to list build projects. Valid values include: * ASCENDING : List the build project names in ascending order. * DESCENDING : List the build project names in descending order. Use sortBy to specify the criterion to be used to list build project names.

lpNextToken :: Lens' ListProjects (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.

lpSortBy :: Lens' ListProjects (Maybe ProjectSortByType) #

The criterion to be used to list build project names. Valid values include: * CREATED_TIME : List the build project names based on when each build project was created. * LAST_MODIFIED_TIME : List the build project names based on when information about each build project was last changed. * NAME : List the build project names based on each build project's name. Use sortOrder to specify in what order to list the build project names based on the preceding criteria.

Destructuring the Response

listProjectsResponse #

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

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

  • lprsNextToken - 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.
  • lprsProjects - The list of build project names, with each build project name representing a single build project.
  • lprsResponseStatus - -- | The response status code.

data ListProjectsResponse #

See: listProjectsResponse smart constructor.

Instances
Eq ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Data ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Methods

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

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

toConstr :: ListProjectsResponse -> Constr #

dataTypeOf :: ListProjectsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Show ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Generic ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Associated Types

type Rep ListProjectsResponse :: * -> * #

NFData ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse # 
Instance details

Defined in Network.AWS.CodeBuild.ListProjects

type Rep ListProjectsResponse = D1 (MetaData "ListProjectsResponse" "Network.AWS.CodeBuild.ListProjects" "amazonka-codebuild-1.6.0-11rnSNwGRcgAhQ9VEVnCai" False) (C1 (MetaCons "ListProjectsResponse'" PrefixI True) (S1 (MetaSel (Just "_lprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lprsProjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 Text))) :*: S1 (MetaSel (Just "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lprsNextToken :: Lens' ListProjectsResponse (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.

lprsProjects :: Lens' ListProjectsResponse (Maybe (NonEmpty Text)) #

The list of build project names, with each build project name representing a single build project.

lprsResponseStatus :: Lens' ListProjectsResponse Int #

  • - | The response status code.