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 |
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.
DisassociateProductFromPortfolio' | |
|
Instances
newDisassociateProductFromPortfolio Source #
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.
DisassociateProductFromPortfolioResponse' | |
|
Instances
Eq DisassociateProductFromPortfolioResponse Source # | |
Read DisassociateProductFromPortfolioResponse Source # | |
Show DisassociateProductFromPortfolioResponse Source # | |
Generic DisassociateProductFromPortfolioResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisassociateProductFromPortfolio type Rep DisassociateProductFromPortfolioResponse :: Type -> Type # | |
NFData DisassociateProductFromPortfolioResponse Source # | |
type Rep DisassociateProductFromPortfolioResponse Source # | |
Defined in Amazonka.ServiceCatalog.DisassociateProductFromPortfolio type Rep DisassociateProductFromPortfolioResponse = D1 ('MetaData "DisassociateProductFromPortfolioResponse" "Amazonka.ServiceCatalog.DisassociateProductFromPortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DisassociateProductFromPortfolioResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateProductFromPortfolioResponse Source #
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.