GetArchiveMessageContent
Returns the textual content of a specific email message stored in the archive. Attachments are not included.
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
{
"Body": {
"Html": "string",
"MessageMalformed": boolean,
"Text": "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.
- Body
-
The textual body content of the email message.
Type: MessageBody 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: