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.DeleteCampaign

Description

Removes a campaign by deleting the solution deployment. The solution that the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no longer be specified in a GetRecommendations request. For more information on campaigns, see CreateCampaign.

Synopsis

Creating a Request

data DeleteCampaign Source #

See: newDeleteCampaign smart constructor.

Constructors

DeleteCampaign' 

Fields

  • campaignArn :: Text

    The Amazon Resource Name (ARN) of the campaign to delete.

Instances

Instances details
Eq DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Read DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Show DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Generic DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Associated Types

type Rep DeleteCampaign :: Type -> Type #

NFData DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Methods

rnf :: DeleteCampaign -> () #

Hashable DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

ToJSON DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

AWSRequest DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Associated Types

type AWSResponse DeleteCampaign #

ToHeaders DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

ToPath DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

ToQuery DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

type Rep DeleteCampaign Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

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

Defined in Amazonka.Personalize.DeleteCampaign

newDeleteCampaign Source #

Create a value of DeleteCampaign 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:campaignArn:DeleteCampaign', deleteCampaign_campaignArn - The Amazon Resource Name (ARN) of the campaign to delete.

Request Lenses

deleteCampaign_campaignArn :: Lens' DeleteCampaign Text Source #

The Amazon Resource Name (ARN) of the campaign to delete.

Destructuring the Response

data DeleteCampaignResponse Source #

See: newDeleteCampaignResponse smart constructor.

Instances

Instances details
Eq DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Read DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Show DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Generic DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Associated Types

type Rep DeleteCampaignResponse :: Type -> Type #

NFData DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

Methods

rnf :: DeleteCampaignResponse -> () #

type Rep DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Personalize.DeleteCampaign

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

newDeleteCampaignResponse :: DeleteCampaignResponse Source #

Create a value of DeleteCampaignResponse with all optional fields omitted.

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