StartImportTask
Source:
src/AWS/NeptuneGraph/StartImportTask.ts
Runtime binding for the StartImportTask operation (IAM action neptune-graph:StartImportTask),
scoped to one Graph.
Starts a bulk import from Amazon S3 into the bound graph (the graph must be empty and AVAILABLE). The request passes Neptune Analytics a data-access role, so the grant includes iam:PassRole conditioned to neptune-graph.amazonaws.com. Poll progress with GetImportTask. Provide the implementation with
Effect.provide(AWS.NeptuneGraph.StartImportTaskHttp).
Importing and Exporting Data
Section titled “Importing and Exporting Data”const startImport = yield* NeptuneGraph.StartImportTask(graph);
const task = yield* startImport({ source: "s3://my-bucket/graph-data/", format: "CSV", roleArn: importRole.roleArn,});// task.taskId, task.status