Skip to main content

data_set_import_tasks

Creates, updates, deletes, gets or lists a data_set_import_tasks resource.

Overview

Namedata_set_import_tasks
TypeResource
Idaws.m2.data_set_import_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
statusstringThe status of the task. (Creating, Running, Completed, Failed)
summaryobjectA summary of the status of the task.
task_idstringThe task identifier. (pattern: <code>^\S{1,80}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_set_import_taskselectapplication_id, task_id, regionGets the status of a data set import task initiated with the CreateDataSetImportTask operation.
create_data_set_import_taskinsertapplication_id, region, importConfigStarts a data set import task for a specific application.

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
application_idstringThe unique identifier of the application for which you want to import data sets.
regionstringAWS region (default: us-east-1)
task_idstringThe task identifier returned by the CreateDataSetImportTask operation.

SELECT examples

Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.

SELECT
status,
summary,
task_id
FROM aws.m2.data_set_import_tasks
WHERE application_id = '{{ application_id }}' -- required
AND task_id = '{{ task_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Starts a data set import task for a specific application.

INSERT INTO aws.m2.data_set_import_tasks (
clientToken,
importConfig,
application_id,
region
)
SELECT
'{{ clientToken }}',
'{{ importConfig }}' /* required */,
'{{ application_id }}',
'{{ region }}'
RETURNING
task_id
;