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 |
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:
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
Generic DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution Associated Types type Rep DeleteSolutionResponse :: Type -> Type # Methods from :: DeleteSolutionResponse -> Rep DeleteSolutionResponse x # to :: Rep DeleteSolutionResponse x -> DeleteSolutionResponse # | |
Read DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution | |
Show DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution Methods showsPrec :: Int -> DeleteSolutionResponse -> ShowS # show :: DeleteSolutionResponse -> String # showList :: [DeleteSolutionResponse] -> ShowS # | |
NFData DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution Methods rnf :: DeleteSolutionResponse -> () # | |
Eq DeleteSolutionResponse Source # | |
Defined in Amazonka.Personalize.DeleteSolution Methods (==) :: DeleteSolutionResponse -> DeleteSolutionResponse -> Bool # (/=) :: DeleteSolutionResponse -> DeleteSolutionResponse -> Bool # | |
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.