amazonka-servicecatalog-1.6.0: Amazon Service Catalog 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.ServiceCatalog.ListPortfolios

Contents

Description

Lists all portfolios in the catalog.

This operation returns paginated results.

Synopsis

Creating a Request

listPortfolios :: ListPortfolios Source #

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

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

  • lpAcceptLanguage - The language code. * en - English (default) * jp - Japanese * zh - Chinese
  • lpPageToken - The page token for the next set of results. To retrieve the first set of results, use null.
  • lpPageSize - The maximum number of items to return with this call.

data ListPortfolios Source #

See: listPortfolios smart constructor.

Instances

Eq ListPortfolios Source # 
Data ListPortfolios Source # 

Methods

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

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

toConstr :: ListPortfolios -> Constr #

dataTypeOf :: ListPortfolios -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPortfolios Source # 
Show ListPortfolios Source # 
Generic ListPortfolios Source # 

Associated Types

type Rep ListPortfolios :: * -> * #

Hashable ListPortfolios Source # 
ToJSON ListPortfolios Source # 
NFData ListPortfolios Source # 

Methods

rnf :: ListPortfolios -> () #

AWSPager ListPortfolios Source # 
AWSRequest ListPortfolios Source # 
ToHeaders ListPortfolios Source # 
ToPath ListPortfolios Source # 
ToQuery ListPortfolios Source # 
type Rep ListPortfolios Source # 
type Rep ListPortfolios = D1 * (MetaData "ListPortfolios" "Network.AWS.ServiceCatalog.ListPortfolios" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "ListPortfolios'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lpPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListPortfolios Source # 

Request Lenses

lpAcceptLanguage :: Lens' ListPortfolios (Maybe Text) Source #

The language code. * en - English (default) * jp - Japanese * zh - Chinese

lpPageToken :: Lens' ListPortfolios (Maybe Text) Source #

The page token for the next set of results. To retrieve the first set of results, use null.

lpPageSize :: Lens' ListPortfolios (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

listPortfoliosResponse Source #

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

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

data ListPortfoliosResponse Source #

See: listPortfoliosResponse smart constructor.

Instances

Eq ListPortfoliosResponse Source # 
Data ListPortfoliosResponse Source # 

Methods

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

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

toConstr :: ListPortfoliosResponse -> Constr #

dataTypeOf :: ListPortfoliosResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPortfoliosResponse Source # 
Show ListPortfoliosResponse Source # 
Generic ListPortfoliosResponse Source # 
NFData ListPortfoliosResponse Source # 

Methods

rnf :: ListPortfoliosResponse -> () #

type Rep ListPortfoliosResponse Source # 
type Rep ListPortfoliosResponse = D1 * (MetaData "ListPortfoliosResponse" "Network.AWS.ServiceCatalog.ListPortfolios" "amazonka-servicecatalog-1.6.0-8wUR8FvPwUW25Vnsy8k8jt" False) (C1 * (MetaCons "ListPortfoliosResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lprsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lprsPortfolioDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [PortfolioDetail]))) (S1 * (MetaSel (Just Symbol "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lprsNextPageToken :: Lens' ListPortfoliosResponse (Maybe Text) Source #

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

lprsResponseStatus :: Lens' ListPortfoliosResponse Int Source #

  • - | The response status code.