archive_messages
Creates, updates, deletes, gets or lists an archive_messages resource.
Overview
| Name | archive_messages |
| Type | Resource |
| Id | aws.mailmanager.archive_messages |
Fields
The following fields are returned by SELECT queries:
- get_archive_message
| Name | Datatype | Description |
|---|---|---|
envelope | object | The SMTP envelope information of the email. |
message_download_link | string | A pre-signed URL to temporarily download the full message content. |
metadata | object | The metadata about the email. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_archive_message | select | region | Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive. |
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
Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive.
SELECT
envelope,
message_download_link,
metadata
FROM aws.mailmanager.archive_messages
WHERE region = '{{ region }}' -- required
;