export_tasks
Creates, updates, deletes, gets or lists an export_tasks resource.
Overview
| Name | export_tasks |
| Type | Resource |
| Id | aws.discovery.export_tasks |
Fields
The following fields are returned by SELECT queries:
- describe_export_tasks
| Name | Datatype | Description |
|---|---|---|
configurations_download_url | string | A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded. |
export_id | string | A unique identifier used to query an export. (pattern: <code>\S*</code>) |
export_request_time | string (date-time) | The time that the data export was initiated. |
export_status | string | The status of the data export job. (FAILED, SUCCEEDED, IN_PROGRESS) |
is_truncated | boolean | If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate and endDate. |
requested_end_time | string (date-time) | The endTime used in the StartExportTask request. If no endTime was requested, this result does not appear in ExportInfo. |
requested_start_time | string (date-time) | The value of startTime parameter in the StartExportTask request. If no startTime was requested, this result does not appear in ExportInfo. |
status_message | string | A status message provided for API callers. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_export_tasks | select | region | Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_export_tasks
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
SELECT
configurations_download_url,
export_id,
export_request_time,
export_status,
is_truncated,
requested_end_time,
requested_start_time,
status_message
FROM aws.discovery.export_tasks
WHERE region = '{{ region }}' -- required
;