Package-level declarations
Types
The Amazon Chime SDK messaging APIs in this section allow software developers to send and receive messages in custom messaging applications. These APIs depend on the frameworks provided by the Amazon Chime SDK identity APIs. For more information about the messaging APIs, see Amazon Chime SDK messaging.
Inherited functions
Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the DisassociateChannelFlow
API.
Adds a specified number of users and bots to a channel.
Calls back Amazon Chime SDK messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API.
Creates a channel to which you can add users and send messages.
Permanently bans a member from a channel. Moderators can't add banned members to a channel. To undo a ban, you first have to DeleteChannelBan
, and then CreateChannelMembership
. Bans are cleaned up when you delete users or channels.
Creates a channel flow, a container for processors. Processors are AWS Lambda functions that perform actions on chat messages, such as stripping out profanity. You can associate channel flows with channels, and the processors in the channel flow then take action on all messages sent to that channel. This is a developer API.
Adds a member to a channel. The InvitedBy
field in ChannelMembership
is derived from the request header. A channel member can:
Creates a new ChannelModerator
. A channel moderator can:
Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.
Removes a member from a channel's ban list.
Deletes a channel flow, an irreversible process. This is a developer API.
Removes a member from a channel.
Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage
.
Deletes a channel moderator.
Deletes the streaming configurations for an AppInstance
. For more information, see Streaming messaging data in the Amazon Chime SDK Developer Guide.
Returns the full details of a channel in an Amazon Chime AppInstance
.
Returns the full details of a channel ban.
Returns the full details of a channel flow in an Amazon Chime AppInstance
. This is a developer API.
Returns the full details of a user's channel membership.
Returns the details of a channel based on the membership of the specified AppInstanceUser
or AppInstanceBot
.
Returns the full details of a channel moderated by the specified AppInstanceUser
or AppInstanceBot
.
Returns the full details of a single ChannelModerator.
Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor.
Gets the membership preferences of an AppInstanceUser
or AppInstanceBot
for the specified channel. A user or a bot must be a member of the channel and own the membership in order to retrieve membership preferences. Users or bots in the AppInstanceAdmin
and channel moderator roles can't retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the channel from which they are banned.
Gets the full details of a channel message.
Gets message status for a specified messageId
. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn't connected to a websocket.
The details of the endpoint for the messaging session.
Retrieves the data streaming configuration for an AppInstance
. For more information, see Streaming messaging data in the Amazon Chime SDK Developer Guide.
Lists all the users and bots banned from a particular channel.
Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.
Lists all channel memberships in a channel.
Lists all channels that an AppInstanceUser
or AppInstanceBot
is a part of. Only an AppInstanceAdmin
can call the API with a user ARN that is not their own.
List all the messages in a channel. Returns a paginated list of ChannelMessages
. By default, sorted by creation timestamp in descending order.
Lists all the moderators for a channel.
Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.
Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.
A list of the channels moderated by an AppInstanceUser
.
Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.
Lists the tags applied to an Amazon Chime SDK messaging resource.
Sets the number of days before the channel is automatically deleted.
Sets the membership preferences of an AppInstanceUser
or AppInstanceBot
for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the AppInstanceAdmin
and channel moderator roles can't set preferences for other users. Banned users or bots can't set membership preferences for the channel from which they are banned.
Sets the data streaming configuration for an AppInstance
. For more information, see Streaming messaging data in the Amazon Chime SDK Developer Guide.
Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.
Allows the ChimeBearer
to search channels by channel members. Users or bots can search across the channels that they belong to. Users in the AppInstanceAdmin
role can search across all channels.
Sends a message to a particular channel that the member is a part of.
Applies the specified tags to the specified Amazon Chime SDK messaging resource.
Removes the specified tags from the specified Amazon Chime SDK messaging resource.
Update a channel's attributes.
Updates channel flow attributes. This is a developer API.
Updates the content of a message.
The details of the time when a user last read messages in a channel.
Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.