aws_sdk_resiliencehub/client/
delete_recommendation_template.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 [`DeleteRecommendationTemplate`](crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`recommendation_template_arn(impl Into<String>)`](crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder::recommendation_template_arn) / [`set_recommendation_template_arn(Option<String>)`](crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder::set_recommendation_template_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) for a recommendation template.</p><br>
7    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder::set_client_token):<br>required: **false**<br><p>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.</p><br>
8    /// - On success, responds with [`DeleteRecommendationTemplateOutput`](crate::operation::delete_recommendation_template::DeleteRecommendationTemplateOutput) with field(s):
9    ///   - [`recommendation_template_arn(String)`](crate::operation::delete_recommendation_template::DeleteRecommendationTemplateOutput::recommendation_template_arn): <p>The Amazon Resource Name (ARN) for a recommendation template.</p>
10    ///   - [`status(RecommendationTemplateStatus)`](crate::operation::delete_recommendation_template::DeleteRecommendationTemplateOutput::status): <p>Status of the action.</p>
11    /// - On failure, responds with [`SdkError<DeleteRecommendationTemplateError>`](crate::operation::delete_recommendation_template::DeleteRecommendationTemplateError)
12    pub fn delete_recommendation_template(
13        &self,
14    ) -> crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder {
15        crate::operation::delete_recommendation_template::builders::DeleteRecommendationTemplateFluentBuilder::new(self.handle.clone())
16    }
17}