Smaws_Client_ServiceCatalog.DeleteProductDeletes 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TagOptionNotMigratedException of Types.tag_option_not_migrated_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_product_input ->
(Types.delete_product_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TagOptionNotMigratedException of Types.tag_option_not_migrated_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_product_input ->
(Types.delete_product_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `TagOptionNotMigratedException of Types.tag_option_not_migrated_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result