GetArchiveExport
Retrieves the details and current status of a specific email archive export job.
Request Syntax
{
"ExportId": "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.
- ExportId
-
The identifier of the export job to get details for.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Required: Yes
Response Syntax
{
"ArchiveId": "string",
"ExportDestinationConfiguration": { ... },
"Filters": {
"Include": [
{ ... }
],
"Unless": [
{ ... }
]
},
"FromTimestamp": number,
"MaxResults": number,
"Status": {
"CompletionTimestamp": number,
"ErrorMessage": "string",
"State": "string",
"SubmissionTimestamp": number
},
"ToTimestamp": number
}
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.
- ArchiveId
-
The identifier of the archive the email export was performed from.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 66.
Pattern:
^a-[\w]{1,64}$
- ExportDestinationConfiguration
-
Where the exported emails are being delivered.
Type: ExportDestinationConfiguration object
Note: This object is a Union. Only one member of this object can be specified or returned.
- Filters
-
The criteria used to filter emails included in the export.
Type: ArchiveFilters object
- FromTimestamp
-
The start of the timestamp range the exported emails cover.
Type: Timestamp
- MaxResults
-
The maximum number of email items included in the export.
Type: Integer
- Status
-
The current status of the export job.
Type: ExportStatus object
- ToTimestamp
-
The end of the date range the exported emails cover.
Type: Timestamp
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: