CancelTraceRetrieval
Source:
src/AWS/XRay/CancelTraceRetrieval.ts
Cancel an ongoing Transaction Search trace retrieval job by its
RetrievalToken.
Bind the operation in the function’s init phase to get a runtime callable;
provide the implementation with Effect.provide(XRay.CancelTraceRetrievalHttp).
The action is account-scoped: X-Ray does not support resource-level
permissions for xray:CancelTraceRetrieval, so the binding grants it on *.
Transaction Search
Section titled “Transaction Search”import * as XRay from "alchemy/AWS/XRay";
// init — grants xray:CancelTraceRetrievalconst cancelTraceRetrieval = yield* XRay.CancelTraceRetrieval();
// runtimeyield* cancelTraceRetrieval({ RetrievalToken: token });