aws_sdk_wisdom/client/
notify_recommendations_received.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`NotifyRecommendationsReceived`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::set_session_id):<br>required: **true**<br><p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    ///   - [`recommendation_ids(impl Into<String>)`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::recommendation_ids) / [`set_recommendation_ids(Option<Vec::<String>>)`](crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::set_recommendation_ids):<br>required: **true**<br><p>The identifiers of the recommendations.</p><br>
    /// - On success, responds with [`NotifyRecommendationsReceivedOutput`](crate::operation::notify_recommendations_received::NotifyRecommendationsReceivedOutput) with field(s):
    ///   - [`recommendation_ids(Option<Vec::<String>>)`](crate::operation::notify_recommendations_received::NotifyRecommendationsReceivedOutput::recommendation_ids): <p>The identifiers of the recommendations.</p>
    ///   - [`errors(Option<Vec::<NotifyRecommendationsReceivedError>>)`](crate::operation::notify_recommendations_received::NotifyRecommendationsReceivedOutput::errors): <p>The identifiers of recommendations that are causing errors.</p>
    /// - On failure, responds with [`SdkError<NotifyRecommendationsReceivedError>`](crate::operation::notify_recommendations_received::NotifyRecommendationsReceivedError)
    pub fn notify_recommendations_received(
        &self,
    ) -> crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder {
        crate::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedFluentBuilder::new(self.handle.clone())
    }
}