Skip to content

Get Message Insights

sesv2_get_message_insights R Documentation

Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message

Description

Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message.

You can execute this operation no more than once per second.

Usage

sesv2_get_message_insights(MessageId)

Arguments

MessageId

[required] A MessageId is a unique identifier for a message, and is returned when sending emails through Amazon SES.

Value

A list with the following syntax:

list(
  MessageId = "string",
  FromEmailAddress = "string",
  Subject = "string",
  EmailTags = list(
    list(
      Name = "string",
      Value = "string"
    )
  ),
  Insights = list(
    list(
      Destination = "string",
      Isp = "string",
      Events = list(
        list(
          Timestamp = as.POSIXct(
            "2015-01-01"
          ),
          Type = "SEND"|"REJECT"|"BOUNCE"|"COMPLAINT"|"DELIVERY"|"OPEN"|"CLICK"|"RENDERING_FAILURE"|"DELIVERY_DELAY"|"SUBSCRIPTION",
          Details = list(
            Bounce = list(
              BounceType = "UNDETERMINED"|"TRANSIENT"|"PERMANENT",
              BounceSubType = "string",
              DiagnosticCode = "string"
            ),
            Complaint = list(
              ComplaintSubType = "string",
              ComplaintFeedbackType = "string"
            )
          )
        )
      )
    )
  )
)

Request syntax

svc$get_message_insights(
  MessageId = "string"
)

Examples

## Not run: 
# Provides information about a specific message.
svc$get_message_insights(
  MessageId = "000000000000ab00-0a000aa0-1234-0a0a-1234-0a0aaa0aa00a-000000"
)

## End(Not run)