| 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.DisassociateProductFromPortfolio
Description
Disassociates the specified product from the specified portfolio.
A delegated admin is authorized to invoke this command.
Synopsis
- data DisassociateProductFromPortfolio = DisassociateProductFromPortfolio' {
- acceptLanguage :: Maybe Text
- productId :: Text
- portfolioId :: Text
- newDisassociateProductFromPortfolio :: Text -> Text -> DisassociateProductFromPortfolio
- disassociateProductFromPortfolio_acceptLanguage :: Lens' DisassociateProductFromPortfolio (Maybe Text)
- disassociateProductFromPortfolio_productId :: Lens' DisassociateProductFromPortfolio Text
- disassociateProductFromPortfolio_portfolioId :: Lens' DisassociateProductFromPortfolio Text
- data DisassociateProductFromPortfolioResponse = DisassociateProductFromPortfolioResponse' {
- httpStatus :: Int
- newDisassociateProductFromPortfolioResponse :: Int -> DisassociateProductFromPortfolioResponse
- disassociateProductFromPortfolioResponse_httpStatus :: Lens' DisassociateProductFromPortfolioResponse Int
Creating a Request
data DisassociateProductFromPortfolio Source #
See: newDisassociateProductFromPortfolio smart constructor.
Constructors
| DisassociateProductFromPortfolio' | |
Fields
| |
Instances
newDisassociateProductFromPortfolio Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateProductFromPortfolio |
Create a value of DisassociateProductFromPortfolio 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:DisassociateProductFromPortfolio', disassociateProductFromPortfolio_acceptLanguage - The language code.
en- English (default)jp- Japanesezh- Chinese
DisassociateProductFromPortfolio, disassociateProductFromPortfolio_productId - The product identifier.
DisassociateProductFromPortfolio, disassociateProductFromPortfolio_portfolioId - The portfolio identifier.
Request Lenses
disassociateProductFromPortfolio_acceptLanguage :: Lens' DisassociateProductFromPortfolio (Maybe Text) Source #
The language code.
en- English (default)jp- Japanesezh- Chinese
disassociateProductFromPortfolio_productId :: Lens' DisassociateProductFromPortfolio Text Source #
The product identifier.
disassociateProductFromPortfolio_portfolioId :: Lens' DisassociateProductFromPortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data DisassociateProductFromPortfolioResponse Source #
See: newDisassociateProductFromPortfolioResponse smart constructor.
Constructors
| DisassociateProductFromPortfolioResponse' | |
Fields
| |
Instances
newDisassociateProductFromPortfolioResponse Source #
Arguments
| :: Int | |
| -> DisassociateProductFromPortfolioResponse |
Create a value of DisassociateProductFromPortfolioResponse 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:DisassociateProductFromPortfolioResponse', disassociateProductFromPortfolioResponse_httpStatus - The response's http status code.
Response Lenses
disassociateProductFromPortfolioResponse_httpStatus :: Lens' DisassociateProductFromPortfolioResponse Int Source #
The response's http status code.