libZSservicesZSamazonka-forecastZSamazonka-forecast
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Synopsis

Creating a Request

data StopResource Source #

See: newStopResource smart constructor.

Constructors

StopResource' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) that identifies the resource to stop. The supported ARNs are DatasetImportJobArn, PredictorArn, PredictorBacktestExportJobArn, ForecastArn, and ForecastExportJobArn.

Instances

Instances details
Eq StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Read StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Show StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Generic StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Associated Types

type Rep StopResource :: Type -> Type #

NFData StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Methods

rnf :: StopResource -> () #

Hashable StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

ToJSON StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

AWSRequest StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Associated Types

type AWSResponse StopResource #

ToHeaders StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

ToPath StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

ToQuery StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

type Rep StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

type Rep StopResource = D1 ('MetaData "StopResource" "Amazonka.Forecast.StopResource" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "StopResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopResource Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

newStopResource Source #

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.

Constructors

StopResourceResponse' 

Instances

Instances details
Eq StopResourceResponse Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Read StopResourceResponse Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Show StopResourceResponse Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Generic StopResourceResponse Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Associated Types

type Rep StopResourceResponse :: Type -> Type #

NFData StopResourceResponse Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

Methods

rnf :: StopResourceResponse -> () #

type Rep StopResourceResponse Source # 
Instance details

Defined in Amazonka.Forecast.StopResource

type Rep StopResourceResponse = D1 ('MetaData "StopResourceResponse" "Amazonka.Forecast.StopResource" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "StopResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStopResourceResponse :: StopResourceResponse Source #

Create a value of StopResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.