@aws-sdk/client-kendra 3.53.0 → 3.55.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 (84) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/KendraClient.js +13 -13
  3. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +3 -3
  4. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDeleteDocumentCommand.js +3 -3
  6. package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +3 -3
  7. package/dist-cjs/commands/BatchPutDocumentCommand.js +3 -3
  8. package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +3 -3
  9. package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
  10. package/dist-cjs/commands/CreateExperienceCommand.js +3 -3
  11. package/dist-cjs/commands/CreateFaqCommand.js +3 -3
  12. package/dist-cjs/commands/CreateIndexCommand.js +3 -3
  13. package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
  14. package/dist-cjs/commands/CreateThesaurusCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteExperienceCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteFaqCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteIndexCommand.js +3 -3
  19. package/dist-cjs/commands/DeletePrincipalMappingCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteThesaurusCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeDataSourceCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeExperienceCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeFaqCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeIndexCommand.js +3 -3
  26. package/dist-cjs/commands/DescribePrincipalMappingCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeThesaurusCommand.js +3 -3
  30. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
  31. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
  32. package/dist-cjs/commands/GetQuerySuggestionsCommand.js +3 -3
  33. package/dist-cjs/commands/GetSnapshotsCommand.js +3 -3
  34. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +3 -3
  35. package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
  36. package/dist-cjs/commands/ListEntityPersonasCommand.js +3 -3
  37. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +3 -3
  38. package/dist-cjs/commands/ListExperiencesCommand.js +3 -3
  39. package/dist-cjs/commands/ListFaqsCommand.js +3 -3
  40. package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
  41. package/dist-cjs/commands/ListIndicesCommand.js +3 -3
  42. package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
  43. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  44. package/dist-cjs/commands/ListThesauriCommand.js +3 -3
  45. package/dist-cjs/commands/PutPrincipalMappingCommand.js +3 -3
  46. package/dist-cjs/commands/QueryCommand.js +3 -3
  47. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +3 -3
  48. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +3 -3
  49. package/dist-cjs/commands/SubmitFeedbackCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateExperienceCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateIndexCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateThesaurusCommand.js +3 -3
  58. package/dist-cjs/endpoints.js +1 -1
  59. package/dist-cjs/models/models_0.js +36 -4
  60. package/dist-cjs/protocols/Aws_json1_1.js +640 -442
  61. package/dist-cjs/runtimeConfig.browser.js +4 -4
  62. package/dist-cjs/runtimeConfig.js +9 -9
  63. package/dist-cjs/runtimeConfig.native.js +1 -1
  64. package/dist-es/Kendra.js +55 -55
  65. package/dist-es/models/models_0.js +24 -0
  66. package/dist-es/pagination/GetSnapshotsPaginator.js +4 -4
  67. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +4 -4
  68. package/dist-es/pagination/ListDataSourcesPaginator.js +4 -4
  69. package/dist-es/pagination/ListEntityPersonasPaginator.js +4 -4
  70. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +4 -4
  71. package/dist-es/pagination/ListExperiencesPaginator.js +4 -4
  72. package/dist-es/pagination/ListIndicesPaginator.js +4 -4
  73. package/dist-es/protocols/Aws_json1_1.js +181 -2
  74. package/dist-types/KendraClient.d.ts +2 -2
  75. package/dist-types/models/models_0.d.ts +508 -288
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +3 -3
  79. package/dist-types/ts3.4/KendraClient.d.ts +2 -2
  80. package/dist-types/ts3.4/models/models_0.d.ts +83 -0
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  84. package/package.json +34 -34
@@ -11,7 +11,7 @@ class DescribeQuerySuggestionsBlockListCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class DescribeQuerySuggestionsBlockListCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeQuerySuggestionsBlockListCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeQuerySuggestionsBlockListCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeQuerySuggestionsBlockListCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeQuerySuggestionsBlockListCommand = DescribeQuerySuggestionsBlockListCommand;
@@ -11,7 +11,7 @@ class DescribeQuerySuggestionsConfigCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class DescribeQuerySuggestionsConfigCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeQuerySuggestionsConfigCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeQuerySuggestionsConfigCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeQuerySuggestionsConfigCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeQuerySuggestionsConfigCommand = DescribeQuerySuggestionsConfigCommand;
@@ -11,7 +11,7 @@ class DescribeThesaurusCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class DescribeThesaurusCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeThesaurusCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeThesaurusCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeThesaurusCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeThesaurusCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeThesaurusCommand = DescribeThesaurusCommand;
@@ -11,7 +11,7 @@ class DisassociateEntitiesFromExperienceCommand extends smithy_client_1.Command
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class DisassociateEntitiesFromExperienceCommand extends smithy_client_1.Command
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisassociateEntitiesFromExperienceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateEntitiesFromExperienceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateEntitiesFromExperienceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateEntitiesFromExperienceCommand = DisassociateEntitiesFromExperienceCommand;
@@ -11,7 +11,7 @@ class DisassociatePersonasFromEntitiesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class DisassociatePersonasFromEntitiesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisassociatePersonasFromEntitiesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisassociatePersonasFromEntitiesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociatePersonasFromEntitiesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociatePersonasFromEntitiesCommand = DisassociatePersonasFromEntitiesCommand;
@@ -11,7 +11,7 @@ class GetQuerySuggestionsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class GetQuerySuggestionsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetQuerySuggestionsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetQuerySuggestionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetQuerySuggestionsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetQuerySuggestionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetQuerySuggestionsCommand = GetQuerySuggestionsCommand;
@@ -11,7 +11,7 @@ class GetSnapshotsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class GetSnapshotsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1GetSnapshotsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetSnapshotsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetSnapshotsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetSnapshotsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetSnapshotsCommand = GetSnapshotsCommand;
@@ -11,7 +11,7 @@ class ListDataSourceSyncJobsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListDataSourceSyncJobsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListDataSourceSyncJobsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListDataSourceSyncJobsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListDataSourceSyncJobsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListDataSourceSyncJobsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDataSourceSyncJobsCommand = ListDataSourceSyncJobsCommand;
@@ -11,7 +11,7 @@ class ListDataSourcesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListDataSourcesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListDataSourcesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListDataSourcesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListDataSourcesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListDataSourcesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDataSourcesCommand = ListDataSourcesCommand;
@@ -11,7 +11,7 @@ class ListEntityPersonasCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListEntityPersonasCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListEntityPersonasCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListEntityPersonasCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListEntityPersonasCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListEntityPersonasCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListEntityPersonasCommand = ListEntityPersonasCommand;
@@ -11,7 +11,7 @@ class ListExperienceEntitiesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListExperienceEntitiesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListExperienceEntitiesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListExperienceEntitiesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListExperienceEntitiesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListExperienceEntitiesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListExperienceEntitiesCommand = ListExperienceEntitiesCommand;
@@ -11,7 +11,7 @@ class ListExperiencesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListExperiencesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListExperiencesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListExperiencesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListExperiencesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListExperiencesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListExperiencesCommand = ListExperiencesCommand;
@@ -11,7 +11,7 @@ class ListFaqsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListFaqsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListFaqsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListFaqsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListFaqsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListFaqsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListFaqsCommand = ListFaqsCommand;
@@ -11,7 +11,7 @@ class ListGroupsOlderThanOrderingIdCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListGroupsOlderThanOrderingIdCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListGroupsOlderThanOrderingIdCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListGroupsOlderThanOrderingIdCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListGroupsOlderThanOrderingIdCommand = ListGroupsOlderThanOrderingIdCommand;
@@ -11,7 +11,7 @@ class ListIndicesCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListIndicesCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListIndicesCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListIndicesCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListIndicesCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListIndicesCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListIndicesCommand = ListIndicesCommand;
@@ -11,7 +11,7 @@ class ListQuerySuggestionsBlockListsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListQuerySuggestionsBlockListsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListQuerySuggestionsBlockListsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListQuerySuggestionsBlockListsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListQuerySuggestionsBlockListsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListQuerySuggestionsBlockListsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListQuerySuggestionsBlockListsCommand = ListQuerySuggestionsBlockListsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class ListThesauriCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class ListThesauriCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListThesauriCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListThesauriCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListThesauriCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListThesauriCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListThesauriCommand = ListThesauriCommand;
@@ -11,7 +11,7 @@ class PutPrincipalMappingCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class PutPrincipalMappingCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1PutPrincipalMappingCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutPrincipalMappingCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1PutPrincipalMappingCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutPrincipalMappingCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PutPrincipalMappingCommand = PutPrincipalMappingCommand;
@@ -11,7 +11,7 @@ class QueryCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class QueryCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1QueryCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1QueryCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1QueryCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1QueryCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.QueryCommand = QueryCommand;
@@ -11,7 +11,7 @@ class StartDataSourceSyncJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class StartDataSourceSyncJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StartDataSourceSyncJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StartDataSourceSyncJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StartDataSourceSyncJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StartDataSourceSyncJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartDataSourceSyncJobCommand = StartDataSourceSyncJobCommand;
@@ -11,7 +11,7 @@ class StopDataSourceSyncJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class StopDataSourceSyncJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1StopDataSourceSyncJobCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1StopDataSourceSyncJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1StopDataSourceSyncJobCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1StopDataSourceSyncJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopDataSourceSyncJobCommand = StopDataSourceSyncJobCommand;
@@ -11,7 +11,7 @@ class SubmitFeedbackCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class SubmitFeedbackCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1SubmitFeedbackCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1SubmitFeedbackCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1SubmitFeedbackCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1SubmitFeedbackCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SubmitFeedbackCommand = SubmitFeedbackCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateDataSourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class UpdateDataSourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateDataSourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateDataSourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateDataSourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateDataSourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateDataSourceCommand = UpdateDataSourceCommand;
@@ -11,7 +11,7 @@ class UpdateExperienceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "KendraClient";
@@ -27,10 +27,10 @@ class UpdateExperienceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1UpdateExperienceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateExperienceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateExperienceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateExperienceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateExperienceCommand = UpdateExperienceCommand;