libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
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.ChimeSDKMessaging.Types.ChannelSummary

Description

 
Synopsis

Documentation

data ChannelSummary Source #

Summary of the details of a Channel.

See: newChannelSummary smart constructor.

Constructors

ChannelSummary' 

Fields

Instances

Instances details
Eq ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

Show ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

Generic ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

Associated Types

type Rep ChannelSummary :: Type -> Type #

NFData ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

Methods

rnf :: ChannelSummary -> () #

Hashable ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

FromJSON ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

type Rep ChannelSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelSummary

type Rep ChannelSummary = D1 ('MetaData "ChannelSummary" "Amazonka.ChimeSDKMessaging.Types.ChannelSummary" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "ChannelSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMode)) :*: (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privacy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelPrivacy)))) :*: (S1 ('MetaSel ('Just "lastMessageTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))))

newChannelSummary :: ChannelSummary Source #

Create a value of ChannelSummary 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:ChannelSummary', channelSummary_mode - The mode of the channel.

$sel:channelArn:ChannelSummary', channelSummary_channelArn - The ARN of the channel.

$sel:privacy:ChannelSummary', channelSummary_privacy - The privacy setting of the channel.

$sel:lastMessageTimestamp:ChannelSummary', channelSummary_lastMessageTimestamp - The time at which the last message in a channel was sent.

$sel:name:ChannelSummary', channelSummary_name - The name of the channel.

$sel:metadata:ChannelSummary', channelSummary_metadata - The metadata of the channel.

channelSummary_privacy :: Lens' ChannelSummary (Maybe ChannelPrivacy) Source #

The privacy setting of the channel.

channelSummary_lastMessageTimestamp :: Lens' ChannelSummary (Maybe UTCTime) Source #

The time at which the last message in a channel was sent.

channelSummary_metadata :: Lens' ChannelSummary (Maybe Text) Source #

The metadata of the channel.