Amazon Pinpoint · JSON Structure

Amazon Pinpoint Message Result Structure

Provides information about the results of sending a message directly to an endpoint address.

Type: object Properties: 5 Required: 2
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics

MessageResult is a JSON Structure definition published by Amazon Pinpoint, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

DeliveryStatus MessageId StatusCode StatusMessage UpdatedToken

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-message-result-structure.json",
  "name": "MessageResult",
  "description": "Provides information about the results of sending a message directly to an endpoint address.",
  "type": "object",
  "properties": {
    "DeliveryStatus": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DeliveryStatus"
        },
        {
          "description": "<p>The delivery status of the message. Possible values are:</p> <ul> <li><p>DUPLICATE - The endpoint address is a duplicate of another endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li>   <li><p>OPT_OUT - The user who's associated with the endpoint address has opted out of receiving messages from you. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>PERMANENT_FAILURE - An error occurred when delivering the message to the endpoint address. Amazon Pinpoint won't attempt to send the message again.</p></li>   <li><p>SUCCESSFUL - The message was successfully delivered to the endpoint address.</p></li> <li><p>TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint won't attempt to send the message again.</p></li> <li><p>THROTTLED - Amazon Pinpoint throttled the operation to send the message to the endpoint address.</p></li> <li><p>TIMEOUT - The message couldn't be sent within the timeout period.</p></li> <li><p>UNKNOWN_FAILURE - An unknown error occurred.</p></li></ul>"
        }
      ]
    },
    "MessageId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The unique identifier for the message that was sent."
        }
      ]
    },
    "StatusCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "The downstream service status code for delivering the message."
        }
      ]
    },
    "StatusMessage": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The status message for delivering the message."
        }
      ]
    },
    "UpdatedToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "For push notifications that are sent through the GCM channel, specifies whether the endpoint's device registration token was updated as part of delivering the message."
        }
      ]
    }
  },
  "required": [
    "DeliveryStatus",
    "StatusCode"
  ]
}