@aws-sdk/client-lex-models-v2 3.523.0 → 3.525.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 (165) hide show
  1. package/dist-cjs/index.js +9 -4
  2. package/dist-es/models/models_0.js +0 -3
  3. package/dist-es/models/models_1.js +3 -0
  4. package/dist-es/protocols/Aws_restJson1.js +5 -0
  5. package/dist-types/commands/CreateIntentCommand.d.ts +56 -0
  6. package/dist-types/commands/DescribeIntentCommand.d.ts +28 -0
  7. package/dist-types/commands/UpdateIntentCommand.d.ts +56 -0
  8. package/dist-types/models/models_0.d.ts +121 -110
  9. package/dist-types/models/models_1.d.ts +138 -1
  10. package/dist-types/ts3.4/models/models_0.d.ts +29 -24
  11. package/dist-types/ts3.4/models/models_1.d.ts +31 -1
  12. package/package.json +17 -17
  13. package/dist-cjs/LexModelsV2.js +0 -1
  14. package/dist-cjs/LexModelsV2Client.js +0 -1
  15. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  16. package/dist-cjs/commands/BatchCreateCustomVocabularyItemCommand.js +0 -1
  17. package/dist-cjs/commands/BatchDeleteCustomVocabularyItemCommand.js +0 -1
  18. package/dist-cjs/commands/BatchUpdateCustomVocabularyItemCommand.js +0 -1
  19. package/dist-cjs/commands/BuildBotLocaleCommand.js +0 -1
  20. package/dist-cjs/commands/CreateBotAliasCommand.js +0 -1
  21. package/dist-cjs/commands/CreateBotCommand.js +0 -1
  22. package/dist-cjs/commands/CreateBotLocaleCommand.js +0 -1
  23. package/dist-cjs/commands/CreateBotReplicaCommand.js +0 -1
  24. package/dist-cjs/commands/CreateBotVersionCommand.js +0 -1
  25. package/dist-cjs/commands/CreateExportCommand.js +0 -1
  26. package/dist-cjs/commands/CreateIntentCommand.js +0 -1
  27. package/dist-cjs/commands/CreateResourcePolicyCommand.js +0 -1
  28. package/dist-cjs/commands/CreateResourcePolicyStatementCommand.js +0 -1
  29. package/dist-cjs/commands/CreateSlotCommand.js +0 -1
  30. package/dist-cjs/commands/CreateSlotTypeCommand.js +0 -1
  31. package/dist-cjs/commands/CreateTestSetDiscrepancyReportCommand.js +0 -1
  32. package/dist-cjs/commands/CreateUploadUrlCommand.js +0 -1
  33. package/dist-cjs/commands/DeleteBotAliasCommand.js +0 -1
  34. package/dist-cjs/commands/DeleteBotCommand.js +0 -1
  35. package/dist-cjs/commands/DeleteBotLocaleCommand.js +0 -1
  36. package/dist-cjs/commands/DeleteBotReplicaCommand.js +0 -1
  37. package/dist-cjs/commands/DeleteBotVersionCommand.js +0 -1
  38. package/dist-cjs/commands/DeleteCustomVocabularyCommand.js +0 -1
  39. package/dist-cjs/commands/DeleteExportCommand.js +0 -1
  40. package/dist-cjs/commands/DeleteImportCommand.js +0 -1
  41. package/dist-cjs/commands/DeleteIntentCommand.js +0 -1
  42. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -1
  43. package/dist-cjs/commands/DeleteResourcePolicyStatementCommand.js +0 -1
  44. package/dist-cjs/commands/DeleteSlotCommand.js +0 -1
  45. package/dist-cjs/commands/DeleteSlotTypeCommand.js +0 -1
  46. package/dist-cjs/commands/DeleteTestSetCommand.js +0 -1
  47. package/dist-cjs/commands/DeleteUtterancesCommand.js +0 -1
  48. package/dist-cjs/commands/DescribeBotAliasCommand.js +0 -1
  49. package/dist-cjs/commands/DescribeBotCommand.js +0 -1
  50. package/dist-cjs/commands/DescribeBotLocaleCommand.js +0 -1
  51. package/dist-cjs/commands/DescribeBotRecommendationCommand.js +0 -1
  52. package/dist-cjs/commands/DescribeBotReplicaCommand.js +0 -1
  53. package/dist-cjs/commands/DescribeBotResourceGenerationCommand.js +0 -1
  54. package/dist-cjs/commands/DescribeBotVersionCommand.js +0 -1
  55. package/dist-cjs/commands/DescribeCustomVocabularyMetadataCommand.js +0 -1
  56. package/dist-cjs/commands/DescribeExportCommand.js +0 -1
  57. package/dist-cjs/commands/DescribeImportCommand.js +0 -1
  58. package/dist-cjs/commands/DescribeIntentCommand.js +0 -1
  59. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +0 -1
  60. package/dist-cjs/commands/DescribeSlotCommand.js +0 -1
  61. package/dist-cjs/commands/DescribeSlotTypeCommand.js +0 -1
  62. package/dist-cjs/commands/DescribeTestExecutionCommand.js +0 -1
  63. package/dist-cjs/commands/DescribeTestSetCommand.js +0 -1
  64. package/dist-cjs/commands/DescribeTestSetDiscrepancyReportCommand.js +0 -1
  65. package/dist-cjs/commands/DescribeTestSetGenerationCommand.js +0 -1
  66. package/dist-cjs/commands/GenerateBotElementCommand.js +0 -1
  67. package/dist-cjs/commands/GetTestExecutionArtifactsUrlCommand.js +0 -1
  68. package/dist-cjs/commands/ListAggregatedUtterancesCommand.js +0 -1
  69. package/dist-cjs/commands/ListBotAliasReplicasCommand.js +0 -1
  70. package/dist-cjs/commands/ListBotAliasesCommand.js +0 -1
  71. package/dist-cjs/commands/ListBotLocalesCommand.js +0 -1
  72. package/dist-cjs/commands/ListBotRecommendationsCommand.js +0 -1
  73. package/dist-cjs/commands/ListBotReplicasCommand.js +0 -1
  74. package/dist-cjs/commands/ListBotResourceGenerationsCommand.js +0 -1
  75. package/dist-cjs/commands/ListBotVersionReplicasCommand.js +0 -1
  76. package/dist-cjs/commands/ListBotVersionsCommand.js +0 -1
  77. package/dist-cjs/commands/ListBotsCommand.js +0 -1
  78. package/dist-cjs/commands/ListBuiltInIntentsCommand.js +0 -1
  79. package/dist-cjs/commands/ListBuiltInSlotTypesCommand.js +0 -1
  80. package/dist-cjs/commands/ListCustomVocabularyItemsCommand.js +0 -1
  81. package/dist-cjs/commands/ListExportsCommand.js +0 -1
  82. package/dist-cjs/commands/ListImportsCommand.js +0 -1
  83. package/dist-cjs/commands/ListIntentMetricsCommand.js +0 -1
  84. package/dist-cjs/commands/ListIntentPathsCommand.js +0 -1
  85. package/dist-cjs/commands/ListIntentStageMetricsCommand.js +0 -1
  86. package/dist-cjs/commands/ListIntentsCommand.js +0 -1
  87. package/dist-cjs/commands/ListRecommendedIntentsCommand.js +0 -1
  88. package/dist-cjs/commands/ListSessionAnalyticsDataCommand.js +0 -1
  89. package/dist-cjs/commands/ListSessionMetricsCommand.js +0 -1
  90. package/dist-cjs/commands/ListSlotTypesCommand.js +0 -1
  91. package/dist-cjs/commands/ListSlotsCommand.js +0 -1
  92. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  93. package/dist-cjs/commands/ListTestExecutionResultItemsCommand.js +0 -1
  94. package/dist-cjs/commands/ListTestExecutionsCommand.js +0 -1
  95. package/dist-cjs/commands/ListTestSetRecordsCommand.js +0 -1
  96. package/dist-cjs/commands/ListTestSetsCommand.js +0 -1
  97. package/dist-cjs/commands/ListUtteranceAnalyticsDataCommand.js +0 -1
  98. package/dist-cjs/commands/ListUtteranceMetricsCommand.js +0 -1
  99. package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +0 -1
  100. package/dist-cjs/commands/StartBotRecommendationCommand.js +0 -1
  101. package/dist-cjs/commands/StartBotResourceGenerationCommand.js +0 -1
  102. package/dist-cjs/commands/StartImportCommand.js +0 -1
  103. package/dist-cjs/commands/StartTestExecutionCommand.js +0 -1
  104. package/dist-cjs/commands/StartTestSetGenerationCommand.js +0 -1
  105. package/dist-cjs/commands/StopBotRecommendationCommand.js +0 -1
  106. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  107. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  108. package/dist-cjs/commands/UpdateBotAliasCommand.js +0 -1
  109. package/dist-cjs/commands/UpdateBotCommand.js +0 -1
  110. package/dist-cjs/commands/UpdateBotLocaleCommand.js +0 -1
  111. package/dist-cjs/commands/UpdateBotRecommendationCommand.js +0 -1
  112. package/dist-cjs/commands/UpdateExportCommand.js +0 -1
  113. package/dist-cjs/commands/UpdateIntentCommand.js +0 -1
  114. package/dist-cjs/commands/UpdateResourcePolicyCommand.js +0 -1
  115. package/dist-cjs/commands/UpdateSlotCommand.js +0 -1
  116. package/dist-cjs/commands/UpdateSlotTypeCommand.js +0 -1
  117. package/dist-cjs/commands/UpdateTestSetCommand.js +0 -1
  118. package/dist-cjs/commands/index.js +0 -1
  119. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  120. package/dist-cjs/extensionConfiguration.js +0 -1
  121. package/dist-cjs/models/LexModelsV2ServiceException.js +0 -1
  122. package/dist-cjs/models/index.js +0 -1
  123. package/dist-cjs/models/models_0.js +0 -1
  124. package/dist-cjs/models/models_1.js +0 -1
  125. package/dist-cjs/pagination/Interfaces.js +0 -1
  126. package/dist-cjs/pagination/ListAggregatedUtterancesPaginator.js +0 -1
  127. package/dist-cjs/pagination/ListBotAliasReplicasPaginator.js +0 -1
  128. package/dist-cjs/pagination/ListBotAliasesPaginator.js +0 -1
  129. package/dist-cjs/pagination/ListBotLocalesPaginator.js +0 -1
  130. package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +0 -1
  131. package/dist-cjs/pagination/ListBotResourceGenerationsPaginator.js +0 -1
  132. package/dist-cjs/pagination/ListBotVersionReplicasPaginator.js +0 -1
  133. package/dist-cjs/pagination/ListBotVersionsPaginator.js +0 -1
  134. package/dist-cjs/pagination/ListBotsPaginator.js +0 -1
  135. package/dist-cjs/pagination/ListBuiltInIntentsPaginator.js +0 -1
  136. package/dist-cjs/pagination/ListBuiltInSlotTypesPaginator.js +0 -1
  137. package/dist-cjs/pagination/ListCustomVocabularyItemsPaginator.js +0 -1
  138. package/dist-cjs/pagination/ListExportsPaginator.js +0 -1
  139. package/dist-cjs/pagination/ListImportsPaginator.js +0 -1
  140. package/dist-cjs/pagination/ListIntentMetricsPaginator.js +0 -1
  141. package/dist-cjs/pagination/ListIntentStageMetricsPaginator.js +0 -1
  142. package/dist-cjs/pagination/ListIntentsPaginator.js +0 -1
  143. package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +0 -1
  144. package/dist-cjs/pagination/ListSessionAnalyticsDataPaginator.js +0 -1
  145. package/dist-cjs/pagination/ListSessionMetricsPaginator.js +0 -1
  146. package/dist-cjs/pagination/ListSlotTypesPaginator.js +0 -1
  147. package/dist-cjs/pagination/ListSlotsPaginator.js +0 -1
  148. package/dist-cjs/pagination/ListTestExecutionResultItemsPaginator.js +0 -1
  149. package/dist-cjs/pagination/ListTestExecutionsPaginator.js +0 -1
  150. package/dist-cjs/pagination/ListTestSetRecordsPaginator.js +0 -1
  151. package/dist-cjs/pagination/ListTestSetsPaginator.js +0 -1
  152. package/dist-cjs/pagination/ListUtteranceAnalyticsDataPaginator.js +0 -1
  153. package/dist-cjs/pagination/ListUtteranceMetricsPaginator.js +0 -1
  154. package/dist-cjs/pagination/index.js +0 -1
  155. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  156. package/dist-cjs/runtimeExtensions.js +0 -1
  157. package/dist-cjs/waiters/index.js +0 -1
  158. package/dist-cjs/waiters/waitForBotAliasAvailable.js +0 -1
  159. package/dist-cjs/waiters/waitForBotAvailable.js +0 -1
  160. package/dist-cjs/waiters/waitForBotExportCompleted.js +0 -1
  161. package/dist-cjs/waiters/waitForBotImportCompleted.js +0 -1
  162. package/dist-cjs/waiters/waitForBotLocaleBuilt.js +0 -1
  163. package/dist-cjs/waiters/waitForBotLocaleCreated.js +0 -1
  164. package/dist-cjs/waiters/waitForBotLocaleExpressTestingAvailable.js +0 -1
  165. package/dist-cjs/waiters/waitForBotVersionAvailable.js +0 -1
package/dist-cjs/index.js CHANGED
@@ -936,9 +936,6 @@ var ImportStatus = {
936
936
  Failed: "Failed",
937
937
  InProgress: "InProgress"
938
938
  };
939
- var TranscriptFormat = {
940
- Lex: "Lex"
941
- };
942
939
  var CreateExportRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
943
940
  ...obj,
944
941
  ...obj.filePassword && { filePassword: import_smithy_client.SENSITIVE_STRING }
@@ -1154,6 +1151,7 @@ var se_CreateIntentCommand = /* @__PURE__ */ __name(async (input, context) => {
1154
1151
  kendraConfiguration: (_) => (0, import_smithy_client._json)(_),
1155
1152
  outputContexts: (_) => (0, import_smithy_client._json)(_),
1156
1153
  parentIntentSignature: [],
1154
+ qnAIntentConfiguration: (_) => (0, import_smithy_client._json)(_),
1157
1155
  sampleUtterances: (_) => (0, import_smithy_client._json)(_)
1158
1156
  })
1159
1157
  );
@@ -2542,6 +2540,7 @@ var se_UpdateIntentCommand = /* @__PURE__ */ __name(async (input, context) => {
2542
2540
  kendraConfiguration: (_) => (0, import_smithy_client._json)(_),
2543
2541
  outputContexts: (_) => (0, import_smithy_client._json)(_),
2544
2542
  parentIntentSignature: [],
2543
+ qnAIntentConfiguration: (_) => (0, import_smithy_client._json)(_),
2545
2544
  sampleUtterances: (_) => (0, import_smithy_client._json)(_),
2546
2545
  slotPriorities: (_) => (0, import_smithy_client._json)(_)
2547
2546
  })
@@ -2860,6 +2859,7 @@ var de_CreateIntentCommand = /* @__PURE__ */ __name(async (output, context) => {
2860
2859
  localeId: import_smithy_client.expectString,
2861
2860
  outputContexts: import_smithy_client._json,
2862
2861
  parentIntentSignature: import_smithy_client.expectString,
2862
+ qnAIntentConfiguration: import_smithy_client._json,
2863
2863
  sampleUtterances: import_smithy_client._json
2864
2864
  });
2865
2865
  Object.assign(contents, doc);
@@ -3447,6 +3447,7 @@ var de_DescribeIntentCommand = /* @__PURE__ */ __name(async (output, context) =>
3447
3447
  localeId: import_smithy_client.expectString,
3448
3448
  outputContexts: import_smithy_client._json,
3449
3449
  parentIntentSignature: import_smithy_client.expectString,
3450
+ qnAIntentConfiguration: import_smithy_client._json,
3450
3451
  sampleUtterances: import_smithy_client._json,
3451
3452
  slotPriorities: import_smithy_client._json
3452
3453
  });
@@ -4465,6 +4466,7 @@ var de_UpdateIntentCommand = /* @__PURE__ */ __name(async (output, context) => {
4465
4466
  localeId: import_smithy_client.expectString,
4466
4467
  outputContexts: import_smithy_client._json,
4467
4468
  parentIntentSignature: import_smithy_client.expectString,
4469
+ qnAIntentConfiguration: import_smithy_client._json,
4468
4470
  sampleUtterances: import_smithy_client._json,
4469
4471
  slotPriorities: import_smithy_client._json
4470
4472
  });
@@ -6455,6 +6457,9 @@ var DescribeBotLocaleCommand = _DescribeBotLocaleCommand;
6455
6457
 
6456
6458
  // src/models/models_1.ts
6457
6459
 
6460
+ var TranscriptFormat = {
6461
+ Lex: "Lex"
6462
+ };
6458
6463
  var GenerationStatus = {
6459
6464
  Complete: "Complete",
6460
6465
  Failed: "Failed",
@@ -8676,9 +8681,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
8676
8681
  SlotValueResolutionStrategy,
8677
8682
  CustomVocabularyStatus,
8678
8683
  ImportStatus,
8679
- TranscriptFormat,
8680
8684
  CreateExportRequestFilterSensitiveLog,
8681
8685
  EncryptionSettingFilterSensitiveLog,
8686
+ TranscriptFormat,
8682
8687
  GenerationStatus,
8683
8688
  MergeStrategy,
8684
8689
  TestSetModality,
@@ -439,9 +439,6 @@ export const ImportStatus = {
439
439
  Failed: "Failed",
440
440
  InProgress: "InProgress",
441
441
  };
442
- export const TranscriptFormat = {
443
- Lex: "Lex",
444
- };
445
442
  export const CreateExportRequestFilterSensitiveLog = (obj) => ({
446
443
  ...obj,
447
444
  ...(obj.filePassword && { filePassword: SENSITIVE_STRING }),
@@ -1,5 +1,8 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { EncryptionSettingFilterSensitiveLog, } from "./models_0";
3
+ export const TranscriptFormat = {
4
+ Lex: "Lex",
5
+ };
3
6
  export const GenerationStatus = {
4
7
  Complete: "Complete",
5
8
  Failed: "Failed",
@@ -187,6 +187,7 @@ export const se_CreateIntentCommand = async (input, context) => {
187
187
  kendraConfiguration: (_) => _json(_),
188
188
  outputContexts: (_) => _json(_),
189
189
  parentIntentSignature: [],
190
+ qnAIntentConfiguration: (_) => _json(_),
190
191
  sampleUtterances: (_) => _json(_),
191
192
  }));
192
193
  b.m("PUT").h(headers).b(body);
@@ -1475,6 +1476,7 @@ export const se_UpdateIntentCommand = async (input, context) => {
1475
1476
  kendraConfiguration: (_) => _json(_),
1476
1477
  outputContexts: (_) => _json(_),
1477
1478
  parentIntentSignature: [],
1479
+ qnAIntentConfiguration: (_) => _json(_),
1478
1480
  sampleUtterances: (_) => _json(_),
1479
1481
  slotPriorities: (_) => _json(_),
1480
1482
  }));
@@ -1784,6 +1786,7 @@ export const de_CreateIntentCommand = async (output, context) => {
1784
1786
  localeId: __expectString,
1785
1787
  outputContexts: _json,
1786
1788
  parentIntentSignature: __expectString,
1789
+ qnAIntentConfiguration: _json,
1787
1790
  sampleUtterances: _json,
1788
1791
  });
1789
1792
  Object.assign(contents, doc);
@@ -2371,6 +2374,7 @@ export const de_DescribeIntentCommand = async (output, context) => {
2371
2374
  localeId: __expectString,
2372
2375
  outputContexts: _json,
2373
2376
  parentIntentSignature: __expectString,
2377
+ qnAIntentConfiguration: _json,
2374
2378
  sampleUtterances: _json,
2375
2379
  slotPriorities: _json,
2376
2380
  });
@@ -3389,6 +3393,7 @@ export const de_UpdateIntentCommand = async (output, context) => {
3389
3393
  localeId: __expectString,
3390
3394
  outputContexts: _json,
3391
3395
  parentIntentSignature: __expectString,
3396
+ qnAIntentConfiguration: _json,
3392
3397
  sampleUtterances: _json,
3393
3398
  slotPriorities: _json,
3394
3399
  });
@@ -499,6 +499,34 @@ declare const CreateIntentCommand_base: {
499
499
  * },
500
500
  * },
501
501
  * },
502
+ * qnAIntentConfiguration: { // QnAIntentConfiguration
503
+ * dataSourceConfiguration: { // DataSourceConfiguration
504
+ * opensearchConfiguration: { // OpensearchConfiguration
505
+ * domainEndpoint: "STRING_VALUE", // required
506
+ * indexName: "STRING_VALUE", // required
507
+ * exactResponse: true || false,
508
+ * exactResponseFields: { // ExactResponseFields
509
+ * questionField: "STRING_VALUE", // required
510
+ * answerField: "STRING_VALUE", // required
511
+ * },
512
+ * includeFields: [ // OSIncludeFields
513
+ * "STRING_VALUE",
514
+ * ],
515
+ * },
516
+ * kendraConfiguration: { // QnAKendraConfiguration
517
+ * kendraIndex: "STRING_VALUE", // required
518
+ * queryFilterStringEnabled: true || false,
519
+ * queryFilterString: "STRING_VALUE",
520
+ * exactResponse: true || false,
521
+ * },
522
+ * bedrockKnowledgeStoreConfiguration: { // BedrockKnowledgeStoreConfiguration
523
+ * bedrockKnowledgeBaseArn: "STRING_VALUE", // required
524
+ * },
525
+ * },
526
+ * bedrockModelConfiguration: { // BedrockModelSpecification
527
+ * modelArn: "STRING_VALUE", // required
528
+ * },
529
+ * },
502
530
  * };
503
531
  * const command = new CreateIntentCommand(input);
504
532
  * const response = await client.send(command);
@@ -933,6 +961,34 @@ declare const CreateIntentCommand_base: {
933
961
  * // },
934
962
  * // },
935
963
  * // },
964
+ * // qnAIntentConfiguration: { // QnAIntentConfiguration
965
+ * // dataSourceConfiguration: { // DataSourceConfiguration
966
+ * // opensearchConfiguration: { // OpensearchConfiguration
967
+ * // domainEndpoint: "STRING_VALUE", // required
968
+ * // indexName: "STRING_VALUE", // required
969
+ * // exactResponse: true || false,
970
+ * // exactResponseFields: { // ExactResponseFields
971
+ * // questionField: "STRING_VALUE", // required
972
+ * // answerField: "STRING_VALUE", // required
973
+ * // },
974
+ * // includeFields: [ // OSIncludeFields
975
+ * // "STRING_VALUE",
976
+ * // ],
977
+ * // },
978
+ * // kendraConfiguration: { // QnAKendraConfiguration
979
+ * // kendraIndex: "STRING_VALUE", // required
980
+ * // queryFilterStringEnabled: true || false,
981
+ * // queryFilterString: "STRING_VALUE",
982
+ * // exactResponse: true || false,
983
+ * // },
984
+ * // bedrockKnowledgeStoreConfiguration: { // BedrockKnowledgeStoreConfiguration
985
+ * // bedrockKnowledgeBaseArn: "STRING_VALUE", // required
986
+ * // },
987
+ * // },
988
+ * // bedrockModelConfiguration: { // BedrockModelSpecification
989
+ * // modelArn: "STRING_VALUE", // required
990
+ * // },
991
+ * // },
936
992
  * // };
937
993
  *
938
994
  * ```
@@ -479,6 +479,34 @@ declare const DescribeIntentCommand_base: {
479
479
  * // },
480
480
  * // },
481
481
  * // },
482
+ * // qnAIntentConfiguration: { // QnAIntentConfiguration
483
+ * // dataSourceConfiguration: { // DataSourceConfiguration
484
+ * // opensearchConfiguration: { // OpensearchConfiguration
485
+ * // domainEndpoint: "STRING_VALUE", // required
486
+ * // indexName: "STRING_VALUE", // required
487
+ * // exactResponse: true || false,
488
+ * // exactResponseFields: { // ExactResponseFields
489
+ * // questionField: "STRING_VALUE", // required
490
+ * // answerField: "STRING_VALUE", // required
491
+ * // },
492
+ * // includeFields: [ // OSIncludeFields
493
+ * // "STRING_VALUE",
494
+ * // ],
495
+ * // },
496
+ * // kendraConfiguration: { // QnAKendraConfiguration
497
+ * // kendraIndex: "STRING_VALUE", // required
498
+ * // queryFilterStringEnabled: true || false,
499
+ * // queryFilterString: "STRING_VALUE",
500
+ * // exactResponse: true || false,
501
+ * // },
502
+ * // bedrockKnowledgeStoreConfiguration: { // BedrockKnowledgeStoreConfiguration
503
+ * // bedrockKnowledgeBaseArn: "STRING_VALUE", // required
504
+ * // },
505
+ * // },
506
+ * // bedrockModelConfiguration: { // BedrockModelSpecification
507
+ * // modelArn: "STRING_VALUE", // required
508
+ * // },
509
+ * // },
482
510
  * // };
483
511
  *
484
512
  * ```
@@ -469,6 +469,34 @@ declare const UpdateIntentCommand_base: {
469
469
  * },
470
470
  * },
471
471
  * },
472
+ * qnAIntentConfiguration: { // QnAIntentConfiguration
473
+ * dataSourceConfiguration: { // DataSourceConfiguration
474
+ * opensearchConfiguration: { // OpensearchConfiguration
475
+ * domainEndpoint: "STRING_VALUE", // required
476
+ * indexName: "STRING_VALUE", // required
477
+ * exactResponse: true || false,
478
+ * exactResponseFields: { // ExactResponseFields
479
+ * questionField: "STRING_VALUE", // required
480
+ * answerField: "STRING_VALUE", // required
481
+ * },
482
+ * includeFields: [ // OSIncludeFields
483
+ * "STRING_VALUE",
484
+ * ],
485
+ * },
486
+ * kendraConfiguration: { // QnAKendraConfiguration
487
+ * kendraIndex: "STRING_VALUE", // required
488
+ * queryFilterStringEnabled: true || false,
489
+ * queryFilterString: "STRING_VALUE",
490
+ * exactResponse: true || false,
491
+ * },
492
+ * bedrockKnowledgeStoreConfiguration: { // BedrockKnowledgeStoreConfiguration
493
+ * bedrockKnowledgeBaseArn: "STRING_VALUE", // required
494
+ * },
495
+ * },
496
+ * bedrockModelConfiguration: { // BedrockModelSpecification
497
+ * modelArn: "STRING_VALUE", // required
498
+ * },
499
+ * },
472
500
  * };
473
501
  * const command = new UpdateIntentCommand(input);
474
502
  * const response = await client.send(command);
@@ -910,6 +938,34 @@ declare const UpdateIntentCommand_base: {
910
938
  * // },
911
939
  * // },
912
940
  * // },
941
+ * // qnAIntentConfiguration: { // QnAIntentConfiguration
942
+ * // dataSourceConfiguration: { // DataSourceConfiguration
943
+ * // opensearchConfiguration: { // OpensearchConfiguration
944
+ * // domainEndpoint: "STRING_VALUE", // required
945
+ * // indexName: "STRING_VALUE", // required
946
+ * // exactResponse: true || false,
947
+ * // exactResponseFields: { // ExactResponseFields
948
+ * // questionField: "STRING_VALUE", // required
949
+ * // answerField: "STRING_VALUE", // required
950
+ * // },
951
+ * // includeFields: [ // OSIncludeFields
952
+ * // "STRING_VALUE",
953
+ * // ],
954
+ * // },
955
+ * // kendraConfiguration: { // QnAKendraConfiguration
956
+ * // kendraIndex: "STRING_VALUE", // required
957
+ * // queryFilterStringEnabled: true || false,
958
+ * // queryFilterString: "STRING_VALUE",
959
+ * // exactResponse: true || false,
960
+ * // },
961
+ * // bedrockKnowledgeStoreConfiguration: { // BedrockKnowledgeStoreConfiguration
962
+ * // bedrockKnowledgeBaseArn: "STRING_VALUE", // required
963
+ * // },
964
+ * // },
965
+ * // bedrockModelConfiguration: { // BedrockModelSpecification
966
+ * // modelArn: "STRING_VALUE", // required
967
+ * // },
968
+ * // },
913
969
  * // };
914
970
  *
915
971
  * ```
@@ -2666,6 +2666,17 @@ export interface BatchUpdateCustomVocabularyItemResponse {
2666
2666
  */
2667
2667
  resources?: CustomVocabularyItem[];
2668
2668
  }
2669
+ /**
2670
+ * @public
2671
+ * <p>Contains details about the configuration of a Amazon Bedrock knowledge base.</p>
2672
+ */
2673
+ export interface BedrockKnowledgeStoreConfiguration {
2674
+ /**
2675
+ * @public
2676
+ * <p>The ARN of the knowledge base used.</p>
2677
+ */
2678
+ bedrockKnowledgeBaseArn: string | undefined;
2679
+ }
2669
2680
  /**
2670
2681
  * @public
2671
2682
  * <p>Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>
@@ -5497,6 +5508,116 @@ export interface OutputContext {
5497
5508
  */
5498
5509
  turnsToLive: number | undefined;
5499
5510
  }
5511
+ /**
5512
+ * @public
5513
+ * <p>Contains details about the configuration of the Amazon Kendra index used for the <code>AMAZON.QnAIntent</code>.</p>
5514
+ */
5515
+ export interface QnAKendraConfiguration {
5516
+ /**
5517
+ * @public
5518
+ * <p>The ARN of the Amazon Kendra index to use.</p>
5519
+ */
5520
+ kendraIndex: string | undefined;
5521
+ /**
5522
+ * @public
5523
+ * <p>Specifies whether to enable an Amazon Kendra filter string or not.</p>
5524
+ */
5525
+ queryFilterStringEnabled?: boolean;
5526
+ /**
5527
+ * @public
5528
+ * <p>Contains the Amazon Kendra filter string to use if enabled. For more information on the Amazon Kendra search filter JSON format, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering">Using document attributes to filter search results</a>.</p>
5529
+ */
5530
+ queryFilterString?: string;
5531
+ /**
5532
+ * @public
5533
+ * <p>Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results. To use this feature, you must first add FAQ questions to your index by following the steps at <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html">Adding frequently asked questions (FAQs) to an index</a>.</p>
5534
+ */
5535
+ exactResponse?: boolean;
5536
+ }
5537
+ /**
5538
+ * @public
5539
+ * <p>Contains the names of the fields used for an exact response to the user.</p>
5540
+ */
5541
+ export interface ExactResponseFields {
5542
+ /**
5543
+ * @public
5544
+ * <p>The name of the field that contains the query made to the OpenSearch Service database.</p>
5545
+ */
5546
+ questionField: string | undefined;
5547
+ /**
5548
+ * @public
5549
+ * <p>The name of the field that contains the answer to the query made to the OpenSearch Service database.</p>
5550
+ */
5551
+ answerField: string | undefined;
5552
+ }
5553
+ /**
5554
+ * @public
5555
+ * <p>Contains details about the configuration of the Amazon OpenSearch Service database used for the <code>AMAZON.QnAIntent</code>.</p>
5556
+ */
5557
+ export interface OpensearchConfiguration {
5558
+ /**
5559
+ * @public
5560
+ * <p>The endpoint of the Amazon OpenSearch Service domain.</p>
5561
+ */
5562
+ domainEndpoint: string | undefined;
5563
+ /**
5564
+ * @public
5565
+ * <p>The name of the Amazon OpenSearch Service index.</p>
5566
+ */
5567
+ indexName: string | undefined;
5568
+ /**
5569
+ * @public
5570
+ * <p>Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.</p>
5571
+ */
5572
+ exactResponse?: boolean;
5573
+ /**
5574
+ * @public
5575
+ * <p>Contains the names of the fields used for an exact response to the user.</p>
5576
+ */
5577
+ exactResponseFields?: ExactResponseFields;
5578
+ /**
5579
+ * @public
5580
+ * <p>Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.</p>
5581
+ */
5582
+ includeFields?: string[];
5583
+ }
5584
+ /**
5585
+ * @public
5586
+ * <p>Contains details about the configuration of the knowledge store used for the <code>AMAZON.QnAIntent</code>. You must have already created the knowledge store and indexed the documents within it.</p>
5587
+ */
5588
+ export interface DataSourceConfiguration {
5589
+ /**
5590
+ * @public
5591
+ * <p>Contains details about the configuration of the Amazon OpenSearch Service database used for the <code>AMAZON.QnAIntent</code>. To create a domain, follow the steps at <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html">Creating and managing Amazon OpenSearch Service domains</a>.</p>
5592
+ */
5593
+ opensearchConfiguration?: OpensearchConfiguration;
5594
+ /**
5595
+ * @public
5596
+ * <p>Contains details about the configuration of the Amazon Kendra index used for the <code>AMAZON.QnAIntent</code>. To create a Amazon Kendra index, follow the steps at <a href="https://docs.aws.amazon.com/kendra/latest/dg/create-index.html">Creating an index</a>.</p>
5597
+ */
5598
+ kendraConfiguration?: QnAKendraConfiguration;
5599
+ /**
5600
+ * @public
5601
+ * <p>Contains details about the configuration of the Amazon Bedrock knowledge base used for the <code>AMAZON.QnAIntent</code>. To set up a knowledge base, follow the steps at <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html">Building a knowledge base</a>.</p>
5602
+ */
5603
+ bedrockKnowledgeStoreConfiguration?: BedrockKnowledgeStoreConfiguration;
5604
+ }
5605
+ /**
5606
+ * @public
5607
+ * <p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
5608
+ */
5609
+ export interface QnAIntentConfiguration {
5610
+ /**
5611
+ * @public
5612
+ * <p>Contains details about the configuration of the data source used for the <code>AMAZON.QnAIntent</code>.</p>
5613
+ */
5614
+ dataSourceConfiguration?: DataSourceConfiguration;
5615
+ /**
5616
+ * @public
5617
+ * <p>Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>
5618
+ */
5619
+ bedrockModelConfiguration?: BedrockModelSpecification;
5620
+ }
5500
5621
  /**
5501
5622
  * @public
5502
5623
  * <p>A sample utterance that invokes an intent or respond to a slot
@@ -7290,116 +7411,6 @@ export interface EncryptionSetting {
7290
7411
  */
7291
7412
  associatedTranscriptsPassword?: string;
7292
7413
  }
7293
- /**
7294
- * @public
7295
- * <p>The object that contains a path format that will be applied when
7296
- * Amazon Lex reads the transcript file in the bucket you provide. Specify this
7297
- * object if you only want Lex to read a subset of files in your Amazon S3
7298
- * bucket.</p>
7299
- */
7300
- export interface PathFormat {
7301
- /**
7302
- * @public
7303
- * <p>A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3
7304
- * bucket. Specify this list if you only want Lex to read the files under
7305
- * this set of sub-folders.</p>
7306
- */
7307
- objectPrefixes?: string[];
7308
- }
7309
- /**
7310
- * @public
7311
- * <p>The object that contains transcript filter details that are
7312
- * associated with a bot recommendation.</p>
7313
- */
7314
- export interface LexTranscriptFilter {
7315
- /**
7316
- * @public
7317
- * <p>The object that contains a date range filter that will be applied to
7318
- * the transcript. Specify this object if you want Amazon Lex to only read the
7319
- * files that are within the date range.</p>
7320
- */
7321
- dateRangeFilter?: DateRangeFilter;
7322
- }
7323
- /**
7324
- * @public
7325
- * <p>The object representing the filter that Amazon Lex will use to select the
7326
- * appropriate transcript.</p>
7327
- */
7328
- export interface TranscriptFilter {
7329
- /**
7330
- * @public
7331
- * <p>The object representing the filter that Amazon Lex will use to select the
7332
- * appropriate transcript when the transcript format is the Amazon Lex
7333
- * format.</p>
7334
- */
7335
- lexTranscriptFilter?: LexTranscriptFilter;
7336
- }
7337
- /**
7338
- * @public
7339
- * @enum
7340
- */
7341
- export declare const TranscriptFormat: {
7342
- readonly Lex: "Lex";
7343
- };
7344
- /**
7345
- * @public
7346
- */
7347
- export type TranscriptFormat = (typeof TranscriptFormat)[keyof typeof TranscriptFormat];
7348
- /**
7349
- * @public
7350
- * <p>The object representing the Amazon S3 bucket containing the transcript,
7351
- * as well as the associated metadata.</p>
7352
- */
7353
- export interface S3BucketTranscriptSource {
7354
- /**
7355
- * @public
7356
- * <p>The name of the bucket containing the transcript and the associated
7357
- * metadata.</p>
7358
- */
7359
- s3BucketName: string | undefined;
7360
- /**
7361
- * @public
7362
- * <p>The object that contains a path format that will be applied when
7363
- * Amazon Lex reads the transcript file in the bucket you provide. Specify this
7364
- * object if you only want Lex to read a subset of files in your Amazon S3
7365
- * bucket.</p>
7366
- */
7367
- pathFormat?: PathFormat;
7368
- /**
7369
- * @public
7370
- * <p>The format of the transcript content. Currently, Genie only supports
7371
- * the Amazon Lex transcript format.</p>
7372
- */
7373
- transcriptFormat: TranscriptFormat | undefined;
7374
- /**
7375
- * @public
7376
- * <p>The object that contains the filter which will be applied when Amazon Lex
7377
- * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to
7378
- * read only a subset of the Amazon S3 bucket based on the filter you
7379
- * provide.</p>
7380
- */
7381
- transcriptFilter?: TranscriptFilter;
7382
- /**
7383
- * @public
7384
- * <p>The ARN of the KMS key that customer use to encrypt their Amazon S3
7385
- * bucket. Only use this field if your bucket is encrypted using a
7386
- * customer managed KMS key.</p>
7387
- */
7388
- kmsKeyArn?: string;
7389
- }
7390
- /**
7391
- * @public
7392
- * <p>Indicates the setting of the location where the transcript is
7393
- * stored.</p>
7394
- */
7395
- export interface TranscriptSourceSetting {
7396
- /**
7397
- * @public
7398
- * <p>Indicates the setting of the Amazon S3 bucket where the transcript is
7399
- * stored.</p>
7400
- */
7401
- s3BucketTranscriptSource?: S3BucketTranscriptSource;
7402
- }
7403
7414
  /**
7404
7415
  * @internal
7405
7416
  */