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

Description

 
Synopsis

Documentation

data ChannelMessageSummary Source #

Summary of the messages in a Channel.

See: newChannelMessageSummary smart constructor.

Constructors

ChannelMessageSummary' 

Fields

Instances

Instances details
Eq ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

Show ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

Generic ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

Associated Types

type Rep ChannelMessageSummary :: Type -> Type #

NFData ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

Methods

rnf :: ChannelMessageSummary -> () #

Hashable ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

FromJSON ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

type Rep ChannelMessageSummary Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary

type Rep ChannelMessageSummary = D1 ('MetaData "ChannelMessageSummary" "Amazonka.ChimeSDKMessaging.Types.ChannelMessageSummary" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "ChannelMessageSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessageStatusStructure)) :*: S1 ('MetaSel ('Just "sender") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity))) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "redacted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMessageType)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastEditedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newChannelMessageSummary :: ChannelMessageSummary Source #

Create a value of ChannelMessageSummary 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:status:ChannelMessageSummary', channelMessageSummary_status - The message status. The status value is SENT for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.

$sel:sender:ChannelMessageSummary', channelMessageSummary_sender - The message sender.

$sel:content:ChannelMessageSummary', channelMessageSummary_content - The content of the message.

$sel:redacted:ChannelMessageSummary', channelMessageSummary_redacted - Indicates whether a message was redacted.

$sel:metadata:ChannelMessageSummary', channelMessageSummary_metadata - The metadata of the message.

$sel:type':ChannelMessageSummary', channelMessageSummary_type - The type of message.

$sel:createdTimestamp:ChannelMessageSummary', channelMessageSummary_createdTimestamp - The time at which the message summary was created.

$sel:messageId:ChannelMessageSummary', channelMessageSummary_messageId - The ID of the message.

$sel:lastUpdatedTimestamp:ChannelMessageSummary', channelMessageSummary_lastUpdatedTimestamp - The time at which a message was last updated.

$sel:lastEditedTimestamp:ChannelMessageSummary', channelMessageSummary_lastEditedTimestamp - The time at which a message was last edited.

channelMessageSummary_status :: Lens' ChannelMessageSummary (Maybe ChannelMessageStatusStructure) Source #

The message status. The status value is SENT for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.

channelMessageSummary_redacted :: Lens' ChannelMessageSummary (Maybe Bool) Source #

Indicates whether a message was redacted.

channelMessageSummary_createdTimestamp :: Lens' ChannelMessageSummary (Maybe UTCTime) Source #

The time at which the message summary was created.