ServiceCatalog.Client.
delete_portfolio
(**kwargs)¶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.
A delegated admin is authorized to invoke this command.
See also: AWS API Documentation
Request Syntax
response = client.delete_portfolio(
AcceptLanguage='string',
Id='string'
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The portfolio identifier.
dict
Response Syntax
{}
Response Structure
Exceptions
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.InvalidParametersException
ServiceCatalog.Client.exceptions.ResourceInUseException
ServiceCatalog.Client.exceptions.TagOptionNotMigratedException