aws_sdk_forecast/client/
delete_predictor.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeletePredictor`](crate::operation::delete_predictor::builders::DeletePredictorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`predictor_arn(impl Into<String>)`](crate::operation::delete_predictor::builders::DeletePredictorFluentBuilder::predictor_arn) / [`set_predictor_arn(Option<String>)`](crate::operation::delete_predictor::builders::DeletePredictorFluentBuilder::set_predictor_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the predictor to delete.</p><br>
7    /// - On success, responds with [`DeletePredictorOutput`](crate::operation::delete_predictor::DeletePredictorOutput)
8    /// - On failure, responds with [`SdkError<DeletePredictorError>`](crate::operation::delete_predictor::DeletePredictorError)
9    pub fn delete_predictor(&self) -> crate::operation::delete_predictor::builders::DeletePredictorFluentBuilder {
10        crate::operation::delete_predictor::builders::DeletePredictorFluentBuilder::new(self.handle.clone())
11    }
12}