![]() |
![]()
| ![]() |
![]()
NAMEPaws::LexRuntime::PutSessionResponse ATTRIBUTESActiveContexts => StrA list of active contexts for the session. AudioStream => StrThe audio version of the message to convey to the user. ContentType => StrContent type as specified in the "Accept" HTTP header in the request. DialogState => Str
Valid values are: "ElicitIntent", "ConfirmIntent", "ElicitSlot", "Fulfilled", "ReadyForFulfillment", "Failed" =head2 EncodedMessage => Str The next message that should be presented to the user. The "encodedMessage" field is base-64 encoded. You must decode the field before you can use the value. IntentName => StrThe name of the current intent. Message => StrThe next message that should be presented to the user. You can only use this field in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR, and it-IT locales. In all other locales, the "message" field is null. You should use the "encodedMessage" field instead. MessageFormat => StrThe format of the response message. One of the following values:
Valid values are: "PlainText", "CustomPayload", "SSML", "Composite" =head2 SessionAttributes => Str Map of key/value pairs representing session-specific context information. SessionId => StrA unique identifier for the session. Slots => StrMap 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". SlotToElicit => StrIf the "dialogState" is "ElicitSlot", returns the name of the slot for which Amazon Lex is eliciting a value. _request_id => Str
|