@aws-sdk/client-qconnect 3.665.0 → 3.667.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 (107) hide show
  1. package/README.md +166 -0
  2. package/dist-cjs/index.js +1501 -102
  3. package/dist-es/QConnect.js +38 -0
  4. package/dist-es/commands/CreateAIAgentCommand.js +22 -0
  5. package/dist-es/commands/CreateAIAgentVersionCommand.js +22 -0
  6. package/dist-es/commands/CreateAIPromptCommand.js +23 -0
  7. package/dist-es/commands/CreateAIPromptVersionCommand.js +23 -0
  8. package/dist-es/commands/CreateKnowledgeBaseCommand.js +2 -1
  9. package/dist-es/commands/DeleteAIAgentCommand.js +22 -0
  10. package/dist-es/commands/DeleteAIAgentVersionCommand.js +22 -0
  11. package/dist-es/commands/DeleteAIPromptCommand.js +22 -0
  12. package/dist-es/commands/DeleteAIPromptVersionCommand.js +22 -0
  13. package/dist-es/commands/GetAIAgentCommand.js +22 -0
  14. package/dist-es/commands/GetAIPromptCommand.js +23 -0
  15. package/dist-es/commands/GetKnowledgeBaseCommand.js +2 -1
  16. package/dist-es/commands/ListAIAgentVersionsCommand.js +22 -0
  17. package/dist-es/commands/ListAIAgentsCommand.js +22 -0
  18. package/dist-es/commands/ListAIPromptVersionsCommand.js +22 -0
  19. package/dist-es/commands/ListAIPromptsCommand.js +22 -0
  20. package/dist-es/commands/ListKnowledgeBasesCommand.js +2 -1
  21. package/dist-es/commands/RemoveAssistantAIAgentCommand.js +22 -0
  22. package/dist-es/commands/UpdateAIAgentCommand.js +22 -0
  23. package/dist-es/commands/UpdateAIPromptCommand.js +23 -0
  24. package/dist-es/commands/UpdateAssistantAIAgentCommand.js +22 -0
  25. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +2 -1
  26. package/dist-es/commands/UpdateSessionDataCommand.js +23 -0
  27. package/dist-es/commands/index.js +19 -0
  28. package/dist-es/models/models_0.js +310 -46
  29. package/dist-es/pagination/ListAIAgentVersionsPaginator.js +4 -0
  30. package/dist-es/pagination/ListAIAgentsPaginator.js +4 -0
  31. package/dist-es/pagination/ListAIPromptVersionsPaginator.js +4 -0
  32. package/dist-es/pagination/ListAIPromptsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +4 -0
  34. package/dist-es/protocols/Aws_restJson1.js +692 -8
  35. package/dist-types/QConnect.d.ts +148 -1
  36. package/dist-types/QConnectClient.d.ts +36 -3
  37. package/dist-types/commands/CreateAIAgentCommand.d.ts +252 -0
  38. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +180 -0
  39. package/dist-types/commands/CreateAIPromptCommand.d.ts +132 -0
  40. package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +120 -0
  41. package/dist-types/commands/CreateAssistantCommand.d.ts +5 -0
  42. package/dist-types/commands/CreateContentAssociationCommand.d.ts +5 -6
  43. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +108 -0
  44. package/dist-types/commands/CreateSessionCommand.d.ts +10 -0
  45. package/dist-types/commands/DeleteAIAgentCommand.d.ts +82 -0
  46. package/dist-types/commands/DeleteAIAgentVersionCommand.d.ts +89 -0
  47. package/dist-types/commands/DeleteAIPromptCommand.d.ts +82 -0
  48. package/dist-types/commands/DeleteAIPromptVersionCommand.d.ts +89 -0
  49. package/dist-types/commands/GetAIAgentCommand.d.ts +168 -0
  50. package/dist-types/commands/GetAIPromptCommand.d.ts +108 -0
  51. package/dist-types/commands/GetAssistantCommand.d.ts +5 -0
  52. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +56 -0
  53. package/dist-types/commands/GetRecommendationsCommand.d.ts +20 -0
  54. package/dist-types/commands/GetSessionCommand.d.ts +5 -0
  55. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +176 -0
  56. package/dist-types/commands/ListAIAgentsCommand.d.ts +172 -0
  57. package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +111 -0
  58. package/dist-types/commands/ListAIPromptsCommand.d.ts +107 -0
  59. package/dist-types/commands/ListAssistantsCommand.d.ts +5 -0
  60. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +52 -0
  61. package/dist-types/commands/QueryAssistantCommand.d.ts +30 -1
  62. package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +83 -0
  63. package/dist-types/commands/UpdateAIAgentCommand.d.ts +244 -0
  64. package/dist-types/commands/UpdateAIPromptCommand.d.ts +121 -0
  65. package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +112 -0
  66. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +56 -0
  67. package/dist-types/commands/UpdateSessionCommand.d.ts +10 -0
  68. package/dist-types/commands/UpdateSessionDataCommand.d.ts +100 -0
  69. package/dist-types/commands/index.d.ts +19 -0
  70. package/dist-types/index.d.ts +15 -1
  71. package/dist-types/models/models_0.d.ts +2454 -275
  72. package/dist-types/pagination/ListAIAgentVersionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListAIAgentsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListAIPromptVersionsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListAIPromptsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/index.d.ts +4 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +171 -0
  78. package/dist-types/ts3.4/QConnect.d.ts +323 -0
  79. package/dist-types/ts3.4/QConnectClient.d.ts +116 -2
  80. package/dist-types/ts3.4/commands/CreateAIAgentCommand.d.ts +50 -0
  81. package/dist-types/ts3.4/commands/CreateAIAgentVersionCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/CreateAIPromptCommand.d.ts +50 -0
  83. package/dist-types/ts3.4/commands/CreateAIPromptVersionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/DeleteAIAgentCommand.d.ts +50 -0
  85. package/dist-types/ts3.4/commands/DeleteAIAgentVersionCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/DeleteAIPromptCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/DeleteAIPromptVersionCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/GetAIAgentCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/GetAIPromptCommand.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/ListAIAgentVersionsCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/ListAIAgentsCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/ListAIPromptVersionsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/ListAIPromptsCommand.d.ts +50 -0
  94. package/dist-types/ts3.4/commands/RemoveAssistantAIAgentCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/UpdateAIAgentCommand.d.ts +50 -0
  96. package/dist-types/ts3.4/commands/UpdateAIPromptCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/UpdateAssistantAIAgentCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/UpdateSessionDataCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +794 -103
  101. package/dist-types/ts3.4/pagination/ListAIAgentVersionsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/ListAIAgentsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListAIPromptVersionsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListAIPromptsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  106. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +228 -0
  107. package/package.json +19 -19
@@ -1,4 +1,8 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CreateAIAgentCommand, } from "./commands/CreateAIAgentCommand";
3
+ import { CreateAIAgentVersionCommand, } from "./commands/CreateAIAgentVersionCommand";
4
+ import { CreateAIPromptCommand, } from "./commands/CreateAIPromptCommand";
5
+ import { CreateAIPromptVersionCommand, } from "./commands/CreateAIPromptVersionCommand";
2
6
  import { CreateAssistantAssociationCommand, } from "./commands/CreateAssistantAssociationCommand";
3
7
  import { CreateAssistantCommand, } from "./commands/CreateAssistantCommand";
4
8
  import { CreateContentAssociationCommand, } from "./commands/CreateContentAssociationCommand";
@@ -6,6 +10,10 @@ import { CreateContentCommand, } from "./commands/CreateContentCommand";
6
10
  import { CreateKnowledgeBaseCommand, } from "./commands/CreateKnowledgeBaseCommand";
7
11
  import { CreateQuickResponseCommand, } from "./commands/CreateQuickResponseCommand";
8
12
  import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
13
+ import { DeleteAIAgentCommand, } from "./commands/DeleteAIAgentCommand";
14
+ import { DeleteAIAgentVersionCommand, } from "./commands/DeleteAIAgentVersionCommand";
15
+ import { DeleteAIPromptCommand, } from "./commands/DeleteAIPromptCommand";
16
+ import { DeleteAIPromptVersionCommand, } from "./commands/DeleteAIPromptVersionCommand";
9
17
  import { DeleteAssistantAssociationCommand, } from "./commands/DeleteAssistantAssociationCommand";
10
18
  import { DeleteAssistantCommand, } from "./commands/DeleteAssistantCommand";
11
19
  import { DeleteContentAssociationCommand, } from "./commands/DeleteContentAssociationCommand";
@@ -13,6 +21,8 @@ import { DeleteContentCommand, } from "./commands/DeleteContentCommand";
13
21
  import { DeleteImportJobCommand, } from "./commands/DeleteImportJobCommand";
14
22
  import { DeleteKnowledgeBaseCommand, } from "./commands/DeleteKnowledgeBaseCommand";
15
23
  import { DeleteQuickResponseCommand, } from "./commands/DeleteQuickResponseCommand";
24
+ import { GetAIAgentCommand } from "./commands/GetAIAgentCommand";
25
+ import { GetAIPromptCommand } from "./commands/GetAIPromptCommand";
16
26
  import { GetAssistantAssociationCommand, } from "./commands/GetAssistantAssociationCommand";
17
27
  import { GetAssistantCommand, } from "./commands/GetAssistantCommand";
18
28
  import { GetContentAssociationCommand, } from "./commands/GetContentAssociationCommand";
@@ -23,6 +33,10 @@ import { GetKnowledgeBaseCommand, } from "./commands/GetKnowledgeBaseCommand";
23
33
  import { GetQuickResponseCommand, } from "./commands/GetQuickResponseCommand";
24
34
  import { GetRecommendationsCommand, } from "./commands/GetRecommendationsCommand";
25
35
  import { GetSessionCommand } from "./commands/GetSessionCommand";
36
+ import { ListAIAgentsCommand, } from "./commands/ListAIAgentsCommand";
37
+ import { ListAIAgentVersionsCommand, } from "./commands/ListAIAgentVersionsCommand";
38
+ import { ListAIPromptsCommand, } from "./commands/ListAIPromptsCommand";
39
+ import { ListAIPromptVersionsCommand, } from "./commands/ListAIPromptVersionsCommand";
26
40
  import { ListAssistantAssociationsCommand, } from "./commands/ListAssistantAssociationsCommand";
27
41
  import { ListAssistantsCommand, } from "./commands/ListAssistantsCommand";
28
42
  import { ListContentAssociationsCommand, } from "./commands/ListContentAssociationsCommand";
@@ -34,6 +48,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
34
48
  import { NotifyRecommendationsReceivedCommand, } from "./commands/NotifyRecommendationsReceivedCommand";
35
49
  import { PutFeedbackCommand } from "./commands/PutFeedbackCommand";
36
50
  import { QueryAssistantCommand, } from "./commands/QueryAssistantCommand";
51
+ import { RemoveAssistantAIAgentCommand, } from "./commands/RemoveAssistantAIAgentCommand";
37
52
  import { RemoveKnowledgeBaseTemplateUriCommand, } from "./commands/RemoveKnowledgeBaseTemplateUriCommand";
38
53
  import { SearchContentCommand, } from "./commands/SearchContentCommand";
39
54
  import { SearchQuickResponsesCommand, } from "./commands/SearchQuickResponsesCommand";
@@ -42,12 +57,20 @@ import { StartContentUploadCommand, } from "./commands/StartContentUploadCommand
42
57
  import { StartImportJobCommand, } from "./commands/StartImportJobCommand";
43
58
  import { TagResourceCommand } from "./commands/TagResourceCommand";
44
59
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
60
+ import { UpdateAIAgentCommand, } from "./commands/UpdateAIAgentCommand";
61
+ import { UpdateAIPromptCommand, } from "./commands/UpdateAIPromptCommand";
62
+ import { UpdateAssistantAIAgentCommand, } from "./commands/UpdateAssistantAIAgentCommand";
45
63
  import { UpdateContentCommand, } from "./commands/UpdateContentCommand";
46
64
  import { UpdateKnowledgeBaseTemplateUriCommand, } from "./commands/UpdateKnowledgeBaseTemplateUriCommand";
47
65
  import { UpdateQuickResponseCommand, } from "./commands/UpdateQuickResponseCommand";
48
66
  import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
67
+ import { UpdateSessionDataCommand, } from "./commands/UpdateSessionDataCommand";
49
68
  import { QConnectClient } from "./QConnectClient";
50
69
  const commands = {
70
+ CreateAIAgentCommand,
71
+ CreateAIAgentVersionCommand,
72
+ CreateAIPromptCommand,
73
+ CreateAIPromptVersionCommand,
51
74
  CreateAssistantCommand,
52
75
  CreateAssistantAssociationCommand,
53
76
  CreateContentCommand,
@@ -55,6 +78,10 @@ const commands = {
55
78
  CreateKnowledgeBaseCommand,
56
79
  CreateQuickResponseCommand,
57
80
  CreateSessionCommand,
81
+ DeleteAIAgentCommand,
82
+ DeleteAIAgentVersionCommand,
83
+ DeleteAIPromptCommand,
84
+ DeleteAIPromptVersionCommand,
58
85
  DeleteAssistantCommand,
59
86
  DeleteAssistantAssociationCommand,
60
87
  DeleteContentCommand,
@@ -62,6 +89,8 @@ const commands = {
62
89
  DeleteImportJobCommand,
63
90
  DeleteKnowledgeBaseCommand,
64
91
  DeleteQuickResponseCommand,
92
+ GetAIAgentCommand,
93
+ GetAIPromptCommand,
65
94
  GetAssistantCommand,
66
95
  GetAssistantAssociationCommand,
67
96
  GetContentCommand,
@@ -72,6 +101,10 @@ const commands = {
72
101
  GetQuickResponseCommand,
73
102
  GetRecommendationsCommand,
74
103
  GetSessionCommand,
104
+ ListAIAgentsCommand,
105
+ ListAIAgentVersionsCommand,
106
+ ListAIPromptsCommand,
107
+ ListAIPromptVersionsCommand,
75
108
  ListAssistantAssociationsCommand,
76
109
  ListAssistantsCommand,
77
110
  ListContentAssociationsCommand,
@@ -83,6 +116,7 @@ const commands = {
83
116
  NotifyRecommendationsReceivedCommand,
84
117
  PutFeedbackCommand,
85
118
  QueryAssistantCommand,
119
+ RemoveAssistantAIAgentCommand,
86
120
  RemoveKnowledgeBaseTemplateUriCommand,
87
121
  SearchContentCommand,
88
122
  SearchQuickResponsesCommand,
@@ -91,10 +125,14 @@ const commands = {
91
125
  StartImportJobCommand,
92
126
  TagResourceCommand,
93
127
  UntagResourceCommand,
128
+ UpdateAIAgentCommand,
129
+ UpdateAIPromptCommand,
130
+ UpdateAssistantAIAgentCommand,
94
131
  UpdateContentCommand,
95
132
  UpdateKnowledgeBaseTemplateUriCommand,
96
133
  UpdateQuickResponseCommand,
97
134
  UpdateSessionCommand,
135
+ UpdateSessionDataCommand,
98
136
  };
99
137
  export class QConnect extends QConnectClient {
100
138
  }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateAIAgentCommand, se_CreateAIAgentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateAIAgentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "CreateAIAgent", {})
17
+ .n("QConnectClient", "CreateAIAgentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateAIAgentCommand)
20
+ .de(de_CreateAIAgentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateAIAgentVersionCommand, se_CreateAIAgentVersionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateAIAgentVersionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "CreateAIAgentVersion", {})
17
+ .n("QConnectClient", "CreateAIAgentVersionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateAIAgentVersionCommand)
20
+ .de(de_CreateAIAgentVersionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateAIPromptRequestFilterSensitiveLog, CreateAIPromptResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateAIPromptCommand, se_CreateAIPromptCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateAIPromptCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "CreateAIPrompt", {})
18
+ .n("QConnectClient", "CreateAIPromptCommand")
19
+ .f(CreateAIPromptRequestFilterSensitiveLog, CreateAIPromptResponseFilterSensitiveLog)
20
+ .ser(se_CreateAIPromptCommand)
21
+ .de(de_CreateAIPromptCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateAIPromptVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateAIPromptVersionCommand, se_CreateAIPromptVersionCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateAIPromptVersionCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "CreateAIPromptVersion", {})
18
+ .n("QConnectClient", "CreateAIPromptVersionCommand")
19
+ .f(void 0, CreateAIPromptVersionResponseFilterSensitiveLog)
20
+ .ser(se_CreateAIPromptVersionCommand)
21
+ .de(de_CreateAIPromptVersionCommand)
22
+ .build() {
23
+ }
@@ -2,6 +2,7 @@ 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
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_CreateKnowledgeBaseCommand, se_CreateKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class CreateKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class CreateKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("WisdomService", "CreateKnowledgeBase", {})
17
18
  .n("QConnectClient", "CreateKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(CreateKnowledgeBaseRequestFilterSensitiveLog, CreateKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_CreateKnowledgeBaseCommand)
20
21
  .de(de_CreateKnowledgeBaseCommand)
21
22
  .build() {
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteAIAgentCommand, se_DeleteAIAgentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteAIAgentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeleteAIAgent", {})
17
+ .n("QConnectClient", "DeleteAIAgentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAIAgentCommand)
20
+ .de(de_DeleteAIAgentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteAIAgentVersionCommand, se_DeleteAIAgentVersionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteAIAgentVersionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeleteAIAgentVersion", {})
17
+ .n("QConnectClient", "DeleteAIAgentVersionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAIAgentVersionCommand)
20
+ .de(de_DeleteAIAgentVersionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteAIPromptCommand, se_DeleteAIPromptCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteAIPromptCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeleteAIPrompt", {})
17
+ .n("QConnectClient", "DeleteAIPromptCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAIPromptCommand)
20
+ .de(de_DeleteAIPromptCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteAIPromptVersionCommand, se_DeleteAIPromptVersionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteAIPromptVersionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "DeleteAIPromptVersion", {})
17
+ .n("QConnectClient", "DeleteAIPromptVersionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAIPromptVersionCommand)
20
+ .de(de_DeleteAIPromptVersionCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetAIAgentCommand, se_GetAIAgentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetAIAgentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "GetAIAgent", {})
17
+ .n("QConnectClient", "GetAIAgentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetAIAgentCommand)
20
+ .de(de_GetAIAgentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetAIPromptResponseFilterSensitiveLog } from "../models/models_0";
6
+ import { de_GetAIPromptCommand, se_GetAIPromptCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetAIPromptCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "GetAIPrompt", {})
18
+ .n("QConnectClient", "GetAIPromptCommand")
19
+ .f(void 0, GetAIPromptResponseFilterSensitiveLog)
20
+ .ser(se_GetAIPromptCommand)
21
+ .de(de_GetAIPromptCommand)
22
+ .build() {
23
+ }
@@ -2,6 +2,7 @@ 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
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class GetKnowledgeBaseCommand extends $Command
@@ -15,7 +16,7 @@ export class GetKnowledgeBaseCommand extends $Command
15
16
  })
16
17
  .s("WisdomService", "GetKnowledgeBase", {})
17
18
  .n("QConnectClient", "GetKnowledgeBaseCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, GetKnowledgeBaseResponseFilterSensitiveLog)
19
20
  .ser(se_GetKnowledgeBaseCommand)
20
21
  .de(de_GetKnowledgeBaseCommand)
21
22
  .build() {
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAIAgentVersionsCommand, se_ListAIAgentVersionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAIAgentVersionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ListAIAgentVersions", {})
17
+ .n("QConnectClient", "ListAIAgentVersionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAIAgentVersionsCommand)
20
+ .de(de_ListAIAgentVersionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAIAgentsCommand, se_ListAIAgentsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAIAgentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ListAIAgents", {})
17
+ .n("QConnectClient", "ListAIAgentsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAIAgentsCommand)
20
+ .de(de_ListAIAgentsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAIPromptVersionsCommand, se_ListAIPromptVersionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAIPromptVersionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ListAIPromptVersions", {})
17
+ .n("QConnectClient", "ListAIPromptVersionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAIPromptVersionsCommand)
20
+ .de(de_ListAIPromptVersionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListAIPromptsCommand, se_ListAIPromptsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListAIPromptsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "ListAIPrompts", {})
17
+ .n("QConnectClient", "ListAIPromptsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListAIPromptsCommand)
20
+ .de(de_ListAIPromptsCommand)
21
+ .build() {
22
+ }
@@ -2,6 +2,7 @@ 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
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { ListKnowledgeBasesResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_ListKnowledgeBasesCommand, se_ListKnowledgeBasesCommand } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class ListKnowledgeBasesCommand extends $Command
@@ -15,7 +16,7 @@ export class ListKnowledgeBasesCommand extends $Command
15
16
  })
16
17
  .s("WisdomService", "ListKnowledgeBases", {})
17
18
  .n("QConnectClient", "ListKnowledgeBasesCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, ListKnowledgeBasesResponseFilterSensitiveLog)
19
20
  .ser(se_ListKnowledgeBasesCommand)
20
21
  .de(de_ListKnowledgeBasesCommand)
21
22
  .build() {
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_RemoveAssistantAIAgentCommand, se_RemoveAssistantAIAgentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class RemoveAssistantAIAgentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "RemoveAssistantAIAgent", {})
17
+ .n("QConnectClient", "RemoveAssistantAIAgentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_RemoveAssistantAIAgentCommand)
20
+ .de(de_RemoveAssistantAIAgentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateAIAgentCommand, se_UpdateAIAgentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateAIAgentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "UpdateAIAgent", {})
17
+ .n("QConnectClient", "UpdateAIAgentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateAIAgentCommand)
20
+ .de(de_UpdateAIAgentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateAIPromptRequestFilterSensitiveLog, UpdateAIPromptResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateAIPromptCommand, se_UpdateAIPromptCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateAIPromptCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "UpdateAIPrompt", {})
18
+ .n("QConnectClient", "UpdateAIPromptCommand")
19
+ .f(UpdateAIPromptRequestFilterSensitiveLog, UpdateAIPromptResponseFilterSensitiveLog)
20
+ .ser(se_UpdateAIPromptCommand)
21
+ .de(de_UpdateAIPromptCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateAssistantAIAgentCommand, se_UpdateAssistantAIAgentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateAssistantAIAgentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("WisdomService", "UpdateAssistantAIAgent", {})
17
+ .n("QConnectClient", "UpdateAssistantAIAgentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateAssistantAIAgentCommand)
20
+ .de(de_UpdateAssistantAIAgentCommand)
21
+ .build() {
22
+ }
@@ -2,6 +2,7 @@ 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
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { de_UpdateKnowledgeBaseTemplateUriCommand, se_UpdateKnowledgeBaseTemplateUriCommand, } from "../protocols/Aws_restJson1";
6
7
  export { $Command };
7
8
  export class UpdateKnowledgeBaseTemplateUriCommand extends $Command
@@ -15,7 +16,7 @@ export class UpdateKnowledgeBaseTemplateUriCommand extends $Command
15
16
  })
16
17
  .s("WisdomService", "UpdateKnowledgeBaseTemplateUri", {})
17
18
  .n("QConnectClient", "UpdateKnowledgeBaseTemplateUriCommand")
18
- .f(void 0, void 0)
19
+ .f(void 0, UpdateKnowledgeBaseTemplateUriResponseFilterSensitiveLog)
19
20
  .ser(se_UpdateKnowledgeBaseTemplateUriCommand)
20
21
  .de(de_UpdateKnowledgeBaseTemplateUriCommand)
21
22
  .build() {
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateSessionDataRequestFilterSensitiveLog, UpdateSessionDataResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateSessionDataCommand, se_UpdateSessionDataCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateSessionDataCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("WisdomService", "UpdateSessionData", {})
18
+ .n("QConnectClient", "UpdateSessionDataCommand")
19
+ .f(UpdateSessionDataRequestFilterSensitiveLog, UpdateSessionDataResponseFilterSensitiveLog)
20
+ .ser(se_UpdateSessionDataCommand)
21
+ .de(de_UpdateSessionDataCommand)
22
+ .build() {
23
+ }