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
Documentation
data ChannelBan Source #
The details of a channel ban.
See: newChannelBan
smart constructor.
Instances
newChannelBan :: ChannelBan Source #
Create a value of ChannelBan
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:createdBy:ChannelBan'
, channelBan_createdBy
- The AppInstanceUser
who created the ban.
$sel:channelArn:ChannelBan'
, channelBan_channelArn
- The ARN of the channel from which a member is being banned.
$sel:member:ChannelBan'
, channelBan_member
- The member being banned from the channel.
$sel:createdTimestamp:ChannelBan'
, channelBan_createdTimestamp
- The time at which the ban was created.
channelBan_createdBy :: Lens' ChannelBan (Maybe Identity) Source #
The AppInstanceUser
who created the ban.
channelBan_channelArn :: Lens' ChannelBan (Maybe Text) Source #
The ARN of the channel from which a member is being banned.
channelBan_member :: Lens' ChannelBan (Maybe Identity) Source #
The member being banned from the channel.
channelBan_createdTimestamp :: Lens' ChannelBan (Maybe UTCTime) Source #
The time at which the ban was created.