Skip to content

GetImportTaskOutput

Source code in docs_src/capo_neptune_graph/types/get_import_task_output.py
class GetImportTaskOutput(TypedDict, closed=True):
    graph_id: NotRequired["capo_neptune_graph.types.graph_id.GraphId"]
    """<p>The unique identifier of the Neptune Analytics graph.</p>"""
    task_id: "capo_neptune_graph.types.task_id.TaskId"
    """<p>The unique identifier of the import task.</p>"""
    source: "str"
    """<p>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</p>"""
    format: NotRequired["capo_neptune_graph.types.format.Format"]
    """<p>Specifies the format of S3 data to be imported. Valid values are <code>CSV</code>, which identifies the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html">Gremlin CSV format</a> or <code>OPENCYPHER</code>, which identifies the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html">openCypher load format</a>.</p>"""
    parquet_type: NotRequired["capo_neptune_graph.types.parquet_type.ParquetType"]
    """<p>The parquet type of the import task.</p>"""
    role_arn: "capo_neptune_graph.types.role_arn.RoleArn"
    """<p>The ARN of the IAM role that will allow access to the data that is to be imported.</p>"""
    status: "capo_neptune_graph.types.import_task_status.ImportTaskStatus"
    """<p>The status of the import task:</p> <ul> <li> <p> <b>INITIALIZING</b> – The necessary resources needed to create the graph are being prepared.</p> </li> <li> <p> <b>ANALYZING_DATA</b> – The data is being analyzed to determine the optimal infrastructure configuration for the new graph.</p> </li> <li> <p> <b>RE_PROVISIONING</b> – The data did not fit into the provisioned graph, so it is being re-provisioned with more capacity.</p> </li> <li> <p> <b>IMPORTING</b> – The data is being loaded.</p> </li> <li> <p> <b>ERROR_ENCOUNTERED</b> – An error has been encountered while trying to create the graph and import the data.</p> </li> <li> <p> <b>ERROR_ENCOUNTERED_ROLLING_BACK</b> – Because of the error that was encountered, the graph is being rolled back and all its resources released.</p> </li> <li> <p> <b>SUCCEEDED</b> – Graph creation and data loading succeeded.</p> </li> <li> <p> <b>FAILED</b> – Graph creation or data loading failed. When the status is <code>FAILED</code>, you can use <code>get-graphs</code> to get more information about the state of the graph.</p> </li> <li> <p> <b>CANCELLING</b> – Because you cancelled the import task, cancellation is in progress.</p> </li> <li> <p> <b>CANCELLED</b> – You have successfully cancelled the import task.</p> </li> </ul>"""
    import_options: NotRequired["capo_neptune_graph.types.import_options.ImportOptions"]
    """<p>Contains options for controlling the import process. For example, if the <code>failOnError</code> key is set to <code>false</code>, the import skips problem data and attempts to continue (whereas if set to <code>true</code>, the default, or if omitted, the import operation halts immediately when an error is encountered.</p>"""
    import_task_details: NotRequired[
        "capo_neptune_graph.types.import_task_details.ImportTaskDetails"
    ]
    """<p>Contains details about the specified import task.</p>"""
    attempt_number: NotRequired["int"]
    """<p>The number of the current attempts to execute the import task.</p>"""
    status_reason: NotRequired["str"]
    """<p>The reason that the import task has this status value.</p>"""

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

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 use get-graphs to 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.

status_reason instance-attribute

status_reason: NotRequired[str]

The reason that the import task has this status value.

task_id instance-attribute

task_id: TaskId

The unique identifier of the import task.