@aws-sdk/client-lex-models-v2 3.370.0 → 3.372.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/README.md +56 -0
- package/dist-cjs/LexModelsV2.js +14 -0
- package/dist-cjs/commands/ListIntentMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListIntentPathsCommand.js +46 -0
- package/dist-cjs/commands/ListIntentStageMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListSessionAnalyticsDataCommand.js +46 -0
- package/dist-cjs/commands/ListSessionMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListUtteranceAnalyticsDataCommand.js +46 -0
- package/dist-cjs/commands/ListUtteranceMetricsCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +153 -79
- package/dist-cjs/models/models_1.js +92 -1
- package/dist-cjs/pagination/ListIntentMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListIntentStageMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSessionAnalyticsDataPaginator.js +29 -0
- package/dist-cjs/pagination/ListSessionMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListUtteranceAnalyticsDataPaginator.js +29 -0
- package/dist-cjs/pagination/ListUtteranceMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +767 -56
- package/dist-es/LexModelsV2.js +14 -0
- package/dist-es/commands/ListIntentMetricsCommand.js +42 -0
- package/dist-es/commands/ListIntentPathsCommand.js +42 -0
- package/dist-es/commands/ListIntentStageMetricsCommand.js +42 -0
- package/dist-es/commands/ListSessionAnalyticsDataCommand.js +42 -0
- package/dist-es/commands/ListSessionMetricsCommand.js +42 -0
- package/dist-es/commands/ListUtteranceAnalyticsDataCommand.js +42 -0
- package/dist-es/commands/ListUtteranceMetricsCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +151 -77
- package/dist-es/models/models_1.js +91 -0
- package/dist-es/pagination/ListIntentMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListIntentStageMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListSessionAnalyticsDataPaginator.js +25 -0
- package/dist-es/pagination/ListSessionMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListUtteranceAnalyticsDataPaginator.js +25 -0
- package/dist-es/pagination/ListUtteranceMetricsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +749 -52
- package/dist-types/LexModelsV2.d.ts +49 -0
- package/dist-types/LexModelsV2Client.d.ts +9 -2
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestSetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestSetGenerationCommand.d.ts +1 -1
- package/dist-types/commands/GetTestExecutionArtifactsUrlCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
- package/dist-types/commands/ListIntentMetricsCommand.d.ts +169 -0
- package/dist-types/commands/ListIntentPathsCommand.d.ts +124 -0
- package/dist-types/commands/ListIntentStageMetricsCommand.d.ts +169 -0
- package/dist-types/commands/ListSessionAnalyticsDataCommand.d.ts +140 -0
- package/dist-types/commands/ListSessionMetricsCommand.d.ts +169 -0
- package/dist-types/commands/ListUtteranceAnalyticsDataCommand.d.ts +161 -0
- package/dist-types/commands/ListUtteranceMetricsCommand.d.ts +179 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +4423 -3758
- package/dist-types/models/models_1.d.ts +2039 -53
- package/dist-types/pagination/ListIntentMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntentStageMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionAnalyticsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUtteranceAnalyticsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUtteranceMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +119 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestSetGenerationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTestExecutionArtifactsUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIntentMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIntentPathsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIntentStageMetricsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSessionAnalyticsDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSessionMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListUtteranceAnalyticsDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListUtteranceMetricsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +337 -333
- package/dist-types/ts3.4/models/models_1.d.ts +541 -19
- package/dist-types/ts3.4/pagination/ListIntentMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntentStageMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionAnalyticsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUtteranceAnalyticsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUtteranceMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +1 -1
package/dist-es/LexModelsV2.js
CHANGED
|
@@ -57,8 +57,13 @@ import { ListBuiltInSlotTypesCommand, } from "./commands/ListBuiltInSlotTypesCom
|
|
|
57
57
|
import { ListCustomVocabularyItemsCommand, } from "./commands/ListCustomVocabularyItemsCommand";
|
|
58
58
|
import { ListExportsCommand } from "./commands/ListExportsCommand";
|
|
59
59
|
import { ListImportsCommand } from "./commands/ListImportsCommand";
|
|
60
|
+
import { ListIntentMetricsCommand, } from "./commands/ListIntentMetricsCommand";
|
|
61
|
+
import { ListIntentPathsCommand, } from "./commands/ListIntentPathsCommand";
|
|
60
62
|
import { ListIntentsCommand } from "./commands/ListIntentsCommand";
|
|
63
|
+
import { ListIntentStageMetricsCommand, } from "./commands/ListIntentStageMetricsCommand";
|
|
61
64
|
import { ListRecommendedIntentsCommand, } from "./commands/ListRecommendedIntentsCommand";
|
|
65
|
+
import { ListSessionAnalyticsDataCommand, } from "./commands/ListSessionAnalyticsDataCommand";
|
|
66
|
+
import { ListSessionMetricsCommand, } from "./commands/ListSessionMetricsCommand";
|
|
62
67
|
import { ListSlotsCommand } from "./commands/ListSlotsCommand";
|
|
63
68
|
import { ListSlotTypesCommand, } from "./commands/ListSlotTypesCommand";
|
|
64
69
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -66,6 +71,8 @@ import { ListTestExecutionResultItemsCommand, } from "./commands/ListTestExecuti
|
|
|
66
71
|
import { ListTestExecutionsCommand, } from "./commands/ListTestExecutionsCommand";
|
|
67
72
|
import { ListTestSetRecordsCommand, } from "./commands/ListTestSetRecordsCommand";
|
|
68
73
|
import { ListTestSetsCommand, } from "./commands/ListTestSetsCommand";
|
|
74
|
+
import { ListUtteranceAnalyticsDataCommand, } from "./commands/ListUtteranceAnalyticsDataCommand";
|
|
75
|
+
import { ListUtteranceMetricsCommand, } from "./commands/ListUtteranceMetricsCommand";
|
|
69
76
|
import { SearchAssociatedTranscriptsCommand, } from "./commands/SearchAssociatedTranscriptsCommand";
|
|
70
77
|
import { StartBotRecommendationCommand, } from "./commands/StartBotRecommendationCommand";
|
|
71
78
|
import { StartImportCommand } from "./commands/StartImportCommand";
|
|
@@ -144,8 +151,13 @@ const commands = {
|
|
|
144
151
|
ListCustomVocabularyItemsCommand,
|
|
145
152
|
ListExportsCommand,
|
|
146
153
|
ListImportsCommand,
|
|
154
|
+
ListIntentMetricsCommand,
|
|
155
|
+
ListIntentPathsCommand,
|
|
147
156
|
ListIntentsCommand,
|
|
157
|
+
ListIntentStageMetricsCommand,
|
|
148
158
|
ListRecommendedIntentsCommand,
|
|
159
|
+
ListSessionAnalyticsDataCommand,
|
|
160
|
+
ListSessionMetricsCommand,
|
|
149
161
|
ListSlotsCommand,
|
|
150
162
|
ListSlotTypesCommand,
|
|
151
163
|
ListTagsForResourceCommand,
|
|
@@ -153,6 +165,8 @@ const commands = {
|
|
|
153
165
|
ListTestExecutionsCommand,
|
|
154
166
|
ListTestSetRecordsCommand,
|
|
155
167
|
ListTestSetsCommand,
|
|
168
|
+
ListUtteranceAnalyticsDataCommand,
|
|
169
|
+
ListUtteranceMetricsCommand,
|
|
156
170
|
SearchAssociatedTranscriptsCommand,
|
|
157
171
|
StartBotRecommendationCommand,
|
|
158
172
|
StartImportCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListIntentMetricsCommand, se_ListIntentMetricsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListIntentMetricsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListIntentMetricsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListIntentMetricsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListIntentMetricsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListIntentMetricsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListIntentPathsCommand, se_ListIntentPathsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListIntentPathsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListIntentPathsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListIntentPathsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListIntentPathsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListIntentPathsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListIntentStageMetricsCommand, se_ListIntentStageMetricsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListIntentStageMetricsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListIntentStageMetricsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListIntentStageMetricsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListIntentStageMetricsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListIntentStageMetricsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListSessionAnalyticsDataCommand, se_ListSessionAnalyticsDataCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListSessionAnalyticsDataCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListSessionAnalyticsDataCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListSessionAnalyticsDataCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListSessionAnalyticsDataCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListSessionAnalyticsDataCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListSessionMetricsCommand, se_ListSessionMetricsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListSessionMetricsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListSessionMetricsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListSessionMetricsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListSessionMetricsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListSessionMetricsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListUtteranceAnalyticsDataCommand, se_ListUtteranceAnalyticsDataCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListUtteranceAnalyticsDataCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListUtteranceAnalyticsDataCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListUtteranceAnalyticsDataCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListUtteranceAnalyticsDataCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListUtteranceAnalyticsDataCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListUtteranceMetricsCommand, se_ListUtteranceMetricsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListUtteranceMetricsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListUtteranceMetricsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LexModelsV2Client";
|
|
25
|
+
const commandName = "ListUtteranceMetricsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListUtteranceMetricsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListUtteranceMetricsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -56,8 +56,13 @@ export * from "./ListBuiltInSlotTypesCommand";
|
|
|
56
56
|
export * from "./ListCustomVocabularyItemsCommand";
|
|
57
57
|
export * from "./ListExportsCommand";
|
|
58
58
|
export * from "./ListImportsCommand";
|
|
59
|
+
export * from "./ListIntentMetricsCommand";
|
|
60
|
+
export * from "./ListIntentPathsCommand";
|
|
61
|
+
export * from "./ListIntentStageMetricsCommand";
|
|
59
62
|
export * from "./ListIntentsCommand";
|
|
60
63
|
export * from "./ListRecommendedIntentsCommand";
|
|
64
|
+
export * from "./ListSessionAnalyticsDataCommand";
|
|
65
|
+
export * from "./ListSessionMetricsCommand";
|
|
61
66
|
export * from "./ListSlotTypesCommand";
|
|
62
67
|
export * from "./ListSlotsCommand";
|
|
63
68
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -65,6 +70,8 @@ export * from "./ListTestExecutionResultItemsCommand";
|
|
|
65
70
|
export * from "./ListTestExecutionsCommand";
|
|
66
71
|
export * from "./ListTestSetRecordsCommand";
|
|
67
72
|
export * from "./ListTestSetsCommand";
|
|
73
|
+
export * from "./ListUtteranceAnalyticsDataCommand";
|
|
74
|
+
export * from "./ListUtteranceMetricsCommand";
|
|
68
75
|
export * from "./SearchAssociatedTranscriptsCommand";
|
|
69
76
|
export * from "./StartBotRecommendationCommand";
|
|
70
77
|
export * from "./StartImportCommand";
|
|
@@ -18,6 +18,147 @@ export const SortOrder = {
|
|
|
18
18
|
Ascending: "Ascending",
|
|
19
19
|
Descending: "Descending",
|
|
20
20
|
};
|
|
21
|
+
export const AnalyticsInterval = {
|
|
22
|
+
OneDay: "OneDay",
|
|
23
|
+
OneHour: "OneHour",
|
|
24
|
+
};
|
|
25
|
+
export const AnalyticsBinByName = {
|
|
26
|
+
ConversationStartTime: "ConversationStartTime",
|
|
27
|
+
UtteranceTimestamp: "UtteranceTimestamp",
|
|
28
|
+
};
|
|
29
|
+
export const AnalyticsSortOrder = {
|
|
30
|
+
Ascending: "Ascending",
|
|
31
|
+
Descending: "Descending",
|
|
32
|
+
};
|
|
33
|
+
export const AnalyticsCommonFilterName = {
|
|
34
|
+
BotAliasId: "BotAliasId",
|
|
35
|
+
BotVersion: "BotVersion",
|
|
36
|
+
Channel: "Channel",
|
|
37
|
+
LocaleId: "LocaleId",
|
|
38
|
+
Modality: "Modality",
|
|
39
|
+
};
|
|
40
|
+
export const AnalyticsFilterOperator = {
|
|
41
|
+
Equals: "EQ",
|
|
42
|
+
GreaterThan: "GT",
|
|
43
|
+
LessThan: "LT",
|
|
44
|
+
};
|
|
45
|
+
export const AnalyticsIntentField = {
|
|
46
|
+
IntentEndState: "IntentEndState",
|
|
47
|
+
IntentLevel: "IntentLevel",
|
|
48
|
+
IntentName: "IntentName",
|
|
49
|
+
};
|
|
50
|
+
export const AnalyticsIntentFilterName = {
|
|
51
|
+
BotAliasId: "BotAliasId",
|
|
52
|
+
BotVersion: "BotVersion",
|
|
53
|
+
Channel: "Channel",
|
|
54
|
+
IntentEndState: "IntentEndState",
|
|
55
|
+
IntentName: "IntentName",
|
|
56
|
+
LocaleId: "LocaleId",
|
|
57
|
+
Modality: "Modality",
|
|
58
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
59
|
+
SessionId: "SessionId",
|
|
60
|
+
};
|
|
61
|
+
export const AnalyticsIntentMetricName = {
|
|
62
|
+
Count: "Count",
|
|
63
|
+
Dropped: "Dropped",
|
|
64
|
+
Failure: "Failure",
|
|
65
|
+
Success: "Success",
|
|
66
|
+
Switched: "Switched",
|
|
67
|
+
};
|
|
68
|
+
export const AnalyticsMetricStatistic = {
|
|
69
|
+
Avg: "Avg",
|
|
70
|
+
Max: "Max",
|
|
71
|
+
Sum: "Sum",
|
|
72
|
+
};
|
|
73
|
+
export const AnalyticsNodeType = {
|
|
74
|
+
Exit: "Exit",
|
|
75
|
+
Inner: "Inner",
|
|
76
|
+
};
|
|
77
|
+
export const AnalyticsIntentStageField = {
|
|
78
|
+
IntentStageName: "IntentStageName",
|
|
79
|
+
SwitchedToIntent: "SwitchedToIntent",
|
|
80
|
+
};
|
|
81
|
+
export const AnalyticsIntentStageFilterName = {
|
|
82
|
+
BotAliasId: "BotAliasId",
|
|
83
|
+
BotVersion: "BotVersion",
|
|
84
|
+
Channel: "Channel",
|
|
85
|
+
IntentName: "IntentName",
|
|
86
|
+
IntentStageName: "IntentStageName",
|
|
87
|
+
LocaleId: "LocaleId",
|
|
88
|
+
Modality: "Modality",
|
|
89
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
90
|
+
SessionId: "SessionId",
|
|
91
|
+
};
|
|
92
|
+
export const AnalyticsIntentStageMetricName = {
|
|
93
|
+
Count: "Count",
|
|
94
|
+
Dropped: "Dropped",
|
|
95
|
+
Failed: "Failed",
|
|
96
|
+
Retry: "Retry",
|
|
97
|
+
Success: "Success",
|
|
98
|
+
};
|
|
99
|
+
export const AnalyticsModality = {
|
|
100
|
+
DTMF: "DTMF",
|
|
101
|
+
MultiMode: "MultiMode",
|
|
102
|
+
Speech: "Speech",
|
|
103
|
+
Text: "Text",
|
|
104
|
+
};
|
|
105
|
+
export const AnalyticsSessionField = {
|
|
106
|
+
ConversationEndState: "ConversationEndState",
|
|
107
|
+
LocaleId: "LocaleId",
|
|
108
|
+
};
|
|
109
|
+
export const AnalyticsSessionFilterName = {
|
|
110
|
+
BotAliasId: "BotAliasId",
|
|
111
|
+
BotVersion: "BotVersion",
|
|
112
|
+
Channel: "Channel",
|
|
113
|
+
ConversationEndState: "ConversationEndState",
|
|
114
|
+
Duration: "Duration",
|
|
115
|
+
IntentPath: "IntentPath",
|
|
116
|
+
LocaleId: "LocaleId",
|
|
117
|
+
Modality: "Modality",
|
|
118
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
119
|
+
SessionId: "SessionId",
|
|
120
|
+
};
|
|
121
|
+
export const AnalyticsSessionMetricName = {
|
|
122
|
+
Concurrency: "Concurrency",
|
|
123
|
+
Count: "Count",
|
|
124
|
+
Dropped: "Dropped",
|
|
125
|
+
Duration: "Duration",
|
|
126
|
+
Failure: "Failure",
|
|
127
|
+
Success: "Success",
|
|
128
|
+
TurnsPerConversation: "TurnsPerConversation",
|
|
129
|
+
};
|
|
130
|
+
export const AnalyticsSessionSortByName = {
|
|
131
|
+
ConversationStartTime: "ConversationStartTime",
|
|
132
|
+
Duration: "Duration",
|
|
133
|
+
NumberOfTurns: "NumberOfTurns",
|
|
134
|
+
};
|
|
135
|
+
export const AnalyticsUtteranceAttributeName = {
|
|
136
|
+
LastUsedIntent: "LastUsedIntent",
|
|
137
|
+
};
|
|
138
|
+
export const AnalyticsUtteranceField = {
|
|
139
|
+
UtteranceState: "UtteranceState",
|
|
140
|
+
UtteranceText: "UtteranceText",
|
|
141
|
+
};
|
|
142
|
+
export const AnalyticsUtteranceFilterName = {
|
|
143
|
+
BotAliasId: "BotAliasId",
|
|
144
|
+
BotVersion: "BotVersion",
|
|
145
|
+
Channel: "Channel",
|
|
146
|
+
LocaleId: "LocaleId",
|
|
147
|
+
Modality: "Modality",
|
|
148
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
149
|
+
SessionId: "SessionId",
|
|
150
|
+
UtteranceState: "UtteranceState",
|
|
151
|
+
UtteranceText: "UtteranceText",
|
|
152
|
+
};
|
|
153
|
+
export const AnalyticsUtteranceMetricName = {
|
|
154
|
+
Count: "Count",
|
|
155
|
+
Detected: "Detected",
|
|
156
|
+
Missed: "Missed",
|
|
157
|
+
UtteranceTimestamp: "UtteranceTimestamp",
|
|
158
|
+
};
|
|
159
|
+
export const AnalyticsUtteranceSortByName = {
|
|
160
|
+
UtteranceTimestamp: "UtteranceTimestamp",
|
|
161
|
+
};
|
|
21
162
|
export const AssociatedTranscriptFilterName = {
|
|
22
163
|
IntentId: "IntentId",
|
|
23
164
|
SlotTypeId: "SlotTypeId",
|
|
@@ -95,6 +236,11 @@ export const BotAliasStatus = {
|
|
|
95
236
|
Deleting: "Deleting",
|
|
96
237
|
Failed: "Failed",
|
|
97
238
|
};
|
|
239
|
+
export const BotChannelType = {
|
|
240
|
+
Facebook: "Facebook",
|
|
241
|
+
Slack: "Slack",
|
|
242
|
+
TwilioSms: "TwilioSms",
|
|
243
|
+
};
|
|
98
244
|
export const BotFilterName = {
|
|
99
245
|
BotName: "BotName",
|
|
100
246
|
BotType: "BotType",
|
|
@@ -205,6 +351,11 @@ export const SlotShape = {
|
|
|
205
351
|
List: "List",
|
|
206
352
|
Scalar: "Scalar",
|
|
207
353
|
};
|
|
354
|
+
export const ConversationEndState = {
|
|
355
|
+
Dropped: "Dropped",
|
|
356
|
+
Failure: "Failure",
|
|
357
|
+
Success: "Success",
|
|
358
|
+
};
|
|
208
359
|
export const TestResultMatchStatus = {
|
|
209
360
|
ExecutionError: "ExecutionError",
|
|
210
361
|
Matched: "Matched",
|
|
@@ -279,83 +430,6 @@ export const TestSetModality = {
|
|
|
279
430
|
Audio: "Audio",
|
|
280
431
|
Text: "Text",
|
|
281
432
|
};
|
|
282
|
-
export const TestExecutionApiMode = {
|
|
283
|
-
NonStreaming: "NonStreaming",
|
|
284
|
-
Streaming: "Streaming",
|
|
285
|
-
};
|
|
286
|
-
export const TestExecutionModality = {
|
|
287
|
-
Audio: "Audio",
|
|
288
|
-
Text: "Text",
|
|
289
|
-
};
|
|
290
|
-
export const TestExecutionStatus = {
|
|
291
|
-
Completed: "Completed",
|
|
292
|
-
Failed: "Failed",
|
|
293
|
-
InProgress: "InProgress",
|
|
294
|
-
Pending: "Pending",
|
|
295
|
-
Stopped: "Stopped",
|
|
296
|
-
Stopping: "Stopping",
|
|
297
|
-
Waiting: "Waiting",
|
|
298
|
-
};
|
|
299
|
-
export const TestSetStatus = {
|
|
300
|
-
Deleting: "Deleting",
|
|
301
|
-
Importing: "Importing",
|
|
302
|
-
PendingAnnotation: "PendingAnnotation",
|
|
303
|
-
Ready: "Ready",
|
|
304
|
-
ValidationError: "ValidationError",
|
|
305
|
-
};
|
|
306
|
-
export const TestSetDiscrepancyReportStatus = {
|
|
307
|
-
Completed: "Completed",
|
|
308
|
-
Failed: "Failed",
|
|
309
|
-
InProgress: "InProgress",
|
|
310
|
-
};
|
|
311
|
-
export const TestSetGenerationStatus = {
|
|
312
|
-
Failed: "Failed",
|
|
313
|
-
Generating: "Generating",
|
|
314
|
-
Pending: "Pending",
|
|
315
|
-
Ready: "Ready",
|
|
316
|
-
};
|
|
317
|
-
export const ExportFilterName = {
|
|
318
|
-
ExportResourceType: "ExportResourceType",
|
|
319
|
-
};
|
|
320
|
-
export const ExportFilterOperator = {
|
|
321
|
-
Contains: "CO",
|
|
322
|
-
Equals: "EQ",
|
|
323
|
-
};
|
|
324
|
-
export const ExportSortAttribute = {
|
|
325
|
-
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
326
|
-
};
|
|
327
|
-
export const ImportFilterName = {
|
|
328
|
-
ImportResourceType: "ImportResourceType",
|
|
329
|
-
};
|
|
330
|
-
export const ImportFilterOperator = {
|
|
331
|
-
Contains: "CO",
|
|
332
|
-
Equals: "EQ",
|
|
333
|
-
};
|
|
334
|
-
export const ImportResourceType = {
|
|
335
|
-
Bot: "Bot",
|
|
336
|
-
BotLocale: "BotLocale",
|
|
337
|
-
CustomVocabulary: "CustomVocabulary",
|
|
338
|
-
TestSet: "TestSet",
|
|
339
|
-
};
|
|
340
|
-
export const ImportSortAttribute = {
|
|
341
|
-
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
342
|
-
};
|
|
343
|
-
export const IntentFilterName = {
|
|
344
|
-
IntentName: "IntentName",
|
|
345
|
-
};
|
|
346
|
-
export const IntentFilterOperator = {
|
|
347
|
-
Contains: "CO",
|
|
348
|
-
Equals: "EQ",
|
|
349
|
-
};
|
|
350
|
-
export const IntentSortAttribute = {
|
|
351
|
-
IntentName: "IntentName",
|
|
352
|
-
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
353
|
-
};
|
|
354
|
-
export const TimeDimension = {
|
|
355
|
-
Days: "Days",
|
|
356
|
-
Hours: "Hours",
|
|
357
|
-
Weeks: "Weeks",
|
|
358
|
-
};
|
|
359
433
|
export const CreateExportRequestFilterSensitiveLog = (obj) => ({
|
|
360
434
|
...obj,
|
|
361
435
|
...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
|