aws-sdk-devopsagent 1.4.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier for the agent space containing the recommendation<br>
    ///   - [`recommendation_id(impl Into<String>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::recommendation_id) / [`set_recommendation_id(Option<String>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::set_recommendation_id):<br>required: **true**<br>The unique identifier for the recommendation to retrieve<br>
    ///   - [`recommendation_version(i64)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::recommendation_version) / [`set_recommendation_version(Option<i64>)`](crate::operation::get_recommendation::builders::GetRecommendationFluentBuilder::set_recommendation_version):<br>required: **false**<br>Specific version of the recommendation to retrieve. If not specified, returns the latest version.<br>
    /// - On success, responds with [`GetRecommendationOutput`](crate::operation::get_recommendation::GetRecommendationOutput) with field(s):
    ///   - [`recommendation(Option<Recommendation>)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation): The requested recommendation
    /// - 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())
    }
}