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 |
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.
DeleteSolution' | |
|
Instances
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.
Instances
Eq DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution | |
Read DeleteSolutionResponse Source # | |
Show DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution showsPrec :: Int -> DeleteSolutionResponse -> ShowS # show :: DeleteSolutionResponse -> String # showList :: [DeleteSolutionResponse] -> ShowS # | |
Generic DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution type Rep DeleteSolutionResponse :: Type -> Type # | |
NFData DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution rnf :: DeleteSolutionResponse -> () # | |
type Rep DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution |
newDeleteSolutionResponse :: DeleteSolutionResponse Source #
Create a value of DeleteSolutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.