Struct aws_sdk_lexruntimev2::output::GetSessionOutput
source ·
[−]#[non_exhaustive]pub struct GetSessionOutput {
pub session_id: Option<String>,
pub messages: Option<Vec<Message>>,
pub interpretations: Option<Vec<Interpretation>>,
pub session_state: Option<SessionState>,
}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.session_id: Option<String>The identifier of the returned session.
messages: Option<Vec<Message>>A list of messages that were last sent to the user. The messages are ordered based on the order that your returned the messages from your Lambda function or the order that messages are defined in the bot.
interpretations: Option<Vec<Interpretation>>A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
session_state: Option<SessionState>Represents the current state of the dialog between the user and the bot.
You can use this to determine the progress of the conversation and what the next action might be.
Implementations
The identifier of the returned session.
A list of messages that were last sent to the user. The messages are ordered based on the order that your returned the messages from your Lambda function or the order that messages are defined in the bot.
A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
Represents the current state of the dialog between the user and the bot.
You can use this to determine the progress of the conversation and what the next action might be.
Creates a new builder-style object to manufacture GetSessionOutput
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for GetSessionOutput
impl Send for GetSessionOutput
impl Sync for GetSessionOutput
impl Unpin for GetSessionOutput
impl UnwindSafe for GetSessionOutput
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
