aws-sdk-bedrockagentcore 1.45.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteRecommendation`](crate::operation::delete_recommendation::builders::DeleteRecommendationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recommendation_id(impl Into<String>)`](crate::operation::delete_recommendation::builders::DeleteRecommendationFluentBuilder::recommendation_id) / [`set_recommendation_id(Option<String>)`](crate::operation::delete_recommendation::builders::DeleteRecommendationFluentBuilder::set_recommendation_id):<br>required: **true**<br><p>The unique identifier of the recommendation to delete.</p><br>
    /// - On success, responds with [`DeleteRecommendationOutput`](crate::operation::delete_recommendation::DeleteRecommendationOutput) with field(s):
    ///   - [`recommendation_id(String)`](crate::operation::delete_recommendation::DeleteRecommendationOutput::recommendation_id): <p>The unique identifier of the deleted recommendation.</p>
    ///   - [`status(RecommendationStatus)`](crate::operation::delete_recommendation::DeleteRecommendationOutput::status): <p>The status of the recommendation deletion operation.</p>
    /// - On failure, responds with [`SdkError<DeleteRecommendationError>`](crate::operation::delete_recommendation::DeleteRecommendationError)
    pub fn delete_recommendation(&self) -> crate::operation::delete_recommendation::builders::DeleteRecommendationFluentBuilder {
        crate::operation::delete_recommendation::builders::DeleteRecommendationFluentBuilder::new(self.handle.clone())
    }
}