Skip to main content

archive_message_contents

Creates, updates, deletes, gets or lists an archive_message_contents resource.

Overview

Namearchive_message_contents
TypeResource
Idaws.mailmanager.archive_message_contents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
htmlstringThe HTML body content of the message.
message_malformedbooleanA flag indicating if the email was malformed.
textstringThe plain text body content of the message.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_archive_message_contentselectregionReturns the textual content of a specific email message stored in the archive. Attachments are not included.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the textual content of a specific email message stored in the archive. Attachments are not included.

SELECT
html,
message_malformed,
text
FROM aws.mailmanager.archive_message_contents
WHERE region = '{{ region }}' -- required
;