GetRetrievedTracesGraph
Source:
src/AWS/XRay/GetRetrievedTracesGraph.ts
Retrieve the service graph of the traces fetched by a Transaction Search retrieval job.
Bind the operation in the function’s init phase to get a runtime callable;
provide the implementation with Effect.provide(XRay.GetRetrievedTracesGraphHttp).
The action is account-scoped: X-Ray does not support resource-level
permissions for xray:GetRetrievedTracesGraph, so the binding grants it on *.
Transaction Search
Section titled “Transaction Search”import * as XRay from "alchemy/AWS/XRay";
// init — grants xray:GetRetrievedTracesGraphconst getRetrievedTracesGraph = yield* XRay.GetRetrievedTracesGraph();
// runtimeconst graph = yield* getRetrievedTracesGraph({ RetrievalToken: token });const services = graph.Services ?? [];