Struct aws_sdk_lexruntime::output::GetSessionOutput
source · [−]#[non_exhaustive]pub struct GetSessionOutput {
pub recent_intent_summary_view: Option<Vec<IntentSummary>>,
pub session_attributes: Option<HashMap<String, String>>,
pub session_id: Option<String>,
pub dialog_action: Option<DialogAction>,
pub active_contexts: Option<Vec<ActiveContext>>,
}
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.recent_intent_summary_view: Option<Vec<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.
session_attributes: 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.
session_id: Option<String>
A unique identifier for the session.
dialog_action: Option<DialogAction>
Describes the current state of the bot.
active_contexts: Option<Vec<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.
Implementations
sourceimpl 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.
sourceimpl GetSessionOutput
impl GetSessionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSessionOutput
Trait Implementations
sourceimpl Clone for GetSessionOutput
impl Clone for GetSessionOutput
sourcefn clone(&self) -> GetSessionOutput
fn clone(&self) -> GetSessionOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetSessionOutput
impl Debug for GetSessionOutput
sourceimpl PartialEq<GetSessionOutput> for GetSessionOutput
impl PartialEq<GetSessionOutput> for GetSessionOutput
sourcefn eq(&self, other: &GetSessionOutput) -> bool
fn eq(&self, other: &GetSessionOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetSessionOutput) -> bool
fn ne(&self, other: &GetSessionOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetSessionOutput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more