GetImportTaskOutput
¶
Source code in docs_src/capo_neptune_graph/types/get_import_task_output.py
attempt_number
instance-attribute
¶
attempt_number: NotRequired[int]
The number of the current attempts to execute the import task.
format
instance-attribute
¶
format: NotRequired[Format]
Specifies the format of S3 data to be imported. Valid values are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which identifies the openCypher load format.
graph_id
instance-attribute
¶
graph_id: NotRequired[GraphId]
The unique identifier of the Neptune Analytics graph.
import_options
instance-attribute
¶
import_options: NotRequired[ImportOptions]
Contains options for controlling the import process. For example, if the failOnError key is set to false, the import skips problem data and attempts to continue (whereas if set to true, the default, or if omitted, the import operation halts immediately when an error is encountered.
import_task_details
instance-attribute
¶
import_task_details: NotRequired[ImportTaskDetails]
Contains details about the specified import task.
parquet_type
instance-attribute
¶
parquet_type: NotRequired[ParquetType]
The parquet type of the import task.
role_arn
instance-attribute
¶
role_arn: RoleArn
The ARN of the IAM role that will allow access to the data that is to be imported.
source
instance-attribute
¶
source: str
A URL identifying to the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot
status
instance-attribute
¶
status: ImportTaskStatus
The status of the import task:
-
INITIALIZING – The necessary resources needed to create the graph are being prepared.
-
ANALYZING_DATA – The data is being analyzed to determine the optimal infrastructure configuration for the new graph.
-
RE_PROVISIONING – The data did not fit into the provisioned graph, so it is being re-provisioned with more capacity.
-
IMPORTING – The data is being loaded.
-
ERROR_ENCOUNTERED – An error has been encountered while trying to create the graph and import the data.
-
ERROR_ENCOUNTERED_ROLLING_BACK – Because of the error that was encountered, the graph is being rolled back and all its resources released.
-
SUCCEEDED – Graph creation and data loading succeeded.
-
FAILED – Graph creation or data loading failed. When the status is
FAILED, you can useget-graphsto get more information about the state of the graph. -
CANCELLING – Because you cancelled the import task, cancellation is in progress.
-
CANCELLED – You have successfully cancelled the import task.