Skip to main content

message_feedbacks

Creates, updates, deletes, gets or lists a message_feedbacks resource.

Overview

Namemessage_feedbacks
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
put_message_feedbackreplaceregion, MessageId, MessageFeedbackStatusSet 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

REPLACE examples

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;