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 TextMessage = TextMessage' {}
- newTextMessage :: Locale -> Text -> TextMessage
- textMessage_locale :: Lens' TextMessage Locale
- textMessage_value :: Lens' TextMessage Text
Documentation
data TextMessage Source #
The text message.
See: newTextMessage
smart constructor.
Instances
Create a value of TextMessage
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:locale:TextMessage'
, textMessage_locale
- The locale of the text message. Currently, en-US is supported.
$sel:value:TextMessage'
, textMessage_value
- The value of the text message.
textMessage_locale :: Lens' TextMessage Locale Source #
The locale of the text message. Currently, en-US is supported.
textMessage_value :: Lens' TextMessage Text Source #
The value of the text message.