| Package | Description |
|---|---|
| software.amazon.awssdk.services.lexruntime |
Amazon Lex provides both build and runtime endpoints.
|
| software.amazon.awssdk.services.lexruntime.model |
| Modifier and Type | Method and Description |
|---|---|
default <ReturnT> CompletableFuture<ReturnT> |
LexRuntimeAsyncClient.postContent(Consumer<PostContentRequest.Builder> postContentRequest,
AsyncRequestBody requestBody,
AsyncResponseTransformer<PostContentResponse,ReturnT> asyncResponseTransformer)
Sends user input (text or speech) to Amazon Lex.
|
default PostContentResponse |
LexRuntimeClient.postContent(Consumer<PostContentRequest.Builder> postContentRequest,
Path sourcePath,
Path destinationPath)
Sends user input (text or speech) to Amazon Lex.
|
default CompletableFuture<PostContentResponse> |
LexRuntimeAsyncClient.postContent(Consumer<PostContentRequest.Builder> postContentRequest,
Path sourcePath,
Path destinationPath)
Sends user input (text or speech) to Amazon Lex.
|
default <ReturnT> ReturnT |
LexRuntimeClient.postContent(Consumer<PostContentRequest.Builder> postContentRequest,
RequestBody requestBody,
ResponseTransformer<PostContentResponse,ReturnT> responseTransformer)
Sends user input (text or speech) to Amazon Lex.
|
| Modifier and Type | Method and Description |
|---|---|
PostContentRequest.Builder |
PostContentRequest.Builder.accept(String accept)
You pass this value as the
Accept HTTP header. |
PostContentRequest.Builder |
PostContentRequest.Builder.activeContexts(String activeContexts)
A list of contexts active for the request.
|
PostContentRequest.Builder |
PostContentRequest.Builder.botAlias(String botAlias)
Alias of the Amazon Lex bot.
|
PostContentRequest.Builder |
PostContentRequest.Builder.botName(String botName)
Name of the Amazon Lex bot.
|
static PostContentRequest.Builder |
PostContentRequest.builder() |
PostContentRequest.Builder |
PostContentRequest.Builder.contentType(String contentType)
You pass this value as the
Content-Type HTTP header. |
PostContentRequest.Builder |
PostContentRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PostContentRequest.Builder |
PostContentRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PostContentRequest.Builder |
PostContentRequest.Builder.requestAttributes(String requestAttributes)
You pass this value as the
x-amz-lex-request-attributes HTTP header. |
PostContentRequest.Builder |
PostContentRequest.Builder.sessionAttributes(String sessionAttributes)
You pass this value as the
x-amz-lex-session-attributes HTTP header. |
PostContentRequest.Builder |
PostContentRequest.toBuilder() |
PostContentRequest.Builder |
PostContentRequest.Builder.userId(String userId)
The ID of the client application user.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends PostContentRequest.Builder> |
PostContentRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.