@aws-sdk/client-wisdom 3.413.0 → 3.418.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 (67) hide show
  1. package/dist-cjs/commands/CreateAssistantAssociationCommand.js +5 -0
  2. package/dist-cjs/commands/CreateAssistantCommand.js +5 -0
  3. package/dist-cjs/commands/CreateContentCommand.js +5 -0
  4. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +5 -0
  5. package/dist-cjs/commands/CreateSessionCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteAssistantCommand.js +5 -0
  8. package/dist-cjs/commands/DeleteContentCommand.js +5 -0
  9. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +5 -0
  10. package/dist-cjs/commands/GetAssistantAssociationCommand.js +5 -0
  11. package/dist-cjs/commands/GetAssistantCommand.js +5 -0
  12. package/dist-cjs/commands/GetContentCommand.js +5 -0
  13. package/dist-cjs/commands/GetContentSummaryCommand.js +5 -0
  14. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +5 -0
  15. package/dist-cjs/commands/GetRecommendationsCommand.js +5 -0
  16. package/dist-cjs/commands/GetSessionCommand.js +5 -0
  17. package/dist-cjs/commands/ListAssistantAssociationsCommand.js +5 -0
  18. package/dist-cjs/commands/ListAssistantsCommand.js +5 -0
  19. package/dist-cjs/commands/ListContentsCommand.js +5 -0
  20. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +5 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  22. package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +5 -0
  23. package/dist-cjs/commands/QueryAssistantCommand.js +5 -0
  24. package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +5 -0
  25. package/dist-cjs/commands/SearchContentCommand.js +5 -0
  26. package/dist-cjs/commands/SearchSessionsCommand.js +5 -0
  27. package/dist-cjs/commands/StartContentUploadCommand.js +5 -0
  28. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  29. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  30. package/dist-cjs/commands/UpdateContentCommand.js +5 -0
  31. package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +5 -0
  32. package/dist-cjs/runtimeExtensions.js +3 -0
  33. package/dist-es/commands/CreateAssistantAssociationCommand.js +5 -0
  34. package/dist-es/commands/CreateAssistantCommand.js +5 -0
  35. package/dist-es/commands/CreateContentCommand.js +5 -0
  36. package/dist-es/commands/CreateKnowledgeBaseCommand.js +5 -0
  37. package/dist-es/commands/CreateSessionCommand.js +5 -0
  38. package/dist-es/commands/DeleteAssistantAssociationCommand.js +5 -0
  39. package/dist-es/commands/DeleteAssistantCommand.js +5 -0
  40. package/dist-es/commands/DeleteContentCommand.js +5 -0
  41. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +5 -0
  42. package/dist-es/commands/GetAssistantAssociationCommand.js +5 -0
  43. package/dist-es/commands/GetAssistantCommand.js +5 -0
  44. package/dist-es/commands/GetContentCommand.js +5 -0
  45. package/dist-es/commands/GetContentSummaryCommand.js +5 -0
  46. package/dist-es/commands/GetKnowledgeBaseCommand.js +5 -0
  47. package/dist-es/commands/GetRecommendationsCommand.js +5 -0
  48. package/dist-es/commands/GetSessionCommand.js +5 -0
  49. package/dist-es/commands/ListAssistantAssociationsCommand.js +5 -0
  50. package/dist-es/commands/ListAssistantsCommand.js +5 -0
  51. package/dist-es/commands/ListContentsCommand.js +5 -0
  52. package/dist-es/commands/ListKnowledgeBasesCommand.js +5 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  54. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +5 -0
  55. package/dist-es/commands/QueryAssistantCommand.js +5 -0
  56. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +5 -0
  57. package/dist-es/commands/SearchContentCommand.js +5 -0
  58. package/dist-es/commands/SearchSessionsCommand.js +5 -0
  59. package/dist-es/commands/StartContentUploadCommand.js +5 -0
  60. package/dist-es/commands/TagResourceCommand.js +5 -0
  61. package/dist-es/commands/UntagResourceCommand.js +5 -0
  62. package/dist-es/commands/UpdateContentCommand.js +5 -0
  63. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +5 -0
  64. package/dist-es/runtimeExtensions.js +3 -0
  65. package/dist-types/extensionConfiguration.d.ts +2 -1
  66. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  67. package/package.json +31 -30
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateAssistantAssociationCommand, se_CreateAssistantAssociationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateAssistantAssociationCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateAssistantAssociationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "CreateAssistantAssociation",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateAssistantCommand, se_CreateAssistantCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateAssistantCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateAssistantCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "CreateAssistant",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { CreateContentResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateContentCommand, se_CreateContentCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class CreateContentCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: CreateContentResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "WisdomService",
36
+ operation: "CreateContent",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateKnowledgeBaseCommand, se_CreateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateKnowledgeBaseCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateKnowledgeBaseCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "CreateKnowledgeBase",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateSessionCommand, se_CreateSessionCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateSessionCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateSessionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "CreateSession",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteAssistantAssociationCommand, se_DeleteAssistantAssociationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteAssistantAssociationCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteAssistantAssociationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "DeleteAssistantAssociation",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteAssistantCommand, se_DeleteAssistantCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteAssistantCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteAssistantCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "DeleteAssistant",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteContentCommand, se_DeleteContentCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteContentCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteContentCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "DeleteContent",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteKnowledgeBaseCommand, se_DeleteKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteKnowledgeBaseCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteKnowledgeBaseCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "DeleteKnowledgeBase",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetAssistantAssociationCommand, se_GetAssistantAssociationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetAssistantAssociationCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetAssistantAssociationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "GetAssistantAssociation",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetAssistantCommand, se_GetAssistantCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetAssistantCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetAssistantCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "GetAssistant",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { GetContentResponseFilterSensitiveLog } from "../models/models_0";
5
6
  import { de_GetContentCommand, se_GetContentCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class GetContentCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: GetContentResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "WisdomService",
36
+ operation: "GetContent",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetContentSummaryCommand, se_GetContentSummaryCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetContentSummaryCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetContentSummaryCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "GetContentSummary",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetKnowledgeBaseCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetKnowledgeBaseCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "GetKnowledgeBase",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { GetRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetRecommendationsCommand, se_GetRecommendationsCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class GetRecommendationsCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: GetRecommendationsResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "WisdomService",
36
+ operation: "GetRecommendations",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetSessionCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetSessionCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "GetSession",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListAssistantAssociationsCommand, se_ListAssistantAssociationsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListAssistantAssociationsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListAssistantAssociationsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "ListAssistantAssociations",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListAssistantsCommand, se_ListAssistantsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListAssistantsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListAssistantsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "ListAssistants",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListContentsCommand, se_ListContentsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListContentsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListContentsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "ListContents",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListKnowledgeBasesCommand, se_ListKnowledgeBasesCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListKnowledgeBasesCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListKnowledgeBasesCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "ListKnowledgeBases",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_NotifyRecommendationsReceivedCommand, se_NotifyRecommendationsReceivedCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class NotifyRecommendationsReceivedCommand extends $Command {
@@ -29,6 +30,10 @@ export class NotifyRecommendationsReceivedCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "NotifyRecommendationsReceived",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { QueryAssistantRequestFilterSensitiveLog, QueryAssistantResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_QueryAssistantCommand, se_QueryAssistantCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class QueryAssistantCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: QueryAssistantRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: QueryAssistantResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "WisdomService",
36
+ operation: "QueryAssistant",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_RemoveKnowledgeBaseTemplateUriCommand, se_RemoveKnowledgeBaseTemplateUriCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class RemoveKnowledgeBaseTemplateUriCommand extends $Command {
@@ -29,6 +30,10 @@ export class RemoveKnowledgeBaseTemplateUriCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "RemoveKnowledgeBaseTemplateUri",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SearchContentCommand, se_SearchContentCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class SearchContentCommand extends $Command {
@@ -29,6 +30,10 @@ export class SearchContentCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "SearchContent",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_SearchSessionsCommand, se_SearchSessionsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class SearchSessionsCommand extends $Command {
@@ -29,6 +30,10 @@ export class SearchSessionsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "SearchSessions",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { StartContentUploadResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_StartContentUploadCommand, se_StartContentUploadCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class StartContentUploadCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: StartContentUploadResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "WisdomService",
36
+ operation: "StartContentUpload",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { UpdateContentResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_UpdateContentCommand, se_UpdateContentCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class UpdateContentCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: (_) => _,
32
33
  outputFilterSensitiveLog: UpdateContentResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "WisdomService",
36
+ operation: "UpdateContent",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateKnowledgeBaseTemplateUriCommand, se_UpdateKnowledgeBaseTemplateUriCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateKnowledgeBaseTemplateUriCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateKnowledgeBaseTemplateUriCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "WisdomService",
35
+ operation: "UpdateKnowledgeBaseTemplateUri",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface WisdomExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface WisdomExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }