@aws-sdk/client-wisdom 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 (56) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/WisdomClient.js +13 -13
  3. package/dist-cjs/commands/CreateAssistantAssociationCommand.js +3 -3
  4. package/dist-cjs/commands/CreateAssistantCommand.js +3 -3
  5. package/dist-cjs/commands/CreateContentCommand.js +3 -3
  6. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +3 -3
  7. package/dist-cjs/commands/CreateSessionCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteAssistantCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteContentCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +3 -3
  12. package/dist-cjs/commands/GetAssistantAssociationCommand.js +3 -3
  13. package/dist-cjs/commands/GetAssistantCommand.js +3 -3
  14. package/dist-cjs/commands/GetContentCommand.js +3 -3
  15. package/dist-cjs/commands/GetContentSummaryCommand.js +3 -3
  16. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +3 -3
  17. package/dist-cjs/commands/GetRecommendationsCommand.js +3 -3
  18. package/dist-cjs/commands/GetSessionCommand.js +3 -3
  19. package/dist-cjs/commands/ListAssistantAssociationsCommand.js +3 -3
  20. package/dist-cjs/commands/ListAssistantsCommand.js +3 -3
  21. package/dist-cjs/commands/ListContentsCommand.js +3 -3
  22. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +3 -3
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  24. package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +3 -3
  25. package/dist-cjs/commands/QueryAssistantCommand.js +3 -3
  26. package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +3 -3
  27. package/dist-cjs/commands/SearchContentCommand.js +3 -3
  28. package/dist-cjs/commands/SearchSessionsCommand.js +3 -3
  29. package/dist-cjs/commands/StartContentUploadCommand.js +3 -3
  30. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  31. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateContentCommand.js +3 -3
  33. package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +3 -3
  34. package/dist-cjs/endpoints.js +1 -1
  35. package/dist-cjs/protocols/Aws_restJson1.js +214 -214
  36. package/dist-cjs/runtimeConfig.browser.js +4 -4
  37. package/dist-cjs/runtimeConfig.js +9 -9
  38. package/dist-cjs/runtimeConfig.native.js +1 -1
  39. package/dist-es/Wisdom.js +31 -31
  40. package/dist-es/pagination/ListAssistantAssociationsPaginator.js +4 -4
  41. package/dist-es/pagination/ListAssistantsPaginator.js +4 -4
  42. package/dist-es/pagination/ListContentsPaginator.js +4 -4
  43. package/dist-es/pagination/ListKnowledgeBasesPaginator.js +4 -4
  44. package/dist-es/pagination/QueryAssistantPaginator.js +4 -4
  45. package/dist-es/pagination/SearchContentPaginator.js +4 -4
  46. package/dist-es/pagination/SearchSessionsPaginator.js +4 -4
  47. package/dist-es/protocols/Aws_restJson1.js +31 -31
  48. package/dist-types/WisdomClient.d.ts +2 -2
  49. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  50. package/dist-types/runtimeConfig.d.ts +1 -1
  51. package/dist-types/runtimeConfig.native.d.ts +3 -3
  52. package/dist-types/ts3.4/WisdomClient.d.ts +2 -2
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  56. package/package.json +34 -34
@@ -11,7 +11,7 @@ class SearchContentCommand 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 = "WisdomClient";
@@ -27,10 +27,10 @@ class SearchContentCommand 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_restJson1_1.serializeAws_restJson1SearchContentCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SearchContentCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SearchContentCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SearchContentCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SearchContentCommand = SearchContentCommand;
@@ -11,7 +11,7 @@ class SearchSessionsCommand 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 = "WisdomClient";
@@ -27,10 +27,10 @@ class SearchSessionsCommand 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_restJson1_1.serializeAws_restJson1SearchSessionsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SearchSessionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SearchSessionsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SearchSessionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SearchSessionsCommand = SearchSessionsCommand;
@@ -11,7 +11,7 @@ class StartContentUploadCommand 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 = "WisdomClient";
@@ -27,10 +27,10 @@ class StartContentUploadCommand 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_restJson1_1.serializeAws_restJson1StartContentUploadCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartContentUploadCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1StartContentUploadCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartContentUploadCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartContentUploadCommand = StartContentUploadCommand;
@@ -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 = "WisdomClient";
@@ -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_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(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 = "WisdomClient";
@@ -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_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateContentCommand 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 = "WisdomClient";
@@ -27,10 +27,10 @@ class UpdateContentCommand 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_restJson1_1.serializeAws_restJson1UpdateContentCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateContentCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateContentCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateContentCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateContentCommand = UpdateContentCommand;
@@ -11,7 +11,7 @@ class UpdateKnowledgeBaseTemplateUriCommand 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 = "WisdomClient";
@@ -27,10 +27,10 @@ class UpdateKnowledgeBaseTemplateUriCommand 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_restJson1_1.serializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateKnowledgeBaseTemplateUriCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateKnowledgeBaseTemplateUriCommand = UpdateKnowledgeBaseTemplateUriCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "wisdom",
128
128
  regionHash,