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.Channel

Description

 
Synopsis

Documentation

data Channel Source #

The details of a channel.

See: newChannel smart constructor.

Constructors

Channel' 

Fields

Instances

Instances details
Eq Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Show Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

NFData Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

Methods

rnf :: Channel -> () #

Hashable Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

FromJSON Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

type Rep Channel Source # 
Instance details

Defined in Amazonka.Chime.Types.Channel

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_channelArn :: Lens' Channel (Maybe Text) Source #

The ARN of 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.

channel_name :: Lens' Channel (Maybe Text) Source #

The name of the channel.

channel_metadata :: Lens' Channel (Maybe Text) Source #

The channel's metadata.

channel_createdTimestamp :: Lens' Channel (Maybe UTCTime) Source #

The time at which the AppInstanceUser created the channel.

channel_lastUpdatedTimestamp :: Lens' Channel (Maybe UTCTime) Source #

The time at which a channel was last updated.