delete_solution

delete_solution(**kwargs)

Deletes all versions of a solution and the Solution object itself. Before deleting a solution, you must delete all campaigns based on the solution. To determine what campaigns are using the solution, call ListCampaigns and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution if an associated SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For more information on solutions, see CreateSolution.

See also: AWS API Documentation

Request Syntax

response = client.delete_solution(
    solutionArn='string'
)
Parameters
solutionArn (string) --

[REQUIRED]

The ARN of the solution to delete.

Returns
None

Exceptions

  • Personalize.Client.exceptions.InvalidInputException
  • Personalize.Client.exceptions.ResourceNotFoundException
  • Personalize.Client.exceptions.ResourceInUseException