Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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:
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
Generic DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution type Rep DeleteSolutionResponse :: Type -> Type # | |
Read DeleteSolutionResponse Source # | |
Show DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution showsPrec :: Int -> DeleteSolutionResponse -> ShowS # show :: DeleteSolutionResponse -> String # showList :: [DeleteSolutionResponse] -> ShowS # | |
NFData DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution rnf :: DeleteSolutionResponse -> () # | |
Eq DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution | |
type Rep DeleteSolutionResponse Source # | |
newDeleteSolutionResponse :: DeleteSolutionResponse Source #
Create a value of DeleteSolutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.