v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1421511.7 KB

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 PutRawMessageContent from an AWS Lambda function configured with a synchronous Run Lambda rule. If you call PutRawMessageContent on a delivered or sent message, the message remains unchanged, even though GetRawMessageContent returns an updated message.

post/messages/{messageId}

Path parameters

messageIdstring required

The identifier of the email message being updated.

Request body

Response

Success

PutRawMessageContentResponse required