GetArchiveMessage
Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive.
Request Syntax
{
"ArchivedMessageId": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- ArchivedMessageId
-
The unique identifier of the archived email message.
Type: String
Required: Yes
Response Syntax
{
"Envelope": {
"From": "string",
"Helo": "string",
"To": [ "string" ]
},
"MessageDownloadLink": "string",
"Metadata": {
"IngressPointId": "string",
"RuleSetId": "string",
"SenderHostname": "string",
"SenderIpAddress": "string",
"Timestamp": number,
"TlsCipherSuite": "string",
"TlsProtocol": "string",
"TrafficPolicyId": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- Envelope
-
The SMTP envelope information of the email.
Type: Envelope object
- MessageDownloadLink
-
A pre-signed URL to temporarily download the full message content.
Type: String
- Metadata
-
The metadata about the email.
Type: Metadata object
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
Occurs when a user is denied access to a specific resource or action.
HTTP Status Code: 400
- ThrottlingException
-
Occurs when a service's request rate limit is exceeded, resulting in throttling of further requests.
HTTP Status Code: 400
- ValidationException
-
The request validation has failed. For details, see the accompanying error message.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: