Skip to content

Put Raw Message Content

workmailmessageflow_put_raw_message_content R Documentation

Updates the raw content of an in-transit email message, in MIME format

Description

Updates the raw content of an in-transit email message, in MIME format.

This example describes how to update in-transit email message. For more information and examples for using this API, see Updating message content with AWS Lambda.

Updates to an in-transit message only appear when you call put_raw_message_content from an AWS Lambda function configured with a synchronous Run Lambda rule. If you call put_raw_message_content on a delivered or sent message, the message remains unchanged, even though get_raw_message_content returns an updated message.

Usage

workmailmessageflow_put_raw_message_content(messageId, content)

Arguments

messageId

[required] The identifier of the email message being updated.

content

[required] Describes the raw message content of the updated email message.

Value

An empty list.

Request syntax

svc$put_raw_message_content(
  messageId = "string",
  content = list(
    s3Reference = list(
      bucket = "string",
      key = "string",
      objectVersion = "string"
    )
  )
)