| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.lex.interactionkit |
Contains the public API which handles Dialog between client and service
|
| com.amazonaws.services.lexrts |
Amazon Lex provides both build and runtime endpoints.
|
| com.amazonaws.services.lexrts.model |
Classes modeling the various types represented by AmazonLexRuntime
|
| Constructor and Description |
|---|
Response(PostContentResult result)
Uses the service response to create an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
PostContentResult |
AmazonLexRuntimeClient.postContent(PostContentRequest postContentRequest)
Sends user input (speech or text), at runtime, to Amazon Lex.
|
PostContentResult |
AmazonLexRuntime.postContent(PostContentRequest postContentRequest)
Sends user input (speech or text), at runtime, to Amazon Lex.
|
| Modifier and Type | Method and Description |
|---|---|
PostContentResult |
PostContentResult.withAudioStream(InputStream audioStream)
Prompt (or statement) to convey to the user.
|
PostContentResult |
PostContentResult.withContentType(String contentType)
Content type as specified in the
Accept HTTP header in the
request. |
PostContentResult |
PostContentResult.withDialogState(DialogState dialogState)
Represents the message type to be conveyed to the user.
|
PostContentResult |
PostContentResult.withDialogState(String dialogState)
Represents the message type to be conveyed to the user.
|
PostContentResult |
PostContentResult.withIntentName(String intentName)
Name of the intent.
|
PostContentResult |
PostContentResult.withMessage(String message)
Based on the build-time application configuration, Amazon Lex determines
the prompt (or statement) to convey to the user.
|
PostContentResult |
PostContentResult.withSessionAttributes(Map<String,String> sessionAttributes)
JSON serialized and then base64-encoded map of key value pairs
representing the session specific context information.
|
PostContentResult |
PostContentResult.withSlots(Map<String,String> slots)
Map of zero or more intent slots (name/value pairs) Amazon Lex detected
from the user input during the conversation.
|
PostContentResult |
PostContentResult.withSlotToElicit(String slotToElicit)
If
dialogState value is ElicitSlot, this
returns the name of the slot for which Amazon Lex is eliciting a value. |
Copyright © 2017. All rights reserved.