public class CreateLexServiceRequest extends Object
Constructor and Description |
---|
CreateLexServiceRequest() |
Modifier and Type | Method and Description |
---|---|
static PostContentRequest |
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 |
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.
|
public static PostContentRequest generatePostContentRequest(Map<String,String> sessionAttributes, InteractionConfig interactionConfig, AWSCredentialsProvider credentialsProvider, ResponseType mode, InputStream audioStream, String contentType)
sessionAttributes
- Session attributes for this current transaction.audioStream
- audio as InputStream
.PostContentRequest
.public static PostContentRequest generatePostContentRequest(Map<String,String> sessionAttributes, InteractionConfig interactionConfig, AWSCredentialsProvider credentialsProvider, ResponseType mode, String text)
sessionAttributes
- Session attributes for this current transaction.text
- Input text.PostContentRequest
.Copyright © 2017. All rights reserved.