| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.lex.interactionkit.utils | |
| 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
|
| Modifier and Type | Method and Description |
|---|---|
static PostContentRequest |
CreateLexServiceRequest.generatePostContentRequest(Map<String,String> sessionAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
InputStream audioStream,
String contentType)
Creates a request post speech input request for Amazon Lex service.
|
static PostContentRequest |
CreateLexServiceRequest.generatePostContentRequest(Map<String,String> sessionAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
String text)
Creates a request to post text input request for Amazon Lex service.
|
| 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 |
|---|---|
PostContentRequest |
PostContentRequest.withAccept(String accept)
You pass this value as the
Accept HTTP header. |
PostContentRequest |
PostContentRequest.withBotAlias(String botAlias)
Alias of the Amazon Lex bot.
|
PostContentRequest |
PostContentRequest.withBotName(String botName)
Name of the Amazon Lex bot.
|
PostContentRequest |
PostContentRequest.withContentType(String contentType)
You pass this values as the
Content-Type HTTP header. |
PostContentRequest |
PostContentRequest.withInputStream(InputStream inputStreamValue)
User input, in the format as described in the
Content-Type
HTTP header. |
PostContentRequest |
PostContentRequest.withSessionAttributes(Map<String,String> sessionAttributes)
You pass this value in the
x-amz-lex-session-attributes HTTP
header. |
PostContentRequest |
PostContentRequest.withUserId(String userId)
User ID of your client application.
|
Copyright © 2018. All rights reserved.