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

Description

Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.

Synopsis

Creating a Request

data GetCampaigns Source #

See: newGetCampaigns smart constructor.

Constructors

GetCampaigns' 

Fields

  • token :: Maybe Text

    The NextToken string that specifies which page of results to return in a paginated response.

  • pageSize :: Maybe Text

    The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

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

Defined in Amazonka.Pinpoint.GetCampaigns

Read GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Show GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Generic GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Associated Types

type Rep GetCampaigns :: Type -> Type #

NFData GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Methods

rnf :: GetCampaigns -> () #

Hashable GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

AWSRequest GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Associated Types

type AWSResponse GetCampaigns #

ToHeaders GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

ToPath GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

ToQuery GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

type Rep GetCampaigns Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

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

Defined in Amazonka.Pinpoint.GetCampaigns

newGetCampaigns Source #

Create a value of GetCampaigns 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:token:GetCampaigns', getCampaigns_token - The NextToken string that specifies which page of results to return in a paginated response.

$sel:pageSize:GetCampaigns', getCampaigns_pageSize - The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

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

Request Lenses

getCampaigns_token :: Lens' GetCampaigns (Maybe Text) Source #

The NextToken string that specifies which page of results to return in a paginated response.

getCampaigns_pageSize :: Lens' GetCampaigns (Maybe Text) Source #

The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

getCampaigns_applicationId :: Lens' GetCampaigns 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 GetCampaignsResponse Source #

See: newGetCampaignsResponse smart constructor.

Constructors

GetCampaignsResponse' 

Fields

Instances

Instances details
Eq GetCampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Read GetCampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Show GetCampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Generic GetCampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Associated Types

type Rep GetCampaignsResponse :: Type -> Type #

NFData GetCampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

Methods

rnf :: GetCampaignsResponse -> () #

type Rep GetCampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.GetCampaigns

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

newGetCampaignsResponse Source #

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

$sel:campaignsResponse:GetCampaignsResponse', getCampaignsResponse_campaignsResponse - Undocumented member.

Response Lenses