Skip to main content

export_tasks

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

Overview

Nameexport_tasks
TypeResource
Idaws.neptune_graph.export_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destinationstringThe Amazon S3 URI of the export task where data will be exported.
export_filterobjectThe export filter of the export task.
export_task_detailsobjectThe details of the export task.
format_stringThe format of the export task. (PARQUET, CSV)
graph_idstringThe source graph identifier of the export task. (pattern: <code>g-[a-z0-9]{10}</code>)
kms_key_identifierstringThe KMS key identifier of the export task. (pattern: <code>arn:aws[^:]:kms:[a-zA-Z0-9-]:[0-9]{12}:key/[a-zA-Z0-9-]{36}</code>)
parquet_typestringThe parquet type of the export task. (COLUMNAR)
role_arnstringThe ARN of the IAM role that will allow data to be exported to the destination. (pattern: <code>arn:aws[^:]*:iam::\d{12}:(role|role/service-role)(/[\w+=,.@-]+)+</code>)
statusstringThe current status of the export task. (INITIALIZING, EXPORTING, SUCCEEDED, FAILED, CANCELLING, CANCELLED, DELETED)
status_reasonstringThe reason that the export task has this status value.
task_idstringThe unique identifier of the export task. (pattern: <code>t-[a-z0-9]{10}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_export_taskselecttask_identifier, regionRetrieves a specified export task.
list_export_tasksselectregiongraphIdentifier, nextToken, maxResultsRetrieves a list of 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)
task_identifierstringThe unique identifier of the export task.
graphIdentifierstringThe unique identifier of the Neptune Analytics graph.
maxResultsintegerThe maximum number of export tasks to return.
nextTokenstringPagination token used to paginate input.

SELECT examples

Retrieves a specified export task.

SELECT
destination,
export_filter,
export_task_details,
format_,
graph_id,
kms_key_identifier,
parquet_type,
role_arn,
status,
status_reason,
task_id
FROM aws.neptune_graph.export_tasks
WHERE task_identifier = '{{ task_identifier }}' -- required
AND region = '{{ region }}' -- required
;