@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.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +2 -2
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +2 -2
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +2 -2
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +2 -2
- package/dist-cjs/commands/BatchPutDocumentCommand.js +2 -2
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +1 -1
- package/dist-cjs/commands/CreateAccessControlConfigurationCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSourceCommand.js +2 -2
- package/dist-cjs/commands/CreateExperienceCommand.js +2 -2
- package/dist-cjs/commands/CreateFaqCommand.js +2 -2
- package/dist-cjs/commands/CreateIndexCommand.js +2 -2
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +2 -2
- package/dist-cjs/commands/CreateThesaurusCommand.js +2 -2
- package/dist-cjs/commands/DeleteAccessControlConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataSourceCommand.js +1 -1
- package/dist-cjs/commands/DeleteExperienceCommand.js +2 -2
- package/dist-cjs/commands/DeleteFaqCommand.js +1 -1
- package/dist-cjs/commands/DeleteIndexCommand.js +1 -1
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +1 -1
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +1 -1
- package/dist-cjs/commands/DeleteThesaurusCommand.js +1 -1
- package/dist-cjs/commands/DescribeAccessControlConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeDataSourceCommand.js +2 -2
- package/dist-cjs/commands/DescribeExperienceCommand.js +2 -2
- package/dist-cjs/commands/DescribeFaqCommand.js +2 -2
- package/dist-cjs/commands/DescribeIndexCommand.js +2 -2
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +2 -2
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +2 -2
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +2 -2
- package/dist-cjs/commands/DescribeThesaurusCommand.js +2 -2
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +2 -2
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +2 -2
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +2 -2
- package/dist-cjs/commands/GetSnapshotsCommand.js +2 -2
- package/dist-cjs/commands/ListAccessControlConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +2 -2
- package/dist-cjs/commands/ListDataSourcesCommand.js +2 -2
- package/dist-cjs/commands/ListEntityPersonasCommand.js +2 -2
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +2 -2
- package/dist-cjs/commands/ListExperiencesCommand.js +2 -2
- package/dist-cjs/commands/ListFaqsCommand.js +2 -2
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +2 -2
- package/dist-cjs/commands/ListIndicesCommand.js +2 -2
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListThesauriCommand.js +2 -2
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +1 -1
- package/dist-cjs/commands/QueryCommand.js +2 -3
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +2 -2
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +1 -1
- package/dist-cjs/commands/SubmitFeedbackCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAccessControlConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataSourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateExperienceCommand.js +1 -1
- package/dist-cjs/commands/UpdateIndexCommand.js +1 -1
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +1 -1
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +1 -1
- package/dist-cjs/commands/UpdateThesaurusCommand.js +1 -1
- package/dist-cjs/models/models_0.js +959 -1426
- package/dist-cjs/models/models_1.js +9 -7
- package/dist-cjs/protocols/Aws_json1_1.js +2 -0
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +3 -3
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +3 -3
- package/dist-es/commands/BatchDeleteDocumentCommand.js +3 -3
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +3 -3
- package/dist-es/commands/BatchPutDocumentCommand.js +3 -3
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +2 -2
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +3 -3
- package/dist-es/commands/CreateDataSourceCommand.js +3 -3
- package/dist-es/commands/CreateExperienceCommand.js +3 -3
- package/dist-es/commands/CreateFaqCommand.js +3 -3
- package/dist-es/commands/CreateIndexCommand.js +3 -3
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-es/commands/CreateThesaurusCommand.js +3 -3
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +3 -3
- package/dist-es/commands/DeleteDataSourceCommand.js +2 -2
- package/dist-es/commands/DeleteExperienceCommand.js +3 -3
- package/dist-es/commands/DeleteFaqCommand.js +2 -2
- package/dist-es/commands/DeleteIndexCommand.js +2 -2
- package/dist-es/commands/DeletePrincipalMappingCommand.js +2 -2
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +2 -2
- package/dist-es/commands/DeleteThesaurusCommand.js +2 -2
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeDataSourceCommand.js +3 -3
- package/dist-es/commands/DescribeExperienceCommand.js +3 -3
- package/dist-es/commands/DescribeFaqCommand.js +3 -3
- package/dist-es/commands/DescribeIndexCommand.js +3 -3
- package/dist-es/commands/DescribePrincipalMappingCommand.js +3 -3
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
- package/dist-es/commands/DescribeThesaurusCommand.js +3 -3
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
- package/dist-es/commands/GetQuerySuggestionsCommand.js +3 -3
- package/dist-es/commands/GetSnapshotsCommand.js +3 -3
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +3 -3
- package/dist-es/commands/ListDataSourcesCommand.js +3 -3
- package/dist-es/commands/ListEntityPersonasCommand.js +3 -3
- package/dist-es/commands/ListExperienceEntitiesCommand.js +3 -3
- package/dist-es/commands/ListExperiencesCommand.js +3 -3
- package/dist-es/commands/ListFaqsCommand.js +3 -3
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
- package/dist-es/commands/ListIndicesCommand.js +3 -3
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListThesauriCommand.js +3 -3
- package/dist-es/commands/PutPrincipalMappingCommand.js +2 -2
- package/dist-es/commands/QueryCommand.js +3 -4
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +3 -3
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +2 -2
- package/dist-es/commands/SubmitFeedbackCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateDataSourceCommand.js +2 -2
- package/dist-es/commands/UpdateExperienceCommand.js +2 -2
- package/dist-es/commands/UpdateIndexCommand.js +2 -2
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +2 -2
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +2 -2
- package/dist-es/commands/UpdateThesaurusCommand.js +2 -2
- package/dist-es/models/models_0.js +244 -942
- package/dist-es/models/models_1.js +2 -4
- package/dist-es/protocols/Aws_json1_1.js +2 -1
- package/dist-types/Kendra.d.ts +14 -16
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +10 -12
- package/dist-types/commands/QueryCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +958 -1449
- package/dist-types/models/models_1.d.ts +44 -7
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +470 -948
- package/dist-types/ts3.4/models/models_1.d.ts +19 -5
- package/package.json +6 -6
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var
|
|
3
|
-
|
|
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),
|
package/dist-types/Kendra.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* user
|
|
161
|
-
*
|
|
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
|
-
*
|
|
660
|
-
*
|
|
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
|
|
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
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* user
|
|
23
|
-
*
|
|
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/
|
|
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
|
-
*
|
|
24
|
-
*
|
|
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
|
|
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
|