[−][src]Struct rusoto_lex_runtime::PutSessionResponse
Fields
audio_stream: Option<Bytes>
The audio version of the message to convey to the user.
content_type: Option<String>
Content type as specified in the Accept
HTTP header in the request.
dialog_state: Option<String>
-
ConfirmIntent
- Amazon Lex is expecting a "yes" or "no" response to confirm the intent before fulfilling an intent. -
ElicitIntent
- Amazon Lex wants to elicit the user's intent. -
ElicitSlot
- Amazon Lex is expecting the value of a slot for the current intent. -
Failed
- Conveys that the conversation with the user has failed. This can happen for various reasons, including the user does not provide an appropriate response to prompts from the service, or if the Lambda function fails to fulfill the intent. -
Fulfilled
- Conveys that the Lambda function has sucessfully fulfilled the intent. -
ReadyForFulfillment
- Conveys that the client has to fulfill the intent.
intent_name: Option<String>
The name of the current intent.
message: Option<String>
The next message that should be presented to the user.
message_format: Option<String>
The format of the response message. One of the following values:
-
PlainText
- The message contains plain UTF-8 text. -
CustomPayload
- The message is a custom format for the client. -
SSML
- The message contains text formatted for voice output. -
Composite
- The message contains an escaped JSON object containing one or more messages from the groups that messages were assigned to when the intent was created.
session_attributes: Option<String>
Map of key/value pairs representing session-specific context information.
session_id: Option<String>
A unique identifier for the session.
slot_to_elicit: Option<String>
If the dialogState
is ElicitSlot
, returns the name of the slot for which Amazon Lex is eliciting a value.
slots: Option<String>
Map of zero or more intent slots Amazon Lex detected from the user input during the conversation.
Amazon Lex creates a resolution list containing likely values for a slot. The value that it returns is determined by the valueSelectionStrategy
selected when the slot type was created or updated. If valueSelectionStrategy
is set to ORIGINAL_VALUE
, the value provided by the user is returned, if the user value is similar to the slot values. If valueSelectionStrategy
is set to TOP_RESOLUTION
Amazon Lex returns the first value in the resolution list or, if there is no resolution list, null. If you don't specify a valueSelectionStrategy
the default is ORIGINAL_VALUE
.
Trait Implementations
impl Clone for PutSessionResponse
[src]
pub fn clone(&self) -> PutSessionResponse
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PutSessionResponse
[src]
impl Default for PutSessionResponse
[src]
pub fn default() -> PutSessionResponse
[src]
impl PartialEq<PutSessionResponse> for PutSessionResponse
[src]
pub fn eq(&self, other: &PutSessionResponse) -> bool
[src]
pub fn ne(&self, other: &PutSessionResponse) -> bool
[src]
impl StructuralPartialEq for PutSessionResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for PutSessionResponse
[src]
impl Send for PutSessionResponse
[src]
impl Sync for PutSessionResponse
[src]
impl Unpin for PutSessionResponse
[src]
impl UnwindSafe for PutSessionResponse
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,