| Package | Description |
|---|---|
| software.amazon.awssdk.services.lexruntimev2 |
This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.
|
| software.amazon.awssdk.services.lexruntimev2.model |
| Modifier and Type | Method and Description |
|---|---|
default ResponseInputStream<PutSessionResponse> |
LexRuntimeV2Client.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest)
Creates a new session or modifies an existing session with an Amazon Lex V2 bot.
|
default <ReturnT> CompletableFuture<ReturnT> |
LexRuntimeV2AsyncClient.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest,
AsyncResponseTransformer<PutSessionResponse,ReturnT> asyncResponseTransformer)
Creates a new session or modifies an existing session with an Amazon Lex V2 bot.
|
default PutSessionResponse |
LexRuntimeV2Client.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest,
Path destinationPath)
Creates a new session or modifies an existing session with an Amazon Lex V2 bot.
|
default CompletableFuture<PutSessionResponse> |
LexRuntimeV2AsyncClient.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest,
Path destinationPath)
Creates a new session or modifies an existing session with an Amazon Lex V2 bot.
|
default <ReturnT> ReturnT |
LexRuntimeV2Client.putSession(Consumer<PutSessionRequest.Builder> putSessionRequest,
ResponseTransformer<PutSessionResponse,ReturnT> responseTransformer)
Creates a new session or modifies an existing session with an Amazon Lex V2 bot.
|
default ResponseBytes<PutSessionResponse> |
LexRuntimeV2Client.putSessionAsBytes(Consumer<PutSessionRequest.Builder> putSessionRequest)
Creates a new session or modifies an existing session with an Amazon Lex V2 bot.
|
| Modifier and Type | Method and Description |
|---|---|
PutSessionRequest.Builder |
PutSessionRequest.Builder.botAliasId(String botAliasId)
The alias identifier of the bot that receives the session data.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.botId(String botId)
The identifier of the bot that receives the session data.
|
static PutSessionRequest.Builder |
PutSessionRequest.builder() |
PutSessionRequest.Builder |
PutSessionRequest.Builder.localeId(String localeId)
The locale where the session is in use.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.messages(Collection<Message> messages)
A list of messages to send to the user.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.messages(Consumer<Message.Builder>... messages)
A list of messages to send to the user.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.messages(Message... messages)
A list of messages to send to the user.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutSessionRequest.Builder |
PutSessionRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutSessionRequest.Builder |
PutSessionRequest.Builder.requestAttributes(Map<String,String> requestAttributes)
Request-specific information passed between Amazon Lex V2 and the client application.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.responseContentType(String responseContentType)
The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of
this parameter.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.sessionId(String sessionId)
The identifier of the session that receives the session data.
|
default PutSessionRequest.Builder |
PutSessionRequest.Builder.sessionState(Consumer<SessionState.Builder> sessionState)
Sets the state of the session with the user.
|
PutSessionRequest.Builder |
PutSessionRequest.Builder.sessionState(SessionState sessionState)
Sets the state of the session with the user.
|
PutSessionRequest.Builder |
PutSessionRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends PutSessionRequest.Builder> |
PutSessionRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.