DeleteResourceTree
Source:
src/AWS/Forecast/DeleteResourceTree.ts
Runtime binding for forecast:DeleteResourceTree — delete an entire tree
of runtime-created Forecast resources (a predictor and its forecasts and
exports, or a dataset’s import jobs) in a single call, the cost-hygiene
counterpart to the Create* bindings.
The target ARNs are created at runtime, so the binding takes no arguments
and grants forecast:DeleteResourceTree on *. Provide the implementation
with Effect.provide(AWS.Forecast.DeleteResourceTreeHttp).
Cleaning Up
Section titled “Cleaning Up”// initconst deleteResourceTree = yield* AWS.Forecast.DeleteResourceTree();
// runtimeyield* deleteResourceTree({ ResourceArn: predictorArn });