Module Smaws_Client_Personalize.DeleteCampaign

Removes a campaign by deleting the solution deployment. The solution that the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no longer be specified in a GetRecommendations request. For information on creating campaigns, see CreateCampaign.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_campaign_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result