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 ChannelMessageCallback = ChannelMessageCallback' {}
- newChannelMessageCallback :: Text -> ChannelMessageCallback
- channelMessageCallback_content :: Lens' ChannelMessageCallback (Maybe Text)
- channelMessageCallback_metadata :: Lens' ChannelMessageCallback (Maybe Text)
- channelMessageCallback_messageId :: Lens' ChannelMessageCallback Text
Documentation
data ChannelMessageCallback Source #
Stores information about a callback.
See: newChannelMessageCallback
smart constructor.
Instances
newChannelMessageCallback Source #
Create a value of ChannelMessageCallback
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:ChannelMessageCallback'
, channelMessageCallback_content
- The message content.
$sel:metadata:ChannelMessageCallback'
, channelMessageCallback_metadata
- The message metadata.
$sel:messageId:ChannelMessageCallback'
, channelMessageCallback_messageId
- The message ID.
channelMessageCallback_content :: Lens' ChannelMessageCallback (Maybe Text) Source #
The message content.
channelMessageCallback_metadata :: Lens' ChannelMessageCallback (Maybe Text) Source #
The message metadata.
channelMessageCallback_messageId :: Lens' ChannelMessageCallback Text Source #
The message ID.