aws_sdk_trustedadvisor/client/get_recommendation.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 [`GetRecommendation`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`recommendation_identifier(impl Into<String>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::recommendation_identifier) / [`set_recommendation_identifier(Option<String>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::set_recommendation_identifier):<br>required: **true**<br><p>The Recommendation identifier</p><br>
7 /// - On success, responds with [`GetRecommendationOutput`](crate::operation::get_recommendation::GetRecommendationOutput) with field(s):
8 /// - [`recommendation(Option<Recommendation>)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation): <p>The Recommendation</p>
9 /// - On failure, responds with [`SdkError<GetRecommendationError>`](crate::operation::get_recommendation::GetRecommendationError)
10 pub fn get_recommendation(&self) -> crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder {
11 crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::new(self.handle.clone())
12 }
13}