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.DeleteResourceTree

Description

Deletes an entire resource tree. This operation will delete the parent resource and its child resources.

Child resources are resources that were created from another resource. For example, when a forecast is generated from a predictor, the forecast is the child resource and the predictor is the parent resource.

Amazon Forecast resources possess the following parent-child resource hierarchies:

  • Dataset: dataset import jobs
  • Dataset Group: predictors, predictor backtest export jobs, forecasts, forecast export jobs
  • Predictor: predictor backtest export jobs, forecasts, forecast export jobs
  • Forecast: forecast export jobs

DeleteResourceTree will only delete Amazon Forecast resources, and will not delete datasets or exported files stored in Amazon S3.

Synopsis

Creating a Request

data DeleteResourceTree Source #

See: newDeleteResourceTree smart constructor.

Constructors

DeleteResourceTree' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.

Instances

Instances details
Eq DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Read DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Show DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Generic DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Associated Types

type Rep DeleteResourceTree :: Type -> Type #

NFData DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Methods

rnf :: DeleteResourceTree -> () #

Hashable DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

ToJSON DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

AWSRequest DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Associated Types

type AWSResponse DeleteResourceTree #

ToHeaders DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

ToPath DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

ToQuery DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

type Rep DeleteResourceTree Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

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

Defined in Amazonka.Forecast.DeleteResourceTree

newDeleteResourceTree Source #

Create a value of DeleteResourceTree 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:DeleteResourceTree', deleteResourceTree_resourceArn - The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.

Request Lenses

deleteResourceTree_resourceArn :: Lens' DeleteResourceTree Text Source #

The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.

Destructuring the Response

data DeleteResourceTreeResponse Source #

See: newDeleteResourceTreeResponse smart constructor.

Instances

Instances details
Eq DeleteResourceTreeResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Read DeleteResourceTreeResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Show DeleteResourceTreeResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Generic DeleteResourceTreeResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

Associated Types

type Rep DeleteResourceTreeResponse :: Type -> Type #

NFData DeleteResourceTreeResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

type Rep DeleteResourceTreeResponse Source # 
Instance details

Defined in Amazonka.Forecast.DeleteResourceTree

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

newDeleteResourceTreeResponse :: DeleteResourceTreeResponse Source #

Create a value of DeleteResourceTreeResponse with all optional fields omitted.

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