amazonka-servicecatalog-1.4.5: Amazon Service Catalog SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ServiceCatalog.ListPortfolios

Contents

Description

Lists all portfolios in the catalog.

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 to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
  • lpPageToken - The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .
  • lpPageSize - The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.

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 -> () #

AWSRequest ListPortfolios Source # 
ToPath ListPortfolios Source # 
ToHeaders ListPortfolios Source # 
ToQuery ListPortfolios Source # 
type Rep ListPortfolios Source # 
type Rep ListPortfolios = D1 (MetaData "ListPortfolios" "Network.AWS.ServiceCatalog.ListPortfolios" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" 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 to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.

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

The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .

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

The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.

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.4.5-8bdJVEiVZ77jaeUaDycc5" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

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

The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

lprsPortfolioDetails :: Lens' ListPortfoliosResponse [PortfolioDetail] Source #

List of detailed portfolio information objects.

lprsResponseStatus :: Lens' ListPortfoliosResponse Int Source #

  • - | The response status code.