| 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 DeleteSessionResponse |
LexRuntimeClient.deleteSession(Consumer<DeleteSessionRequest.Builder> deleteSessionRequest)
Removes session information for a specified bot, alias, and user ID.
|
default DeleteSessionResponse |
LexRuntimeClient.deleteSession(DeleteSessionRequest deleteSessionRequest)
Removes session information for a specified bot, alias, and user ID.
|
default GetSessionResponse |
LexRuntimeClient.getSession(Consumer<GetSessionRequest.Builder> getSessionRequest)
Returns session information for a specified bot, alias, and user ID.
|
default GetSessionResponse |
LexRuntimeClient.getSession(GetSessionRequest getSessionRequest)
Returns session information for a specified bot, alias, and user ID.
|
default PostContentResponse |
LexRuntimeClient.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.
|
default PostContentResponse |
LexRuntimeClient.postContent(PostContentRequest postContentRequest,
Path sourcePath,
Path destinationPath)
Sends user input (text or speech) to Amazon Lex.
|
default <ReturnT> ReturnT |
LexRuntimeClient.postContent(PostContentRequest postContentRequest,
RequestBody requestBody,
ResponseTransformer<PostContentResponse,ReturnT> responseTransformer)
Sends user input (text or speech) to Amazon Lex.
|
default PostTextResponse |
LexRuntimeClient.postText(Consumer<PostTextRequest.Builder> postTextRequest)
Sends user input to Amazon Lex.
|
default PostTextResponse |
LexRuntimeClient.postText(PostTextRequest postTextRequest)
Sends user input to Amazon Lex.
|
default ResponseInputStream<PutSessionResponse> |
LexRuntimeClient.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default PutSessionResponse |
LexRuntimeClient.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest,
Path destinationPath)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default <ReturnT> ReturnT |
LexRuntimeClient.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest,
ResponseTransformer<PutSessionResponse,ReturnT> responseTransformer)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default ResponseInputStream<PutSessionResponse> |
LexRuntimeClient.putSession(PutSessionRequest putSessionRequest)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default PutSessionResponse |
LexRuntimeClient.putSession(PutSessionRequest putSessionRequest,
Path destinationPath)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default <ReturnT> ReturnT |
LexRuntimeClient.putSession(PutSessionRequest putSessionRequest,
ResponseTransformer<PutSessionResponse,ReturnT> responseTransformer)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default ResponseBytes<PutSessionResponse> |
LexRuntimeClient.putSessionAsBytes(Consumer<PutSessionRequest.Builder> putSessionRequest)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
default ResponseBytes<PutSessionResponse> |
LexRuntimeClient.putSessionAsBytes(PutSessionRequest putSessionRequest)
Creates a new session or modifies an existing session with an Amazon Lex bot.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BadGatewayException
Either the Amazon Lex bot is still building, or one of the dependent services (Amazon Polly, AWS Lambda) failed with
an internal service error.
|
class |
BadRequestException
Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress,
or contains unbuilt changes.
|
class |
ConflictException
Two clients are using the same AWS account, Amazon Lex bot, and user ID.
|
class |
DependencyFailedException
One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception.
|
class |
InternalFailureException
Internal service error.
|
class |
LimitExceededException
Exceeded a limit.
|
class |
LoopDetectedException
This exception is not used.
|
class |
NotAcceptableException
The accept header in the request does not have a valid value.
|
class |
NotFoundException
The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.
|
class |
RequestTimeoutException
The input speech is too long.
|
class |
UnsupportedMediaTypeException
The Content-Type header (
PostContent API) has an invalid value. |
| Modifier and Type | Method and Description |
|---|---|
LexRuntimeException |
LexRuntimeException.BuilderImpl.build() |
| Constructor and Description |
|---|
BuilderImpl(LexRuntimeException ex) |
Copyright © 2023. All rights reserved.