libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.DeleteCampaign

Description

Deletes a campaign from an application.

Synopsis

Creating a Request

data DeleteCampaign Source #

See: newDeleteCampaign smart constructor.

Constructors

DeleteCampaign' 

Fields

  • campaignId :: Text

    The unique identifier for the campaign.

  • applicationId :: Text

    The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Instances

Instances details
Eq DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Read DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Show DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Generic DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Associated Types

type Rep DeleteCampaign :: Type -> Type #

NFData DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Methods

rnf :: DeleteCampaign -> () #

Hashable DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

AWSRequest DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Associated Types

type AWSResponse DeleteCampaign #

ToHeaders DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

ToPath DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

ToQuery DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

type Rep DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

type Rep DeleteCampaign = D1 ('MetaData "DeleteCampaign" "Amazonka.Pinpoint.DeleteCampaign" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "DeleteCampaign'" 'PrefixI 'True) (S1 ('MetaSel ('Just "campaignId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.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:campaignId:DeleteCampaign', deleteCampaign_campaignId - The unique identifier for the campaign.

$sel:applicationId:DeleteCampaign', deleteCampaign_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Request Lenses

deleteCampaign_campaignId :: Lens' DeleteCampaign Text Source #

The unique identifier for the campaign.

deleteCampaign_applicationId :: Lens' DeleteCampaign Text Source #

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Destructuring the Response

data DeleteCampaignResponse Source #

See: newDeleteCampaignResponse smart constructor.

Constructors

DeleteCampaignResponse' 

Fields

Instances

Instances details
Eq DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Read DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Show DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Generic DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Associated Types

type Rep DeleteCampaignResponse :: Type -> Type #

NFData DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

Methods

rnf :: DeleteCampaignResponse -> () #

type Rep DeleteCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.DeleteCampaign

type Rep DeleteCampaignResponse = D1 ('MetaData "DeleteCampaignResponse" "Amazonka.Pinpoint.DeleteCampaign" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "DeleteCampaignResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "campaignResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CampaignResponse)))

newDeleteCampaignResponse Source #

Create a value of DeleteCampaignResponse 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:httpStatus:DeleteCampaignResponse', deleteCampaignResponse_httpStatus - The response's http status code.

$sel:campaignResponse:DeleteCampaignResponse', deleteCampaignResponse_campaignResponse - Undocumented member.

Response Lenses