Skip to main content

archive_messages

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

Overview

Namearchive_messages
TypeResource
Idaws.mailmanager.archive_messages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
envelopeobjectThe SMTP envelope information of the email.
message_download_linkstringA pre-signed URL to temporarily download the full message content.
metadataobjectThe metadata about the email.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_archive_messageselectregionReturns 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.

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

SELECT examples

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
;