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