aws_sdk_trustedadvisor/client/
get_recommendation.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRecommendation`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetRecommendationOutput`](crate::operation::get_recommendation::GetRecommendationOutput) with field(s):
    ///   - [`recommendation(Option<Recommendation>)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation): <p>The Recommendation</p>
    /// - On failure, responds with [`SdkError<GetRecommendationError>`](crate::operation::get_recommendation::GetRecommendationError)
    pub fn get_recommendation(&self) -> crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder {
        crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::new(self.handle.clone())
    }
}