Skip to content

StartExportTask

Source: src/AWS/NeptuneGraph/StartExportTask.ts

Runtime binding for the StartExportTask operation (IAM action neptune-graph:StartExportTask), scoped to one Graph.

Exports the bound graph’s data to Amazon S3 (the graph must be 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 GetExportTask. Provide the implementation with Effect.provide(AWS.NeptuneGraph.StartExportTaskHttp).

const startExport = yield* NeptuneGraph.StartExportTask(graph);
const task = yield* startExport({
destination: "s3://my-bucket/exports/",
format: "PARQUET",
kmsKeyIdentifier: key.keyArn,
roleArn: exportRole.roleArn,
});