@aws-sdk/client-kendra 3.927.0 → 3.928.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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.kendra",
|
|
32
|
+
serviceTarget: "AWSKendraFrontendService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "kendra",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/KendraClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class KendraClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -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 { AssociateEntitiesToExperience } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociateEntitiesToExperienceCommand 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", "AssociateEntitiesToExperience", {})
|
|
17
13
|
.n("KendraClient", "AssociateEntitiesToExperienceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociateEntitiesToExperienceCommand)
|
|
20
|
-
.de(de_AssociateEntitiesToExperienceCommand)
|
|
14
|
+
.sc(AssociateEntitiesToExperience)
|
|
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 { AssociatePersonasToEntities } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class AssociatePersonasToEntitiesCommand 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", "AssociatePersonasToEntities", {})
|
|
17
13
|
.n("KendraClient", "AssociatePersonasToEntitiesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_AssociatePersonasToEntitiesCommand)
|
|
20
|
-
.de(de_AssociatePersonasToEntitiesCommand)
|
|
14
|
+
.sc(AssociatePersonasToEntities)
|
|
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 { BatchDeleteDocument } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchDeleteDocumentCommand 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", "BatchDeleteDocument", {})
|
|
17
13
|
.n("KendraClient", "BatchDeleteDocumentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchDeleteDocumentCommand)
|
|
20
|
-
.de(de_BatchDeleteDocumentCommand)
|
|
14
|
+
.sc(BatchDeleteDocument)
|
|
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 { BatchDeleteFeaturedResultsSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchDeleteFeaturedResultsSetCommand 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", "BatchDeleteFeaturedResultsSet", {})
|
|
17
13
|
.n("KendraClient", "BatchDeleteFeaturedResultsSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchDeleteFeaturedResultsSetCommand)
|
|
20
|
-
.de(de_BatchDeleteFeaturedResultsSetCommand)
|
|
14
|
+
.sc(BatchDeleteFeaturedResultsSet)
|
|
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 { BatchGetDocumentStatus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchGetDocumentStatusCommand 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", "BatchGetDocumentStatus", {})
|
|
17
13
|
.n("KendraClient", "BatchGetDocumentStatusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchGetDocumentStatusCommand)
|
|
20
|
-
.de(de_BatchGetDocumentStatusCommand)
|
|
14
|
+
.sc(BatchGetDocumentStatus)
|
|
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 { BatchPutDocument } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class BatchPutDocumentCommand 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", "BatchPutDocument", {})
|
|
17
13
|
.n("KendraClient", "BatchPutDocumentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_BatchPutDocumentCommand)
|
|
20
|
-
.de(de_BatchPutDocumentCommand)
|
|
14
|
+
.sc(BatchPutDocument)
|
|
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 { ClearQuerySuggestions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ClearQuerySuggestionsCommand 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", "ClearQuerySuggestions", {})
|
|
17
13
|
.n("KendraClient", "ClearQuerySuggestionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ClearQuerySuggestionsCommand)
|
|
20
|
-
.de(de_ClearQuerySuggestionsCommand)
|
|
14
|
+
.sc(ClearQuerySuggestions)
|
|
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 { CreateAccessControlConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateAccessControlConfigurationCommand 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", "CreateAccessControlConfiguration", {})
|
|
17
13
|
.n("KendraClient", "CreateAccessControlConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateAccessControlConfigurationCommand)
|
|
20
|
-
.de(de_CreateAccessControlConfigurationCommand)
|
|
14
|
+
.sc(CreateAccessControlConfiguration)
|
|
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 { CreateDataSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateDataSourceCommand 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", "CreateDataSource", {})
|
|
17
13
|
.n("KendraClient", "CreateDataSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateDataSourceCommand)
|
|
20
|
-
.de(de_CreateDataSourceCommand)
|
|
14
|
+
.sc(CreateDataSource)
|
|
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 { CreateExperience } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateExperienceCommand 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", "CreateExperience", {})
|
|
17
13
|
.n("KendraClient", "CreateExperienceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateExperienceCommand)
|
|
20
|
-
.de(de_CreateExperienceCommand)
|
|
14
|
+
.sc(CreateExperience)
|
|
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 { CreateFaq } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateFaqCommand 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", "CreateFaq", {})
|
|
17
13
|
.n("KendraClient", "CreateFaqCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateFaqCommand)
|
|
20
|
-
.de(de_CreateFaqCommand)
|
|
14
|
+
.sc(CreateFaq)
|
|
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 { CreateFeaturedResultsSet } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateFeaturedResultsSetCommand 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", "CreateFeaturedResultsSet", {})
|
|
17
13
|
.n("KendraClient", "CreateFeaturedResultsSetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateFeaturedResultsSetCommand)
|
|
20
|
-
.de(de_CreateFeaturedResultsSetCommand)
|
|
14
|
+
.sc(CreateFeaturedResultsSet)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +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 {
|
|
6
|
-
import { de_CreateIndexCommand, se_CreateIndexCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { CreateIndex } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateIndexCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSKendraFrontendService", "CreateIndex", {})
|
|
18
13
|
.n("KendraClient", "CreateIndexCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateIndexCommand)
|
|
21
|
-
.de(de_CreateIndexCommand)
|
|
14
|
+
.sc(CreateIndex)
|
|
22
15
|
.build() {
|
|
23
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 { CreateQuerySuggestionsBlockList } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateQuerySuggestionsBlockListCommand 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", "CreateQuerySuggestionsBlockList", {})
|
|
17
13
|
.n("KendraClient", "CreateQuerySuggestionsBlockListCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateQuerySuggestionsBlockListCommand)
|
|
20
|
-
.de(de_CreateQuerySuggestionsBlockListCommand)
|
|
14
|
+
.sc(CreateQuerySuggestionsBlockList)
|
|
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 { CreateThesaurus } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateThesaurusCommand 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", "CreateThesaurus", {})
|
|
17
13
|
.n("KendraClient", "CreateThesaurusCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateThesaurusCommand)
|
|
20
|
-
.de(de_CreateThesaurusCommand)
|
|
14
|
+
.sc(CreateThesaurus)
|
|
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 { DeleteAccessControlConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAccessControlConfigurationCommand 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", "DeleteAccessControlConfiguration", {})
|
|
17
13
|
.n("KendraClient", "DeleteAccessControlConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAccessControlConfigurationCommand)
|
|
20
|
-
.de(de_DeleteAccessControlConfigurationCommand)
|
|
14
|
+
.sc(DeleteAccessControlConfiguration)
|
|
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 { DeleteDataSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteDataSourceCommand 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", "DeleteDataSource", {})
|
|
17
13
|
.n("KendraClient", "DeleteDataSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteDataSourceCommand)
|
|
20
|
-
.de(de_DeleteDataSourceCommand)
|
|
14
|
+
.sc(DeleteDataSource)
|
|
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 { DeleteExperience } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteExperienceCommand 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", "DeleteExperience", {})
|
|
17
13
|
.n("KendraClient", "DeleteExperienceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteExperienceCommand)
|
|
20
|
-
.de(de_DeleteExperienceCommand)
|
|
14
|
+
.sc(DeleteExperience)
|
|
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 { DeleteFaq } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteFaqCommand 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", "DeleteFaq", {})
|
|
17
13
|
.n("KendraClient", "DeleteFaqCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteFaqCommand)
|
|
20
|
-
.de(de_DeleteFaqCommand)
|
|
14
|
+
.sc(DeleteFaq)
|
|
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 { DeleteIndex } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteIndexCommand 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", "DeleteIndex", {})
|
|
17
13
|
.n("KendraClient", "DeleteIndexCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteIndexCommand)
|
|
20
|
-
.de(de_DeleteIndexCommand)
|
|
14
|
+
.sc(DeleteIndex)
|
|
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 { DeletePrincipalMapping } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePrincipalMappingCommand 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", "DeletePrincipalMapping", {})
|
|
17
13
|
.n("KendraClient", "DeletePrincipalMappingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePrincipalMappingCommand)
|
|
20
|
-
.de(de_DeletePrincipalMappingCommand)
|
|
14
|
+
.sc(DeletePrincipalMapping)
|
|
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 { DeleteQuerySuggestionsBlockList } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteQuerySuggestionsBlockListCommand 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", "DeleteQuerySuggestionsBlockList", {})
|
|
17
13
|
.n("KendraClient", "DeleteQuerySuggestionsBlockListCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteQuerySuggestionsBlockListCommand)
|
|
20
|
-
.de(de_DeleteQuerySuggestionsBlockListCommand)
|
|
14
|
+
.sc(DeleteQuerySuggestionsBlockList)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|