StopResource
Source:
src/AWS/Forecast/StopResource.ts
Runtime binding for forecast:StopResource — halt an in-progress Forecast
job (dataset import, predictor training, forecast generation, or any of
their export jobs), the cost-control lever for a runaway training run. A
stopped job cannot be resumed.
Job ARNs are created at runtime, so the binding takes no arguments and
grants forecast:StopResource on *. Provide the implementation with
Effect.provide(AWS.Forecast.StopResourceHttp).
Managing Jobs
Section titled “Managing Jobs”// initconst stopResource = yield* AWS.Forecast.StopResource();
// runtimeyield* stopResource({ ResourceArn: predictorArn });