ServiceCatalog.Client.
delete_product
(**kwargs)¶Deletes the specified product.
You cannot delete a product if it was shared with you or is associated with a portfolio.
A delegated admin is authorized to invoke this command.
See also: AWS API Documentation
Request Syntax
response = client.delete_product(
AcceptLanguage='string',
Id='string'
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The product identifier.
dict
Response Syntax
{}
Response Structure
Exceptions
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.ResourceInUseException
ServiceCatalog.Client.exceptions.InvalidParametersException
ServiceCatalog.Client.exceptions.TagOptionNotMigratedException