@aws-sdk/client-lex-runtime-v2 3.306.0 → 3.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/DeleteSessionCommand.js +2 -2
- package/dist-cjs/commands/GetSessionCommand.js +2 -2
- package/dist-cjs/commands/PutSessionCommand.js +2 -2
- package/dist-cjs/commands/RecognizeTextCommand.js +2 -2
- package/dist-cjs/commands/RecognizeUtteranceCommand.js +2 -2
- package/dist-cjs/commands/StartConversationCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +296 -354
- package/dist-es/commands/DeleteSessionCommand.js +3 -3
- package/dist-es/commands/GetSessionCommand.js +3 -3
- package/dist-es/commands/PutSessionCommand.js +3 -3
- package/dist-es/commands/RecognizeTextCommand.js +3 -3
- package/dist-es/commands/RecognizeUtteranceCommand.js +3 -3
- package/dist-es/commands/StartConversationCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +283 -341
- package/dist-types/protocols/Aws_restJson1.d.ts +48 -12
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -12
- package/package.json +42 -42
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_DeleteSessionCommand, se_DeleteSessionCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class DeleteSessionCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class DeleteSessionCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_DeleteSessionCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_DeleteSessionCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { GetSessionResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetSessionCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class GetSessionCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_GetSessionCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_GetSessionCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_PutSessionCommand, se_PutSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutSessionCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class PutSessionCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_PutSessionCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_PutSessionCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { RecognizeTextRequestFilterSensitiveLog, RecognizeTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_RecognizeTextCommand, se_RecognizeTextCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class RecognizeTextCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class RecognizeTextCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_RecognizeTextCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_RecognizeTextCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { RecognizeUtteranceRequestFilterSensitiveLog, RecognizeUtteranceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
-
import {
|
|
5
|
+
import { de_RecognizeUtteranceCommand, se_RecognizeUtteranceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class RecognizeUtteranceCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
8
8
|
return {
|
|
@@ -34,9 +34,9 @@ export class RecognizeUtteranceCommand extends $Command {
|
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
35
|
}
|
|
36
36
|
serialize(input, context) {
|
|
37
|
-
return
|
|
37
|
+
return se_RecognizeUtteranceCommand(input, context);
|
|
38
38
|
}
|
|
39
39
|
deserialize(output, context) {
|
|
40
|
-
return
|
|
40
|
+
return de_RecognizeUtteranceCommand(output, context);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -3,7 +3,7 @@ import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
|
|
|
3
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { StartConversationRequestFilterSensitiveLog, StartConversationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
-
import {
|
|
6
|
+
import { de_StartConversationCommand, se_StartConversationCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export class StartConversationCommand extends $Command {
|
|
8
8
|
static getEndpointParameterInstructions() {
|
|
9
9
|
return {
|
|
@@ -36,9 +36,9 @@ export class StartConversationCommand extends $Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return
|
|
39
|
+
return se_StartConversationCommand(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return
|
|
42
|
+
return de_StartConversationCommand(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|