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.Types.CampaignsResponse

Description

 
Synopsis

Documentation

data CampaignsResponse Source #

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

See: newCampaignsResponse smart constructor.

Constructors

CampaignsResponse' 

Fields

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • item :: [CampaignResponse]

    An array of responses, one for each campaign that's associated with the application.

Instances

Instances details
Eq CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

Read CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

Show CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

Generic CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

Associated Types

type Rep CampaignsResponse :: Type -> Type #

NFData CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

Methods

rnf :: CampaignsResponse -> () #

Hashable CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

FromJSON CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

type Rep CampaignsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignsResponse

type Rep CampaignsResponse = D1 ('MetaData "CampaignsResponse" "Amazonka.Pinpoint.Types.CampaignsResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CampaignsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CampaignResponse])))

newCampaignsResponse :: CampaignsResponse Source #

Create a value of CampaignsResponse 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:nextToken:CampaignsResponse', campaignsResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

$sel:item:CampaignsResponse', campaignsResponse_item - An array of responses, one for each campaign that's associated with the application.

campaignsResponse_nextToken :: Lens' CampaignsResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

campaignsResponse_item :: Lens' CampaignsResponse [CampaignResponse] Source #

An array of responses, one for each campaign that's associated with the application.