amazonka-mobile-1.5.0: Amazon Mobile SDK.

Copyright(c) 2013-2017 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.Mobile.ListProjects

Contents

Description

Lists projects in AWS Mobile Hub.

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 - Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.
  • lpMaxResults - Maximum number of records to list in a single response.

data ListProjects Source #

Request structure used to request projects list in AWS Mobile Hub.

See: listProjects smart constructor.

Instances

Eq ListProjects Source # 
Data ListProjects Source # 

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 # 
Show ListProjects Source # 
Generic ListProjects Source # 

Associated Types

type Rep ListProjects :: * -> * #

Hashable ListProjects Source # 
NFData ListProjects Source # 

Methods

rnf :: ListProjects -> () #

AWSRequest ListProjects Source # 
ToQuery ListProjects Source # 
ToPath ListProjects Source # 
ToHeaders ListProjects Source # 
type Rep ListProjects Source # 
type Rep ListProjects = D1 (MetaData "ListProjects" "Network.AWS.Mobile.ListProjects" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "ListProjects'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs ListProjects Source # 

Request Lenses

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

Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.

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

Maximum number of records to list in a single response.

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 #

Result structure used for requests to list projects in AWS Mobile Hub.

See: listProjectsResponse smart constructor.

Instances

Eq ListProjectsResponse Source # 
Data ListProjectsResponse Source # 

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 # 
Show ListProjectsResponse Source # 
Generic ListProjectsResponse Source # 
NFData ListProjectsResponse Source # 

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
type Rep ListProjectsResponse = D1 (MetaData "ListProjectsResponse" "Network.AWS.Mobile.ListProjects" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "ListProjectsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lprsProjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProjectSummary]))) (S1 (MetaSel (Just Symbol "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lprsResponseStatus :: Lens' ListProjectsResponse Int Source #

  • - | The response status code.