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

Description

Retrieves information about the status, configuration, and other settings for a campaign.

Synopsis

Creating a Request

data GetCampaign Source #

See: newGetCampaign smart constructor.

Constructors

GetCampaign' 

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 GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Read GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Show GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Generic GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Associated Types

type Rep GetCampaign :: Type -> Type #

NFData GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Methods

rnf :: GetCampaign -> () #

Hashable GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

AWSRequest GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Associated Types

type AWSResponse GetCampaign #

ToHeaders GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Methods

toHeaders :: GetCampaign -> [Header] #

ToPath GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

ToQuery GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

type Rep GetCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

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

Defined in Amazonka.Pinpoint.GetCampaign

newGetCampaign Source #

Create a value of GetCampaign 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:GetCampaign', getCampaign_campaignId - The unique identifier for the campaign.

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

Request Lenses

getCampaign_campaignId :: Lens' GetCampaign Text Source #

The unique identifier for the campaign.

getCampaign_applicationId :: Lens' GetCampaign 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 GetCampaignResponse Source #

See: newGetCampaignResponse smart constructor.

Constructors

GetCampaignResponse' 

Fields

Instances

Instances details
Eq GetCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Read GetCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Show GetCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Generic GetCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Associated Types

type Rep GetCampaignResponse :: Type -> Type #

NFData GetCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

Methods

rnf :: GetCampaignResponse -> () #

type Rep GetCampaignResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaign

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

newGetCampaignResponse Source #

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

$sel:campaignResponse:GetCampaignResponse', getCampaignResponse_campaignResponse - Undocumented member.

Response Lenses