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

Contents

Description

 
Synopsis

Operations

AssociateChannelFlow

associateChannelFlow_chimeBearer :: Lens' AssociateChannelFlow Text Source #

The AppInstanceUserArn of the user making the API call.

BatchCreateChannelMembership

batchCreateChannelMembership_subChannelId :: Lens' BatchCreateChannelMembership (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when creating membership in a SubChannel for a moderator in an elastic channel.

batchCreateChannelMembership_type :: Lens' BatchCreateChannelMembership (Maybe ChannelMembershipType) Source #

The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

batchCreateChannelMembership_channelArn :: Lens' BatchCreateChannelMembership Text Source #

The ARN of the channel to which you're adding users.

batchCreateChannelMembership_memberArns :: Lens' BatchCreateChannelMembership (NonEmpty Text) Source #

The AppInstanceUserArns of the members you want to add to the channel.

batchCreateChannelMembership_chimeBearer :: Lens' BatchCreateChannelMembership Text Source #

The AppInstanceUserArn of the user that makes the API call.

batchCreateChannelMembershipResponse_errors :: Lens' BatchCreateChannelMembershipResponse (Maybe [BatchCreateChannelMembershipError]) Source #

If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.

ChannelFlowCallback

channelFlowCallback_deleteResource :: Lens' ChannelFlowCallback (Maybe Bool) Source #

When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.

channelFlowCallback_callbackId :: Lens' ChannelFlowCallback Text Source #

The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.

CreateChannel

createChannel_channelId :: Lens' CreateChannel (Maybe Text) Source #

The ID of the channel in the request.

createChannel_elasticChannelConfiguration :: Lens' CreateChannel (Maybe ElasticChannelConfiguration) Source #

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

createChannel_memberArns :: Lens' CreateChannel (Maybe (NonEmpty Text)) Source #

The ARNs of the channel members in the request.

createChannel_metadata :: Lens' CreateChannel (Maybe Text) Source #

The metadata of the creation request. Limited to 1KB and UTF-8.

createChannel_mode :: Lens' CreateChannel (Maybe ChannelMode) Source #

The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.

createChannel_moderatorArns :: Lens' CreateChannel (Maybe (NonEmpty Text)) Source #

The ARNs of the channel moderators in the request.

createChannel_privacy :: Lens' CreateChannel (Maybe ChannelPrivacy) Source #

The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.

createChannel_tags :: Lens' CreateChannel (Maybe (NonEmpty Tag)) Source #

The tags for the creation request.

createChannel_appInstanceArn :: Lens' CreateChannel Text Source #

The ARN of the channel request.

createChannel_name :: Lens' CreateChannel Text Source #

The name of the channel.

createChannel_clientRequestToken :: Lens' CreateChannel Text Source #

The client token for the request. An Idempotency token.

createChannel_chimeBearer :: Lens' CreateChannel Text Source #

The AppInstanceUserArn of the user that makes the API call.

CreateChannelBan

createChannelBan_memberArn :: Lens' CreateChannelBan Text Source #

The AppInstanceUserArn of the member being banned.

createChannelBan_chimeBearer :: Lens' CreateChannelBan Text Source #

The AppInstanceUserArn of the user that makes the API call.

createChannelBanResponse_channelArn :: Lens' CreateChannelBanResponse (Maybe Text) Source #

The ARN of the response to the ban request.

createChannelBanResponse_member :: Lens' CreateChannelBanResponse (Maybe Identity) Source #

The ChannelArn and BannedIdentity of the member in the ban response.

CreateChannelFlow

createChannelFlow_tags :: Lens' CreateChannelFlow (Maybe (NonEmpty Tag)) Source #

The tags for the creation request.

createChannelFlow_appInstanceArn :: Lens' CreateChannelFlow Text Source #

The ARN of the channel flow request.

createChannelFlow_processors :: Lens' CreateChannelFlow (NonEmpty Processor) Source #

Information about the processor Lambda functions.

createChannelFlow_name :: Lens' CreateChannelFlow Text Source #

The name of the channel flow.

createChannelFlow_clientRequestToken :: Lens' CreateChannelFlow Text Source #

The client token for the request. An Idempotency token.

CreateChannelMembership

createChannelMembership_subChannelId :: Lens' CreateChannelMembership (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when creating membership in a SubChannel for a moderator in an elastic channel.

createChannelMembership_channelArn :: Lens' CreateChannelMembership Text Source #

The ARN of the channel to which you're adding users.

createChannelMembership_memberArn :: Lens' CreateChannelMembership Text Source #

The AppInstanceUserArn of the member you want to add to the channel.

createChannelMembership_type :: Lens' CreateChannelMembership ChannelMembershipType Source #

The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

createChannelMembership_chimeBearer :: Lens' CreateChannelMembership Text Source #

The AppInstanceUserArn of the user that makes the API call.

CreateChannelModerator

createChannelModerator_chimeBearer :: Lens' CreateChannelModerator Text Source #

The AppInstanceUserArn of the user that makes the API call.

DeleteChannel

deleteChannel_subChannelId :: Lens' DeleteChannel (Maybe Text) Source #

The ID of the SubChannel in the request.

deleteChannel_channelArn :: Lens' DeleteChannel Text Source #

The ARN of the channel being deleted.

deleteChannel_chimeBearer :: Lens' DeleteChannel Text Source #

The AppInstanceUserArn of the user that makes the API call.

DeleteChannelBan

deleteChannelBan_channelArn :: Lens' DeleteChannelBan Text Source #

The ARN of the channel from which the AppInstanceUser was banned.

deleteChannelBan_memberArn :: Lens' DeleteChannelBan Text Source #

The ARN of the AppInstanceUser that you want to reinstate.

deleteChannelBan_chimeBearer :: Lens' DeleteChannelBan Text Source #

The AppInstanceUserArn of the user that makes the API call.

DeleteChannelFlow

DeleteChannelMembership

deleteChannelMembership_subChannelId :: Lens' DeleteChannelMembership (Maybe Text) Source #

The ID of the SubChannel in the request.

Only for use by moderators.

deleteChannelMembership_channelArn :: Lens' DeleteChannelMembership Text Source #

The ARN of the channel from which you want to remove the user.

deleteChannelMembership_memberArn :: Lens' DeleteChannelMembership Text Source #

The AppInstanceUserArn of the member that you're removing from the channel.

deleteChannelMembership_chimeBearer :: Lens' DeleteChannelMembership Text Source #

The AppInstanceUserArn of the user that makes the API call.

DeleteChannelMessage

deleteChannelMessage_subChannelId :: Lens' DeleteChannelMessage (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when deleting messages in a SubChannel that the user belongs to.

deleteChannelMessage_messageId :: Lens' DeleteChannelMessage Text Source #

The ID of the message being deleted.

deleteChannelMessage_chimeBearer :: Lens' DeleteChannelMessage Text Source #

The AppInstanceUserArn of the user that makes the API call.

DeleteChannelModerator

deleteChannelModerator_channelModeratorArn :: Lens' DeleteChannelModerator Text Source #

The AppInstanceUserArn of the moderator being deleted.

deleteChannelModerator_chimeBearer :: Lens' DeleteChannelModerator Text Source #

The AppInstanceUserArn of the user that makes the API call.

DescribeChannel

describeChannel_chimeBearer :: Lens' DescribeChannel Text Source #

The AppInstanceUserArn of the user that makes the API call.

DescribeChannelBan

describeChannelBan_channelArn :: Lens' DescribeChannelBan Text Source #

The ARN of the channel from which the user is banned.

describeChannelBan_memberArn :: Lens' DescribeChannelBan Text Source #

The AppInstanceUserArn of the member being banned.

describeChannelBan_chimeBearer :: Lens' DescribeChannelBan Text Source #

The AppInstanceUserArn of the user that makes the API call.

DescribeChannelFlow

DescribeChannelMembership

describeChannelMembership_subChannelId :: Lens' DescribeChannelMembership (Maybe Text) Source #

The ID of the SubChannel in the request. The response contains an ElasticChannelConfiguration object.

Only required to get a user’s SubChannel membership details.

describeChannelMembership_chimeBearer :: Lens' DescribeChannelMembership Text Source #

The AppInstanceUserArn of the user that makes the API call.

DescribeChannelMembershipForAppInstanceUser

DescribeChannelModeratedByAppInstanceUser

DescribeChannelModerator

describeChannelModerator_channelModeratorArn :: Lens' DescribeChannelModerator Text Source #

The AppInstanceUserArn of the channel moderator.

describeChannelModerator_chimeBearer :: Lens' DescribeChannelModerator Text Source #

The AppInstanceUserArn of the user that makes the API call.

DisassociateChannelFlow

disassociateChannelFlow_chimeBearer :: Lens' DisassociateChannelFlow Text Source #

The AppInstanceUserArn of the user making the API call.

GetChannelMembershipPreferences

getChannelMembershipPreferences_memberArn :: Lens' GetChannelMembershipPreferences Text Source #

The AppInstanceUserArn of the member retrieving the preferences.

getChannelMembershipPreferences_chimeBearer :: Lens' GetChannelMembershipPreferences Text Source #

The AppInstanceUserARN of the user making the API call.

GetChannelMessage

getChannelMessage_subChannelId :: Lens' GetChannelMessage (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when getting messages in a SubChannel that the user belongs to.

getChannelMessage_chimeBearer :: Lens' GetChannelMessage Text Source #

The AppInstanceUserArn of the user that makes the API call.

GetChannelMessageStatus

getChannelMessageStatus_subChannelId :: Lens' GetChannelMessageStatus (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when getting message status in a SubChannel that the user belongs to.

getChannelMessageStatus_chimeBearer :: Lens' GetChannelMessageStatus Text Source #

The AppInstanceUserArn of the user making the API call.

GetMessagingSessionEndpoint

ListChannelBans

listChannelBans_maxResults :: Lens' ListChannelBans (Maybe Natural) Source #

The maximum number of bans that you want returned.

listChannelBans_nextToken :: Lens' ListChannelBans (Maybe Text) Source #

The token passed by previous API calls until all requested bans are returned.

listChannelBans_chimeBearer :: Lens' ListChannelBans Text Source #

The AppInstanceUserArn of the user that makes the API call.

listChannelBansResponse_nextToken :: Lens' ListChannelBansResponse (Maybe Text) Source #

The token passed by previous API calls until all requested bans are returned.

ListChannelFlows

listChannelFlows_maxResults :: Lens' ListChannelFlows (Maybe Natural) Source #

The maximum number of channel flows that you want to return.

listChannelFlows_nextToken :: Lens' ListChannelFlows (Maybe Text) Source #

The token passed by previous API calls until all requested channel flows are returned.

listChannelFlowsResponse_nextToken :: Lens' ListChannelFlowsResponse (Maybe Text) Source #

The token passed by previous API calls until all requested channels are returned.

ListChannelMemberships

listChannelMemberships_maxResults :: Lens' ListChannelMemberships (Maybe Natural) Source #

The maximum number of channel memberships that you want returned.

listChannelMemberships_nextToken :: Lens' ListChannelMemberships (Maybe Text) Source #

The token passed by previous API calls until all requested channel memberships are returned.

listChannelMemberships_subChannelId :: Lens' ListChannelMemberships (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when listing a user's memberships in a particular sub-channel of an elastic channel.

listChannelMemberships_type :: Lens' ListChannelMemberships (Maybe ChannelMembershipType) Source #

The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.

listChannelMemberships_channelArn :: Lens' ListChannelMemberships Text Source #

The maximum number of channel memberships that you want returned.

listChannelMemberships_chimeBearer :: Lens' ListChannelMemberships Text Source #

The AppInstanceUserArn of the user that makes the API call.

listChannelMembershipsResponse_nextToken :: Lens' ListChannelMembershipsResponse (Maybe Text) Source #

The token passed by previous API calls until all requested channel memberships are returned.

ListChannelMembershipsForAppInstanceUser

listChannelMembershipsForAppInstanceUser_nextToken :: Lens' ListChannelMembershipsForAppInstanceUser (Maybe Text) Source #

The token returned from previous API requests until the number of channel memberships is reached.

listChannelMembershipsForAppInstanceUserResponse_nextToken :: Lens' ListChannelMembershipsForAppInstanceUserResponse (Maybe Text) Source #

The token passed by previous API calls until all requested users are returned.

ListChannelMessages

listChannelMessages_maxResults :: Lens' ListChannelMessages (Maybe Natural) Source #

The maximum number of messages that you want returned.

listChannelMessages_nextToken :: Lens' ListChannelMessages (Maybe Text) Source #

The token passed by previous API calls until all requested messages are returned.

listChannelMessages_notAfter :: Lens' ListChannelMessages (Maybe UTCTime) Source #

The final or ending time stamp for your requested messages.

listChannelMessages_notBefore :: Lens' ListChannelMessages (Maybe UTCTime) Source #

The initial or starting time stamp for your requested messages.

listChannelMessages_sortOrder :: Lens' ListChannelMessages (Maybe SortOrder) Source #

The order in which you want messages sorted. Default is Descending, based on time created.

listChannelMessages_subChannelId :: Lens' ListChannelMessages (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when listing the messages in a SubChannel that the user belongs to.

listChannelMessages_chimeBearer :: Lens' ListChannelMessages Text Source #

The AppInstanceUserArn of the user that makes the API call.

listChannelMessagesResponse_channelArn :: Lens' ListChannelMessagesResponse (Maybe Text) Source #

The ARN of the channel containing the requested messages.

listChannelMessagesResponse_channelMessages :: Lens' ListChannelMessagesResponse (Maybe [ChannelMessageSummary]) Source #

The information about, and content of, each requested message.

listChannelMessagesResponse_nextToken :: Lens' ListChannelMessagesResponse (Maybe Text) Source #

The token passed by previous API calls until all requested messages are returned.

ListChannelModerators

listChannelModerators_maxResults :: Lens' ListChannelModerators (Maybe Natural) Source #

The maximum number of moderators that you want returned.

listChannelModerators_nextToken :: Lens' ListChannelModerators (Maybe Text) Source #

The token passed by previous API calls until all requested moderators are returned.

listChannelModerators_chimeBearer :: Lens' ListChannelModerators Text Source #

The AppInstanceUserArn of the user that makes the API call.

listChannelModeratorsResponse_nextToken :: Lens' ListChannelModeratorsResponse (Maybe Text) Source #

The token passed by previous API calls until all requested moderators are returned.

ListChannels

listChannels_maxResults :: Lens' ListChannels (Maybe Natural) Source #

The maximum number of channels that you want to return.

listChannels_nextToken :: Lens' ListChannels (Maybe Text) Source #

The token passed by previous API calls until all requested channels are returned.

listChannels_privacy :: Lens' ListChannels (Maybe ChannelPrivacy) Source #

The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.

listChannels_chimeBearer :: Lens' ListChannels Text Source #

The AppInstanceUserArn of the user that makes the API call.

listChannelsResponse_nextToken :: Lens' ListChannelsResponse (Maybe Text) Source #

The token returned from previous API requests until the number of channels is reached.

ListChannelsAssociatedWithChannelFlow

listChannelsAssociatedWithChannelFlow_nextToken :: Lens' ListChannelsAssociatedWithChannelFlow (Maybe Text) Source #

The token passed by previous API calls until all requested channels are returned.

listChannelsAssociatedWithChannelFlowResponse_nextToken :: Lens' ListChannelsAssociatedWithChannelFlowResponse (Maybe Text) Source #

The token passed by previous API calls until all requested channels are returned.

ListChannelsModeratedByAppInstanceUser

listChannelsModeratedByAppInstanceUser_nextToken :: Lens' ListChannelsModeratedByAppInstanceUser (Maybe Text) Source #

The token returned from previous API requests until the number of channels moderated by the user is reached.

listChannelsModeratedByAppInstanceUserResponse_nextToken :: Lens' ListChannelsModeratedByAppInstanceUserResponse (Maybe Text) Source #

The token returned from previous API requests until the number of channels moderated by the user is reached.

ListSubChannels

listSubChannels_maxResults :: Lens' ListSubChannels (Maybe Natural) Source #

The maximum number of sub-channels that you want to return.

listSubChannels_nextToken :: Lens' ListSubChannels (Maybe Text) Source #

The token passed by previous API calls until all requested sub-channels are returned.

listSubChannels_chimeBearer :: Lens' ListSubChannels Text Source #

The AppInstanceUserArn of the user making the API call.

listSubChannelsResponse_nextToken :: Lens' ListSubChannelsResponse (Maybe Text) Source #

The token passed by previous API calls until all requested sub-channels are returned.

ListTagsForResource

PutChannelMembershipPreferences

putChannelMembershipPreferences_memberArn :: Lens' PutChannelMembershipPreferences Text Source #

The AppInstanceUserArn of the member setting the preferences.

putChannelMembershipPreferences_chimeBearer :: Lens' PutChannelMembershipPreferences Text Source #

The AppInstanceUserARN of the user making the API call.

RedactChannelMessage

redactChannelMessage_subChannelId :: Lens' RedactChannelMessage (Maybe Text) Source #

The ID of the SubChannel in the request.

redactChannelMessage_channelArn :: Lens' RedactChannelMessage Text Source #

The ARN of the channel containing the messages that you want to redact.

redactChannelMessage_messageId :: Lens' RedactChannelMessage Text Source #

The ID of the message being redacted.

redactChannelMessage_chimeBearer :: Lens' RedactChannelMessage Text Source #

The AppInstanceUserArn of the user that makes the API call.

redactChannelMessageResponse_channelArn :: Lens' RedactChannelMessageResponse (Maybe Text) Source #

The ARN of the channel containing the messages that you want to redact.

redactChannelMessageResponse_subChannelId :: Lens' RedactChannelMessageResponse (Maybe Text) Source #

The ID of the SubChannel in the response.

Only required when redacting messages in a SubChannel that the user belongs to.

SearchChannels

searchChannels_chimeBearer :: Lens' SearchChannels (Maybe Text) Source #

The AppInstanceUserArn of the user making the API call.

searchChannels_maxResults :: Lens' SearchChannels (Maybe Natural) Source #

The maximum number of channels that you want returned.

searchChannels_nextToken :: Lens' SearchChannels (Maybe Text) Source #

The token returned from previous API requests until the number of channels is reached.

searchChannels_fields :: Lens' SearchChannels (NonEmpty SearchField) Source #

A list of the Field objects in the channel being searched.

searchChannelsResponse_nextToken :: Lens' SearchChannelsResponse (Maybe Text) Source #

The token returned from previous API responses until the number of channels is reached.

SendChannelMessage

sendChannelMessage_messageAttributes :: Lens' SendChannelMessage (Maybe (HashMap Text MessageAttributeValue)) Source #

The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.

sendChannelMessage_metadata :: Lens' SendChannelMessage (Maybe Text) Source #

The optional metadata for each message.

sendChannelMessage_subChannelId :: Lens' SendChannelMessage (Maybe Text) Source #

The ID of the SubChannel in the request.

sendChannelMessage_type :: Lens' SendChannelMessage ChannelMessageType Source #

The type of message, STANDARD or CONTROL.

sendChannelMessage_persistence :: Lens' SendChannelMessage ChannelMessagePersistenceType Source #

Boolean that controls whether the message is persisted on the back end. Required.

sendChannelMessage_clientRequestToken :: Lens' SendChannelMessage Text Source #

The Idempotency token for each client request.

sendChannelMessage_chimeBearer :: Lens' SendChannelMessage Text Source #

The AppInstanceUserArn of the user that makes the API call.

TagResource

tagResource_tags :: Lens' TagResource (NonEmpty Tag) Source #

The tag key-value pairs.

UntagResource

UpdateChannel

updateChannel_metadata :: Lens' UpdateChannel (Maybe Text) Source #

The metadata for the update request.

updateChannel_mode :: Lens' UpdateChannel (Maybe ChannelMode) Source #

The mode of the update request.

updateChannel_name :: Lens' UpdateChannel (Maybe Text) Source #

The name of the channel.

updateChannel_chimeBearer :: Lens' UpdateChannel Text Source #

The AppInstanceUserArn of the user that makes the API call.

UpdateChannelFlow

updateChannelFlow_processors :: Lens' UpdateChannelFlow (NonEmpty Processor) Source #

Information about the processor Lambda functions

updateChannelFlow_name :: Lens' UpdateChannelFlow Text Source #

The name of the channel flow.

UpdateChannelMessage

updateChannelMessage_content :: Lens' UpdateChannelMessage (Maybe Text) Source #

The content of the message being updated.

updateChannelMessage_metadata :: Lens' UpdateChannelMessage (Maybe Text) Source #

The metadata of the message being updated.

updateChannelMessage_subChannelId :: Lens' UpdateChannelMessage (Maybe Text) Source #

The ID of the SubChannel in the request.

Only required when updating messages in a SubChannel that the user belongs to.

updateChannelMessage_messageId :: Lens' UpdateChannelMessage Text Source #

The ID string of the message being updated.

updateChannelMessage_chimeBearer :: Lens' UpdateChannelMessage Text Source #

The AppInstanceUserArn of the user that makes the API call.

UpdateChannelReadMarker

updateChannelReadMarker_chimeBearer :: Lens' UpdateChannelReadMarker Text Source #

The AppInstanceUserArn of the user that makes the API call.

Types

AppInstanceUserMembershipSummary

appInstanceUserMembershipSummary_readMarkerTimestamp :: Lens' AppInstanceUserMembershipSummary (Maybe UTCTime) Source #

The time at which an AppInstanceUser last marked a channel as read.

appInstanceUserMembershipSummary_subChannelId :: Lens' AppInstanceUserMembershipSummary (Maybe Text) Source #

The ID of the SubChannel that the AppInstanceUser is a member of.

BatchChannelMemberships

batchChannelMemberships_channelArn :: Lens' BatchChannelMemberships (Maybe Text) Source #

The ARN of the channel to which you're adding users.

batchChannelMemberships_invitedBy :: Lens' BatchChannelMemberships (Maybe Identity) Source #

The identifier of the member who invited another member.

batchChannelMemberships_members :: Lens' BatchChannelMemberships (Maybe [Identity]) Source #

The users successfully added to the request.

BatchCreateChannelMembershipError

batchCreateChannelMembershipError_memberArn :: Lens' BatchCreateChannelMembershipError (Maybe Text) Source #

The AppInstanceUserArn of the member that the service couldn't add.

Channel

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.

ChannelAssociatedWithFlowSummary

ChannelBan

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.

ChannelBanSummary

channelBanSummary_member :: Lens' ChannelBanSummary (Maybe Identity) Source #

The member being banned from a channel.

ChannelFlow

channelFlow_channelFlowArn :: Lens' ChannelFlow (Maybe Text) Source #

The ARN of the channel flow.

channelFlow_createdTimestamp :: Lens' ChannelFlow (Maybe UTCTime) Source #

The time at which the channel flow was created.

channelFlow_lastUpdatedTimestamp :: Lens' ChannelFlow (Maybe UTCTime) Source #

The time at which a channel flow was updated.

channelFlow_name :: Lens' ChannelFlow (Maybe Text) Source #

The name of the channel flow.

channelFlow_processors :: Lens' ChannelFlow (Maybe (NonEmpty Processor)) Source #

Information about the processor Lambda functions.

ChannelFlowSummary

channelFlowSummary_processors :: Lens' ChannelFlowSummary (Maybe (NonEmpty Processor)) Source #

Information about the processor Lambda functions.

ChannelMembership

channelMembership_createdTimestamp :: Lens' ChannelMembership (Maybe UTCTime) Source #

The time at which the channel membership was created.

channelMembership_invitedBy :: Lens' ChannelMembership (Maybe Identity) Source #

The identifier of the member who invited another member.

channelMembership_lastUpdatedTimestamp :: Lens' ChannelMembership (Maybe UTCTime) Source #

The time at which a channel membership was last updated.

channelMembership_subChannelId :: Lens' ChannelMembership (Maybe Text) Source #

The ID of the SubChannel that a user belongs to.

channelMembership_type :: Lens' ChannelMembership (Maybe ChannelMembershipType) Source #

The membership type set for the channel member.

ChannelMembershipForAppInstanceUserSummary

ChannelMembershipPreferences

ChannelMembershipSummary

ChannelMessage

channelMessage_createdTimestamp :: Lens' ChannelMessage (Maybe UTCTime) Source #

The time at which the message was created.

channelMessage_lastEditedTimestamp :: Lens' ChannelMessage (Maybe UTCTime) Source #

The time at which a message was edited.

channelMessage_lastUpdatedTimestamp :: Lens' ChannelMessage (Maybe UTCTime) Source #

The time at which a message was updated.

channelMessage_messageAttributes :: Lens' ChannelMessage (Maybe (HashMap Text MessageAttributeValue)) Source #

The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.

channelMessage_redacted :: Lens' ChannelMessage (Maybe Bool) Source #

Hides the content of a message.

ChannelMessageCallback

channelMessageCallback_messageAttributes :: Lens' ChannelMessageCallback (Maybe (HashMap Text MessageAttributeValue)) Source #

The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.

ChannelMessageStatusStructure

channelMessageStatusStructure_detail :: Lens' ChannelMessageStatusStructure (Maybe Text) Source #

Contains more details about the messasge status.

ChannelMessageSummary

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

The time at which the message summary was created.

channelMessageSummary_messageAttributes :: Lens' ChannelMessageSummary (Maybe (HashMap Text MessageAttributeValue)) Source #

The message attribues listed in a the summary of a channel message.

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

Indicates whether a message was redacted.

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.

ChannelModeratedByAppInstanceUserSummary

ChannelModerator

channelModerator_channelArn :: Lens' ChannelModerator (Maybe Text) Source #

The ARN of the moderator's channel.

channelModerator_createdBy :: Lens' ChannelModerator (Maybe Identity) Source #

The AppInstanceUser who created the moderator.

channelModerator_createdTimestamp :: Lens' ChannelModerator (Maybe UTCTime) Source #

The time at which the moderator was created.

ChannelModeratorSummary

ChannelSummary

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

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

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

The metadata of the channel.

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

The privacy setting of the channel.

ElasticChannelConfiguration

elasticChannelConfiguration_maximumSubChannels :: Lens' ElasticChannelConfiguration Natural Source #

The maximum number of SubChannels that you want to allow in the elastic channel.

elasticChannelConfiguration_minimumMembershipPercentage :: Lens' ElasticChannelConfiguration Natural Source #

The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.

Identity

identity_arn :: Lens' Identity (Maybe Text) Source #

The ARN in an Identity.

identity_name :: Lens' Identity (Maybe Text) Source #

The name in an Identity.

LambdaConfiguration

lambdaConfiguration_resourceArn :: Lens' LambdaConfiguration Text Source #

The ARN of the Lambda message processing function.

MessageAttributeValue

messageAttributeValue_stringValues :: Lens' MessageAttributeValue (Maybe [Text]) Source #

The strings in a message attribute value.

MessagingSessionEndpoint

messagingSessionEndpoint_url :: Lens' MessagingSessionEndpoint (Maybe Text) Source #

The endpoint to which you establish a websocket connection.

Processor

processor_name :: Lens' Processor Text Source #

The name of the channel flow.

processor_configuration :: Lens' Processor ProcessorConfiguration Source #

The information about the type of processor and its identifier.

processor_executionOrder :: Lens' Processor Natural Source #

The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.

processor_fallbackAction :: Lens' Processor FallbackAction Source #

Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of ABORT and communication with it fails, the processor sets the message status to FAILED and does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action of CONTINUE and communication with the processor fails, then the message is considered processed and sent to recipients of the channel.

ProcessorConfiguration

processorConfiguration_lambda :: Lens' ProcessorConfiguration LambdaConfiguration Source #

Indicates that the processor is of type Lambda.

PushNotificationConfiguration

pushNotificationConfiguration_type :: Lens' PushNotificationConfiguration (Maybe PushNotificationType) Source #

Enum value that indicates the type of the push notification for a message. DEFAULT: Normal mobile push notification. VOIP: VOIP mobile push notification.

PushNotificationPreferences

pushNotificationPreferences_filterRule :: Lens' PushNotificationPreferences (Maybe Text) Source #

The simple JSON object used to send a subset of a push notification to the requested member.

pushNotificationPreferences_allowNotifications :: Lens' PushNotificationPreferences AllowNotifications Source #

Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.

SearchField

searchField_key :: Lens' SearchField SearchFieldKey Source #

An enum value that indicates the key to search the channel on. MEMBERS allows you to search channels based on memberships. You can use it with the EQUALS operator to get channels whose memberships are equal to the specified values, and with the INCLUDES operator to get channels whose memberships include the specified values.

searchField_values :: Lens' SearchField (NonEmpty Text) Source #

The values that you want to search for, a list of strings. The values must be AppInstanceUserArns specified as a list of strings.

This operation isn't supported for AppInstanceUsers with large number of memberships.

searchField_operator :: Lens' SearchField SearchFieldOperator Source #

The operator used to compare field values, currently EQUALS or INCLUDES. Use the EQUALS operator to find channels whose memberships equal the specified values. Use the INCLUDES operator to find channels whose memberships include the specified values.

SubChannelSummary

subChannelSummary_membershipCount :: Lens' SubChannelSummary (Maybe Int) Source #

The number of members in a SubChannel.

Tag

tag_key :: Lens' Tag Text Source #

The key in a tag.

tag_value :: Lens' Tag Text Source #

The value in a tag.