@aws-sdk/client-kendra 3.927.0 → 3.929.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/dist-cjs/index.js +3378 -2940
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/KendraClient.js +2 -0
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +3 -9
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +3 -9
- package/dist-es/commands/BatchDeleteDocumentCommand.js +3 -9
- package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +3 -9
- package/dist-es/commands/BatchGetDocumentStatusCommand.js +3 -9
- package/dist-es/commands/BatchPutDocumentCommand.js +3 -9
- package/dist-es/commands/ClearQuerySuggestionsCommand.js +3 -9
- package/dist-es/commands/CreateAccessControlConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateDataSourceCommand.js +3 -9
- package/dist-es/commands/CreateExperienceCommand.js +3 -9
- package/dist-es/commands/CreateFaqCommand.js +3 -9
- package/dist-es/commands/CreateFeaturedResultsSetCommand.js +3 -9
- package/dist-es/commands/CreateIndexCommand.js +3 -10
- package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +3 -9
- package/dist-es/commands/CreateThesaurusCommand.js +3 -9
- package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteExperienceCommand.js +3 -9
- package/dist-es/commands/DeleteFaqCommand.js +3 -9
- package/dist-es/commands/DeleteIndexCommand.js +3 -9
- package/dist-es/commands/DeletePrincipalMappingCommand.js +3 -9
- package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -9
- package/dist-es/commands/DeleteThesaurusCommand.js +3 -9
- package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeDataSourceCommand.js +3 -9
- package/dist-es/commands/DescribeExperienceCommand.js +3 -9
- package/dist-es/commands/DescribeFaqCommand.js +3 -9
- package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +3 -9
- package/dist-es/commands/DescribeIndexCommand.js +3 -10
- package/dist-es/commands/DescribePrincipalMappingCommand.js +3 -9
- package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -9
- package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +3 -9
- package/dist-es/commands/DescribeThesaurusCommand.js +3 -9
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +3 -9
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +3 -9
- package/dist-es/commands/GetQuerySuggestionsCommand.js +3 -9
- package/dist-es/commands/GetSnapshotsCommand.js +3 -9
- package/dist-es/commands/ListAccessControlConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListDataSourceSyncJobsCommand.js +3 -9
- package/dist-es/commands/ListDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListEntityPersonasCommand.js +3 -9
- package/dist-es/commands/ListExperienceEntitiesCommand.js +3 -10
- package/dist-es/commands/ListExperiencesCommand.js +3 -9
- package/dist-es/commands/ListFaqsCommand.js +3 -9
- package/dist-es/commands/ListFeaturedResultsSetsCommand.js +3 -9
- package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -9
- package/dist-es/commands/ListIndicesCommand.js +3 -9
- package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListThesauriCommand.js +3 -9
- package/dist-es/commands/PutPrincipalMappingCommand.js +3 -9
- package/dist-es/commands/QueryCommand.js +3 -9
- package/dist-es/commands/RetrieveCommand.js +3 -9
- package/dist-es/commands/StartDataSourceSyncJobCommand.js +3 -9
- package/dist-es/commands/StopDataSourceSyncJobCommand.js +3 -9
- package/dist-es/commands/SubmitFeedbackCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
- package/dist-es/commands/UpdateExperienceCommand.js +3 -9
- package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +3 -9
- package/dist-es/commands/UpdateIndexCommand.js +3 -9
- package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -9
- package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +3 -9
- package/dist-es/commands/UpdateThesaurusCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -35
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +3248 -0
- package/dist-types/KendraClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -24
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +463 -0
- package/dist-types/ts3.4/KendraClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -18
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +469 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -2407
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -596
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -797
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListGroupsOlderThanOrderingId } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListGroupsOlderThanOrderingIdCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "ListGroupsOlderThanOrderingId", {})
|
|
17
13
|
.n("KendraClient", "ListGroupsOlderThanOrderingIdCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListGroupsOlderThanOrderingIdCommand)
|
|
20
|
-
.de(de_ListGroupsOlderThanOrderingIdCommand)
|
|
14
|
+
.sc(ListGroupsOlderThanOrderingId)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListIndices } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListIndicesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "ListIndices", {})
|
|
17
13
|
.n("KendraClient", "ListIndicesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListIndicesCommand)
|
|
20
|
-
.de(de_ListIndicesCommand)
|
|
14
|
+
.sc(ListIndices)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListQuerySuggestionsBlockLists } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListQuerySuggestionsBlockListsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "ListQuerySuggestionsBlockLists", {})
|
|
17
13
|
.n("KendraClient", "ListQuerySuggestionsBlockListsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListQuerySuggestionsBlockListsCommand)
|
|
20
|
-
.de(de_ListQuerySuggestionsBlockListsCommand)
|
|
14
|
+
.sc(ListQuerySuggestionsBlockLists)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "ListTagsForResource", {})
|
|
17
13
|
.n("KendraClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListThesauri } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListThesauriCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "ListThesauri", {})
|
|
17
13
|
.n("KendraClient", "ListThesauriCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListThesauriCommand)
|
|
20
|
-
.de(de_ListThesauriCommand)
|
|
14
|
+
.sc(ListThesauri)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutPrincipalMapping } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutPrincipalMappingCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "PutPrincipalMapping", {})
|
|
17
13
|
.n("KendraClient", "PutPrincipalMappingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutPrincipalMappingCommand)
|
|
20
|
-
.de(de_PutPrincipalMappingCommand)
|
|
14
|
+
.sc(PutPrincipalMapping)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { Query } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class QueryCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "Query", {})
|
|
17
13
|
.n("KendraClient", "QueryCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_QueryCommand)
|
|
20
|
-
.de(de_QueryCommand)
|
|
14
|
+
.sc(Query)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { Retrieve } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RetrieveCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "Retrieve", {})
|
|
17
13
|
.n("KendraClient", "RetrieveCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RetrieveCommand)
|
|
20
|
-
.de(de_RetrieveCommand)
|
|
14
|
+
.sc(Retrieve)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartDataSourceSyncJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartDataSourceSyncJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "StartDataSourceSyncJob", {})
|
|
17
13
|
.n("KendraClient", "StartDataSourceSyncJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartDataSourceSyncJobCommand)
|
|
20
|
-
.de(de_StartDataSourceSyncJobCommand)
|
|
14
|
+
.sc(StartDataSourceSyncJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopDataSourceSyncJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopDataSourceSyncJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "StopDataSourceSyncJob", {})
|
|
17
13
|
.n("KendraClient", "StopDataSourceSyncJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopDataSourceSyncJobCommand)
|
|
20
|
-
.de(de_StopDataSourceSyncJobCommand)
|
|
14
|
+
.sc(StopDataSourceSyncJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SubmitFeedback } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SubmitFeedbackCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "SubmitFeedback", {})
|
|
17
13
|
.n("KendraClient", "SubmitFeedbackCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SubmitFeedbackCommand)
|
|
20
|
-
.de(de_SubmitFeedbackCommand)
|
|
14
|
+
.sc(SubmitFeedback)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "TagResource", {})
|
|
17
13
|
.n("KendraClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UntagResource", {})
|
|
17
13
|
.n("KendraClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAccessControlConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAccessControlConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateAccessControlConfiguration", {})
|
|
17
13
|
.n("KendraClient", "UpdateAccessControlConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAccessControlConfigurationCommand)
|
|
20
|
-
.de(de_UpdateAccessControlConfigurationCommand)
|
|
14
|
+
.sc(UpdateAccessControlConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDataSourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateDataSource", {})
|
|
17
13
|
.n("KendraClient", "UpdateDataSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDataSourceCommand)
|
|
20
|
-
.de(de_UpdateDataSourceCommand)
|
|
14
|
+
.sc(UpdateDataSource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateExperience } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateExperienceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateExperience", {})
|
|
17
13
|
.n("KendraClient", "UpdateExperienceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateExperienceCommand)
|
|
20
|
-
.de(de_UpdateExperienceCommand)
|
|
14
|
+
.sc(UpdateExperience)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFeaturedResultsSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFeaturedResultsSetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateFeaturedResultsSet", {})
|
|
17
13
|
.n("KendraClient", "UpdateFeaturedResultsSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFeaturedResultsSetCommand)
|
|
20
|
-
.de(de_UpdateFeaturedResultsSetCommand)
|
|
14
|
+
.sc(UpdateFeaturedResultsSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateIndex } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIndexCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateIndex", {})
|
|
17
13
|
.n("KendraClient", "UpdateIndexCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIndexCommand)
|
|
20
|
-
.de(de_UpdateIndexCommand)
|
|
14
|
+
.sc(UpdateIndex)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateQuerySuggestionsBlockList } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateQuerySuggestionsBlockListCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateQuerySuggestionsBlockList", {})
|
|
17
13
|
.n("KendraClient", "UpdateQuerySuggestionsBlockListCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateQuerySuggestionsBlockListCommand)
|
|
20
|
-
.de(de_UpdateQuerySuggestionsBlockListCommand)
|
|
14
|
+
.sc(UpdateQuerySuggestionsBlockList)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateQuerySuggestionsConfig } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateQuerySuggestionsConfigCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateQuerySuggestionsConfig", {})
|
|
17
13
|
.n("KendraClient", "UpdateQuerySuggestionsConfigCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateQuerySuggestionsConfigCommand)
|
|
20
|
-
.de(de_UpdateQuerySuggestionsConfigCommand)
|
|
14
|
+
.sc(UpdateQuerySuggestionsConfig)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateThesaurus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateThesaurusCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSKendraFrontendService", "UpdateThesaurus", {})
|
|
17
13
|
.n("KendraClient", "UpdateThesaurusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateThesaurusCommand)
|
|
20
|
-
.de(de_UpdateThesaurusCommand)
|
|
14
|
+
.sc(UpdateThesaurus)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { KendraServiceException as __BaseException } from "./KendraServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -524,37 +523,3 @@ export const QueryResultFormat = {
|
|
|
524
523
|
TABLE: "TABLE",
|
|
525
524
|
TEXT: "TEXT",
|
|
526
525
|
};
|
|
527
|
-
export const ServerSideEncryptionConfigurationFilterSensitiveLog = (obj) => ({
|
|
528
|
-
...obj,
|
|
529
|
-
...(obj.KmsKeyId && { KmsKeyId: SENSITIVE_STRING }),
|
|
530
|
-
});
|
|
531
|
-
export const CreateIndexRequestFilterSensitiveLog = (obj) => ({
|
|
532
|
-
...obj,
|
|
533
|
-
...(obj.ServerSideEncryptionConfiguration && {
|
|
534
|
-
ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),
|
|
535
|
-
}),
|
|
536
|
-
});
|
|
537
|
-
export const DescribeIndexResponseFilterSensitiveLog = (obj) => ({
|
|
538
|
-
...obj,
|
|
539
|
-
...(obj.ServerSideEncryptionConfiguration && {
|
|
540
|
-
ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationFilterSensitiveLog(obj.ServerSideEncryptionConfiguration),
|
|
541
|
-
}),
|
|
542
|
-
});
|
|
543
|
-
export const EntityDisplayDataFilterSensitiveLog = (obj) => ({
|
|
544
|
-
...obj,
|
|
545
|
-
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
546
|
-
...(obj.GroupName && { GroupName: SENSITIVE_STRING }),
|
|
547
|
-
...(obj.IdentifiedUserName && { IdentifiedUserName: SENSITIVE_STRING }),
|
|
548
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
549
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
550
|
-
});
|
|
551
|
-
export const ExperienceEntitiesSummaryFilterSensitiveLog = (obj) => ({
|
|
552
|
-
...obj,
|
|
553
|
-
...(obj.DisplayData && { DisplayData: EntityDisplayDataFilterSensitiveLog(obj.DisplayData) }),
|
|
554
|
-
});
|
|
555
|
-
export const ListExperienceEntitiesResponseFilterSensitiveLog = (obj) => ({
|
|
556
|
-
...obj,
|
|
557
|
-
...(obj.SummaryItems && {
|
|
558
|
-
SummaryItems: obj.SummaryItems.map((item) => ExperienceEntitiesSummaryFilterSensitiveLog(item)),
|
|
559
|
-
}),
|
|
560
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.kendra",
|
|
29
|
+
serviceTarget: "AWSKendraFrontendService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "kendra",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|