Struct aws_sdk_lexruntime::output::GetSessionOutput
source · #[non_exhaustive]pub struct GetSessionOutput { /* private fields */ }
Implementations§
source§impl GetSessionOutput
impl GetSessionOutput
sourcepub fn recent_intent_summary_view(&self) -> Option<&[IntentSummary]>
pub fn recent_intent_summary_view(&self) -> Option<&[IntentSummary]>
An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents with the specified label.
sourcepub fn session_attributes(&self) -> Option<&HashMap<String, String>>
pub fn session_attributes(&self) -> Option<&HashMap<String, String>>
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
A unique identifier for the session.
sourcepub fn dialog_action(&self) -> Option<&DialogAction>
pub fn dialog_action(&self) -> Option<&DialogAction>
Describes the current state of the bot.
sourcepub fn active_contexts(&self) -> Option<&[ActiveContext]>
pub fn active_contexts(&self) -> Option<&[ActiveContext]>
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
source§impl GetSessionOutput
impl GetSessionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSessionOutput
.
Trait Implementations§
source§impl Clone for GetSessionOutput
impl Clone for GetSessionOutput
source§fn clone(&self) -> GetSessionOutput
fn clone(&self) -> GetSessionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more