PutMessageFeedback
Source:
src/AWS/PinpointSMSVoiceV2/PutMessageFeedback.ts
Runtime binding for sms-voice:PutMessageFeedback.
Marks a sent message’s feedback record as RECEIVED or FAILED. When
a message is sent with MessageFeedbackEnabled: true, End User
Messaging SMS waits for this signal — set RECEIVED when your
application observes the user acting on the message (e.g. entering the
one-time passcode); records not updated within an hour are marked
FAILED. Account-level: feedback acts on message IDs, so the
deploy-time grant is sms-voice:PutMessageFeedback on *. Provide
the implementation with
Effect.provide(AWS.PinpointSMSVoiceV2.PutMessageFeedbackHttp).
Message Feedback
Section titled “Message Feedback”// init — bind the account-level operationconst putFeedback = yield* AWS.PinpointSMSVoiceV2.PutMessageFeedback();
// runtime — after the user enters the code sent in `MessageId`yield* putFeedback({ MessageId: messageId, MessageFeedbackStatus: "RECEIVED",});