@aws-sdk/client-lex-models-v2 3.1005.0 → 3.1007.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.
Files changed (46) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +96 -0
  3. package/dist-cjs/schemas/schemas_0.js +138 -23
  4. package/dist-es/LexModelsV2.js +14 -0
  5. package/dist-es/commands/DeleteBotAnalyzerRecommendationCommand.js +16 -0
  6. package/dist-es/commands/DescribeBotAnalyzerRecommendationCommand.js +16 -0
  7. package/dist-es/commands/ListBotAnalyzerHistoryCommand.js +16 -0
  8. package/dist-es/commands/StartBotAnalyzerCommand.js +16 -0
  9. package/dist-es/commands/StopBotAnalyzerCommand.js +16 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/enums.js +15 -0
  12. package/dist-es/pagination/DescribeBotAnalyzerRecommendationPaginator.js +4 -0
  13. package/dist-es/pagination/ListBotAnalyzerHistoryPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +127 -12
  16. package/dist-types/LexModelsV2.d.ts +49 -0
  17. package/dist-types/LexModelsV2Client.d.ts +7 -2
  18. package/dist-types/commands/DeleteBotAnalyzerRecommendationCommand.d.ts +90 -0
  19. package/dist-types/commands/DescribeBotAnalyzerRecommendationCommand.d.ts +111 -0
  20. package/dist-types/commands/ListBotAnalyzerHistoryCommand.d.ts +105 -0
  21. package/dist-types/commands/StartBotAnalyzerCommand.d.ts +104 -0
  22. package/dist-types/commands/StopBotAnalyzerCommand.d.ts +95 -0
  23. package/dist-types/commands/index.d.ts +5 -0
  24. package/dist-types/models/enums.d.ts +39 -0
  25. package/dist-types/models/models_0.d.ts +160 -164
  26. package/dist-types/models/models_1.d.ts +336 -2
  27. package/dist-types/pagination/DescribeBotAnalyzerRecommendationPaginator.d.ts +7 -0
  28. package/dist-types/pagination/ListBotAnalyzerHistoryPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +2 -0
  30. package/dist-types/schemas/schemas_0.d.ts +18 -0
  31. package/dist-types/ts3.4/LexModelsV2.d.ts +105 -0
  32. package/dist-types/ts3.4/LexModelsV2Client.d.ts +30 -0
  33. package/dist-types/ts3.4/commands/DeleteBotAnalyzerRecommendationCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/DescribeBotAnalyzerRecommendationCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/ListBotAnalyzerHistoryCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/StartBotAnalyzerCommand.d.ts +50 -0
  37. package/dist-types/ts3.4/commands/StopBotAnalyzerCommand.d.ts +50 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  39. package/dist-types/ts3.4/models/enums.d.ts +19 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +38 -47
  41. package/dist-types/ts3.4/models/models_1.d.ts +89 -5
  42. package/dist-types/ts3.4/pagination/DescribeBotAnalyzerRecommendationPaginator.d.ts +11 -0
  43. package/dist-types/ts3.4/pagination/ListBotAnalyzerHistoryPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  46. package/package.json +2 -2
@@ -1,9 +1,11 @@
1
1
  import {
2
+ AnalysisScope,
2
3
  AnalyticsModality,
3
4
  AnalyticsSessionSortByName,
4
5
  AnalyticsSortOrder,
5
6
  AnalyticsUtteranceSortByName,
6
7
  BotAliasStatus,
8
+ BotAnalyzerStatus,
7
9
  BotLocaleStatus,
8
10
  BotRecommendationStatus,
9
11
  BotStatus,
@@ -12,7 +14,10 @@ import {
12
14
  ExportStatus,
13
15
  GenerationStatus,
14
16
  ImportExportFileFormat,
17
+ ImportResourceType,
15
18
  ImportStatus,
19
+ IntentFilterName,
20
+ IntentFilterOperator,
16
21
  IntentSortAttribute,
17
22
  IntentState,
18
23
  MergeStrategy,
@@ -73,7 +78,6 @@ import {
73
78
  ImageResponseCard,
74
79
  ImportResourceSpecification,
75
80
  ImportSortBy,
76
- IntentClassificationTestResults,
77
81
  KendraConfiguration,
78
82
  MultipleValuesSetting,
79
83
  ObfuscationSetting,
@@ -84,7 +88,6 @@ import {
84
88
  SentimentAnalysisSettings,
85
89
  SlotDefaultValueSpecification,
86
90
  SlotResolutionSetting,
87
- SlotResolutionTestResultItemCounts,
88
91
  SlotValue,
89
92
  SlotValueSelectionSetting,
90
93
  SpeechRecognitionSettings,
@@ -124,6 +127,7 @@ import {
124
127
  BotAliasLocaleSettings,
125
128
  BotAliasReplicaSummary,
126
129
  BotAliasSummary,
130
+ BotAnalyzerHistorySummary,
127
131
  BotFilter,
128
132
  BotLocaleFilter,
129
133
  BotLocaleSummary,
@@ -140,15 +144,56 @@ import {
140
144
  ExportSummary,
141
145
  GenerationSummary,
142
146
  ImportFilter,
143
- ImportSummary,
144
147
  InputContext,
145
- IntentFilter,
146
148
  OutputContext,
147
- RuntimeHintValue,
148
149
  SampleUtterance,
149
150
  SlotPriority,
150
151
  SlotTypeValue,
151
152
  } from "./models_0";
153
+ export interface ImportSummary {
154
+ importId?: string | undefined;
155
+ importedResourceId?: string | undefined;
156
+ importedResourceName?: string | undefined;
157
+ importStatus?: ImportStatus | undefined;
158
+ mergeStrategy?: MergeStrategy | undefined;
159
+ creationDateTime?: Date | undefined;
160
+ lastUpdatedDateTime?: Date | undefined;
161
+ importedResourceType?: ImportResourceType | undefined;
162
+ }
163
+ export interface RuntimeHintValue {
164
+ phrase: string | undefined;
165
+ }
166
+ export interface IntentClassificationTestResultItemCounts {
167
+ totalResultCount: number | undefined;
168
+ speechTranscriptionResultCounts?:
169
+ | Partial<Record<TestResultMatchStatus, number>>
170
+ | undefined;
171
+ intentMatchResultCounts:
172
+ | Partial<Record<TestResultMatchStatus, number>>
173
+ | undefined;
174
+ }
175
+ export interface IntentClassificationTestResultItem {
176
+ intentName: string | undefined;
177
+ multiTurnConversation: boolean | undefined;
178
+ resultCounts: IntentClassificationTestResultItemCounts | undefined;
179
+ }
180
+ export interface IntentClassificationTestResults {
181
+ items: IntentClassificationTestResultItem[] | undefined;
182
+ }
183
+ export interface IntentFilter {
184
+ name: IntentFilterName | undefined;
185
+ values: string[] | undefined;
186
+ operator: IntentFilterOperator | undefined;
187
+ }
188
+ export interface SlotResolutionTestResultItemCounts {
189
+ totalResultCount: number | undefined;
190
+ speechTranscriptionResultCounts?:
191
+ | Partial<Record<TestResultMatchStatus, number>>
192
+ | undefined;
193
+ slotMatchResultCounts:
194
+ | Partial<Record<TestResultMatchStatus, number>>
195
+ | undefined;
196
+ }
152
197
  export interface SlotResolutionTestResultItem {
153
198
  slotName: string | undefined;
154
199
  resultCounts: SlotResolutionTestResultItemCounts | undefined;
@@ -231,6 +276,20 @@ export interface ListBotAliasReplicasResponse {
231
276
  botAliasReplicaSummaries?: BotAliasReplicaSummary[] | undefined;
232
277
  nextToken?: string | undefined;
233
278
  }
279
+ export interface ListBotAnalyzerHistoryRequest {
280
+ botId: string | undefined;
281
+ localeId?: string | undefined;
282
+ botVersion?: string | undefined;
283
+ nextToken?: string | undefined;
284
+ maxResults?: number | undefined;
285
+ }
286
+ export interface ListBotAnalyzerHistoryResponse {
287
+ botId?: string | undefined;
288
+ localeId?: string | undefined;
289
+ botVersion?: string | undefined;
290
+ botAnalyzerHistoryList?: BotAnalyzerHistorySummary[] | undefined;
291
+ nextToken?: string | undefined;
292
+ }
234
293
  export interface ListBotLocalesRequest {
235
294
  botId: string | undefined;
236
295
  botVersion: string | undefined;
@@ -757,6 +816,20 @@ export interface SearchAssociatedTranscriptsResponse {
757
816
  associatedTranscripts?: AssociatedTranscript[] | undefined;
758
817
  totalResults?: number | undefined;
759
818
  }
819
+ export interface StartBotAnalyzerRequest {
820
+ botId: string | undefined;
821
+ analysisScope: AnalysisScope | undefined;
822
+ localeId?: string | undefined;
823
+ botVersion?: string | undefined;
824
+ }
825
+ export interface StartBotAnalyzerResponse {
826
+ botId?: string | undefined;
827
+ botVersion?: string | undefined;
828
+ localeId?: string | undefined;
829
+ botAnalyzerStatus?: BotAnalyzerStatus | undefined;
830
+ botAnalyzerRequestId?: string | undefined;
831
+ creationDateTime?: Date | undefined;
832
+ }
760
833
  export interface StartBotRecommendationRequest {
761
834
  botId: string | undefined;
762
835
  botVersion: string | undefined;
@@ -835,6 +908,17 @@ export interface StartTestSetGenerationResponse {
835
908
  roleArn?: string | undefined;
836
909
  testSetTags?: Record<string, string> | undefined;
837
910
  }
911
+ export interface StopBotAnalyzerRequest {
912
+ botId: string | undefined;
913
+ botAnalyzerRequestId: string | undefined;
914
+ }
915
+ export interface StopBotAnalyzerResponse {
916
+ botId?: string | undefined;
917
+ botVersion?: string | undefined;
918
+ localeId?: string | undefined;
919
+ botAnalyzerStatus?: BotAnalyzerStatus | undefined;
920
+ botAnalyzerRequestId?: string | undefined;
921
+ }
838
922
  export interface StopBotRecommendationRequest {
839
923
  botId: string | undefined;
840
924
  botVersion: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeBotAnalyzerRecommendationCommandInput,
4
+ DescribeBotAnalyzerRecommendationCommandOutput,
5
+ } from "../commands/DescribeBotAnalyzerRecommendationCommand";
6
+ import { LexModelsV2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeBotAnalyzerRecommendation: (
8
+ config: LexModelsV2PaginationConfiguration,
9
+ input: DescribeBotAnalyzerRecommendationCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeBotAnalyzerRecommendationCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListBotAnalyzerHistoryCommandInput,
4
+ ListBotAnalyzerHistoryCommandOutput,
5
+ } from "../commands/ListBotAnalyzerHistoryCommand";
6
+ import { LexModelsV2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListBotAnalyzerHistory: (
8
+ config: LexModelsV2PaginationConfiguration,
9
+ input: ListBotAnalyzerHistoryCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListBotAnalyzerHistoryCommandOutput>;
@@ -1,7 +1,9 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./DescribeBotAnalyzerRecommendationPaginator";
2
3
  export * from "./ListAggregatedUtterancesPaginator";
3
4
  export * from "./ListBotAliasesPaginator";
4
5
  export * from "./ListBotAliasReplicasPaginator";
6
+ export * from "./ListBotAnalyzerHistoryPaginator";
5
7
  export * from "./ListBotLocalesPaginator";
6
8
  export * from "./ListBotRecommendationsPaginator";
7
9
  export * from "./ListBotResourceGenerationsPaginator";
@@ -72,6 +72,8 @@ export declare var BotAliasLocaleSettings$: StaticStructureSchema;
72
72
  export declare var BotAliasReplicaSummary$: StaticStructureSchema;
73
73
  export declare var BotAliasSummary$: StaticStructureSchema;
74
74
  export declare var BotAliasTestExecutionTarget$: StaticStructureSchema;
75
+ export declare var BotAnalyzerHistorySummary$: StaticStructureSchema;
76
+ export declare var BotAnalyzerRecommendation$: StaticStructureSchema;
75
77
  export declare var BotExportSpecification$: StaticStructureSchema;
76
78
  export declare var BotFilter$: StaticStructureSchema;
77
79
  export declare var BotImportSpecification$: StaticStructureSchema;
@@ -154,6 +156,8 @@ export declare var DeepgramSpeechModelConfig$: StaticStructureSchema;
154
156
  export declare var DefaultConditionalBranch$: StaticStructureSchema;
155
157
  export declare var DeleteBotAliasRequest$: StaticStructureSchema;
156
158
  export declare var DeleteBotAliasResponse$: StaticStructureSchema;
159
+ export declare var DeleteBotAnalyzerRecommendationRequest$: StaticStructureSchema;
160
+ export declare var DeleteBotAnalyzerRecommendationResponse$: StaticStructureSchema;
157
161
  export declare var DeleteBotLocaleRequest$: StaticStructureSchema;
158
162
  export declare var DeleteBotLocaleResponse$: StaticStructureSchema;
159
163
  export declare var DeleteBotReplicaRequest$: StaticStructureSchema;
@@ -180,6 +184,8 @@ export declare var DeleteUtterancesRequest$: StaticStructureSchema;
180
184
  export declare var DeleteUtterancesResponse$: StaticStructureSchema;
181
185
  export declare var DescribeBotAliasRequest$: StaticStructureSchema;
182
186
  export declare var DescribeBotAliasResponse$: StaticStructureSchema;
187
+ export declare var DescribeBotAnalyzerRecommendationRequest$: StaticStructureSchema;
188
+ export declare var DescribeBotAnalyzerRecommendationResponse$: StaticStructureSchema;
183
189
  export declare var DescribeBotLocaleRequest$: StaticStructureSchema;
184
190
  export declare var DescribeBotLocaleResponse$: StaticStructureSchema;
185
191
  export declare var DescribeBotRecommendationRequest$: StaticStructureSchema;
@@ -266,6 +272,7 @@ export declare var IntentSortBy$: StaticStructureSchema;
266
272
  export declare var IntentStatistics$: StaticStructureSchema;
267
273
  export declare var IntentSummary$: StaticStructureSchema;
268
274
  export declare var InvokedIntentSample$: StaticStructureSchema;
275
+ export declare var IssueLocation$: StaticStructureSchema;
269
276
  export declare var KendraConfiguration$: StaticStructureSchema;
270
277
  export declare var LambdaCodeHook$: StaticStructureSchema;
271
278
  export declare var LexTranscriptFilter$: StaticStructureSchema;
@@ -275,6 +282,8 @@ export declare var ListBotAliasesRequest$: StaticStructureSchema;
275
282
  export declare var ListBotAliasesResponse$: StaticStructureSchema;
276
283
  export declare var ListBotAliasReplicasRequest$: StaticStructureSchema;
277
284
  export declare var ListBotAliasReplicasResponse$: StaticStructureSchema;
285
+ export declare var ListBotAnalyzerHistoryRequest$: StaticStructureSchema;
286
+ export declare var ListBotAnalyzerHistoryResponse$: StaticStructureSchema;
278
287
  export declare var ListBotLocalesRequest$: StaticStructureSchema;
279
288
  export declare var ListBotLocalesResponse$: StaticStructureSchema;
280
289
  export declare var ListBotRecommendationsRequest$: StaticStructureSchema;
@@ -396,6 +405,8 @@ export declare var SpeechFoundationModel$: StaticStructureSchema;
396
405
  export declare var SpeechModelConfig$: StaticStructureSchema;
397
406
  export declare var SpeechRecognitionSettings$: StaticStructureSchema;
398
407
  export declare var SSMLMessage$: StaticStructureSchema;
408
+ export declare var StartBotAnalyzerRequest$: StaticStructureSchema;
409
+ export declare var StartBotAnalyzerResponse$: StaticStructureSchema;
399
410
  export declare var StartBotRecommendationRequest$: StaticStructureSchema;
400
411
  export declare var StartBotRecommendationResponse$: StaticStructureSchema;
401
412
  export declare var StartBotResourceGenerationRequest$: StaticStructureSchema;
@@ -407,6 +418,8 @@ export declare var StartTestExecutionResponse$: StaticStructureSchema;
407
418
  export declare var StartTestSetGenerationRequest$: StaticStructureSchema;
408
419
  export declare var StartTestSetGenerationResponse$: StaticStructureSchema;
409
420
  export declare var StillWaitingResponseSpecification$: StaticStructureSchema;
421
+ export declare var StopBotAnalyzerRequest$: StaticStructureSchema;
422
+ export declare var StopBotAnalyzerResponse$: StaticStructureSchema;
410
423
  export declare var StopBotRecommendationRequest$: StaticStructureSchema;
411
424
  export declare var StopBotRecommendationResponse$: StaticStructureSchema;
412
425
  export declare var SubSlotSetting$: StaticStructureSchema;
@@ -497,6 +510,7 @@ export declare var CreateTestSetDiscrepancyReport$: StaticOperationSchema;
497
510
  export declare var CreateUploadUrl$: StaticOperationSchema;
498
511
  export declare var DeleteBot$: StaticOperationSchema;
499
512
  export declare var DeleteBotAlias$: StaticOperationSchema;
513
+ export declare var DeleteBotAnalyzerRecommendation$: StaticOperationSchema;
500
514
  export declare var DeleteBotLocale$: StaticOperationSchema;
501
515
  export declare var DeleteBotReplica$: StaticOperationSchema;
502
516
  export declare var DeleteBotVersion$: StaticOperationSchema;
@@ -512,6 +526,7 @@ export declare var DeleteTestSet$: StaticOperationSchema;
512
526
  export declare var DeleteUtterances$: StaticOperationSchema;
513
527
  export declare var DescribeBot$: StaticOperationSchema;
514
528
  export declare var DescribeBotAlias$: StaticOperationSchema;
529
+ export declare var DescribeBotAnalyzerRecommendation$: StaticOperationSchema;
515
530
  export declare var DescribeBotLocale$: StaticOperationSchema;
516
531
  export declare var DescribeBotRecommendation$: StaticOperationSchema;
517
532
  export declare var DescribeBotReplica$: StaticOperationSchema;
@@ -533,6 +548,7 @@ export declare var GetTestExecutionArtifactsUrl$: StaticOperationSchema;
533
548
  export declare var ListAggregatedUtterances$: StaticOperationSchema;
534
549
  export declare var ListBotAliases$: StaticOperationSchema;
535
550
  export declare var ListBotAliasReplicas$: StaticOperationSchema;
551
+ export declare var ListBotAnalyzerHistory$: StaticOperationSchema;
536
552
  export declare var ListBotLocales$: StaticOperationSchema;
537
553
  export declare var ListBotRecommendations$: StaticOperationSchema;
538
554
  export declare var ListBotReplicas$: StaticOperationSchema;
@@ -562,11 +578,13 @@ export declare var ListTestSets$: StaticOperationSchema;
562
578
  export declare var ListUtteranceAnalyticsData$: StaticOperationSchema;
563
579
  export declare var ListUtteranceMetrics$: StaticOperationSchema;
564
580
  export declare var SearchAssociatedTranscripts$: StaticOperationSchema;
581
+ export declare var StartBotAnalyzer$: StaticOperationSchema;
565
582
  export declare var StartBotRecommendation$: StaticOperationSchema;
566
583
  export declare var StartBotResourceGeneration$: StaticOperationSchema;
567
584
  export declare var StartImport$: StaticOperationSchema;
568
585
  export declare var StartTestExecution$: StaticOperationSchema;
569
586
  export declare var StartTestSetGeneration$: StaticOperationSchema;
587
+ export declare var StopBotAnalyzer$: StaticOperationSchema;
570
588
  export declare var StopBotRecommendation$: StaticOperationSchema;
571
589
  export declare var TagResource$: StaticOperationSchema;
572
590
  export declare var UntagResource$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.1005.0",
4
+ "version": "3.1007.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
@@ -57,7 +57,7 @@
57
57
  "@smithy/util-middleware": "^4.2.11",
58
58
  "@smithy/util-retry": "^4.2.11",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.11",
60
+ "@smithy/util-waiter": "^4.2.12",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {