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

Description

Creates a new campaign for an application or updates the settings of an existing campaign for an application.

Synopsis

Creating a Request

data CreateCampaign Source #

See: newCreateCampaign smart constructor.

Constructors

CreateCampaign' 

Fields

Instances

Instances details
Eq CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Read CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Show CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Generic CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Associated Types

type Rep CreateCampaign :: Type -> Type #

NFData CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Methods

rnf :: CreateCampaign -> () #

Hashable CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

ToJSON CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

AWSRequest CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Associated Types

type AWSResponse CreateCampaign #

ToHeaders CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

ToPath CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

ToQuery CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

type Rep CreateCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

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

Defined in Amazonka.Pinpoint.CreateCampaign

newCreateCampaign Source #

Create a value of CreateCampaign 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:applicationId:CreateCampaign', createCampaign_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

$sel:writeCampaignRequest:CreateCampaign', createCampaign_writeCampaignRequest - Undocumented member.

Request Lenses

createCampaign_applicationId :: Lens' CreateCampaign 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 CreateCampaignResponse Source #

See: newCreateCampaignResponse smart constructor.

Constructors

CreateCampaignResponse' 

Fields

Instances

Instances details
Eq CreateCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Read CreateCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Show CreateCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Generic CreateCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Associated Types

type Rep CreateCampaignResponse :: Type -> Type #

NFData CreateCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

Methods

rnf :: CreateCampaignResponse -> () #

type Rep CreateCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateCampaign

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

newCreateCampaignResponse Source #

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

$sel:campaignResponse:CreateCampaignResponse', createCampaignResponse_campaignResponse - Undocumented member.

Response Lenses