@aws-sdk/client-kendra 3.490.0 → 3.495.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 (93) hide show
  1. package/dist-cjs/Kendra.js +1 -143
  2. package/dist-cjs/KendraClient.js +1 -43
  3. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +1 -28
  4. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +1 -28
  5. package/dist-cjs/commands/BatchDeleteDocumentCommand.js +1 -28
  6. package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +1 -28
  7. package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +1 -28
  8. package/dist-cjs/commands/BatchPutDocumentCommand.js +1 -28
  9. package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +1 -28
  10. package/dist-cjs/commands/CreateAccessControlConfigurationCommand.js +1 -28
  11. package/dist-cjs/commands/CreateDataSourceCommand.js +1 -28
  12. package/dist-cjs/commands/CreateExperienceCommand.js +1 -28
  13. package/dist-cjs/commands/CreateFaqCommand.js +1 -28
  14. package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +1 -28
  15. package/dist-cjs/commands/CreateIndexCommand.js +1 -29
  16. package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +1 -28
  17. package/dist-cjs/commands/CreateThesaurusCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteAccessControlConfigurationCommand.js +1 -28
  19. package/dist-cjs/commands/DeleteDataSourceCommand.js +1 -28
  20. package/dist-cjs/commands/DeleteExperienceCommand.js +1 -28
  21. package/dist-cjs/commands/DeleteFaqCommand.js +1 -28
  22. package/dist-cjs/commands/DeleteIndexCommand.js +1 -28
  23. package/dist-cjs/commands/DeletePrincipalMappingCommand.js +1 -28
  24. package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +1 -28
  25. package/dist-cjs/commands/DeleteThesaurusCommand.js +1 -28
  26. package/dist-cjs/commands/DescribeAccessControlConfigurationCommand.js +1 -28
  27. package/dist-cjs/commands/DescribeDataSourceCommand.js +1 -28
  28. package/dist-cjs/commands/DescribeExperienceCommand.js +1 -28
  29. package/dist-cjs/commands/DescribeFaqCommand.js +1 -28
  30. package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +1 -28
  31. package/dist-cjs/commands/DescribeIndexCommand.js +1 -29
  32. package/dist-cjs/commands/DescribePrincipalMappingCommand.js +1 -28
  33. package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +1 -28
  34. package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +1 -28
  35. package/dist-cjs/commands/DescribeThesaurusCommand.js +1 -28
  36. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +1 -28
  37. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +1 -28
  38. package/dist-cjs/commands/GetQuerySuggestionsCommand.js +1 -28
  39. package/dist-cjs/commands/GetSnapshotsCommand.js +1 -28
  40. package/dist-cjs/commands/ListAccessControlConfigurationsCommand.js +1 -28
  41. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +1 -28
  42. package/dist-cjs/commands/ListDataSourcesCommand.js +1 -28
  43. package/dist-cjs/commands/ListEntityPersonasCommand.js +1 -28
  44. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +1 -29
  45. package/dist-cjs/commands/ListExperiencesCommand.js +1 -28
  46. package/dist-cjs/commands/ListFaqsCommand.js +1 -28
  47. package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +1 -28
  48. package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +1 -28
  49. package/dist-cjs/commands/ListIndicesCommand.js +1 -28
  50. package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +1 -28
  51. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  52. package/dist-cjs/commands/ListThesauriCommand.js +1 -28
  53. package/dist-cjs/commands/PutPrincipalMappingCommand.js +1 -28
  54. package/dist-cjs/commands/QueryCommand.js +1 -28
  55. package/dist-cjs/commands/RetrieveCommand.js +1 -28
  56. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +1 -28
  57. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +1 -28
  58. package/dist-cjs/commands/SubmitFeedbackCommand.js +1 -28
  59. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  60. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  61. package/dist-cjs/commands/UpdateAccessControlConfigurationCommand.js +1 -28
  62. package/dist-cjs/commands/UpdateDataSourceCommand.js +1 -28
  63. package/dist-cjs/commands/UpdateExperienceCommand.js +1 -28
  64. package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +1 -28
  65. package/dist-cjs/commands/UpdateIndexCommand.js +1 -28
  66. package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +1 -28
  67. package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +1 -28
  68. package/dist-cjs/commands/UpdateThesaurusCommand.js +1 -28
  69. package/dist-cjs/commands/index.js +1 -69
  70. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  71. package/dist-cjs/extensionConfiguration.js +1 -2
  72. package/dist-cjs/index.js +6893 -11
  73. package/dist-cjs/models/KendraServiceException.js +1 -12
  74. package/dist-cjs/models/index.js +1 -5
  75. package/dist-cjs/models/models_0.js +1 -568
  76. package/dist-cjs/models/models_1.js +1 -32
  77. package/dist-cjs/pagination/GetSnapshotsPaginator.js +1 -7
  78. package/dist-cjs/pagination/Interfaces.js +1 -2
  79. package/dist-cjs/pagination/ListAccessControlConfigurationsPaginator.js +1 -7
  80. package/dist-cjs/pagination/ListDataSourceSyncJobsPaginator.js +1 -7
  81. package/dist-cjs/pagination/ListDataSourcesPaginator.js +1 -7
  82. package/dist-cjs/pagination/ListEntityPersonasPaginator.js +1 -7
  83. package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +1 -7
  84. package/dist-cjs/pagination/ListExperiencesPaginator.js +1 -7
  85. package/dist-cjs/pagination/ListFaqsPaginator.js +1 -7
  86. package/dist-cjs/pagination/ListGroupsOlderThanOrderingIdPaginator.js +1 -7
  87. package/dist-cjs/pagination/ListIndicesPaginator.js +1 -7
  88. package/dist-cjs/pagination/ListQuerySuggestionsBlockListsPaginator.js +1 -7
  89. package/dist-cjs/pagination/ListThesauriPaginator.js +1 -7
  90. package/dist-cjs/pagination/index.js +1 -16
  91. package/dist-cjs/protocols/Aws_json1_1.js +1 -4736
  92. package/dist-cjs/runtimeExtensions.js +1 -22
  93. package/package.json +40 -40
@@ -1,143 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Kendra = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const AssociateEntitiesToExperienceCommand_1 = require("./commands/AssociateEntitiesToExperienceCommand");
6
- const AssociatePersonasToEntitiesCommand_1 = require("./commands/AssociatePersonasToEntitiesCommand");
7
- const BatchDeleteDocumentCommand_1 = require("./commands/BatchDeleteDocumentCommand");
8
- const BatchDeleteFeaturedResultsSetCommand_1 = require("./commands/BatchDeleteFeaturedResultsSetCommand");
9
- const BatchGetDocumentStatusCommand_1 = require("./commands/BatchGetDocumentStatusCommand");
10
- const BatchPutDocumentCommand_1 = require("./commands/BatchPutDocumentCommand");
11
- const ClearQuerySuggestionsCommand_1 = require("./commands/ClearQuerySuggestionsCommand");
12
- const CreateAccessControlConfigurationCommand_1 = require("./commands/CreateAccessControlConfigurationCommand");
13
- const CreateDataSourceCommand_1 = require("./commands/CreateDataSourceCommand");
14
- const CreateExperienceCommand_1 = require("./commands/CreateExperienceCommand");
15
- const CreateFaqCommand_1 = require("./commands/CreateFaqCommand");
16
- const CreateFeaturedResultsSetCommand_1 = require("./commands/CreateFeaturedResultsSetCommand");
17
- const CreateIndexCommand_1 = require("./commands/CreateIndexCommand");
18
- const CreateQuerySuggestionsBlockListCommand_1 = require("./commands/CreateQuerySuggestionsBlockListCommand");
19
- const CreateThesaurusCommand_1 = require("./commands/CreateThesaurusCommand");
20
- const DeleteAccessControlConfigurationCommand_1 = require("./commands/DeleteAccessControlConfigurationCommand");
21
- const DeleteDataSourceCommand_1 = require("./commands/DeleteDataSourceCommand");
22
- const DeleteExperienceCommand_1 = require("./commands/DeleteExperienceCommand");
23
- const DeleteFaqCommand_1 = require("./commands/DeleteFaqCommand");
24
- const DeleteIndexCommand_1 = require("./commands/DeleteIndexCommand");
25
- const DeletePrincipalMappingCommand_1 = require("./commands/DeletePrincipalMappingCommand");
26
- const DeleteQuerySuggestionsBlockListCommand_1 = require("./commands/DeleteQuerySuggestionsBlockListCommand");
27
- const DeleteThesaurusCommand_1 = require("./commands/DeleteThesaurusCommand");
28
- const DescribeAccessControlConfigurationCommand_1 = require("./commands/DescribeAccessControlConfigurationCommand");
29
- const DescribeDataSourceCommand_1 = require("./commands/DescribeDataSourceCommand");
30
- const DescribeExperienceCommand_1 = require("./commands/DescribeExperienceCommand");
31
- const DescribeFaqCommand_1 = require("./commands/DescribeFaqCommand");
32
- const DescribeFeaturedResultsSetCommand_1 = require("./commands/DescribeFeaturedResultsSetCommand");
33
- const DescribeIndexCommand_1 = require("./commands/DescribeIndexCommand");
34
- const DescribePrincipalMappingCommand_1 = require("./commands/DescribePrincipalMappingCommand");
35
- const DescribeQuerySuggestionsBlockListCommand_1 = require("./commands/DescribeQuerySuggestionsBlockListCommand");
36
- const DescribeQuerySuggestionsConfigCommand_1 = require("./commands/DescribeQuerySuggestionsConfigCommand");
37
- const DescribeThesaurusCommand_1 = require("./commands/DescribeThesaurusCommand");
38
- const DisassociateEntitiesFromExperienceCommand_1 = require("./commands/DisassociateEntitiesFromExperienceCommand");
39
- const DisassociatePersonasFromEntitiesCommand_1 = require("./commands/DisassociatePersonasFromEntitiesCommand");
40
- const GetQuerySuggestionsCommand_1 = require("./commands/GetQuerySuggestionsCommand");
41
- const GetSnapshotsCommand_1 = require("./commands/GetSnapshotsCommand");
42
- const ListAccessControlConfigurationsCommand_1 = require("./commands/ListAccessControlConfigurationsCommand");
43
- const ListDataSourcesCommand_1 = require("./commands/ListDataSourcesCommand");
44
- const ListDataSourceSyncJobsCommand_1 = require("./commands/ListDataSourceSyncJobsCommand");
45
- const ListEntityPersonasCommand_1 = require("./commands/ListEntityPersonasCommand");
46
- const ListExperienceEntitiesCommand_1 = require("./commands/ListExperienceEntitiesCommand");
47
- const ListExperiencesCommand_1 = require("./commands/ListExperiencesCommand");
48
- const ListFaqsCommand_1 = require("./commands/ListFaqsCommand");
49
- const ListFeaturedResultsSetsCommand_1 = require("./commands/ListFeaturedResultsSetsCommand");
50
- const ListGroupsOlderThanOrderingIdCommand_1 = require("./commands/ListGroupsOlderThanOrderingIdCommand");
51
- const ListIndicesCommand_1 = require("./commands/ListIndicesCommand");
52
- const ListQuerySuggestionsBlockListsCommand_1 = require("./commands/ListQuerySuggestionsBlockListsCommand");
53
- const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
54
- const ListThesauriCommand_1 = require("./commands/ListThesauriCommand");
55
- const PutPrincipalMappingCommand_1 = require("./commands/PutPrincipalMappingCommand");
56
- const QueryCommand_1 = require("./commands/QueryCommand");
57
- const RetrieveCommand_1 = require("./commands/RetrieveCommand");
58
- const StartDataSourceSyncJobCommand_1 = require("./commands/StartDataSourceSyncJobCommand");
59
- const StopDataSourceSyncJobCommand_1 = require("./commands/StopDataSourceSyncJobCommand");
60
- const SubmitFeedbackCommand_1 = require("./commands/SubmitFeedbackCommand");
61
- const TagResourceCommand_1 = require("./commands/TagResourceCommand");
62
- const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
63
- const UpdateAccessControlConfigurationCommand_1 = require("./commands/UpdateAccessControlConfigurationCommand");
64
- const UpdateDataSourceCommand_1 = require("./commands/UpdateDataSourceCommand");
65
- const UpdateExperienceCommand_1 = require("./commands/UpdateExperienceCommand");
66
- const UpdateFeaturedResultsSetCommand_1 = require("./commands/UpdateFeaturedResultsSetCommand");
67
- const UpdateIndexCommand_1 = require("./commands/UpdateIndexCommand");
68
- const UpdateQuerySuggestionsBlockListCommand_1 = require("./commands/UpdateQuerySuggestionsBlockListCommand");
69
- const UpdateQuerySuggestionsConfigCommand_1 = require("./commands/UpdateQuerySuggestionsConfigCommand");
70
- const UpdateThesaurusCommand_1 = require("./commands/UpdateThesaurusCommand");
71
- const KendraClient_1 = require("./KendraClient");
72
- const commands = {
73
- AssociateEntitiesToExperienceCommand: AssociateEntitiesToExperienceCommand_1.AssociateEntitiesToExperienceCommand,
74
- AssociatePersonasToEntitiesCommand: AssociatePersonasToEntitiesCommand_1.AssociatePersonasToEntitiesCommand,
75
- BatchDeleteDocumentCommand: BatchDeleteDocumentCommand_1.BatchDeleteDocumentCommand,
76
- BatchDeleteFeaturedResultsSetCommand: BatchDeleteFeaturedResultsSetCommand_1.BatchDeleteFeaturedResultsSetCommand,
77
- BatchGetDocumentStatusCommand: BatchGetDocumentStatusCommand_1.BatchGetDocumentStatusCommand,
78
- BatchPutDocumentCommand: BatchPutDocumentCommand_1.BatchPutDocumentCommand,
79
- ClearQuerySuggestionsCommand: ClearQuerySuggestionsCommand_1.ClearQuerySuggestionsCommand,
80
- CreateAccessControlConfigurationCommand: CreateAccessControlConfigurationCommand_1.CreateAccessControlConfigurationCommand,
81
- CreateDataSourceCommand: CreateDataSourceCommand_1.CreateDataSourceCommand,
82
- CreateExperienceCommand: CreateExperienceCommand_1.CreateExperienceCommand,
83
- CreateFaqCommand: CreateFaqCommand_1.CreateFaqCommand,
84
- CreateFeaturedResultsSetCommand: CreateFeaturedResultsSetCommand_1.CreateFeaturedResultsSetCommand,
85
- CreateIndexCommand: CreateIndexCommand_1.CreateIndexCommand,
86
- CreateQuerySuggestionsBlockListCommand: CreateQuerySuggestionsBlockListCommand_1.CreateQuerySuggestionsBlockListCommand,
87
- CreateThesaurusCommand: CreateThesaurusCommand_1.CreateThesaurusCommand,
88
- DeleteAccessControlConfigurationCommand: DeleteAccessControlConfigurationCommand_1.DeleteAccessControlConfigurationCommand,
89
- DeleteDataSourceCommand: DeleteDataSourceCommand_1.DeleteDataSourceCommand,
90
- DeleteExperienceCommand: DeleteExperienceCommand_1.DeleteExperienceCommand,
91
- DeleteFaqCommand: DeleteFaqCommand_1.DeleteFaqCommand,
92
- DeleteIndexCommand: DeleteIndexCommand_1.DeleteIndexCommand,
93
- DeletePrincipalMappingCommand: DeletePrincipalMappingCommand_1.DeletePrincipalMappingCommand,
94
- DeleteQuerySuggestionsBlockListCommand: DeleteQuerySuggestionsBlockListCommand_1.DeleteQuerySuggestionsBlockListCommand,
95
- DeleteThesaurusCommand: DeleteThesaurusCommand_1.DeleteThesaurusCommand,
96
- DescribeAccessControlConfigurationCommand: DescribeAccessControlConfigurationCommand_1.DescribeAccessControlConfigurationCommand,
97
- DescribeDataSourceCommand: DescribeDataSourceCommand_1.DescribeDataSourceCommand,
98
- DescribeExperienceCommand: DescribeExperienceCommand_1.DescribeExperienceCommand,
99
- DescribeFaqCommand: DescribeFaqCommand_1.DescribeFaqCommand,
100
- DescribeFeaturedResultsSetCommand: DescribeFeaturedResultsSetCommand_1.DescribeFeaturedResultsSetCommand,
101
- DescribeIndexCommand: DescribeIndexCommand_1.DescribeIndexCommand,
102
- DescribePrincipalMappingCommand: DescribePrincipalMappingCommand_1.DescribePrincipalMappingCommand,
103
- DescribeQuerySuggestionsBlockListCommand: DescribeQuerySuggestionsBlockListCommand_1.DescribeQuerySuggestionsBlockListCommand,
104
- DescribeQuerySuggestionsConfigCommand: DescribeQuerySuggestionsConfigCommand_1.DescribeQuerySuggestionsConfigCommand,
105
- DescribeThesaurusCommand: DescribeThesaurusCommand_1.DescribeThesaurusCommand,
106
- DisassociateEntitiesFromExperienceCommand: DisassociateEntitiesFromExperienceCommand_1.DisassociateEntitiesFromExperienceCommand,
107
- DisassociatePersonasFromEntitiesCommand: DisassociatePersonasFromEntitiesCommand_1.DisassociatePersonasFromEntitiesCommand,
108
- GetQuerySuggestionsCommand: GetQuerySuggestionsCommand_1.GetQuerySuggestionsCommand,
109
- GetSnapshotsCommand: GetSnapshotsCommand_1.GetSnapshotsCommand,
110
- ListAccessControlConfigurationsCommand: ListAccessControlConfigurationsCommand_1.ListAccessControlConfigurationsCommand,
111
- ListDataSourcesCommand: ListDataSourcesCommand_1.ListDataSourcesCommand,
112
- ListDataSourceSyncJobsCommand: ListDataSourceSyncJobsCommand_1.ListDataSourceSyncJobsCommand,
113
- ListEntityPersonasCommand: ListEntityPersonasCommand_1.ListEntityPersonasCommand,
114
- ListExperienceEntitiesCommand: ListExperienceEntitiesCommand_1.ListExperienceEntitiesCommand,
115
- ListExperiencesCommand: ListExperiencesCommand_1.ListExperiencesCommand,
116
- ListFaqsCommand: ListFaqsCommand_1.ListFaqsCommand,
117
- ListFeaturedResultsSetsCommand: ListFeaturedResultsSetsCommand_1.ListFeaturedResultsSetsCommand,
118
- ListGroupsOlderThanOrderingIdCommand: ListGroupsOlderThanOrderingIdCommand_1.ListGroupsOlderThanOrderingIdCommand,
119
- ListIndicesCommand: ListIndicesCommand_1.ListIndicesCommand,
120
- ListQuerySuggestionsBlockListsCommand: ListQuerySuggestionsBlockListsCommand_1.ListQuerySuggestionsBlockListsCommand,
121
- ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
122
- ListThesauriCommand: ListThesauriCommand_1.ListThesauriCommand,
123
- PutPrincipalMappingCommand: PutPrincipalMappingCommand_1.PutPrincipalMappingCommand,
124
- QueryCommand: QueryCommand_1.QueryCommand,
125
- RetrieveCommand: RetrieveCommand_1.RetrieveCommand,
126
- StartDataSourceSyncJobCommand: StartDataSourceSyncJobCommand_1.StartDataSourceSyncJobCommand,
127
- StopDataSourceSyncJobCommand: StopDataSourceSyncJobCommand_1.StopDataSourceSyncJobCommand,
128
- SubmitFeedbackCommand: SubmitFeedbackCommand_1.SubmitFeedbackCommand,
129
- TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
130
- UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
131
- UpdateAccessControlConfigurationCommand: UpdateAccessControlConfigurationCommand_1.UpdateAccessControlConfigurationCommand,
132
- UpdateDataSourceCommand: UpdateDataSourceCommand_1.UpdateDataSourceCommand,
133
- UpdateExperienceCommand: UpdateExperienceCommand_1.UpdateExperienceCommand,
134
- UpdateFeaturedResultsSetCommand: UpdateFeaturedResultsSetCommand_1.UpdateFeaturedResultsSetCommand,
135
- UpdateIndexCommand: UpdateIndexCommand_1.UpdateIndexCommand,
136
- UpdateQuerySuggestionsBlockListCommand: UpdateQuerySuggestionsBlockListCommand_1.UpdateQuerySuggestionsBlockListCommand,
137
- UpdateQuerySuggestionsConfigCommand: UpdateQuerySuggestionsConfigCommand_1.UpdateQuerySuggestionsConfigCommand,
138
- UpdateThesaurusCommand: UpdateThesaurusCommand_1.UpdateThesaurusCommand,
139
- };
140
- class Kendra extends KendraClient_1.KendraClient {
141
- }
142
- exports.Kendra = Kendra;
143
- (0, smithy_client_1.createAggregatedClient)(commands, Kendra);
1
+ module.exports = require("./index.js");
@@ -1,43 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.KendraClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_signing_1 = require("@aws-sdk/middleware-signing");
8
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
9
- const config_resolver_1 = require("@smithy/config-resolver");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
- const runtimeConfig_1 = require("./runtimeConfig");
17
- const runtimeExtensions_1 = require("./runtimeExtensions");
18
- class KendraClient extends smithy_client_1.Client {
19
- constructor(...[configuration]) {
20
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
21
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
22
- const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
23
- const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
24
- const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
25
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
26
- const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
27
- const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
28
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
29
- super(_config_8);
30
- this.config = _config_8;
31
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
32
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
33
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
34
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
38
- }
39
- destroy() {
40
- super.destroy();
41
- }
42
- }
43
- exports.KendraClient = KendraClient;
1
+ module.exports = require("./index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssociateEntitiesToExperienceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class AssociateEntitiesToExperienceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "AssociateEntitiesToExperience", {})
22
- .n("KendraClient", "AssociateEntitiesToExperienceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_AssociateEntitiesToExperienceCommand)
25
- .de(Aws_json1_1_1.de_AssociateEntitiesToExperienceCommand)
26
- .build() {
27
- }
28
- exports.AssociateEntitiesToExperienceCommand = AssociateEntitiesToExperienceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssociatePersonasToEntitiesCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class AssociatePersonasToEntitiesCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "AssociatePersonasToEntities", {})
22
- .n("KendraClient", "AssociatePersonasToEntitiesCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_AssociatePersonasToEntitiesCommand)
25
- .de(Aws_json1_1_1.de_AssociatePersonasToEntitiesCommand)
26
- .build() {
27
- }
28
- exports.AssociatePersonasToEntitiesCommand = AssociatePersonasToEntitiesCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchDeleteDocumentCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class BatchDeleteDocumentCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "BatchDeleteDocument", {})
22
- .n("KendraClient", "BatchDeleteDocumentCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_BatchDeleteDocumentCommand)
25
- .de(Aws_json1_1_1.de_BatchDeleteDocumentCommand)
26
- .build() {
27
- }
28
- exports.BatchDeleteDocumentCommand = BatchDeleteDocumentCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchDeleteFeaturedResultsSetCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class BatchDeleteFeaturedResultsSetCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "BatchDeleteFeaturedResultsSet", {})
22
- .n("KendraClient", "BatchDeleteFeaturedResultsSetCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_BatchDeleteFeaturedResultsSetCommand)
25
- .de(Aws_json1_1_1.de_BatchDeleteFeaturedResultsSetCommand)
26
- .build() {
27
- }
28
- exports.BatchDeleteFeaturedResultsSetCommand = BatchDeleteFeaturedResultsSetCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchGetDocumentStatusCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class BatchGetDocumentStatusCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "BatchGetDocumentStatus", {})
22
- .n("KendraClient", "BatchGetDocumentStatusCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_BatchGetDocumentStatusCommand)
25
- .de(Aws_json1_1_1.de_BatchGetDocumentStatusCommand)
26
- .build() {
27
- }
28
- exports.BatchGetDocumentStatusCommand = BatchGetDocumentStatusCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchPutDocumentCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class BatchPutDocumentCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "BatchPutDocument", {})
22
- .n("KendraClient", "BatchPutDocumentCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_BatchPutDocumentCommand)
25
- .de(Aws_json1_1_1.de_BatchPutDocumentCommand)
26
- .build() {
27
- }
28
- exports.BatchPutDocumentCommand = BatchPutDocumentCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ClearQuerySuggestionsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ClearQuerySuggestionsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "ClearQuerySuggestions", {})
22
- .n("KendraClient", "ClearQuerySuggestionsCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_ClearQuerySuggestionsCommand)
25
- .de(Aws_json1_1_1.de_ClearQuerySuggestionsCommand)
26
- .build() {
27
- }
28
- exports.ClearQuerySuggestionsCommand = ClearQuerySuggestionsCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateAccessControlConfigurationCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateAccessControlConfigurationCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "CreateAccessControlConfiguration", {})
22
- .n("KendraClient", "CreateAccessControlConfigurationCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_CreateAccessControlConfigurationCommand)
25
- .de(Aws_json1_1_1.de_CreateAccessControlConfigurationCommand)
26
- .build() {
27
- }
28
- exports.CreateAccessControlConfigurationCommand = CreateAccessControlConfigurationCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateDataSourceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateDataSourceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "CreateDataSource", {})
22
- .n("KendraClient", "CreateDataSourceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_CreateDataSourceCommand)
25
- .de(Aws_json1_1_1.de_CreateDataSourceCommand)
26
- .build() {
27
- }
28
- exports.CreateDataSourceCommand = CreateDataSourceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateExperienceCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateExperienceCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "CreateExperience", {})
22
- .n("KendraClient", "CreateExperienceCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_CreateExperienceCommand)
25
- .de(Aws_json1_1_1.de_CreateExperienceCommand)
26
- .build() {
27
- }
28
- exports.CreateExperienceCommand = CreateExperienceCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateFaqCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateFaqCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "CreateFaq", {})
22
- .n("KendraClient", "CreateFaqCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_CreateFaqCommand)
25
- .de(Aws_json1_1_1.de_CreateFaqCommand)
26
- .build() {
27
- }
28
- exports.CreateFaqCommand = CreateFaqCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateFeaturedResultsSetCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateFeaturedResultsSetCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "CreateFeaturedResultsSet", {})
22
- .n("KendraClient", "CreateFeaturedResultsSetCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_CreateFeaturedResultsSetCommand)
25
- .de(Aws_json1_1_1.de_CreateFeaturedResultsSetCommand)
26
- .build() {
27
- }
28
- exports.CreateFeaturedResultsSetCommand = CreateFeaturedResultsSetCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateIndexCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class CreateIndexCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep({
14
- ...EndpointParameters_1.commonParams,
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("AWSKendraFrontendService", "CreateIndex", {})
23
- .n("KendraClient", "CreateIndexCommand")
24
- .f(models_0_1.CreateIndexRequestFilterSensitiveLog, void 0)
25
- .ser(Aws_json1_1_1.se_CreateIndexCommand)
26
- .de(Aws_json1_1_1.de_CreateIndexCommand)
27
- .build() {
28
- }
29
- exports.CreateIndexCommand = CreateIndexCommand;
1
+ module.exports = require("../index.js");
@@ -1,28 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateQuerySuggestionsBlockListCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateQuerySuggestionsBlockListCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep({
13
- ...EndpointParameters_1.commonParams,
14
- })
15
- .m(function (Command, cs, config, o) {
16
- return [
17
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
- ];
20
- })
21
- .s("AWSKendraFrontendService", "CreateQuerySuggestionsBlockList", {})
22
- .n("KendraClient", "CreateQuerySuggestionsBlockListCommand")
23
- .f(void 0, void 0)
24
- .ser(Aws_json1_1_1.se_CreateQuerySuggestionsBlockListCommand)
25
- .de(Aws_json1_1_1.de_CreateQuerySuggestionsBlockListCommand)
26
- .build() {
27
- }
28
- exports.CreateQuerySuggestionsBlockListCommand = CreateQuerySuggestionsBlockListCommand;
1
+ module.exports = require("../index.js");