| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServiceCatalog.AssociateProductWithPortfolio
Description
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_acceptLanguage :: Lens' AssociateProductWithPortfolio (Maybe Text)
- associateProductWithPortfolio_sourcePortfolioId :: 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.
Constructors
| AssociateProductWithPortfolio' | |
Fields
| |
Instances
newAssociateProductWithPortfolio Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateProductWithPortfolio |
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:acceptLanguage:AssociateProductWithPortfolio', associateProductWithPortfolio_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
$sel:sourcePortfolioId:AssociateProductWithPortfolio', associateProductWithPortfolio_sourcePortfolioId - The identifier of the source portfolio.
AssociateProductWithPortfolio, associateProductWithPortfolio_productId - The product identifier.
AssociateProductWithPortfolio, associateProductWithPortfolio_portfolioId - The portfolio identifier.
Request Lenses
associateProductWithPortfolio_acceptLanguage :: Lens' AssociateProductWithPortfolio (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
associateProductWithPortfolio_sourcePortfolioId :: Lens' AssociateProductWithPortfolio (Maybe Text) Source #
The identifier of the source portfolio.
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.
Constructors
| AssociateProductWithPortfolioResponse' | |
Fields
| |
Instances
newAssociateProductWithPortfolioResponse Source #
Arguments
| :: Int | |
| -> AssociateProductWithPortfolioResponse |
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.