1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeRecommendationFeedback`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`code_review_arn(impl Into<String>)`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::code_review_arn) / [`set_code_review_arn(Option<String>)`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::set_code_review_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the <a href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html">CodeReview</a> object. </p><br>
    ///   - [`recommendation_id(impl Into<String>)`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::recommendation_id) / [`set_recommendation_id(Option<String>)`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::set_recommendation_id):<br>required: **true**<br><p>The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::set_user_id):<br>required: **false**<br><p>Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.</p>  <p> The <code>UserId</code> is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying"> Specifying a Principal</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p><br>
    /// - On success, responds with [`DescribeRecommendationFeedbackOutput`](crate::operation::describe_recommendation_feedback::DescribeRecommendationFeedbackOutput) with field(s):
    ///   - [`recommendation_feedback(Option<RecommendationFeedback>)`](crate::operation::describe_recommendation_feedback::DescribeRecommendationFeedbackOutput::recommendation_feedback): <p>The recommendation feedback given by the user.</p>
    /// - On failure, responds with [`SdkError<DescribeRecommendationFeedbackError>`](crate::operation::describe_recommendation_feedback::DescribeRecommendationFeedbackError)
    pub fn describe_recommendation_feedback(
        &self,
    ) -> crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder {
        crate::operation::describe_recommendation_feedback::builders::DescribeRecommendationFeedbackFluentBuilder::new(self.handle.clone())
    }
}