aws_sdk_resiliencehub/client/batch_update_recommendation_status.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 [`BatchUpdateRecommendationStatus`](crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`app_arn(impl Into<String>)`](crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder::set_app_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p><br>
7 /// - [`request_entries(UpdateRecommendationStatusRequestEntry)`](crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder::request_entries) / [`set_request_entries(Option<Vec::<UpdateRecommendationStatusRequestEntry>>)`](crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder::set_request_entries):<br>required: **true**<br><p>Defines the list of operational recommendations that need to be included or excluded.</p><br>
8 /// - On success, responds with [`BatchUpdateRecommendationStatusOutput`](crate::operation::batch_update_recommendation_status::BatchUpdateRecommendationStatusOutput) with field(s):
9 /// - [`app_arn(String)`](crate::operation::batch_update_recommendation_status::BatchUpdateRecommendationStatusOutput::app_arn): <p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>
10 /// - [`successful_entries(Vec::<BatchUpdateRecommendationStatusSuccessfulEntry>)`](crate::operation::batch_update_recommendation_status::BatchUpdateRecommendationStatusOutput::successful_entries): <p>A list of items that were included or excluded.</p>
11 /// - [`failed_entries(Vec::<BatchUpdateRecommendationStatusFailedEntry>)`](crate::operation::batch_update_recommendation_status::BatchUpdateRecommendationStatusOutput::failed_entries): <p>A list of items with error details about each item, which could not be included or excluded.</p>
12 /// - On failure, responds with [`SdkError<BatchUpdateRecommendationStatusError>`](crate::operation::batch_update_recommendation_status::BatchUpdateRecommendationStatusError)
13 pub fn batch_update_recommendation_status(
14 &self,
15 ) -> crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder {
16 crate::operation::batch_update_recommendation_status::builders::BatchUpdateRecommendationStatusFluentBuilder::new(self.handle.clone())
17 }
18}