| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.DeletePortfolio
Description
Deletes the specified portfolio.
You cannot delete a portfolio if it was shared with you or if it has associated products, users, constraints, or shared accounts.
Creating a Request
Arguments
| :: Text | |
| -> DeletePortfolio |
Creates a value of DeletePortfolio with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChineseddId- The portfolio identifier.
data DeletePortfolio Source #
See: deletePortfolio smart constructor.
Instances
Request Lenses
ddAcceptLanguage :: Lens' DeletePortfolio (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
Destructuring the Response
deletePortfolioResponse Source #
Arguments
| :: Int | |
| -> DeletePortfolioResponse |
Creates a value of DeletePortfolioResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delrsResponseStatus- -- | The response status code.
data DeletePortfolioResponse Source #
See: deletePortfolioResponse smart constructor.
Response Lenses
delrsResponseStatus :: Lens' DeletePortfolioResponse Int Source #
- - | The response status code.