| 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.AlexaBusiness.Types.TextMessage
Description
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.
Constructors
| TextMessage' | |
Instances
Arguments
| :: Locale | |
| -> Text | |
| -> TextMessage |
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.