public class CreateLexServiceRequest extends Object
| Constructor and Description |
|---|
CreateLexServiceRequest() |
| Modifier and Type | Method and Description |
|---|---|
static PostContentRequest |
generatePostContentRequest(Map<String,String> sessionAttributes,
Map<String,String> requestAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
InputStream audioStream,
String contentType)
Creates a request to post speech input to the Amazon Lex service.
|
static PostContentRequest |
generatePostContentRequest(Map<String,String> sessionAttributes,
Map<String,String> requestAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
String text)
Creates a request to post text input to the Amazon Lex service.
|
public static PostContentRequest generatePostContentRequest(Map<String,String> sessionAttributes, Map<String,String> requestAttributes, InteractionConfig interactionConfig, AWSCredentialsProvider credentialsProvider, ResponseType mode, InputStream audioStream, String contentType)
sessionAttributes - Session attributes for this current transaction.requestAttributes - Attributes to add to the current requestaudioStream - audio as InputStream.PostContentRequest.public static PostContentRequest generatePostContentRequest(Map<String,String> sessionAttributes, Map<String,String> requestAttributes, InteractionConfig interactionConfig, AWSCredentialsProvider credentialsProvider, ResponseType mode, String text)
sessionAttributes - Session attributes for this current transaction.requestAttributes - Attributes to add to the current requesttext - Input text.PostContentRequest.Copyright © 2020. All rights reserved.