MailManager / Client / get_archive_search_results
get_archive_search_results#
- MailManager.Client.get_archive_search_results(**kwargs)#
Returns the results of a completed email archive search job.
See also: AWS API Documentation
Request Syntax
response = client.get_archive_search_results( SearchId='string' )
- Parameters:
SearchId (string) –
[REQUIRED]
The identifier of the completed search job.
- Return type:
dict
- Returns:
Response Syntax
{ 'Rows': [ { 'ArchivedMessageId': 'string', 'Cc': 'string', 'Date': 'string', 'From': 'string', 'HasAttachments': True|False, 'InReplyTo': 'string', 'MessageId': 'string', 'ReceivedHeaders': [ 'string', ], 'ReceivedTimestamp': datetime(2015, 1, 1), 'Subject': 'string', 'To': 'string', 'XMailer': 'string', 'XOriginalMailer': 'string', 'XPriority': 'string' }, ] }
Response Structure
(dict) –
The response containing search results from a completed archive search.
Rows (list) –
The list of email result objects matching the search criteria.
(dict) –
A result row containing metadata for an archived email message.
ArchivedMessageId (string) –
The unique identifier of the archived message.
Cc (string) –
The email addresses in the CC header.
Date (string) –
The date the email was sent.
From (string) –
The email address of the sender.
HasAttachments (boolean) –
A flag indicating if the email has attachments.
InReplyTo (string) –
The email message ID this is a reply to.
MessageId (string) –
The unique message ID of the email.
ReceivedHeaders (list) –
The received headers from the email delivery path.
(string) –
ReceivedTimestamp (datetime) –
The timestamp of when the email was received.
Subject (string) –
The subject header value of the email.
To (string) –
The email addresses in the To header.
XMailer (string) –
The user agent that sent the email.
XOriginalMailer (string) –
The original user agent that sent the email.
XPriority (string) –
The priority level of the email.
Exceptions
MailManager.Client.exceptions.ValidationException
MailManager.Client.exceptions.AccessDeniedException
MailManager.Client.exceptions.ConflictException
MailManager.Client.exceptions.ThrottlingException