| 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 (text or speech) to Amazon Lex.
|
PostContentResult |
AmazonLexRuntime.postContent(PostContentRequest postContentRequest)
Sends user input (text or speech) to Amazon Lex.
|
| Modifier and Type | Method and Description |
|---|---|
PostContentResult |
PostContentResult.withAudioStream(InputStream audioStream)
The 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)
Identifies the current state of the user interaction.
|
PostContentResult |
PostContentResult.withDialogState(String dialogState)
Identifies the current state of the user interaction.
|
PostContentResult |
PostContentResult.withInputTranscript(String inputTranscript)
Transcript of the voice input to the operation.
|
PostContentResult |
PostContentResult.withIntentName(String intentName)
Current user intent that Amazon Lex is aware of.
|
PostContentResult |
PostContentResult.withMessage(String message)
Message to convey to the user.
|
PostContentResult |
PostContentResult.withSessionAttributes(Map<String,String> sessionAttributes)
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 the
dialogState value is ElicitSlot, returns
the name of the slot for which Amazon Lex is eliciting a value. |
Copyright © 2018. All rights reserved.