Personalize / Client / delete_campaign

delete_campaign#

Personalize.Client.delete_campaign(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.delete_campaign(
    campaignArn='string'
)
Parameters:

campaignArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the campaign to delete.

Returns:

None

Exceptions

  • Personalize.Client.exceptions.InvalidInputException

  • Personalize.Client.exceptions.ResourceNotFoundException

  • Personalize.Client.exceptions.ResourceInUseException