message_feedbacks
Creates, updates, deletes, gets or lists a message_feedbacks resource.
Overview
| Name | message_feedbacks |
| Type | Resource |
| Id | aws.pinpoint_sms_voice_v2.message_feedbacks |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
put_message_feedback | replace | region, MessageId, MessageFeedbackStatus | Set the MessageFeedbackStatus as RECEIVED or FAILED for the passed in MessageId. If you use message feedback then you must update message feedback record. When you receive a signal that a user has received the message you must use PutMessageFeedback to set the message feedback record as RECEIVED; Otherwise, an hour after the message feedback record is set to FAILED. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
REPLACE examples
- put_message_feedback
Set the MessageFeedbackStatus as RECEIVED or FAILED for the passed in MessageId. If you use message feedback then you must update message feedback record. When you receive a signal that a user has received the message you must use PutMessageFeedback to set the message feedback record as RECEIVED; Otherwise, an hour after the message feedback record is set to FAILED.
REPLACE aws.pinpoint_sms_voice_v2.message_feedbacks
SET
MessageId = '{{ MessageId }}',
MessageFeedbackStatus = '{{ MessageFeedbackStatus }}'
WHERE
region = '{{ region }}' --required
AND MessageId = '{{ MessageId }}' --required
AND MessageFeedbackStatus = '{{ MessageFeedbackStatus }}' --required
RETURNING
message_feedback_status,
message_id;