aws.chime_sdk_messaging.get_channel_message_status
Example SQL Queries
SELECT * FROMaws.chime_sdk_messaging.get_channel_message_statusWHERE"channel_arn" = 'VALUE'AND "message_id" = 'VALUE'AND "chime_bearer" = 'VALUE';Description
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.
Messages can have any one of these statuses.
- SENT
Message processed successfully
- PENDING
Ongoing processing
- FAILED
Processing failed
- DENIED
Message denied by the processor
This API does not return statuses for denied messages, because we don't store them once the processor denies them.
Only the message sender can invoke this API.
The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
Table Definition
| Column Name | Column Data Type |
|---|---|
| channel_arn Required Input Column The ARN of the channel | VARCHAR |
| chime_bearer Required Input Column The AppInstanceUserArn of the user making the API call. | VARCHAR |
| message_id Required Input Column The ID of the message. | VARCHAR |
| sub_channel_id Input Column The ID of the SubChannel in the request. Only required when getting message status in a SubChannel that the user belongs to. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| status The message status and details. | STRUCT( |
Show child fields
| |