public class CreateLexServiceRequest
extends java.lang.Object
Constructor and Description |
---|
CreateLexServiceRequest() |
Modifier and Type | Method and Description |
---|---|
static PostContentRequest |
generatePostContentRequest(java.util.Map<java.lang.String,java.lang.String> sessionAttributes,
java.util.Map<java.lang.String,java.lang.String> requestAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
java.io.InputStream audioStream,
java.lang.String contentType)
Creates a request to post speech input to the Amazon Lex service.
|
static PostContentRequest |
generatePostContentRequest(java.util.Map<java.lang.String,java.lang.String> sessionAttributes,
java.util.Map<java.lang.String,java.lang.String> requestAttributes,
InteractionConfig interactionConfig,
AWSCredentialsProvider credentialsProvider,
ResponseType mode,
java.lang.String text)
Creates a request to post text input to the Amazon Lex service.
|
public static PostContentRequest generatePostContentRequest(java.util.Map<java.lang.String,java.lang.String> sessionAttributes, java.util.Map<java.lang.String,java.lang.String> requestAttributes, InteractionConfig interactionConfig, AWSCredentialsProvider credentialsProvider, ResponseType mode, java.io.InputStream audioStream, java.lang.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(java.util.Map<java.lang.String,java.lang.String> sessionAttributes, java.util.Map<java.lang.String,java.lang.String> requestAttributes, InteractionConfig interactionConfig, AWSCredentialsProvider credentialsProvider, ResponseType mode, java.lang.String text)
sessionAttributes
- Session attributes for this current transaction.requestAttributes
- Attributes to add to the current requesttext
- Input text.PostContentRequest
.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.