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

Description

 
Synopsis

Documentation

data InAppMessageCampaign Source #

Targeted in-app message campaign.

See: newInAppMessageCampaign smart constructor.

Constructors

InAppMessageCampaign' 

Fields

Instances

Instances details
Eq InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

Read InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

Show InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

Generic InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

Associated Types

type Rep InAppMessageCampaign :: Type -> Type #

NFData InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

Methods

rnf :: InAppMessageCampaign -> () #

Hashable InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

FromJSON InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

type Rep InAppMessageCampaign Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.InAppMessageCampaign

newInAppMessageCampaign :: InAppMessageCampaign Source #

Create a value of InAppMessageCampaign 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:sessionCap:InAppMessageCampaign', inAppMessageCampaign_sessionCap - Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.

$sel:priority:InAppMessageCampaign', inAppMessageCampaign_priority - Priority of the in-app message.

$sel:schedule:InAppMessageCampaign', inAppMessageCampaign_schedule - Schedule of the campaign.

$sel:campaignId:InAppMessageCampaign', inAppMessageCampaign_campaignId - Campaign id of the corresponding campaign.

$sel:treatmentId:InAppMessageCampaign', inAppMessageCampaign_treatmentId - Treatment id of the campaign.

$sel:inAppMessage:InAppMessageCampaign', inAppMessageCampaign_inAppMessage - In-app message content with all fields required for rendering an in-app message.

$sel:totalCap:InAppMessageCampaign', inAppMessageCampaign_totalCap - Total cap which controls the number of times an in-app message can be shown to the endpoint.

$sel:dailyCap:InAppMessageCampaign', inAppMessageCampaign_dailyCap - Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.

inAppMessageCampaign_sessionCap :: Lens' InAppMessageCampaign (Maybe Int) Source #

Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.

inAppMessageCampaign_campaignId :: Lens' InAppMessageCampaign (Maybe Text) Source #

Campaign id of the corresponding campaign.

inAppMessageCampaign_inAppMessage :: Lens' InAppMessageCampaign (Maybe InAppMessage) Source #

In-app message content with all fields required for rendering an in-app message.

inAppMessageCampaign_totalCap :: Lens' InAppMessageCampaign (Maybe Int) Source #

Total cap which controls the number of times an in-app message can be shown to the endpoint.

inAppMessageCampaign_dailyCap :: Lens' InAppMessageCampaign (Maybe Int) Source #

Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.