aws_sdk_trustedadvisor/client/
batch_update_recommendation_resource_exclusion.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchUpdateRecommendationResourceExclusion`](crate::operation::batch_update_recommendation_resource_exclusion::builders::BatchUpdateRecommendationResourceExclusionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recommendation_resource_exclusions(RecommendationResourceExclusion)`](crate::operation::batch_update_recommendation_resource_exclusion::builders::BatchUpdateRecommendationResourceExclusionFluentBuilder::recommendation_resource_exclusions) / [`set_recommendation_resource_exclusions(Option<Vec::<RecommendationResourceExclusion>>)`](crate::operation::batch_update_recommendation_resource_exclusion::builders::BatchUpdateRecommendationResourceExclusionFluentBuilder::set_recommendation_resource_exclusions):<br>required: **true**<br><p>A list of recommendation resource ARNs and exclusion status to update</p><br>
    /// - On success, responds with [`BatchUpdateRecommendationResourceExclusionOutput`](crate::operation::batch_update_recommendation_resource_exclusion::BatchUpdateRecommendationResourceExclusionOutput) with field(s):
    ///   - [`batch_update_recommendation_resource_exclusion_errors(Vec::<UpdateRecommendationResourceExclusionError>)`](crate::operation::batch_update_recommendation_resource_exclusion::BatchUpdateRecommendationResourceExclusionOutput::batch_update_recommendation_resource_exclusion_errors): <p>A list of recommendation resource ARNs whose exclusion status failed to update, if any</p>
    /// - On failure, responds with [`SdkError<BatchUpdateRecommendationResourceExclusionError>`](crate::operation::batch_update_recommendation_resource_exclusion::BatchUpdateRecommendationResourceExclusionError)
    pub fn batch_update_recommendation_resource_exclusion(
        &self,
    ) -> crate::operation::batch_update_recommendation_resource_exclusion::builders::BatchUpdateRecommendationResourceExclusionFluentBuilder {
        crate::operation::batch_update_recommendation_resource_exclusion::builders::BatchUpdateRecommendationResourceExclusionFluentBuilder::new(
            self.handle.clone(),
        )
    }
}