aws-sdk-bedrockagentcore 1.45.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
// 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_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><p>The unique identifier of the recommendation to retrieve.</p><br>
    /// - On success, responds with [`GetRecommendationOutput`](crate::operation::get_recommendation::GetRecommendationOutput) with field(s):
    ///   - [`recommendation_id(String)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation_id): <p>The unique identifier of the recommendation.</p>
    ///   - [`recommendation_arn(String)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation_arn): <p>The Amazon Resource Name (ARN) of the recommendation.</p>
    ///   - [`name(String)`](crate::operation::get_recommendation::GetRecommendationOutput::name): <p>The name of the recommendation.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_recommendation::GetRecommendationOutput::description): <p>The description of the recommendation.</p>
    ///   - [`r#type(RecommendationType)`](crate::operation::get_recommendation::GetRecommendationOutput::type): <p>The type of recommendation.</p>
    ///   - [`recommendation_config(Option<RecommendationConfig>)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation_config): <p>The configuration for the recommendation.</p>
    ///   - [`status(RecommendationStatus)`](crate::operation::get_recommendation::GetRecommendationOutput::status): <p>The current status of the recommendation.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_recommendation::GetRecommendationOutput::created_at): <p>The timestamp when the recommendation was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_recommendation::GetRecommendationOutput::updated_at): <p>The timestamp when the recommendation was last updated.</p>
    ///   - [`recommendation_result(Option<RecommendationResult>)`](crate::operation::get_recommendation::GetRecommendationOutput::recommendation_result): <p>The result of the recommendation, containing the optimized system prompt or tool descriptions. Only present when the recommendation status is <code>COMPLETED</code>.</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())
    }
}