@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.
Files changed (90) hide show
  1. package/dist-cjs/index.js +3378 -2940
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/KendraClient.js +2 -0
  4. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +3 -9
  5. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +3 -9
  6. package/dist-es/commands/BatchDeleteDocumentCommand.js +3 -9
  7. package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +3 -9
  8. package/dist-es/commands/BatchGetDocumentStatusCommand.js +3 -9
  9. package/dist-es/commands/BatchPutDocumentCommand.js +3 -9
  10. package/dist-es/commands/ClearQuerySuggestionsCommand.js +3 -9
  11. package/dist-es/commands/CreateAccessControlConfigurationCommand.js +3 -9
  12. package/dist-es/commands/CreateDataSourceCommand.js +3 -9
  13. package/dist-es/commands/CreateExperienceCommand.js +3 -9
  14. package/dist-es/commands/CreateFaqCommand.js +3 -9
  15. package/dist-es/commands/CreateFeaturedResultsSetCommand.js +3 -9
  16. package/dist-es/commands/CreateIndexCommand.js +3 -10
  17. package/dist-es/commands/CreateQuerySuggestionsBlockListCommand.js +3 -9
  18. package/dist-es/commands/CreateThesaurusCommand.js +3 -9
  19. package/dist-es/commands/DeleteAccessControlConfigurationCommand.js +3 -9
  20. package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
  21. package/dist-es/commands/DeleteExperienceCommand.js +3 -9
  22. package/dist-es/commands/DeleteFaqCommand.js +3 -9
  23. package/dist-es/commands/DeleteIndexCommand.js +3 -9
  24. package/dist-es/commands/DeletePrincipalMappingCommand.js +3 -9
  25. package/dist-es/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -9
  26. package/dist-es/commands/DeleteThesaurusCommand.js +3 -9
  27. package/dist-es/commands/DescribeAccessControlConfigurationCommand.js +3 -9
  28. package/dist-es/commands/DescribeDataSourceCommand.js +3 -9
  29. package/dist-es/commands/DescribeExperienceCommand.js +3 -9
  30. package/dist-es/commands/DescribeFaqCommand.js +3 -9
  31. package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +3 -9
  32. package/dist-es/commands/DescribeIndexCommand.js +3 -10
  33. package/dist-es/commands/DescribePrincipalMappingCommand.js +3 -9
  34. package/dist-es/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -9
  35. package/dist-es/commands/DescribeQuerySuggestionsConfigCommand.js +3 -9
  36. package/dist-es/commands/DescribeThesaurusCommand.js +3 -9
  37. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +3 -9
  38. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +3 -9
  39. package/dist-es/commands/GetQuerySuggestionsCommand.js +3 -9
  40. package/dist-es/commands/GetSnapshotsCommand.js +3 -9
  41. package/dist-es/commands/ListAccessControlConfigurationsCommand.js +3 -9
  42. package/dist-es/commands/ListDataSourceSyncJobsCommand.js +3 -9
  43. package/dist-es/commands/ListDataSourcesCommand.js +3 -9
  44. package/dist-es/commands/ListEntityPersonasCommand.js +3 -9
  45. package/dist-es/commands/ListExperienceEntitiesCommand.js +3 -10
  46. package/dist-es/commands/ListExperiencesCommand.js +3 -9
  47. package/dist-es/commands/ListFaqsCommand.js +3 -9
  48. package/dist-es/commands/ListFeaturedResultsSetsCommand.js +3 -9
  49. package/dist-es/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -9
  50. package/dist-es/commands/ListIndicesCommand.js +3 -9
  51. package/dist-es/commands/ListQuerySuggestionsBlockListsCommand.js +3 -9
  52. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  53. package/dist-es/commands/ListThesauriCommand.js +3 -9
  54. package/dist-es/commands/PutPrincipalMappingCommand.js +3 -9
  55. package/dist-es/commands/QueryCommand.js +3 -9
  56. package/dist-es/commands/RetrieveCommand.js +3 -9
  57. package/dist-es/commands/StartDataSourceSyncJobCommand.js +3 -9
  58. package/dist-es/commands/StopDataSourceSyncJobCommand.js +3 -9
  59. package/dist-es/commands/SubmitFeedbackCommand.js +3 -9
  60. package/dist-es/commands/TagResourceCommand.js +3 -9
  61. package/dist-es/commands/UntagResourceCommand.js +3 -9
  62. package/dist-es/commands/UpdateAccessControlConfigurationCommand.js +3 -9
  63. package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
  64. package/dist-es/commands/UpdateExperienceCommand.js +3 -9
  65. package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +3 -9
  66. package/dist-es/commands/UpdateIndexCommand.js +3 -9
  67. package/dist-es/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -9
  68. package/dist-es/commands/UpdateQuerySuggestionsConfigCommand.js +3 -9
  69. package/dist-es/commands/UpdateThesaurusCommand.js +3 -9
  70. package/dist-es/models/models_0.js +0 -35
  71. package/dist-es/runtimeConfig.shared.js +7 -0
  72. package/dist-es/schemas/schemas_0.js +3248 -0
  73. package/dist-types/KendraClient.d.ts +10 -1
  74. package/dist-types/models/models_0.d.ts +0 -24
  75. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  76. package/dist-types/runtimeConfig.d.ts +1 -0
  77. package/dist-types/runtimeConfig.native.d.ts +1 -0
  78. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  79. package/dist-types/schemas/schemas_0.d.ts +463 -0
  80. package/dist-types/ts3.4/KendraClient.d.ts +4 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +0 -18
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  86. package/dist-types/ts3.4/schemas/schemas_0.d.ts +469 -0
  87. package/package.json +5 -6
  88. package/dist-es/protocols/Aws_json1_1.js +0 -2407
  89. package/dist-types/protocols/Aws_json1_1.d.ts +0 -596
  90. 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,
@@ -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 { de_AssociateEntitiesToExperienceCommand, se_AssociateEntitiesToExperienceCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_AssociatePersonasToEntitiesCommand, se_AssociatePersonasToEntitiesCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_BatchDeleteDocumentCommand, se_BatchDeleteDocumentCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_BatchDeleteFeaturedResultsSetCommand, se_BatchDeleteFeaturedResultsSetCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_BatchGetDocumentStatusCommand, se_BatchGetDocumentStatusCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_BatchPutDocumentCommand, se_BatchPutDocumentCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_ClearQuerySuggestionsCommand, se_ClearQuerySuggestionsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_CreateAccessControlConfigurationCommand, se_CreateAccessControlConfigurationCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_CreateDataSourceCommand, se_CreateDataSourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_CreateExperienceCommand, se_CreateExperienceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_CreateFaqCommand, se_CreateFaqCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_CreateFeaturedResultsSetCommand, se_CreateFeaturedResultsSetCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { CreateIndexRequestFilterSensitiveLog } from "../models/models_0";
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
- .f(CreateIndexRequestFilterSensitiveLog, void 0)
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 { de_CreateQuerySuggestionsBlockListCommand, se_CreateQuerySuggestionsBlockListCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_CreateThesaurusCommand, se_CreateThesaurusCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeleteAccessControlConfigurationCommand, se_DeleteAccessControlConfigurationCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeleteDataSourceCommand, se_DeleteDataSourceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeleteExperienceCommand, se_DeleteExperienceCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeleteFaqCommand, se_DeleteFaqCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeleteIndexCommand, se_DeleteIndexCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeletePrincipalMappingCommand, se_DeletePrincipalMappingCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_DeleteQuerySuggestionsBlockListCommand, se_DeleteQuerySuggestionsBlockListCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
19
- .ser(se_DeleteQuerySuggestionsBlockListCommand)
20
- .de(de_DeleteQuerySuggestionsBlockListCommand)
14
+ .sc(DeleteQuerySuggestionsBlockList)
21
15
  .build() {
22
16
  }