@aws-sdk/client-kendra 3.301.0 → 3.303.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 (118) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Kendra.js +75 -0
  3. package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +45 -0
  4. package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +45 -0
  6. package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +45 -0
  7. package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +381 -438
  11. package/dist-cjs/models/models_1.js +20 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +597 -4
  13. package/dist-es/Kendra.js +75 -0
  14. package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +41 -0
  15. package/dist-es/commands/CreateFeaturedResultsSetCommand.js +41 -0
  16. package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +41 -0
  17. package/dist-es/commands/ListFeaturedResultsSetsCommand.js +41 -0
  18. package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +41 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +377 -434
  22. package/dist-es/models/models_1.js +18 -1
  23. package/dist-es/protocols/Aws_json1_1.js +584 -1
  24. package/dist-types/Kendra.d.ts +163 -132
  25. package/dist-types/KendraClient.d.ts +7 -2
  26. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +1 -1
  27. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +1 -1
  28. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +6 -6
  29. package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +88 -0
  30. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +9 -13
  31. package/dist-types/commands/BatchPutDocumentCommand.d.ts +14 -13
  32. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +17 -20
  34. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -4
  35. package/dist-types/commands/CreateExperienceCommand.d.ts +3 -2
  36. package/dist-types/commands/CreateFaqCommand.d.ts +6 -6
  37. package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +117 -0
  38. package/dist-types/commands/CreateIndexCommand.d.ts +3 -2
  39. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -2
  40. package/dist-types/commands/CreateThesaurusCommand.d.ts +3 -2
  41. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +5 -5
  42. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteExperienceCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteFaqCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
  46. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +13 -15
  47. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteThesaurusCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +3 -3
  50. package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeExperienceCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeFaqCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +86 -0
  54. package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +8 -9
  56. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
  59. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +1 -1
  60. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +1 -1
  61. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -2
  62. package/dist-types/commands/GetSnapshotsCommand.d.ts +3 -4
  63. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -5
  64. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  66. package/dist-types/commands/ListEntityPersonasCommand.d.ts +1 -1
  67. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +1 -1
  68. package/dist-types/commands/ListExperiencesCommand.d.ts +1 -1
  69. package/dist-types/commands/ListFaqsCommand.d.ts +1 -1
  70. package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +87 -0
  71. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +4 -5
  72. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  73. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  75. package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
  76. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +15 -21
  77. package/dist-types/commands/QueryCommand.d.ts +3 -2
  78. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +2 -2
  79. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
  80. package/dist-types/commands/SubmitFeedbackCommand.d.ts +2 -2
  81. package/dist-types/commands/TagResourceCommand.d.ts +4 -5
  82. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  83. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +20 -20
  84. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  85. package/dist-types/commands/UpdateExperienceCommand.d.ts +2 -2
  86. package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +105 -0
  87. package/dist-types/commands/UpdateIndexCommand.d.ts +4 -3
  88. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -2
  89. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
  91. package/dist-types/commands/index.d.ts +5 -0
  92. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  93. package/dist-types/models/models_0.d.ts +1943 -1687
  94. package/dist-types/models/models_1.d.ts +491 -72
  95. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  96. package/dist-types/ts3.4/Kendra.d.ts +85 -0
  97. package/dist-types/ts3.4/KendraClient.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +41 -0
  101. package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +41 -0
  111. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  114. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  115. package/dist-types/ts3.4/models/models_0.d.ts +563 -453
  116. package/dist-types/ts3.4/models/models_1.d.ts +127 -0
  117. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  118. package/package.json +34 -34
@@ -1,2 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RelevanceType = exports.ResourceInUseException = void 0;
4
+ const KendraServiceException_1 = require("./KendraServiceException");
5
+ class ResourceInUseException extends KendraServiceException_1.KendraServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "ResourceInUseException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ this.name = "ResourceInUseException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
15
+ this.Message = opts.Message;
16
+ }
17
+ }
18
+ exports.ResourceInUseException = ResourceInUseException;
19
+ exports.RelevanceType = {
20
+ NOT_RELEVANT: "NOT_RELEVANT",
21
+ RELEVANT: "RELEVANT",
22
+ };