libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Chime.Types.ChannelBan

Description

 
Synopsis

Documentation

data ChannelBan Source #

The details of a channel ban.

See: newChannelBan smart constructor.

Constructors

ChannelBan' 

Fields

Instances

Instances details
Eq ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

Show ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

Generic ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

Associated Types

type Rep ChannelBan :: Type -> Type #

NFData ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

Methods

rnf :: ChannelBan -> () #

Hashable ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

FromJSON ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

type Rep ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

type Rep ChannelBan = D1 ('MetaData "ChannelBan" "Amazonka.Chime.Types.ChannelBan" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ChannelBan'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "member") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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.