amazonka-chime-2.0: Amazon Chime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Show ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

NFData ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

Methods

rnf :: ChannelBan -> () #

Eq ChannelBan Source # 
Instance details

Defined in Amazonka.Chime.Types.ChannelBan

Hashable 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" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "ChannelBan'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity))) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "member") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)))))

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:channelArn:ChannelBan', channelBan_channelArn - The ARN of the channel from which a member is being banned.

$sel:createdBy:ChannelBan', channelBan_createdBy - The AppInstanceUser who created the ban.

$sel:createdTimestamp:ChannelBan', channelBan_createdTimestamp - The time at which the ban was created.

$sel:member:ChannelBan', channelBan_member - The member being banned from the channel.

channelBan_channelArn :: Lens' ChannelBan (Maybe Text) Source #

The ARN of the channel from which a member is being banned.

channelBan_createdBy :: Lens' ChannelBan (Maybe Identity) Source #

The AppInstanceUser who created the ban.

channelBan_createdTimestamp :: Lens' ChannelBan (Maybe UTCTime) Source #

The time at which the ban was created.

channelBan_member :: Lens' ChannelBan (Maybe Identity) Source #

The member being banned from the channel.