Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Synopsis
Creating a Request
data StopResource Source #
See: newStopResource
smart constructor.
StopResource' | |
|
Instances
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:
$sel:resourceArn:StopResource'
, stopResource_resourceArn
- The Amazon Resource Name (ARN) that identifies the resource to stop. The
supported ARNs are DatasetImportJobArn
, PredictorArn
,
PredictorBacktestExportJobArn
, ForecastArn
, and
ForecastExportJobArn
.
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
, and
ForecastExportJobArn
.
Destructuring the Response
data StopResourceResponse Source #
See: newStopResourceResponse
smart constructor.
Instances
Eq StopResourceResponse Source # | |
Defined in Amazonka.Forecast.StopResource (==) :: StopResourceResponse -> StopResourceResponse -> Bool # (/=) :: StopResourceResponse -> StopResourceResponse -> Bool # | |
Read StopResourceResponse Source # | |
Show StopResourceResponse Source # | |
Defined in Amazonka.Forecast.StopResource showsPrec :: Int -> StopResourceResponse -> ShowS # show :: StopResourceResponse -> String # showList :: [StopResourceResponse] -> ShowS # | |
Generic StopResourceResponse Source # | |
Defined in Amazonka.Forecast.StopResource type Rep StopResourceResponse :: Type -> Type # from :: StopResourceResponse -> Rep StopResourceResponse x # to :: Rep StopResourceResponse x -> StopResourceResponse # | |
NFData StopResourceResponse Source # | |
Defined in Amazonka.Forecast.StopResource rnf :: StopResourceResponse -> () # | |
type Rep StopResourceResponse Source # | |
newStopResourceResponse :: StopResourceResponse Source #
Create a value of StopResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.