Struct aws_sdk_lexruntimev2::output::PutSessionOutput
source ·
[−]#[non_exhaustive]pub struct PutSessionOutput {
pub content_type: Option<String>,
pub messages: Option<String>,
pub session_state: Option<String>,
pub request_attributes: Option<String>,
pub session_id: Option<String>,
pub audio_stream: ByteStream,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.content_type: Option<String>The type of response. Same as the type specified in the responseContentType field in the request.
messages: Option<String>A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.
session_state: Option<String>Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
request_attributes: Option<String>Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.
session_id: Option<String>The identifier of the session that received the data.
audio_stream: ByteStreamIf the requested content type was audio, the audio version of the message to convey to the user.
Implementations
The type of response. Same as the type specified in the responseContentType field in the request.
A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.
Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.
The identifier of the session that received the data.
If the requested content type was audio, the audio version of the message to convey to the user.
Creates a new builder-style object to manufacture PutSessionOutput
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutSessionOutput
impl Send for PutSessionOutput
impl Sync for PutSessionOutput
impl Unpin for PutSessionOutput
impl !UnwindSafe for PutSessionOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
