amazonka-codestar-1.6.1: Amazon CodeStar 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.CodeStar.ListProjects

Contents

Description

Lists all projects in AWS CodeStar associated with your AWS account.

Synopsis

Creating a Request

listProjects :: ListProjects Source #

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:

  • lpNextToken - The continuation token to be used to return the next set of results, if the results cannot be returned in one response.
  • lpMaxResults - The maximum amount of data that can be contained in a single set of results.

data ListProjects Source #

See: listProjects smart constructor.

Instances
Eq ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Data ListProjects Source # 
Instance details

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

Defined in Network.AWS.CodeStar.ListProjects

Show ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Generic ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

Hashable ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

ToJSON ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Associated Types

type Rs ListProjects :: Type #

ToHeaders ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

NFData ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Methods

rnf :: ListProjects -> () #

type Rep ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

type Rep ListProjects = D1 (MetaData "ListProjects" "Network.AWS.CodeStar.ListProjects" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "ListProjects'" PrefixI True) (S1 (MetaSel (Just "_lpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListProjects Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Request Lenses

lpNextToken :: Lens' ListProjects (Maybe Text) Source #

The continuation token to be used to return the next set of results, if the results cannot be returned in one response.

lpMaxResults :: Lens' ListProjects (Maybe Natural) Source #

The maximum amount of data that can be contained in a single set of results.

Destructuring the Response

listProjectsResponse Source #

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:

data ListProjectsResponse Source #

See: listProjectsResponse smart constructor.

Instances
Eq ListProjectsResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Data ListProjectsResponse Source # 
Instance details

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

Defined in Network.AWS.CodeStar.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Generic ListProjectsResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

NFData ListProjectsResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.ListProjects

type Rep ListProjectsResponse = D1 (MetaData "ListProjectsResponse" "Network.AWS.CodeStar.ListProjects" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "ListProjectsResponse'" PrefixI True) (S1 (MetaSel (Just "_lprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_lprsProjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ProjectSummary]))))

Response Lenses

lprsNextToken :: Lens' ListProjectsResponse (Maybe Text) Source #

The continuation token to use when requesting the next set of results, if there are more results to be returned.

lprsResponseStatus :: Lens' ListProjectsResponse Int Source #

  • - | The response status code.