aws_sdk_qconnect/client/
notify_recommendations_received.rs

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