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 Channel = Channel' {}
- newChannel :: Channel
- channel_mode :: Lens' Channel (Maybe ChannelMode)
- channel_createdBy :: Lens' Channel (Maybe Identity)
- channel_channelArn :: Lens' Channel (Maybe Text)
- channel_privacy :: Lens' Channel (Maybe ChannelPrivacy)
- channel_lastMessageTimestamp :: Lens' Channel (Maybe UTCTime)
- channel_name :: Lens' Channel (Maybe Text)
- channel_metadata :: Lens' Channel (Maybe Text)
- channel_createdTimestamp :: Lens' Channel (Maybe UTCTime)
- channel_lastUpdatedTimestamp :: Lens' Channel (Maybe UTCTime)
Documentation
The details of a channel.
See: newChannel
smart constructor.
Channel' | |
|
Instances
newChannel :: Channel Source #
Create a value of Channel
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:mode:Channel'
, channel_mode
- The mode of the channel.
$sel:createdBy:Channel'
, channel_createdBy
- The AppInstanceUser
who created the channel.
$sel:channelArn:Channel'
, channel_channelArn
- The ARN of the channel.
$sel:privacy:Channel'
, channel_privacy
- The channel's privacy setting.
$sel:lastMessageTimestamp:Channel'
, channel_lastMessageTimestamp
- The time at which a member sent the last message in the channel.
$sel:name:Channel'
, channel_name
- The name of the channel.
$sel:metadata:Channel'
, channel_metadata
- The channel's metadata.
$sel:createdTimestamp:Channel'
, channel_createdTimestamp
- The time at which the AppInstanceUser
created the channel.
$sel:lastUpdatedTimestamp:Channel'
, channel_lastUpdatedTimestamp
- The time at which a channel was last updated.
channel_mode :: Lens' Channel (Maybe ChannelMode) Source #
The mode of the channel.
channel_createdBy :: Lens' Channel (Maybe Identity) Source #
The AppInstanceUser
who created the channel.
channel_privacy :: Lens' Channel (Maybe ChannelPrivacy) Source #
The channel's privacy setting.
channel_lastMessageTimestamp :: Lens' Channel (Maybe UTCTime) Source #
The time at which a member sent the last message in the channel.