Amazon WorkMail Message Flow

2021/02/15 - Amazon WorkMail Message Flow - 1 new api methods

Changes  Update workmailmessageflow client to latest version

PutRawMessageContent (new) Link ΒΆ

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.

See also: AWS API Documentation

Request Syntax

client.put_raw_message_content(
    messageId='string',
    content={
        's3Reference': {
            'bucket': 'string',
            'key': 'string',
            'objectVersion': 'string'
        }
    }
)
type messageId:

string

param messageId:

[REQUIRED]

The identifier of the email message being updated.

type content:

dict

param content:

[REQUIRED]

Describes the raw message content of the updated email message.

  • s3Reference (dict) -- [REQUIRED]

    The S3 reference of an email message.

    • bucket (string) -- [REQUIRED]

      The S3 bucket name.

    • key (string) -- [REQUIRED]

      The S3 key object name.

    • objectVersion (string) --

      If you enable versioning for the bucket, you can specify the object version.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --