| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.InAppMessage
Description
Synopsis
Documentation
data InAppMessage Source #
Provides all fields required for building an in-app message.
See: newInAppMessage smart constructor.
Constructors
| InAppMessage' | |
Instances
newInAppMessage :: InAppMessage Source #
Create a value of InAppMessage 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:content:InAppMessage', inAppMessage_content - In-app message content.
$sel:customConfig:InAppMessage', inAppMessage_customConfig - Custom config to be sent to SDK.
$sel:layout:InAppMessage', inAppMessage_layout - The layout of the message.
inAppMessage_content :: Lens' InAppMessage (Maybe [InAppMessageContent]) Source #
In-app message content.
inAppMessage_customConfig :: Lens' InAppMessage (Maybe (HashMap Text Text)) Source #
Custom config to be sent to SDK.
inAppMessage_layout :: Lens' InAppMessage (Maybe Layout) Source #
The layout of the message.