amazonka-chime-sdk-messaging-2.0: Amazon Chime SDK Messaging 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.ChimeSDKMessaging.Types.Channel

Description

 
Synopsis

Documentation

data Channel Source #

The details of a channel.

See: newChannel smart constructor.

Constructors

Channel' 

Fields

Instances

Instances details
FromJSON Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

Show Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

NFData Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

Methods

rnf :: Channel -> () #

Eq Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

Methods

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

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

Hashable Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

type Rep Channel Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.Channel

type Rep Channel = D1 ('MetaData "Channel" "Amazonka.ChimeSDKMessaging.Types.Channel" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "Channel'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channelFlowArn") '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 "elasticChannelConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ElasticChannelConfiguration))))) :*: ((S1 ('MetaSel ('Just "lastMessageTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMode)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "privacy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelPrivacy)))))))

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 a channel.

$sel:channelFlowArn:Channel', channel_channelFlowArn - The ARN of the channel flow.

$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:elasticChannelConfiguration:Channel', channel_elasticChannelConfiguration - The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.

$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 a channel.

$sel:privacy:Channel', channel_privacy - The channel's privacy setting.

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

The ARN of a channel.

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

The ARN of the channel flow.

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

The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.

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

The channel's metadata.

channel_mode :: Lens' Channel (Maybe ChannelMode) Source #

The mode of the channel.

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

The name of a channel.

channel_privacy :: Lens' Channel (Maybe ChannelPrivacy) Source #

The channel's privacy setting.