aws_sdk_qconnect/client/get_next_message.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 [`GetNextMessage`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`assistant_id(impl Into<String>)`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect assistant.</p><br>
7 /// - [`session_id(impl Into<String>)`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::set_session_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect session.</p><br>
8 /// - [`next_message_token(impl Into<String>)`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::next_message_token) / [`set_next_message_token(Option<String>)`](crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::set_next_message_token):<br>required: **true**<br><p>The token for the next message. Use the value returned in the SendMessage or previous response in the next request to retrieve the next message.</p><br>
9 /// - On success, responds with [`GetNextMessageOutput`](crate::operation::get_next_message::GetNextMessageOutput) with field(s):
10 /// - [`r#type(MessageType)`](crate::operation::get_next_message::GetNextMessageOutput::type): <p>The type of message response.</p>
11 /// - [`response(Option<MessageOutput>)`](crate::operation::get_next_message::GetNextMessageOutput::response): <p>The message response to the requested message.</p>
12 /// - [`request_message_id(String)`](crate::operation::get_next_message::GetNextMessageOutput::request_message_id): <p>The identifier of the submitted message.</p>
13 /// - [`conversation_state(Option<ConversationState>)`](crate::operation::get_next_message::GetNextMessageOutput::conversation_state): <p>The state of current conversation.</p>
14 /// - [`next_message_token(Option<String>)`](crate::operation::get_next_message::GetNextMessageOutput::next_message_token): <p>The token for the next message.</p>
15 /// - [`conversation_session_data(Option<Vec::<RuntimeSessionData>>)`](crate::operation::get_next_message::GetNextMessageOutput::conversation_session_data): <p>The conversation data stored on an Amazon Q in Connect Session.</p>
16 /// - On failure, responds with [`SdkError<GetNextMessageError>`](crate::operation::get_next_message::GetNextMessageError)
17 pub fn get_next_message(&self) -> crate::operation::get_next_message::builders::GetNextMessageFluentBuilder {
18 crate::operation::get_next_message::builders::GetNextMessageFluentBuilder::new(self.handle.clone())
19 }
20}