Struct aws_sdk_forecast::client::fluent_builders::DeleteResourceTree
source ·
[−]pub struct DeleteResourceTree<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteResourceTree
.
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.
Implementations
impl<C, M, R> DeleteResourceTree<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteResourceTree<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteResourceTreeOutput, SdkError<DeleteResourceTreeError>> where
R::Policy: SmithyRetryPolicy<DeleteResourceTreeInputOperationOutputAlias, DeleteResourceTreeOutput, DeleteResourceTreeError, DeleteResourceTreeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteResourceTreeOutput, SdkError<DeleteResourceTreeError>> where
R::Policy: SmithyRetryPolicy<DeleteResourceTreeInputOperationOutputAlias, DeleteResourceTreeOutput, DeleteResourceTreeError, DeleteResourceTreeInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.
The Amazon Resource Name (ARN) of the parent resource to delete. All child resources of the parent resource will also be deleted.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteResourceTree<C, M, R>
impl<C, M, R> Send for DeleteResourceTree<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteResourceTree<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteResourceTree<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteResourceTree<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more