libZSservicesZSamazonka-personalizeZSamazonka-personalize
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

Synopsis

Creating a Request

data DeleteSolution Source #

See: newDeleteSolution smart constructor.

Constructors

DeleteSolution' 

Fields

Instances

Instances details
Eq DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Read DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Show DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Generic DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Associated Types

type Rep DeleteSolution :: Type -> Type #

NFData DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Methods

rnf :: DeleteSolution -> () #

Hashable DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

ToJSON DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

AWSRequest DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Associated Types

type AWSResponse DeleteSolution #

ToHeaders DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

ToPath DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

ToQuery DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

type Rep DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

type Rep DeleteSolution = D1 ('MetaData "DeleteSolution" "Amazonka.Personalize.DeleteSolution" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "DeleteSolution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "solutionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSolution Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

newDeleteSolution Source #

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

Instances details
Eq DeleteSolutionResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Read DeleteSolutionResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Show DeleteSolutionResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Generic DeleteSolutionResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Associated Types

type Rep DeleteSolutionResponse :: Type -> Type #

NFData DeleteSolutionResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

Methods

rnf :: DeleteSolutionResponse -> () #

type Rep DeleteSolutionResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteSolution

type Rep DeleteSolutionResponse = D1 ('MetaData "DeleteSolutionResponse" "Amazonka.Personalize.DeleteSolution" "libZSservicesZSamazonka-personalizeZSamazonka-personalize" 'False) (C1 ('MetaCons "DeleteSolutionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteSolutionResponse :: DeleteSolutionResponse Source #

Create a value of DeleteSolutionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.