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

Contents

Description

Associates a product with a portfolio.

Synopsis

Creating a Request

associateProductWithPortfolio Source #

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

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

  • apwpSourcePortfolioId - The identifier of the source portfolio to use with this association.
  • apwpAcceptLanguage - 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.
  • apwpProductId - The product identifier.
  • apwpPortfolioId - The portfolio identifier.

data AssociateProductWithPortfolio Source #

See: associateProductWithPortfolio smart constructor.

Instances

Eq AssociateProductWithPortfolio Source # 
Data AssociateProductWithPortfolio Source # 

Methods

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

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

toConstr :: AssociateProductWithPortfolio -> Constr #

dataTypeOf :: AssociateProductWithPortfolio -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

apwpSourcePortfolioId :: Lens' AssociateProductWithPortfolio (Maybe Text) Source #

The identifier of the source portfolio to use with this association.

apwpAcceptLanguage :: Lens' AssociateProductWithPortfolio (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.

Destructuring the Response

associateProductWithPortfolioResponse Source #

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

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

data AssociateProductWithPortfolioResponse Source #

Instances

Eq AssociateProductWithPortfolioResponse Source # 
Data AssociateProductWithPortfolioResponse Source # 

Methods

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

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

toConstr :: AssociateProductWithPortfolioResponse -> Constr #

dataTypeOf :: AssociateProductWithPortfolioResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateProductWithPortfolioResponse Source # 
Show AssociateProductWithPortfolioResponse Source # 
Generic AssociateProductWithPortfolioResponse Source # 
NFData AssociateProductWithPortfolioResponse Source # 
type Rep AssociateProductWithPortfolioResponse Source # 
type Rep AssociateProductWithPortfolioResponse = D1 (MetaData "AssociateProductWithPortfolioResponse" "Network.AWS.ServiceCatalog.AssociateProductWithPortfolio" "amazonka-servicecatalog-1.4.5-8bdJVEiVZ77jaeUaDycc5" True) (C1 (MetaCons "AssociateProductWithPortfolioResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_arsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses