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 |
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
$sel:productId:DisassociateProductFromPortfolio'
, disassociateProductFromPortfolio_productId
- The product identifier.
$sel:portfolioId: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.