| 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.LexV2Models.Types.Message
Description
Synopsis
Documentation
The object that provides message text and it's type.
See: newMessage smart constructor.
Constructors
| Message' | |
Fields
| |
Instances
newMessage :: Message Source #
Create a value of Message 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:customPayload:Message', message_customPayload - A message in a custom format defined by the client application.
$sel:imageResponseCard:Message', message_imageResponseCard - A message that defines a response card that the client application can
show to the user.
$sel:plainTextMessage:Message', message_plainTextMessage - A message in plain text format.
$sel:ssmlMessage:Message', message_ssmlMessage - A message in Speech Synthesis Markup Language (SSML).
message_customPayload :: Lens' Message (Maybe CustomPayload) Source #
A message in a custom format defined by the client application.
message_imageResponseCard :: Lens' Message (Maybe ImageResponseCard) Source #
A message that defines a response card that the client application can show to the user.
message_plainTextMessage :: Lens' Message (Maybe PlainTextMessage) Source #
A message in plain text format.
message_ssmlMessage :: Lens' Message (Maybe SSMLMessage) Source #
A message in Speech Synthesis Markup Language (SSML).