archive_message_contents
Creates, updates, deletes, gets or lists an archive_message_contents resource.
Overview
| Name | archive_message_contents |
| Type | Resource |
| Id | aws.mailmanager.archive_message_contents |
Fields
The following fields are returned by SELECT queries:
- get_archive_message_content
| Name | Datatype | Description |
|---|---|---|
html | string | The HTML body content of the message. |
message_malformed | boolean | A flag indicating if the email was malformed. |
text | string | The plain text body content of the message. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_archive_message_content | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_archive_message_content
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
;