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 CampaignInAppMessage = CampaignInAppMessage' {}
- newCampaignInAppMessage :: CampaignInAppMessage
- campaignInAppMessage_layout :: Lens' CampaignInAppMessage (Maybe Layout)
- campaignInAppMessage_body :: Lens' CampaignInAppMessage (Maybe Text)
- campaignInAppMessage_content :: Lens' CampaignInAppMessage (Maybe [InAppMessageContent])
- campaignInAppMessage_customConfig :: Lens' CampaignInAppMessage (Maybe (HashMap Text Text))
Documentation
data CampaignInAppMessage Source #
In-app message configuration.
See: newCampaignInAppMessage
smart constructor.
Instances
newCampaignInAppMessage :: CampaignInAppMessage Source #
Create a value of CampaignInAppMessage
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:layout:CampaignInAppMessage'
, campaignInAppMessage_layout
- In-app message layout.
$sel:body:CampaignInAppMessage'
, campaignInAppMessage_body
- The message body of the notification, the email body or the text
message.
$sel:content:CampaignInAppMessage'
, campaignInAppMessage_content
- In-app message content.
$sel:customConfig:CampaignInAppMessage'
, campaignInAppMessage_customConfig
- Custom config to be sent to client.
campaignInAppMessage_layout :: Lens' CampaignInAppMessage (Maybe Layout) Source #
In-app message layout.
campaignInAppMessage_body :: Lens' CampaignInAppMessage (Maybe Text) Source #
The message body of the notification, the email body or the text message.
campaignInAppMessage_content :: Lens' CampaignInAppMessage (Maybe [InAppMessageContent]) Source #
In-app message content.
campaignInAppMessage_customConfig :: Lens' CampaignInAppMessage (Maybe (HashMap Text Text)) Source #
Custom config to be sent to client.