Skip to content

GetGraphSummary

Source: src/AWS/NeptuneGraph/GetGraphSummary.ts

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

Reads the data summary of the bound graph — node/edge counts, labels, and (in DETAILED mode) per-label structure. Cheap way to sanity-check a load or drive dashboards without running a query. Provide the implementation with Effect.provide(AWS.NeptuneGraph.GetGraphSummaryHttp).

const getSummary = yield* NeptuneGraph.GetGraphSummary(graph);
const summary = yield* getSummary({ mode: "BASIC" });
// summary.graphSummary?.numNodes, summary.graphSummary?.numEdges