Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InAppMessageCampaign = InAppMessageCampaign' {}
- newInAppMessageCampaign :: InAppMessageCampaign
- inAppMessageCampaign_sessionCap :: Lens' InAppMessageCampaign (Maybe Int)
- inAppMessageCampaign_priority :: Lens' InAppMessageCampaign (Maybe Int)
- inAppMessageCampaign_schedule :: Lens' InAppMessageCampaign (Maybe InAppCampaignSchedule)
- inAppMessageCampaign_campaignId :: Lens' InAppMessageCampaign (Maybe Text)
- inAppMessageCampaign_treatmentId :: Lens' InAppMessageCampaign (Maybe Text)
- inAppMessageCampaign_inAppMessage :: Lens' InAppMessageCampaign (Maybe InAppMessage)
- inAppMessageCampaign_totalCap :: Lens' InAppMessageCampaign (Maybe Int)
- inAppMessageCampaign_dailyCap :: Lens' InAppMessageCampaign (Maybe Int)
Documentation
data InAppMessageCampaign Source #
Targeted in-app message campaign.
See: newInAppMessageCampaign
smart constructor.
InAppMessageCampaign' | |
|
Instances
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_priority :: Lens' InAppMessageCampaign (Maybe Int) Source #
Priority of the in-app message.
inAppMessageCampaign_schedule :: Lens' InAppMessageCampaign (Maybe InAppCampaignSchedule) Source #
Schedule of the campaign.
inAppMessageCampaign_campaignId :: Lens' InAppMessageCampaign (Maybe Text) Source #
Campaign id of the corresponding campaign.
inAppMessageCampaign_treatmentId :: Lens' InAppMessageCampaign (Maybe Text) Source #
Treatment id of the 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.