Copyright | (c) 2013-2021 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 |
Associates the specified product with the specified portfolio.
A delegated admin is authorized to invoke this command.
Synopsis
- data AssociateProductWithPortfolio = AssociateProductWithPortfolio' {}
- newAssociateProductWithPortfolio :: Text -> Text -> AssociateProductWithPortfolio
- associateProductWithPortfolio_sourcePortfolioId :: Lens' AssociateProductWithPortfolio (Maybe Text)
- associateProductWithPortfolio_acceptLanguage :: Lens' AssociateProductWithPortfolio (Maybe Text)
- associateProductWithPortfolio_productId :: Lens' AssociateProductWithPortfolio Text
- associateProductWithPortfolio_portfolioId :: Lens' AssociateProductWithPortfolio Text
- data AssociateProductWithPortfolioResponse = AssociateProductWithPortfolioResponse' {
- httpStatus :: Int
- newAssociateProductWithPortfolioResponse :: Int -> AssociateProductWithPortfolioResponse
- associateProductWithPortfolioResponse_httpStatus :: Lens' AssociateProductWithPortfolioResponse Int
Creating a Request
data AssociateProductWithPortfolio Source #
See: newAssociateProductWithPortfolio
smart constructor.
AssociateProductWithPortfolio' | |
|
Instances
newAssociateProductWithPortfolio Source #
Create a value of AssociateProductWithPortfolio
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sourcePortfolioId:AssociateProductWithPortfolio'
, associateProductWithPortfolio_sourcePortfolioId
- The identifier of the source portfolio.
$sel:acceptLanguage:AssociateProductWithPortfolio'
, associateProductWithPortfolio_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:productId:AssociateProductWithPortfolio'
, associateProductWithPortfolio_productId
- The product identifier.
$sel:portfolioId:AssociateProductWithPortfolio'
, associateProductWithPortfolio_portfolioId
- The portfolio identifier.
Request Lenses
associateProductWithPortfolio_sourcePortfolioId :: Lens' AssociateProductWithPortfolio (Maybe Text) Source #
The identifier of the source portfolio.
associateProductWithPortfolio_acceptLanguage :: Lens' AssociateProductWithPortfolio (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
associateProductWithPortfolio_productId :: Lens' AssociateProductWithPortfolio Text Source #
The product identifier.
associateProductWithPortfolio_portfolioId :: Lens' AssociateProductWithPortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data AssociateProductWithPortfolioResponse Source #
See: newAssociateProductWithPortfolioResponse
smart constructor.
AssociateProductWithPortfolioResponse' | |
|
Instances
Eq AssociateProductWithPortfolioResponse Source # | |
Read AssociateProductWithPortfolioResponse Source # | |
Show AssociateProductWithPortfolioResponse Source # | |
Generic AssociateProductWithPortfolioResponse Source # | |
Defined in Amazonka.ServiceCatalog.AssociateProductWithPortfolio type Rep AssociateProductWithPortfolioResponse :: Type -> Type # | |
NFData AssociateProductWithPortfolioResponse Source # | |
type Rep AssociateProductWithPortfolioResponse Source # | |
Defined in Amazonka.ServiceCatalog.AssociateProductWithPortfolio type Rep AssociateProductWithPortfolioResponse = D1 ('MetaData "AssociateProductWithPortfolioResponse" "Amazonka.ServiceCatalog.AssociateProductWithPortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "AssociateProductWithPortfolioResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateProductWithPortfolioResponse Source #
Create a value of AssociateProductWithPortfolioResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:AssociateProductWithPortfolioResponse'
, associateProductWithPortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
associateProductWithPortfolioResponse_httpStatus :: Lens' AssociateProductWithPortfolioResponse Int Source #
The response's http status code.