Skip to main content

export_tasks

Creates, updates, deletes, gets or lists an export_tasks resource.

Overview

Nameexport_tasks
TypeResource
Idaws.discovery.export_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
configurations_download_urlstringA URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.
export_idstringA unique identifier used to query an export. (pattern: <code>\S*</code>)
export_request_timestring (date-time)The time that the data export was initiated.
export_statusstringThe status of the data export job. (FAILED, SUCCEEDED, IN_PROGRESS)
is_truncatedbooleanIf 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_timestring (date-time)The endTime used in the StartExportTask request. If no endTime was requested, this result does not appear in ExportInfo.
requested_start_timestring (date-time)The value of startTime parameter in the StartExportTask request. If no startTime was requested, this result does not appear in ExportInfo.
status_messagestringA status message provided for API callers.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_export_tasksselectregionRetrieve 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;