Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Associates a product with a portfolio.
- associateProductWithPortfolio :: Text -> Text -> AssociateProductWithPortfolio
- data AssociateProductWithPortfolio
- apwpSourcePortfolioId :: Lens' AssociateProductWithPortfolio (Maybe Text)
- apwpAcceptLanguage :: Lens' AssociateProductWithPortfolio (Maybe Text)
- apwpProductId :: Lens' AssociateProductWithPortfolio Text
- apwpPortfolioId :: Lens' AssociateProductWithPortfolio Text
- associateProductWithPortfolioResponse :: Int -> AssociateProductWithPortfolioResponse
- data AssociateProductWithPortfolioResponse
- arsResponseStatus :: Lens' AssociateProductWithPortfolioResponse Int
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. *en
- English (default) *jp
- Japanese *zh
- ChineseapwpProductId
- The product identifier.apwpPortfolioId
- The portfolio identifier.
data AssociateProductWithPortfolio Source #
See: associateProductWithPortfolio
smart constructor.
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. * en
- English (default) * jp
- Japanese * zh
- Chinese
apwpProductId :: Lens' AssociateProductWithPortfolio Text Source #
The product identifier.
apwpPortfolioId :: Lens' AssociateProductWithPortfolio Text Source #
The portfolio identifier.
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:
arsResponseStatus
- -- | The response status code.
data AssociateProductWithPortfolioResponse Source #
See: associateProductWithPortfolioResponse
smart constructor.
Response Lenses
arsResponseStatus :: Lens' AssociateProductWithPortfolioResponse Int Source #
- - | The response status code.