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

Contents

Description

Lists all portfolios that the specified product is associated with.

Synopsis

Creating a Request

listPortfoliosForProduct Source #

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

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

  • lisAcceptLanguage - 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.
  • lisPageToken - The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .
  • lisPageSize - 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.
  • lisProductId - The product identifier.

data ListPortfoliosForProduct Source #

See: listPortfoliosForProduct smart constructor.

Instances

Eq ListPortfoliosForProduct Source # 
Data ListPortfoliosForProduct Source # 

Methods

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

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

toConstr :: ListPortfoliosForProduct -> Constr #

dataTypeOf :: ListPortfoliosForProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPortfoliosForProduct Source # 
Show ListPortfoliosForProduct Source # 
Generic ListPortfoliosForProduct Source # 
Hashable ListPortfoliosForProduct Source # 
ToJSON ListPortfoliosForProduct Source # 
NFData ListPortfoliosForProduct Source # 
AWSRequest ListPortfoliosForProduct Source # 
ToPath ListPortfoliosForProduct Source # 
ToHeaders ListPortfoliosForProduct Source # 
ToQuery ListPortfoliosForProduct Source # 
type Rep ListPortfoliosForProduct Source # 
type Rep ListPortfoliosForProduct = D1 (MetaData "ListPortfoliosForProduct" "Network.AWS.ServiceCatalog.ListPortfoliosForProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "ListPortfoliosForProduct'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lisAcceptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lisPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lisPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lisProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListPortfoliosForProduct Source # 

Request Lenses

lisAcceptLanguage :: Lens' ListPortfoliosForProduct (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.

lisPageToken :: Lens' ListPortfoliosForProduct (Maybe Text) Source #

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

lisPageSize :: Lens' ListPortfoliosForProduct (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

listPortfoliosForProductResponse Source #

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

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

data ListPortfoliosForProductResponse Source #

See: listPortfoliosForProductResponse smart constructor.

Instances

Eq ListPortfoliosForProductResponse Source # 
Data ListPortfoliosForProductResponse Source # 

Methods

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

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

toConstr :: ListPortfoliosForProductResponse -> Constr #

dataTypeOf :: ListPortfoliosForProductResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPortfoliosForProductResponse Source # 
Show ListPortfoliosForProductResponse Source # 
Generic ListPortfoliosForProductResponse Source # 
NFData ListPortfoliosForProductResponse Source # 
type Rep ListPortfoliosForProductResponse Source # 
type Rep ListPortfoliosForProductResponse = D1 (MetaData "ListPortfoliosForProductResponse" "Network.AWS.ServiceCatalog.ListPortfoliosForProduct" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" False) (C1 (MetaCons "ListPortfoliosForProductResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lpfprsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lpfprsPortfolioDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PortfolioDetail]))) (S1 (MetaSel (Just Symbol "_lpfprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lpfprsNextPageToken :: Lens' ListPortfoliosForProductResponse (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.

lpfprsPortfolioDetails :: Lens' ListPortfoliosForProductResponse [PortfolioDetail] Source #

List of detailed portfolio information objects.