@aws-sdk/client-kendra 3.131.0 → 3.141.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 (138) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +2 -2
  4. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +2 -2
  5. package/dist-cjs/commands/BatchDeleteDocumentCommand.js +2 -2
  6. package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +2 -2
  7. package/dist-cjs/commands/BatchPutDocumentCommand.js +2 -2
  8. package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +1 -1
  9. package/dist-cjs/commands/CreateAccessControlConfigurationCommand.js +2 -2
  10. package/dist-cjs/commands/CreateDataSourceCommand.js +2 -2
  11. package/dist-cjs/commands/CreateExperienceCommand.js +2 -2
  12. package/dist-cjs/commands/CreateFaqCommand.js +2 -2
  13. package/dist-cjs/commands/CreateIndexCommand.js +2 -2
  14. package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +2 -2
  15. package/dist-cjs/commands/CreateThesaurusCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteAccessControlConfigurationCommand.js +2 -2
  17. package/dist-cjs/commands/DeleteDataSourceCommand.js +1 -1
  18. package/dist-cjs/commands/DeleteExperienceCommand.js +2 -2
  19. package/dist-cjs/commands/DeleteFaqCommand.js +1 -1
  20. package/dist-cjs/commands/DeleteIndexCommand.js +1 -1
  21. package/dist-cjs/commands/DeletePrincipalMappingCommand.js +1 -1
  22. package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +1 -1
  23. package/dist-cjs/commands/DeleteThesaurusCommand.js +1 -1
  24. package/dist-cjs/commands/DescribeAccessControlConfigurationCommand.js +2 -2
  25. package/dist-cjs/commands/DescribeDataSourceCommand.js +2 -2
  26. package/dist-cjs/commands/DescribeExperienceCommand.js +2 -2
  27. package/dist-cjs/commands/DescribeFaqCommand.js +2 -2
  28. package/dist-cjs/commands/DescribeIndexCommand.js +2 -2
  29. package/dist-cjs/commands/DescribePrincipalMappingCommand.js +2 -2
  30. package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +2 -2
  31. package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +2 -2
  32. package/dist-cjs/commands/DescribeThesaurusCommand.js +2 -2
  33. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +2 -2
  34. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +2 -2
  35. package/dist-cjs/commands/GetQuerySuggestionsCommand.js +2 -2
  36. package/dist-cjs/commands/GetSnapshotsCommand.js +2 -2
  37. package/dist-cjs/commands/ListAccessControlConfigurationsCommand.js +2 -2
  38. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +2 -2
  39. package/dist-cjs/commands/ListDataSourcesCommand.js +2 -2
  40. package/dist-cjs/commands/ListEntityPersonasCommand.js +2 -2
  41. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +2 -2
  42. package/dist-cjs/commands/ListExperiencesCommand.js +2 -2
  43. package/dist-cjs/commands/ListFaqsCommand.js +2 -2
  44. package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +2 -2
  45. package/dist-cjs/commands/ListIndicesCommand.js +2 -2
  46. package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +2 -2
  47. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  48. package/dist-cjs/commands/ListThesauriCommand.js +2 -2
  49. package/dist-cjs/commands/PutPrincipalMappingCommand.js +1 -1
  50. package/dist-cjs/commands/QueryCommand.js +2 -3
  51. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +2 -2
  52. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +1 -1
  53. package/dist-cjs/commands/SubmitFeedbackCommand.js +1 -1
  54. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  55. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  56. package/dist-cjs/commands/UpdateAccessControlConfigurationCommand.js +2 -2
  57. package/dist-cjs/commands/UpdateDataSourceCommand.js +1 -1
  58. package/dist-cjs/commands/UpdateExperienceCommand.js +1 -1
  59. package/dist-cjs/commands/UpdateIndexCommand.js +1 -1
  60. package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +1 -1
  61. package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +1 -1
  62. package/dist-cjs/commands/UpdateThesaurusCommand.js +1 -1
  63. package/dist-cjs/models/models_0.js +959 -1426
  64. package/dist-cjs/models/models_1.js +9 -7
  65. package/dist-cjs/protocols/Aws_json1_1.js +2 -0
  66. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +3 -3
  67. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +3 -3
  68. package/dist-es/commands/BatchDeleteDocumentCommand.js +3 -3
  69. package/dist-es/commands/BatchGetDocumentStatusCommand.js +3 -3
  70. package/dist-es/commands/BatchPutDocumentCommand.js +3 -3
  71. package/dist-es/commands/ClearQuerySuggestionsCommand.js +2 -2
  72. package/dist-es/commands/CreateAccessControlConfigurationCommand.js +3 -3
  73. package/dist-es/commands/CreateDataSourceCommand.js +3 -3
  74. package/dist-es/commands/CreateExperienceCommand.js +3 -3
  75. package/dist-es/commands/CreateFaqCommand.js +3 -3
  76. package/dist-es/commands/CreateIndexCommand.js +3 -3
  77. package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
  78. package/dist-es/commands/CreateThesaurusCommand.js +3 -3
  79. package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +3 -3
  80. package/dist-es/commands/DeleteDataSourceCommand.js +2 -2
  81. package/dist-es/commands/DeleteExperienceCommand.js +3 -3
  82. package/dist-es/commands/DeleteFaqCommand.js +2 -2
  83. package/dist-es/commands/DeleteIndexCommand.js +2 -2
  84. package/dist-es/commands/DeletePrincipalMappingCommand.js +2 -2
  85. package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +2 -2
  86. package/dist-es/commands/DeleteThesaurusCommand.js +2 -2
  87. package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +3 -3
  88. package/dist-es/commands/DescribeDataSourceCommand.js +3 -3
  89. package/dist-es/commands/DescribeExperienceCommand.js +3 -3
  90. package/dist-es/commands/DescribeFaqCommand.js +3 -3
  91. package/dist-es/commands/DescribeIndexCommand.js +3 -3
  92. package/dist-es/commands/DescribePrincipalMappingCommand.js +3 -3
  93. package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
  94. package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
  95. package/dist-es/commands/DescribeThesaurusCommand.js +3 -3
  96. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
  97. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
  98. package/dist-es/commands/GetQuerySuggestionsCommand.js +3 -3
  99. package/dist-es/commands/GetSnapshotsCommand.js +3 -3
  100. package/dist-es/commands/ListAccessControlConfigurationsCommand.js +3 -3
  101. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +3 -3
  102. package/dist-es/commands/ListDataSourcesCommand.js +3 -3
  103. package/dist-es/commands/ListEntityPersonasCommand.js +3 -3
  104. package/dist-es/commands/ListExperienceEntitiesCommand.js +3 -3
  105. package/dist-es/commands/ListExperiencesCommand.js +3 -3
  106. package/dist-es/commands/ListFaqsCommand.js +3 -3
  107. package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
  108. package/dist-es/commands/ListIndicesCommand.js +3 -3
  109. package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
  110. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  111. package/dist-es/commands/ListThesauriCommand.js +3 -3
  112. package/dist-es/commands/PutPrincipalMappingCommand.js +2 -2
  113. package/dist-es/commands/QueryCommand.js +3 -4
  114. package/dist-es/commands/StartDataSourceSyncJobCommand.js +3 -3
  115. package/dist-es/commands/StopDataSourceSyncJobCommand.js +2 -2
  116. package/dist-es/commands/SubmitFeedbackCommand.js +2 -2
  117. package/dist-es/commands/TagResourceCommand.js +3 -3
  118. package/dist-es/commands/UntagResourceCommand.js +3 -3
  119. package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +3 -3
  120. package/dist-es/commands/UpdateDataSourceCommand.js +2 -2
  121. package/dist-es/commands/UpdateExperienceCommand.js +2 -2
  122. package/dist-es/commands/UpdateIndexCommand.js +2 -2
  123. package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +2 -2
  124. package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +2 -2
  125. package/dist-es/commands/UpdateThesaurusCommand.js +2 -2
  126. package/dist-es/models/models_0.js +244 -942
  127. package/dist-es/models/models_1.js +2 -4
  128. package/dist-es/protocols/Aws_json1_1.js +2 -1
  129. package/dist-types/Kendra.d.ts +14 -16
  130. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +10 -12
  131. package/dist-types/commands/QueryCommand.d.ts +1 -2
  132. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +4 -4
  133. package/dist-types/models/models_0.d.ts +958 -1449
  134. package/dist-types/models/models_1.d.ts +44 -7
  135. package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -2
  136. package/dist-types/ts3.4/models/models_0.d.ts +470 -948
  137. package/dist-types/ts3.4/models/models_1.d.ts +19 -5
  138. package/package.json +6 -6
@@ -1,5 +1,3 @@
1
1
  import { __assign } from "tslib";
2
- export var QueryRequest;
3
- (function (QueryRequest) {
4
- QueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(QueryRequest || (QueryRequest = {}));
2
+ export var QueryResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
3
+ export var QueryRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -6255,7 +6255,7 @@ var serializeAws_json1_1ServiceNowServiceCatalogConfiguration = function (input,
6255
6255
  }));
6256
6256
  };
6257
6257
  var serializeAws_json1_1SharePointConfiguration = function (input, context) {
6258
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
6258
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.CrawlAttachments != null && { CrawlAttachments: input.CrawlAttachments })), (input.DisableLocalGroups != null && { DisableLocalGroups: input.DisableLocalGroups })), (input.DocumentTitleFieldName != null && { DocumentTitleFieldName: input.DocumentTitleFieldName })), (input.ExclusionPatterns != null && {
6259
6259
  ExclusionPatterns: serializeAws_json1_1DataSourceInclusionsExclusionsStrings(input.ExclusionPatterns, context),
6260
6260
  })), (input.FieldMappings != null && {
6261
6261
  FieldMappings: serializeAws_json1_1DataSourceToIndexFieldMappingList(input.FieldMappings, context),
@@ -8671,6 +8671,7 @@ var deserializeAws_json1_1ServiceQuotaExceededException = function (output, cont
8671
8671
  };
8672
8672
  var deserializeAws_json1_1SharePointConfiguration = function (output, context) {
8673
8673
  return {
8674
+ AuthenticationType: __expectString(output.AuthenticationType),
8674
8675
  CrawlAttachments: __expectBoolean(output.CrawlAttachments),
8675
8676
  DisableLocalGroups: __expectBoolean(output.DisableLocalGroups),
8676
8677
  DocumentTitleFieldName: __expectString(output.DocumentTitleFieldName),
@@ -149,18 +149,16 @@ export declare class Kendra extends KendraClient {
149
149
  * user and group access information for your documents. This is useful
150
150
  * for user context filtering, where search results are filtered based
151
151
  * on the user or their group access to documents.</p>
152
- * <p>You can use this to re-configure your existing document level access
153
- * control without indexing all of your documents again. For example, your
154
- * index contains top-secret company documents that only certain employees
155
- * or users should access. One of these users leaves the company or switches
156
- * to a team that should be blocked from access to top-secret documents.
157
- * Your documents in your index still give this user access to top-secret
158
- * documents due to the user having access at the time your documents were
159
- * indexed. You can create a specific access control configuration for this
160
- * user with deny access. You can later update the access control
161
- * configuration to allow access in the case the user returns to the company
162
- * and re-joins the 'top-secret' team. You can re-configure access control
163
- * for your documents circumstances change.</p>
152
+ * <p>You can use this to re-configure your existing document level access control without
153
+ * indexing all of your documents again. For example, your index contains top-secret
154
+ * company documents that only certain employees or users should access. One of these users
155
+ * leaves the company or switches to a team that should be blocked from accessing
156
+ * top-secret documents. The user still has access to top-secret documents because the user
157
+ * had access when your documents were previously indexed. You
158
+ * can create a specific access control configuration for the user with deny
159
+ * access. You can later update the access control configuration to allow access if the
160
+ * user returns to the company and re-joins the 'top-secret' team. You can re-configure
161
+ * access control for your documents as circumstances change.</p>
164
162
  * <p>To apply your access control configuration to certain documents, you call
165
163
  * the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
166
164
  * API with the <code>AccessControlConfigurationId</code> included in the
@@ -655,12 +653,12 @@ export declare class Kendra extends KendraClient {
655
653
  * suddenly returns to their previous team and should no longer have access to top secret
656
654
  * documents. You can update the access control configuration to re-configure access
657
655
  * control for your documents as circumstances change.</p>
658
- * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
659
- * API to apply the updated access control configuration, with the
660
- * <code>AccessControlConfigurationId</code> included in the
656
+ * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a> API to
657
+ * apply the updated access control configuration, with the
658
+ * <code>AccessControlConfigurationId</code> included in the
661
659
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_Document.html">Document</a>
662
660
  * object. If you use an S3 bucket as a data source, you synchronize your data source to
663
- * apply the the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
661
+ * apply the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
664
662
  * Amazon Kendra currently only supports access control configuration for S3 data
665
663
  * sources and documents indexed using the <code>BatchPutDocument</code> API.</p>
666
664
  */
@@ -11,18 +11,16 @@ export interface CreateAccessControlConfigurationCommandOutput extends CreateAcc
11
11
  * user and group access information for your documents. This is useful
12
12
  * for user context filtering, where search results are filtered based
13
13
  * on the user or their group access to documents.</p>
14
- * <p>You can use this to re-configure your existing document level access
15
- * control without indexing all of your documents again. For example, your
16
- * index contains top-secret company documents that only certain employees
17
- * or users should access. One of these users leaves the company or switches
18
- * to a team that should be blocked from access to top-secret documents.
19
- * Your documents in your index still give this user access to top-secret
20
- * documents due to the user having access at the time your documents were
21
- * indexed. You can create a specific access control configuration for this
22
- * user with deny access. You can later update the access control
23
- * configuration to allow access in the case the user returns to the company
24
- * and re-joins the 'top-secret' team. You can re-configure access control
25
- * for your documents circumstances change.</p>
14
+ * <p>You can use this to re-configure your existing document level access control without
15
+ * indexing all of your documents again. For example, your index contains top-secret
16
+ * company documents that only certain employees or users should access. One of these users
17
+ * leaves the company or switches to a team that should be blocked from accessing
18
+ * top-secret documents. The user still has access to top-secret documents because the user
19
+ * had access when your documents were previously indexed. You
20
+ * can create a specific access control configuration for the user with deny
21
+ * access. You can later update the access control configuration to allow access if the
22
+ * user returns to the company and re-joins the 'top-secret' team. You can re-configure
23
+ * access control for your documents as circumstances change.</p>
26
24
  * <p>To apply your access control configuration to certain documents, you call
27
25
  * the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
28
26
  * API with the <code>AccessControlConfigurationId</code> included in the
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
4
- import { QueryResult } from "../models/models_0";
5
- import { QueryRequest } from "../models/models_1";
4
+ import { QueryRequest, QueryResult } from "../models/models_1";
6
5
  export interface QueryCommandInput extends QueryRequest {
7
6
  }
8
7
  export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
@@ -19,12 +19,12 @@ export interface UpdateAccessControlConfigurationCommandOutput extends UpdateAcc
19
19
  * suddenly returns to their previous team and should no longer have access to top secret
20
20
  * documents. You can update the access control configuration to re-configure access
21
21
  * control for your documents as circumstances change.</p>
22
- * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a>
23
- * API to apply the updated access control configuration, with the
24
- * <code>AccessControlConfigurationId</code> included in the
22
+ * <p>You call the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">BatchPutDocument</a> API to
23
+ * apply the updated access control configuration, with the
24
+ * <code>AccessControlConfigurationId</code> included in the
25
25
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_Document.html">Document</a>
26
26
  * object. If you use an S3 bucket as a data source, you synchronize your data source to
27
- * apply the the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
27
+ * apply the <code>AccessControlConfigurationId</code> in the <code>.metadata.json</code> file.
28
28
  * Amazon Kendra currently only supports access control configuration for S3 data
29
29
  * sources and documents indexed using the <code>BatchPutDocument</code> API.</p>
30
30
  * @example