| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Forecast.StopResource
Description
Stops a resource.
The resource undergoes the following states: CREATE_STOPPING and
CREATE_STOPPED. You cannot resume a resource once it has been stopped.
This operation can be applied to the following resources (and their corresponding child resources):
- Dataset Import Job
- Predictor Job
- Forecast Job
- Forecast Export Job
- Predictor Backtest Export Job
- Explainability Job
- Explainability Export Job
Synopsis
Creating a Request
data StopResource Source #
See: newStopResource smart constructor.
Constructors
| StopResource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopResource |
Create a value of StopResource with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StopResource, stopResource_resourceArn - The Amazon Resource Name (ARN) that identifies the resource to stop. The
supported ARNs are DatasetImportJobArn, PredictorArn,
PredictorBacktestExportJobArn, ForecastArn, ForecastExportJobArn,
ExplainabilityArn, and ExplainabilityExportArn.
Request Lenses
stopResource_resourceArn :: Lens' StopResource Text Source #
The Amazon Resource Name (ARN) that identifies the resource to stop. The
supported ARNs are DatasetImportJobArn, PredictorArn,
PredictorBacktestExportJobArn, ForecastArn, ForecastExportJobArn,
ExplainabilityArn, and ExplainabilityExportArn.
Destructuring the Response
data StopResourceResponse Source #
See: newStopResourceResponse smart constructor.
Constructors
| StopResourceResponse' | |
Instances
newStopResourceResponse :: StopResourceResponse Source #
Create a value of StopResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.