Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.Personalize.DeleteSolution
Description
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.
Creating a Request
data DeleteSolution Source #
See: newDeleteSolution
smart constructor.
Constructors
DeleteSolution' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteSolution |
Create a value of DeleteSolution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:solutionArn:DeleteSolution'
, deleteSolution_solutionArn
- The ARN of the solution to delete.
Request Lenses
deleteSolution_solutionArn :: Lens' DeleteSolution Text Source #
The ARN of the solution to delete.
Destructuring the Response
data DeleteSolutionResponse Source #
See: newDeleteSolutionResponse
smart constructor.
Constructors
DeleteSolutionResponse' | |
Instances
newDeleteSolutionResponse :: DeleteSolutionResponse Source #
Create a value of DeleteSolutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.