@aws-sdk/client-qconnect 3.699.0 → 3.703.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 (124) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +1188 -127
  3. package/dist-es/QConnect.js +22 -0
  4. package/dist-es/commands/CreateAIGuardrailCommand.js +23 -0
  5. package/dist-es/commands/CreateAIGuardrailVersionCommand.js +23 -0
  6. package/dist-es/commands/CreateQuickResponseCommand.js +1 -1
  7. package/dist-es/commands/DeleteAIGuardrailCommand.js +22 -0
  8. package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +22 -0
  9. package/dist-es/commands/GetAIGuardrailCommand.js +23 -0
  10. package/dist-es/commands/GetImportJobCommand.js +1 -1
  11. package/dist-es/commands/GetKnowledgeBaseCommand.js +1 -1
  12. package/dist-es/commands/GetMessageTemplateCommand.js +1 -1
  13. package/dist-es/commands/GetNextMessageCommand.js +23 -0
  14. package/dist-es/commands/GetQuickResponseCommand.js +1 -1
  15. package/dist-es/commands/ListAIGuardrailVersionsCommand.js +23 -0
  16. package/dist-es/commands/ListAIGuardrailsCommand.js +23 -0
  17. package/dist-es/commands/ListKnowledgeBasesCommand.js +1 -1
  18. package/dist-es/commands/ListMessagesCommand.js +23 -0
  19. package/dist-es/commands/ListQuickResponsesCommand.js +1 -1
  20. package/dist-es/commands/RenderMessageTemplateCommand.js +1 -1
  21. package/dist-es/commands/SendMessageCommand.js +23 -0
  22. package/dist-es/commands/UpdateAIGuardrailCommand.js +23 -0
  23. package/dist-es/commands/UpdateMessageTemplateCommand.js +1 -1
  24. package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +1 -1
  25. package/dist-es/commands/UpdateQuickResponseCommand.js +1 -1
  26. package/dist-es/commands/index.js +11 -0
  27. package/dist-es/models/models_0.js +310 -166
  28. package/dist-es/models/models_1.js +167 -1
  29. package/dist-es/pagination/ListAIGuardrailVersionsPaginator.js +4 -0
  30. package/dist-es/pagination/ListAIGuardrailsPaginator.js +4 -0
  31. package/dist-es/pagination/ListMessagesPaginator.js +4 -0
  32. package/dist-es/pagination/index.js +3 -0
  33. package/dist-es/protocols/Aws_restJson1.js +443 -1
  34. package/dist-types/QConnect.d.ts +77 -0
  35. package/dist-types/QConnectClient.d.ts +13 -2
  36. package/dist-types/commands/CreateAIAgentCommand.d.ts +62 -0
  37. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +31 -0
  38. package/dist-types/commands/CreateAIGuardrailCommand.d.ts +231 -0
  39. package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +169 -0
  40. package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -1
  41. package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteAIGuardrailCommand.d.ts +88 -0
  43. package/dist-types/commands/DeleteAIGuardrailVersionCommand.d.ts +89 -0
  44. package/dist-types/commands/DeleteImportJobCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +1 -1
  49. package/dist-types/commands/GetAIAgentCommand.d.ts +31 -0
  50. package/dist-types/commands/GetAIGuardrailCommand.d.ts +157 -0
  51. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  52. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  53. package/dist-types/commands/GetMessageTemplateCommand.d.ts +4 -3
  54. package/dist-types/commands/GetNextMessageCommand.d.ts +106 -0
  55. package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
  56. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +31 -0
  57. package/dist-types/commands/ListAIAgentsCommand.d.ts +31 -0
  58. package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +105 -0
  59. package/dist-types/commands/ListAIGuardrailsCommand.d.ts +101 -0
  60. package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -1
  64. package/dist-types/commands/ListMessagesCommand.d.ts +95 -0
  65. package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -1
  66. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +1 -2
  67. package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -1
  68. package/dist-types/commands/SendMessageCommand.d.ts +114 -0
  69. package/dist-types/commands/UpdateAIAgentCommand.d.ts +62 -0
  70. package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +224 -0
  71. package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -1
  74. package/dist-types/commands/index.d.ts +11 -0
  75. package/dist-types/models/models_0.d.ts +3820 -3619
  76. package/dist-types/models/models_1.d.ts +1513 -1
  77. package/dist-types/pagination/ListAIGuardrailVersionsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListAIGuardrailsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListMessagesPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  82. package/dist-types/ts3.4/QConnect.d.ts +187 -0
  83. package/dist-types/ts3.4/QConnectClient.d.ts +66 -0
  84. package/dist-types/ts3.4/commands/CreateAIGuardrailCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/CreateAIGuardrailVersionCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteAIGuardrailCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/DeleteAIGuardrailVersionCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetAIGuardrailCommand.d.ts +50 -0
  96. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetNextMessageCommand.d.ts +50 -0
  100. package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ListAIGuardrailVersionsCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/ListAIGuardrailsCommand.d.ts +50 -0
  103. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +4 -2
  110. package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/UpdateAIGuardrailCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +482 -441
  118. package/dist-types/ts3.4/models/models_1.d.ts +437 -5
  119. package/dist-types/ts3.4/pagination/ListAIGuardrailVersionsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/ListAIGuardrailsPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/ListMessagesPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  123. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  124. package/package.json +1 -1
@@ -2,6 +2,8 @@ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { ActivateMessageTemplateCommand, } from "./commands/ActivateMessageTemplateCommand";
3
3
  import { CreateAIAgentCommand, } from "./commands/CreateAIAgentCommand";
4
4
  import { CreateAIAgentVersionCommand, } from "./commands/CreateAIAgentVersionCommand";
5
+ import { CreateAIGuardrailCommand, } from "./commands/CreateAIGuardrailCommand";
6
+ import { CreateAIGuardrailVersionCommand, } from "./commands/CreateAIGuardrailVersionCommand";
5
7
  import { CreateAIPromptCommand, } from "./commands/CreateAIPromptCommand";
6
8
  import { CreateAIPromptVersionCommand, } from "./commands/CreateAIPromptVersionCommand";
7
9
  import { CreateAssistantAssociationCommand, } from "./commands/CreateAssistantAssociationCommand";
@@ -17,6 +19,8 @@ import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
17
19
  import { DeactivateMessageTemplateCommand, } from "./commands/DeactivateMessageTemplateCommand";
18
20
  import { DeleteAIAgentCommand, } from "./commands/DeleteAIAgentCommand";
19
21
  import { DeleteAIAgentVersionCommand, } from "./commands/DeleteAIAgentVersionCommand";
22
+ import { DeleteAIGuardrailCommand, } from "./commands/DeleteAIGuardrailCommand";
23
+ import { DeleteAIGuardrailVersionCommand, } from "./commands/DeleteAIGuardrailVersionCommand";
20
24
  import { DeleteAIPromptCommand, } from "./commands/DeleteAIPromptCommand";
21
25
  import { DeleteAIPromptVersionCommand, } from "./commands/DeleteAIPromptVersionCommand";
22
26
  import { DeleteAssistantAssociationCommand, } from "./commands/DeleteAssistantAssociationCommand";
@@ -29,6 +33,7 @@ import { DeleteMessageTemplateAttachmentCommand, } from "./commands/DeleteMessag
29
33
  import { DeleteMessageTemplateCommand, } from "./commands/DeleteMessageTemplateCommand";
30
34
  import { DeleteQuickResponseCommand, } from "./commands/DeleteQuickResponseCommand";
31
35
  import { GetAIAgentCommand } from "./commands/GetAIAgentCommand";
36
+ import { GetAIGuardrailCommand, } from "./commands/GetAIGuardrailCommand";
32
37
  import { GetAIPromptCommand } from "./commands/GetAIPromptCommand";
33
38
  import { GetAssistantAssociationCommand, } from "./commands/GetAssistantAssociationCommand";
34
39
  import { GetAssistantCommand, } from "./commands/GetAssistantCommand";
@@ -38,11 +43,14 @@ import { GetContentSummaryCommand, } from "./commands/GetContentSummaryCommand";
38
43
  import { GetImportJobCommand, } from "./commands/GetImportJobCommand";
39
44
  import { GetKnowledgeBaseCommand, } from "./commands/GetKnowledgeBaseCommand";
40
45
  import { GetMessageTemplateCommand, } from "./commands/GetMessageTemplateCommand";
46
+ import { GetNextMessageCommand, } from "./commands/GetNextMessageCommand";
41
47
  import { GetQuickResponseCommand, } from "./commands/GetQuickResponseCommand";
42
48
  import { GetRecommendationsCommand, } from "./commands/GetRecommendationsCommand";
43
49
  import { GetSessionCommand } from "./commands/GetSessionCommand";
44
50
  import { ListAIAgentsCommand, } from "./commands/ListAIAgentsCommand";
45
51
  import { ListAIAgentVersionsCommand, } from "./commands/ListAIAgentVersionsCommand";
52
+ import { ListAIGuardrailsCommand, } from "./commands/ListAIGuardrailsCommand";
53
+ import { ListAIGuardrailVersionsCommand, } from "./commands/ListAIGuardrailVersionsCommand";
46
54
  import { ListAIPromptsCommand, } from "./commands/ListAIPromptsCommand";
47
55
  import { ListAIPromptVersionsCommand, } from "./commands/ListAIPromptVersionsCommand";
48
56
  import { ListAssistantAssociationsCommand, } from "./commands/ListAssistantAssociationsCommand";
@@ -51,6 +59,7 @@ import { ListContentAssociationsCommand, } from "./commands/ListContentAssociati
51
59
  import { ListContentsCommand, } from "./commands/ListContentsCommand";
52
60
  import { ListImportJobsCommand, } from "./commands/ListImportJobsCommand";
53
61
  import { ListKnowledgeBasesCommand, } from "./commands/ListKnowledgeBasesCommand";
62
+ import { ListMessagesCommand, } from "./commands/ListMessagesCommand";
54
63
  import { ListMessageTemplatesCommand, } from "./commands/ListMessageTemplatesCommand";
55
64
  import { ListMessageTemplateVersionsCommand, } from "./commands/ListMessageTemplateVersionsCommand";
56
65
  import { ListQuickResponsesCommand, } from "./commands/ListQuickResponsesCommand";
@@ -65,11 +74,13 @@ import { SearchContentCommand, } from "./commands/SearchContentCommand";
65
74
  import { SearchMessageTemplatesCommand, } from "./commands/SearchMessageTemplatesCommand";
66
75
  import { SearchQuickResponsesCommand, } from "./commands/SearchQuickResponsesCommand";
67
76
  import { SearchSessionsCommand, } from "./commands/SearchSessionsCommand";
77
+ import { SendMessageCommand } from "./commands/SendMessageCommand";
68
78
  import { StartContentUploadCommand, } from "./commands/StartContentUploadCommand";
69
79
  import { StartImportJobCommand, } from "./commands/StartImportJobCommand";
70
80
  import { TagResourceCommand } from "./commands/TagResourceCommand";
71
81
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
72
82
  import { UpdateAIAgentCommand, } from "./commands/UpdateAIAgentCommand";
83
+ import { UpdateAIGuardrailCommand, } from "./commands/UpdateAIGuardrailCommand";
73
84
  import { UpdateAIPromptCommand, } from "./commands/UpdateAIPromptCommand";
74
85
  import { UpdateAssistantAIAgentCommand, } from "./commands/UpdateAssistantAIAgentCommand";
75
86
  import { UpdateContentCommand, } from "./commands/UpdateContentCommand";
@@ -84,6 +95,8 @@ const commands = {
84
95
  ActivateMessageTemplateCommand,
85
96
  CreateAIAgentCommand,
86
97
  CreateAIAgentVersionCommand,
98
+ CreateAIGuardrailCommand,
99
+ CreateAIGuardrailVersionCommand,
87
100
  CreateAIPromptCommand,
88
101
  CreateAIPromptVersionCommand,
89
102
  CreateAssistantCommand,
@@ -99,6 +112,8 @@ const commands = {
99
112
  DeactivateMessageTemplateCommand,
100
113
  DeleteAIAgentCommand,
101
114
  DeleteAIAgentVersionCommand,
115
+ DeleteAIGuardrailCommand,
116
+ DeleteAIGuardrailVersionCommand,
102
117
  DeleteAIPromptCommand,
103
118
  DeleteAIPromptVersionCommand,
104
119
  DeleteAssistantCommand,
@@ -111,6 +126,7 @@ const commands = {
111
126
  DeleteMessageTemplateAttachmentCommand,
112
127
  DeleteQuickResponseCommand,
113
128
  GetAIAgentCommand,
129
+ GetAIGuardrailCommand,
114
130
  GetAIPromptCommand,
115
131
  GetAssistantCommand,
116
132
  GetAssistantAssociationCommand,
@@ -120,11 +136,14 @@ const commands = {
120
136
  GetImportJobCommand,
121
137
  GetKnowledgeBaseCommand,
122
138
  GetMessageTemplateCommand,
139
+ GetNextMessageCommand,
123
140
  GetQuickResponseCommand,
124
141
  GetRecommendationsCommand,
125
142
  GetSessionCommand,
126
143
  ListAIAgentsCommand,
127
144
  ListAIAgentVersionsCommand,
145
+ ListAIGuardrailsCommand,
146
+ ListAIGuardrailVersionsCommand,
128
147
  ListAIPromptsCommand,
129
148
  ListAIPromptVersionsCommand,
130
149
  ListAssistantAssociationsCommand,
@@ -133,6 +152,7 @@ const commands = {
133
152
  ListContentsCommand,
134
153
  ListImportJobsCommand,
135
154
  ListKnowledgeBasesCommand,
155
+ ListMessagesCommand,
136
156
  ListMessageTemplatesCommand,
137
157
  ListMessageTemplateVersionsCommand,
138
158
  ListQuickResponsesCommand,
@@ -147,11 +167,13 @@ const commands = {
147
167
  SearchMessageTemplatesCommand,
148
168
  SearchQuickResponsesCommand,
149
169
  SearchSessionsCommand,
170
+ SendMessageCommand,
150
171
  StartContentUploadCommand,
151
172
  StartImportJobCommand,
152
173
  TagResourceCommand,
153
174
  UntagResourceCommand,
154
175
  UpdateAIAgentCommand,
176
+ UpdateAIGuardrailCommand,
155
177
  UpdateAIPromptCommand,
156
178
  UpdateAssistantAIAgentCommand,
157
179
  UpdateContentCommand,
@@ -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 { CreateAIGuardrailRequestFilterSensitiveLog, CreateAIGuardrailResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateAIGuardrailCommand, se_CreateAIGuardrailCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateAIGuardrailCommand 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", "CreateAIGuardrail", {})
18
+ .n("QConnectClient", "CreateAIGuardrailCommand")
19
+ .f(CreateAIGuardrailRequestFilterSensitiveLog, CreateAIGuardrailResponseFilterSensitiveLog)
20
+ .ser(se_CreateAIGuardrailCommand)
21
+ .de(de_CreateAIGuardrailCommand)
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 { CreateAIGuardrailVersionResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateAIGuardrailVersionCommand, se_CreateAIGuardrailVersionCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateAIGuardrailVersionCommand 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", "CreateAIGuardrailVersion", {})
18
+ .n("QConnectClient", "CreateAIGuardrailVersionCommand")
19
+ .f(void 0, CreateAIGuardrailVersionResponseFilterSensitiveLog)
20
+ .ser(se_CreateAIGuardrailVersionCommand)
21
+ .de(de_CreateAIGuardrailVersionCommand)
22
+ .build() {
23
+ }
@@ -2,7 +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 { CreateQuickResponseRequestFilterSensitiveLog, CreateQuickResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { CreateQuickResponseRequestFilterSensitiveLog, CreateQuickResponseResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_CreateQuickResponseCommand, se_CreateQuickResponseCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class CreateQuickResponseCommand extends $Command
@@ -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_DeleteAIGuardrailCommand, se_DeleteAIGuardrailCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteAIGuardrailCommand 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", "DeleteAIGuardrail", {})
17
+ .n("QConnectClient", "DeleteAIGuardrailCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAIGuardrailCommand)
20
+ .de(de_DeleteAIGuardrailCommand)
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_DeleteAIGuardrailVersionCommand, se_DeleteAIGuardrailVersionCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteAIGuardrailVersionCommand 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", "DeleteAIGuardrailVersion", {})
17
+ .n("QConnectClient", "DeleteAIGuardrailVersionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteAIGuardrailVersionCommand)
20
+ .de(de_DeleteAIGuardrailVersionCommand)
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 { GetAIGuardrailResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetAIGuardrailCommand, se_GetAIGuardrailCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetAIGuardrailCommand 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", "GetAIGuardrail", {})
18
+ .n("QConnectClient", "GetAIGuardrailCommand")
19
+ .f(void 0, GetAIGuardrailResponseFilterSensitiveLog)
20
+ .ser(se_GetAIGuardrailCommand)
21
+ .de(de_GetAIGuardrailCommand)
22
+ .build() {
23
+ }
@@ -2,7 +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 { GetImportJobResponseFilterSensitiveLog } from "../models/models_0";
5
+ import { GetImportJobResponseFilterSensitiveLog } from "../models/models_1";
6
6
  import { de_GetImportJobCommand, se_GetImportJobCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetImportJobCommand extends $Command
@@ -2,7 +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
+ import { GetKnowledgeBaseResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_GetKnowledgeBaseCommand, se_GetKnowledgeBaseCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetKnowledgeBaseCommand extends $Command
@@ -2,7 +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 { GetMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { GetMessageTemplateResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_GetMessageTemplateCommand, se_GetMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetMessageTemplateCommand extends $Command
@@ -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 { GetNextMessageResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetNextMessageCommand, se_GetNextMessageCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetNextMessageCommand 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", "GetNextMessage", {})
18
+ .n("QConnectClient", "GetNextMessageCommand")
19
+ .f(void 0, GetNextMessageResponseFilterSensitiveLog)
20
+ .ser(se_GetNextMessageCommand)
21
+ .de(de_GetNextMessageCommand)
22
+ .build() {
23
+ }
@@ -2,7 +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 { GetQuickResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { GetQuickResponseResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_GetQuickResponseCommand, se_GetQuickResponseCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetQuickResponseCommand extends $Command
@@ -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 { ListAIGuardrailVersionsResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListAIGuardrailVersionsCommand, se_ListAIGuardrailVersionsCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListAIGuardrailVersionsCommand 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", "ListAIGuardrailVersions", {})
18
+ .n("QConnectClient", "ListAIGuardrailVersionsCommand")
19
+ .f(void 0, ListAIGuardrailVersionsResponseFilterSensitiveLog)
20
+ .ser(se_ListAIGuardrailVersionsCommand)
21
+ .de(de_ListAIGuardrailVersionsCommand)
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 { ListAIGuardrailsResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_ListAIGuardrailsCommand, se_ListAIGuardrailsCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListAIGuardrailsCommand 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", "ListAIGuardrails", {})
18
+ .n("QConnectClient", "ListAIGuardrailsCommand")
19
+ .f(void 0, ListAIGuardrailsResponseFilterSensitiveLog)
20
+ .ser(se_ListAIGuardrailsCommand)
21
+ .de(de_ListAIGuardrailsCommand)
22
+ .build() {
23
+ }
@@ -2,7 +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
+ import { ListKnowledgeBasesResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_ListKnowledgeBasesCommand, se_ListKnowledgeBasesCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class ListKnowledgeBasesCommand extends $Command
@@ -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 { ListMessagesResponseFilterSensitiveLog } from "../models/models_0";
6
+ import { de_ListMessagesCommand, se_ListMessagesCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class ListMessagesCommand 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", "ListMessages", {})
18
+ .n("QConnectClient", "ListMessagesCommand")
19
+ .f(void 0, ListMessagesResponseFilterSensitiveLog)
20
+ .ser(se_ListMessagesCommand)
21
+ .de(de_ListMessagesCommand)
22
+ .build() {
23
+ }
@@ -2,7 +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 { ListQuickResponsesResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { ListQuickResponsesResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_ListQuickResponsesCommand, se_ListQuickResponsesCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class ListQuickResponsesCommand extends $Command
@@ -2,7 +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 { RenderMessageTemplateRequestFilterSensitiveLog, RenderMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { RenderMessageTemplateRequestFilterSensitiveLog, RenderMessageTemplateResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_RenderMessageTemplateCommand, se_RenderMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class RenderMessageTemplateCommand extends $Command
@@ -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 { SendMessageRequestFilterSensitiveLog } from "../models/models_0";
6
+ import { de_SendMessageCommand, se_SendMessageCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class SendMessageCommand 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", "SendMessage", {})
18
+ .n("QConnectClient", "SendMessageCommand")
19
+ .f(SendMessageRequestFilterSensitiveLog, void 0)
20
+ .ser(se_SendMessageCommand)
21
+ .de(de_SendMessageCommand)
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 { UpdateAIGuardrailRequestFilterSensitiveLog, UpdateAIGuardrailResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateAIGuardrailCommand, se_UpdateAIGuardrailCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateAIGuardrailCommand 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", "UpdateAIGuardrail", {})
18
+ .n("QConnectClient", "UpdateAIGuardrailCommand")
19
+ .f(UpdateAIGuardrailRequestFilterSensitiveLog, UpdateAIGuardrailResponseFilterSensitiveLog)
20
+ .ser(se_UpdateAIGuardrailCommand)
21
+ .de(de_UpdateAIGuardrailCommand)
22
+ .build() {
23
+ }
@@ -2,7 +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 { UpdateMessageTemplateRequestFilterSensitiveLog, UpdateMessageTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { UpdateMessageTemplateRequestFilterSensitiveLog, UpdateMessageTemplateResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_UpdateMessageTemplateCommand, se_UpdateMessageTemplateCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class UpdateMessageTemplateCommand extends $Command
@@ -2,7 +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 { UpdateMessageTemplateMetadataRequestFilterSensitiveLog, UpdateMessageTemplateMetadataResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { UpdateMessageTemplateMetadataRequestFilterSensitiveLog, UpdateMessageTemplateMetadataResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_UpdateMessageTemplateMetadataCommand, se_UpdateMessageTemplateMetadataCommand, } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class UpdateMessageTemplateMetadataCommand extends $Command
@@ -2,7 +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 { UpdateQuickResponseRequestFilterSensitiveLog, UpdateQuickResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { UpdateQuickResponseRequestFilterSensitiveLog, UpdateQuickResponseResponseFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_UpdateQuickResponseCommand, se_UpdateQuickResponseCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class UpdateQuickResponseCommand extends $Command
@@ -1,6 +1,8 @@
1
1
  export * from "./ActivateMessageTemplateCommand";
2
2
  export * from "./CreateAIAgentCommand";
3
3
  export * from "./CreateAIAgentVersionCommand";
4
+ export * from "./CreateAIGuardrailCommand";
5
+ export * from "./CreateAIGuardrailVersionCommand";
4
6
  export * from "./CreateAIPromptCommand";
5
7
  export * from "./CreateAIPromptVersionCommand";
6
8
  export * from "./CreateAssistantAssociationCommand";
@@ -16,6 +18,8 @@ export * from "./CreateSessionCommand";
16
18
  export * from "./DeactivateMessageTemplateCommand";
17
19
  export * from "./DeleteAIAgentCommand";
18
20
  export * from "./DeleteAIAgentVersionCommand";
21
+ export * from "./DeleteAIGuardrailCommand";
22
+ export * from "./DeleteAIGuardrailVersionCommand";
19
23
  export * from "./DeleteAIPromptCommand";
20
24
  export * from "./DeleteAIPromptVersionCommand";
21
25
  export * from "./DeleteAssistantAssociationCommand";
@@ -28,6 +32,7 @@ export * from "./DeleteMessageTemplateAttachmentCommand";
28
32
  export * from "./DeleteMessageTemplateCommand";
29
33
  export * from "./DeleteQuickResponseCommand";
30
34
  export * from "./GetAIAgentCommand";
35
+ export * from "./GetAIGuardrailCommand";
31
36
  export * from "./GetAIPromptCommand";
32
37
  export * from "./GetAssistantAssociationCommand";
33
38
  export * from "./GetAssistantCommand";
@@ -37,11 +42,14 @@ export * from "./GetContentSummaryCommand";
37
42
  export * from "./GetImportJobCommand";
38
43
  export * from "./GetKnowledgeBaseCommand";
39
44
  export * from "./GetMessageTemplateCommand";
45
+ export * from "./GetNextMessageCommand";
40
46
  export * from "./GetQuickResponseCommand";
41
47
  export * from "./GetRecommendationsCommand";
42
48
  export * from "./GetSessionCommand";
43
49
  export * from "./ListAIAgentVersionsCommand";
44
50
  export * from "./ListAIAgentsCommand";
51
+ export * from "./ListAIGuardrailVersionsCommand";
52
+ export * from "./ListAIGuardrailsCommand";
45
53
  export * from "./ListAIPromptVersionsCommand";
46
54
  export * from "./ListAIPromptsCommand";
47
55
  export * from "./ListAssistantAssociationsCommand";
@@ -52,6 +60,7 @@ export * from "./ListImportJobsCommand";
52
60
  export * from "./ListKnowledgeBasesCommand";
53
61
  export * from "./ListMessageTemplateVersionsCommand";
54
62
  export * from "./ListMessageTemplatesCommand";
63
+ export * from "./ListMessagesCommand";
55
64
  export * from "./ListQuickResponsesCommand";
56
65
  export * from "./ListTagsForResourceCommand";
57
66
  export * from "./NotifyRecommendationsReceivedCommand";
@@ -64,11 +73,13 @@ export * from "./SearchContentCommand";
64
73
  export * from "./SearchMessageTemplatesCommand";
65
74
  export * from "./SearchQuickResponsesCommand";
66
75
  export * from "./SearchSessionsCommand";
76
+ export * from "./SendMessageCommand";
67
77
  export * from "./StartContentUploadCommand";
68
78
  export * from "./StartImportJobCommand";
69
79
  export * from "./TagResourceCommand";
70
80
  export * from "./UntagResourceCommand";
71
81
  export * from "./UpdateAIAgentCommand";
82
+ export * from "./UpdateAIGuardrailCommand";
72
83
  export * from "./UpdateAIPromptCommand";
73
84
  export * from "./UpdateAssistantAIAgentCommand";
74
85
  export * from "./UpdateContentCommand";