PinpointSMSVoiceV2 / Client / put_message_feedback
put_message_feedback#
- PinpointSMSVoiceV2.Client.put_message_feedback(**kwargs)#
Set the MessageFeedbackStatus as
RECEIVED
orFAILED
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 asRECEIVED
; Otherwise, an hour after the message feedback record is set toFAILED
.See also: AWS API Documentation
Request Syntax
response = client.put_message_feedback( MessageId='string', MessageFeedbackStatus='RECEIVED'|'FAILED' )
- Parameters:
MessageId (string) –
[REQUIRED]
The unique identifier for the message.
MessageFeedbackStatus (string) –
[REQUIRED]
Set the message feedback to be either
RECEIVED
orFAILED
.
- Return type:
dict
- Returns:
Response Syntax
{ 'MessageId': 'string', 'MessageFeedbackStatus': 'RECEIVED'|'FAILED' }
Response Structure
(dict) –
MessageId (string) –
The unique identifier for the message.
MessageFeedbackStatus (string) –
The current status of the message.
Exceptions
PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException
PinpointSMSVoiceV2.Client.exceptions.ValidationException
PinpointSMSVoiceV2.Client.exceptions.InternalServerException