@aws-sdk/client-qbusiness 3.564.0 → 3.566.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 (48) hide show
  1. package/README.md +8 -3
  2. package/dist-cjs/index.js +434 -9
  3. package/dist-cjs/runtimeConfig.browser.js +4 -0
  4. package/dist-cjs/runtimeConfig.js +4 -0
  5. package/dist-cjs/runtimeConfig.native.js +3 -0
  6. package/dist-es/QBusiness.js +2 -0
  7. package/dist-es/QBusinessClient.js +8 -4
  8. package/dist-es/commands/ChatCommand.js +32 -0
  9. package/dist-es/commands/CreatePluginCommand.js +2 -1
  10. package/dist-es/commands/GetPluginCommand.js +2 -1
  11. package/dist-es/commands/UpdatePluginCommand.js +2 -1
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/models/models_0.js +134 -0
  14. package/dist-es/protocols/Aws_restJson1.js +225 -1
  15. package/dist-es/runtimeConfig.browser.js +5 -1
  16. package/dist-es/runtimeConfig.js +4 -0
  17. package/dist-es/runtimeConfig.native.js +3 -0
  18. package/dist-types/QBusiness.d.ts +8 -4
  19. package/dist-types/QBusinessClient.d.ts +19 -9
  20. package/dist-types/commands/ChatCommand.d.ts +281 -0
  21. package/dist-types/commands/ChatSyncCommand.d.ts +14 -1
  22. package/dist-types/commands/CreateApplicationCommand.d.ts +8 -1
  23. package/dist-types/commands/CreateIndexCommand.d.ts +1 -0
  24. package/dist-types/commands/CreatePluginCommand.d.ts +15 -2
  25. package/dist-types/commands/GetIndexCommand.d.ts +1 -0
  26. package/dist-types/commands/GetPluginCommand.d.ts +14 -1
  27. package/dist-types/commands/ListMessagesCommand.d.ts +6 -1
  28. package/dist-types/commands/ListPluginsCommand.d.ts +2 -1
  29. package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -0
  30. package/dist-types/commands/UpdatePluginCommand.d.ts +12 -0
  31. package/dist-types/commands/UpdateWebExperienceCommand.d.ts +1 -0
  32. package/dist-types/commands/index.d.ts +1 -0
  33. package/dist-types/index.d.ts +1 -4
  34. package/dist-types/models/models_0.d.ts +867 -47
  35. package/dist-types/protocols/Aws_restJson1.d.ts +10 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  37. package/dist-types/runtimeConfig.d.ts +2 -0
  38. package/dist-types/runtimeConfig.native.d.ts +2 -0
  39. package/dist-types/ts3.4/QBusiness.d.ts +14 -0
  40. package/dist-types/ts3.4/QBusinessClient.d.ts +19 -0
  41. package/dist-types/ts3.4/commands/ChatCommand.d.ts +29 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +333 -11
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +13 -1
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  48. package/package.json +7 -2
package/dist-cjs/index.js CHANGED
@@ -21,6 +21,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ APISchema: () => APISchema,
25
+ APISchemaFilterSensitiveLog: () => APISchemaFilterSensitiveLog,
26
+ APISchemaType: () => APISchemaType,
24
27
  AccessDeniedException: () => AccessDeniedException,
25
28
  ActionPayloadFieldType: () => ActionPayloadFieldType,
26
29
  ApplicationStatus: () => ApplicationStatus,
@@ -30,8 +33,15 @@ __export(src_exports, {
30
33
  AttributeValueOperator: () => AttributeValueOperator,
31
34
  BatchDeleteDocumentCommand: () => BatchDeleteDocumentCommand,
32
35
  BatchPutDocumentCommand: () => BatchPutDocumentCommand,
36
+ ChatCommand: () => ChatCommand,
37
+ ChatInputFilterSensitiveLog: () => ChatInputFilterSensitiveLog,
38
+ ChatInputStream: () => ChatInputStream,
39
+ ChatInputStreamFilterSensitiveLog: () => ChatInputStreamFilterSensitiveLog,
33
40
  ChatMode: () => ChatMode,
34
41
  ChatModeConfiguration: () => ChatModeConfiguration,
42
+ ChatOutputFilterSensitiveLog: () => ChatOutputFilterSensitiveLog,
43
+ ChatOutputStream: () => ChatOutputStream,
44
+ ChatOutputStreamFilterSensitiveLog: () => ChatOutputStreamFilterSensitiveLog,
35
45
  ChatSyncCommand: () => ChatSyncCommand,
36
46
  ConflictException: () => ConflictException,
37
47
  ContentType: () => ContentType,
@@ -40,10 +50,12 @@ __export(src_exports, {
40
50
  CreateDataSourceCommand: () => CreateDataSourceCommand,
41
51
  CreateIndexCommand: () => CreateIndexCommand,
42
52
  CreatePluginCommand: () => CreatePluginCommand,
53
+ CreatePluginRequestFilterSensitiveLog: () => CreatePluginRequestFilterSensitiveLog,
43
54
  CreateRetrieverCommand: () => CreateRetrieverCommand,
44
55
  CreateUserCommand: () => CreateUserCommand,
45
56
  CreateWebExperienceCommand: () => CreateWebExperienceCommand,
46
57
  CreatorModeControl: () => CreatorModeControl,
58
+ CustomPluginConfigurationFilterSensitiveLog: () => CustomPluginConfigurationFilterSensitiveLog,
47
59
  DataSourceStatus: () => DataSourceStatus,
48
60
  DataSourceSyncJobStatus: () => DataSourceSyncJobStatus,
49
61
  DeleteApplicationCommand: () => DeleteApplicationCommand,
@@ -72,11 +84,13 @@ __export(src_exports, {
72
84
  GetGroupCommand: () => GetGroupCommand,
73
85
  GetIndexCommand: () => GetIndexCommand,
74
86
  GetPluginCommand: () => GetPluginCommand,
87
+ GetPluginResponseFilterSensitiveLog: () => GetPluginResponseFilterSensitiveLog,
75
88
  GetRetrieverCommand: () => GetRetrieverCommand,
76
89
  GetUserCommand: () => GetUserCommand,
77
90
  GetWebExperienceCommand: () => GetWebExperienceCommand,
78
91
  GroupStatus: () => GroupStatus,
79
92
  IndexStatus: () => IndexStatus,
93
+ IndexType: () => IndexType,
80
94
  InternalServerException: () => InternalServerException,
81
95
  LicenseNotFoundException: () => LicenseNotFoundException,
82
96
  ListApplicationsCommand: () => ListApplicationsCommand,
@@ -98,6 +112,7 @@ __export(src_exports, {
98
112
  MessageUsefulnessReason: () => MessageUsefulnessReason,
99
113
  NumberAttributeBoostingType: () => NumberAttributeBoostingType,
100
114
  PluginAuthConfiguration: () => PluginAuthConfiguration,
115
+ PluginBuildStatus: () => PluginBuildStatus,
101
116
  PluginState: () => PluginState,
102
117
  PluginType: () => PluginType,
103
118
  Principal: () => Principal,
@@ -127,6 +142,7 @@ __export(src_exports, {
127
142
  UpdateDataSourceCommand: () => UpdateDataSourceCommand,
128
143
  UpdateIndexCommand: () => UpdateIndexCommand,
129
144
  UpdatePluginCommand: () => UpdatePluginCommand,
145
+ UpdatePluginRequestFilterSensitiveLog: () => UpdatePluginRequestFilterSensitiveLog,
130
146
  UpdateRetrieverCommand: () => UpdateRetrieverCommand,
131
147
  UpdateUserCommand: () => UpdateUserCommand,
132
148
  UpdateWebExperienceCommand: () => UpdateWebExperienceCommand,
@@ -152,12 +168,14 @@ __export(src_exports, {
152
168
  module.exports = __toCommonJS(src_exports);
153
169
 
154
170
  // src/QBusinessClient.ts
171
+ var import_middleware_eventstream = require("@aws-sdk/middleware-eventstream");
155
172
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
156
173
  var import_middleware_logger = require("@aws-sdk/middleware-logger");
157
174
  var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
158
175
  var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
159
176
  var import_config_resolver = require("@smithy/config-resolver");
160
177
  var import_core = require("@smithy/core");
178
+ var import_eventstream_serde_config_resolver = require("@smithy/eventstream-serde-config-resolver");
161
179
  var import_middleware_content_length = require("@smithy/middleware-content-length");
162
180
  var import_middleware_endpoint = require("@smithy/middleware-endpoint");
163
181
  var import_middleware_retry = require("@smithy/middleware-retry");
@@ -254,10 +272,12 @@ var _QBusinessClient = class _QBusinessClient extends import_smithy_client.Clien
254
272
  const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
255
273
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
256
274
  const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
257
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
258
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
259
- super(_config_8);
260
- this.config = _config_8;
275
+ const _config_7 = (0, import_eventstream_serde_config_resolver.resolveEventStreamSerdeConfig)(_config_6);
276
+ const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
277
+ const _config_9 = (0, import_middleware_eventstream.resolveEventStreamConfig)(_config_8);
278
+ const _config_10 = resolveRuntimeExtensions(_config_9, (configuration == null ? void 0 : configuration.extensions) || []);
279
+ super(_config_10);
280
+ this.config = _config_10;
261
281
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
262
282
  this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
263
283
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
@@ -371,11 +391,25 @@ var ActionPayloadFieldType = {
371
391
  STRING: "STRING"
372
392
  };
373
393
  var PluginType = {
394
+ CUSTOM: "CUSTOM",
374
395
  JIRA: "JIRA",
375
396
  SALESFORCE: "SALESFORCE",
376
397
  SERVICE_NOW: "SERVICE_NOW",
377
398
  ZENDESK: "ZENDESK"
378
399
  };
400
+ var APISchema;
401
+ ((APISchema3) => {
402
+ APISchema3.visit = /* @__PURE__ */ __name((value, visitor) => {
403
+ if (value.payload !== void 0)
404
+ return visitor.payload(value.payload);
405
+ if (value.s3 !== void 0)
406
+ return visitor.s3(value.s3);
407
+ return visitor._(value.$unknown[0], value.$unknown[1]);
408
+ }, "visit");
409
+ })(APISchema || (APISchema = {}));
410
+ var APISchemaType = {
411
+ OPEN_API_V3: "OPEN_API_V3"
412
+ };
379
413
  var ApplicationStatus = {
380
414
  ACTIVE: "ACTIVE",
381
415
  CREATING: "CREATING",
@@ -508,6 +542,10 @@ var ErrorCode = {
508
542
  RESOURCE_INACTIVE: "ResourceInactive",
509
543
  RESOURCE_NOT_FOUND: "ResourceNotFound"
510
544
  };
545
+ var IndexType = {
546
+ ENTERPRISE: "ENTERPRISE",
547
+ STARTER: "STARTER"
548
+ };
511
549
  var DocumentEnrichmentConditionOperator = {
512
550
  BEGINS_WITH: "BEGINS_WITH",
513
551
  CONTAINS: "CONTAINS",
@@ -573,9 +611,20 @@ var PluginAuthConfiguration;
573
611
  return visitor.basicAuthConfiguration(value.basicAuthConfiguration);
574
612
  if (value.oAuth2ClientCredentialConfiguration !== void 0)
575
613
  return visitor.oAuth2ClientCredentialConfiguration(value.oAuth2ClientCredentialConfiguration);
614
+ if (value.noAuthConfiguration !== void 0)
615
+ return visitor.noAuthConfiguration(value.noAuthConfiguration);
576
616
  return visitor._(value.$unknown[0], value.$unknown[1]);
577
617
  }, "visit");
578
618
  })(PluginAuthConfiguration || (PluginAuthConfiguration = {}));
619
+ var PluginBuildStatus = {
620
+ CREATE_FAILED: "CREATE_FAILED",
621
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
622
+ DELETE_FAILED: "DELETE_FAILED",
623
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
624
+ READY: "READY",
625
+ UPDATE_FAILED: "UPDATE_FAILED",
626
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"
627
+ };
579
628
  var PluginState = {
580
629
  DISABLED: "DISABLED",
581
630
  ENABLED: "ENABLED"
@@ -694,6 +743,22 @@ var ChatModeConfiguration;
694
743
  return visitor._(value.$unknown[0], value.$unknown[1]);
695
744
  }, "visit");
696
745
  })(ChatModeConfiguration || (ChatModeConfiguration = {}));
746
+ var ChatOutputStream;
747
+ ((ChatOutputStream3) => {
748
+ ChatOutputStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
749
+ if (value.textEvent !== void 0)
750
+ return visitor.textEvent(value.textEvent);
751
+ if (value.metadataEvent !== void 0)
752
+ return visitor.metadataEvent(value.metadataEvent);
753
+ if (value.actionReviewEvent !== void 0)
754
+ return visitor.actionReviewEvent(value.actionReviewEvent);
755
+ if (value.failedAttachmentEvent !== void 0)
756
+ return visitor.failedAttachmentEvent(value.failedAttachmentEvent);
757
+ if (value.authChallengeRequestEvent !== void 0)
758
+ return visitor.authChallengeRequestEvent(value.authChallengeRequestEvent);
759
+ return visitor._(value.$unknown[0], value.$unknown[1]);
760
+ }, "visit");
761
+ })(ChatOutputStream || (ChatOutputStream = {}));
697
762
  var _LicenseNotFoundException = class _LicenseNotFoundException extends QBusinessServiceException {
698
763
  /**
699
764
  * @internal
@@ -777,6 +842,32 @@ var MessageUsefulness = {
777
842
  NOT_USEFUL: "NOT_USEFUL",
778
843
  USEFUL: "USEFUL"
779
844
  };
845
+ var ChatInputStream;
846
+ ((ChatInputStream2) => {
847
+ ChatInputStream2.visit = /* @__PURE__ */ __name((value, visitor) => {
848
+ if (value.configurationEvent !== void 0)
849
+ return visitor.configurationEvent(value.configurationEvent);
850
+ if (value.textEvent !== void 0)
851
+ return visitor.textEvent(value.textEvent);
852
+ if (value.attachmentEvent !== void 0)
853
+ return visitor.attachmentEvent(value.attachmentEvent);
854
+ if (value.actionExecutionEvent !== void 0)
855
+ return visitor.actionExecutionEvent(value.actionExecutionEvent);
856
+ if (value.endOfInputEvent !== void 0)
857
+ return visitor.endOfInputEvent(value.endOfInputEvent);
858
+ if (value.authChallengeResponseEvent !== void 0)
859
+ return visitor.authChallengeResponseEvent(value.authChallengeResponseEvent);
860
+ return visitor._(value.$unknown[0], value.$unknown[1]);
861
+ }, "visit");
862
+ })(ChatInputStream || (ChatInputStream = {}));
863
+ var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
864
+ if (obj.payload !== void 0)
865
+ return { payload: import_smithy_client.SENSITIVE_STRING };
866
+ if (obj.s3 !== void 0)
867
+ return { s3: obj.s3 };
868
+ if (obj.$unknown !== void 0)
869
+ return { [obj.$unknown[0]]: "UNKNOWN" };
870
+ }, "APISchemaFilterSensitiveLog");
780
871
  var EncryptionConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
781
872
  ...obj,
782
873
  ...obj.kmsKeyId && { kmsKeyId: import_smithy_client.SENSITIVE_STRING }
@@ -793,6 +884,69 @@ var GetApplicationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
793
884
  encryptionConfiguration: EncryptionConfigurationFilterSensitiveLog(obj.encryptionConfiguration)
794
885
  }
795
886
  }), "GetApplicationResponseFilterSensitiveLog");
887
+ var CustomPluginConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
888
+ ...obj,
889
+ ...obj.apiSchema && { apiSchema: APISchemaFilterSensitiveLog(obj.apiSchema) }
890
+ }), "CustomPluginConfigurationFilterSensitiveLog");
891
+ var CreatePluginRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
892
+ ...obj,
893
+ ...obj.authConfiguration && { authConfiguration: obj.authConfiguration },
894
+ ...obj.customPluginConfiguration && {
895
+ customPluginConfiguration: CustomPluginConfigurationFilterSensitiveLog(obj.customPluginConfiguration)
896
+ }
897
+ }), "CreatePluginRequestFilterSensitiveLog");
898
+ var GetPluginResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
899
+ ...obj,
900
+ ...obj.authConfiguration && { authConfiguration: obj.authConfiguration },
901
+ ...obj.customPluginConfiguration && {
902
+ customPluginConfiguration: CustomPluginConfigurationFilterSensitiveLog(obj.customPluginConfiguration)
903
+ }
904
+ }), "GetPluginResponseFilterSensitiveLog");
905
+ var UpdatePluginRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
906
+ ...obj,
907
+ ...obj.customPluginConfiguration && {
908
+ customPluginConfiguration: CustomPluginConfigurationFilterSensitiveLog(obj.customPluginConfiguration)
909
+ },
910
+ ...obj.authConfiguration && { authConfiguration: obj.authConfiguration }
911
+ }), "UpdatePluginRequestFilterSensitiveLog");
912
+ var ChatOutputStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
913
+ if (obj.textEvent !== void 0)
914
+ return { textEvent: obj.textEvent };
915
+ if (obj.metadataEvent !== void 0)
916
+ return { metadataEvent: obj.metadataEvent };
917
+ if (obj.actionReviewEvent !== void 0)
918
+ return { actionReviewEvent: obj.actionReviewEvent };
919
+ if (obj.failedAttachmentEvent !== void 0)
920
+ return { failedAttachmentEvent: obj.failedAttachmentEvent };
921
+ if (obj.authChallengeRequestEvent !== void 0)
922
+ return { authChallengeRequestEvent: obj.authChallengeRequestEvent };
923
+ if (obj.$unknown !== void 0)
924
+ return { [obj.$unknown[0]]: "UNKNOWN" };
925
+ }, "ChatOutputStreamFilterSensitiveLog");
926
+ var ChatOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
927
+ ...obj,
928
+ ...obj.outputStream && { outputStream: "STREAMING_CONTENT" }
929
+ }), "ChatOutputFilterSensitiveLog");
930
+ var ChatInputStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
931
+ if (obj.configurationEvent !== void 0)
932
+ return { configurationEvent: obj.configurationEvent };
933
+ if (obj.textEvent !== void 0)
934
+ return { textEvent: obj.textEvent };
935
+ if (obj.attachmentEvent !== void 0)
936
+ return { attachmentEvent: obj.attachmentEvent };
937
+ if (obj.actionExecutionEvent !== void 0)
938
+ return { actionExecutionEvent: obj.actionExecutionEvent };
939
+ if (obj.endOfInputEvent !== void 0)
940
+ return { endOfInputEvent: obj.endOfInputEvent };
941
+ if (obj.authChallengeResponseEvent !== void 0)
942
+ return { authChallengeResponseEvent: obj.authChallengeResponseEvent };
943
+ if (obj.$unknown !== void 0)
944
+ return { [obj.$unknown[0]]: "UNKNOWN" };
945
+ }, "ChatInputStreamFilterSensitiveLog");
946
+ var ChatInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
947
+ ...obj,
948
+ ...obj.inputStream && { inputStream: "STREAMING_CONTENT" }
949
+ }), "ChatInputFilterSensitiveLog");
796
950
 
797
951
  // src/protocols/Aws_restJson1.ts
798
952
  var se_BatchDeleteDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -832,6 +986,25 @@ var se_BatchPutDocumentCommand = /* @__PURE__ */ __name(async (input, context) =
832
986
  b.m("POST").h(headers).b(body);
833
987
  return b.build();
834
988
  }, "se_BatchPutDocumentCommand");
989
+ var se_ChatCommand = /* @__PURE__ */ __name(async (input, context) => {
990
+ const b = (0, import_core.requestBuilder)(input, context);
991
+ const headers = {};
992
+ b.bp("/applications/{applicationId}/conversations");
993
+ b.p("applicationId", () => input.applicationId, "{applicationId}", false);
994
+ const query = (0, import_smithy_client.map)({
995
+ [_uI]: [, input[_uI]],
996
+ [_uG]: [() => input.userGroups !== void 0, () => (input[_uG] || []).map((_entry) => _entry)],
997
+ [_cI]: [, input[_cI]],
998
+ [_pMI]: [, input[_pMI]],
999
+ [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]
1000
+ });
1001
+ let body;
1002
+ if (input.inputStream !== void 0) {
1003
+ body = se_ChatInputStream(input.inputStream, context);
1004
+ }
1005
+ b.m("POST").h(headers).q(query).b(body);
1006
+ return b.build();
1007
+ }, "se_ChatCommand");
835
1008
  var se_ChatSyncCommand = /* @__PURE__ */ __name(async (input, context) => {
836
1009
  const b = (0, import_core.requestBuilder)(input, context);
837
1010
  const headers = {
@@ -850,6 +1023,7 @@ var se_ChatSyncCommand = /* @__PURE__ */ __name(async (input, context) => {
850
1023
  actionExecution: (_) => se_ActionExecution(_, context),
851
1024
  attachments: (_) => se_AttachmentsInput(_, context),
852
1025
  attributeFilter: (_) => se_AttributeFilter(_, context),
1026
+ authChallengeResponse: (_) => (0, import_smithy_client._json)(_),
853
1027
  chatMode: [],
854
1028
  chatModeConfiguration: (_) => (0, import_smithy_client._json)(_),
855
1029
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
@@ -922,7 +1096,8 @@ var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
922
1096
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
923
1097
  description: [],
924
1098
  displayName: [],
925
- tags: (_) => (0, import_smithy_client._json)(_)
1099
+ tags: (_) => (0, import_smithy_client._json)(_),
1100
+ type: []
926
1101
  })
927
1102
  );
928
1103
  b.m("POST").h(headers).b(body);
@@ -940,6 +1115,7 @@ var se_CreatePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
940
1115
  (0, import_smithy_client.take)(input, {
941
1116
  authConfiguration: (_) => (0, import_smithy_client._json)(_),
942
1117
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1118
+ customPluginConfiguration: (_) => (0, import_smithy_client._json)(_),
943
1119
  displayName: [],
944
1120
  serverUrl: [],
945
1121
  tags: (_) => (0, import_smithy_client._json)(_),
@@ -1489,6 +1665,7 @@ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context)
1489
1665
  attachmentsConfiguration: (_) => (0, import_smithy_client._json)(_),
1490
1666
  description: [],
1491
1667
  displayName: [],
1668
+ identityCenterInstanceArn: [],
1492
1669
  roleArn: []
1493
1670
  })
1494
1671
  );
@@ -1572,6 +1749,7 @@ var se_UpdatePluginCommand = /* @__PURE__ */ __name(async (input, context) => {
1572
1749
  body = JSON.stringify(
1573
1750
  (0, import_smithy_client.take)(input, {
1574
1751
  authConfiguration: (_) => (0, import_smithy_client._json)(_),
1752
+ customPluginConfiguration: (_) => (0, import_smithy_client._json)(_),
1575
1753
  displayName: [],
1576
1754
  serverUrl: [],
1577
1755
  state: []
@@ -1629,6 +1807,7 @@ var se_UpdateWebExperienceCommand = /* @__PURE__ */ __name(async (input, context
1629
1807
  body = JSON.stringify(
1630
1808
  (0, import_smithy_client.take)(input, {
1631
1809
  authenticationConfiguration: (_) => (0, import_smithy_client._json)(_),
1810
+ roleArn: [],
1632
1811
  samplePromptsControlMode: [],
1633
1812
  subtitle: [],
1634
1813
  title: [],
@@ -1666,6 +1845,17 @@ var de_BatchPutDocumentCommand = /* @__PURE__ */ __name(async (output, context)
1666
1845
  Object.assign(contents, doc);
1667
1846
  return contents;
1668
1847
  }, "de_BatchPutDocumentCommand");
1848
+ var de_ChatCommand = /* @__PURE__ */ __name(async (output, context) => {
1849
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1850
+ return de_CommandError(output, context);
1851
+ }
1852
+ const contents = (0, import_smithy_client.map)({
1853
+ $metadata: deserializeMetadata(output)
1854
+ });
1855
+ const data = output.body;
1856
+ contents.outputStream = de_ChatOutputStream(data, context);
1857
+ return contents;
1858
+ }, "de_ChatCommand");
1669
1859
  var de_ChatSyncCommand = /* @__PURE__ */ __name(async (output, context) => {
1670
1860
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1671
1861
  return de_CommandError(output, context);
@@ -1676,6 +1866,7 @@ var de_ChatSyncCommand = /* @__PURE__ */ __name(async (output, context) => {
1676
1866
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1677
1867
  const doc = (0, import_smithy_client.take)(data, {
1678
1868
  actionReview: (_) => de_ActionReview(_, context),
1869
+ authChallengeRequest: import_smithy_client._json,
1679
1870
  conversationId: import_smithy_client.expectString,
1680
1871
  failedAttachments: import_smithy_client._json,
1681
1872
  sourceAttributions: (_) => de_SourceAttributions(_, context),
@@ -1740,6 +1931,7 @@ var de_CreatePluginCommand = /* @__PURE__ */ __name(async (output, context) => {
1740
1931
  });
1741
1932
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1742
1933
  const doc = (0, import_smithy_client.take)(data, {
1934
+ buildStatus: import_smithy_client.expectString,
1743
1935
  pluginArn: import_smithy_client.expectString,
1744
1936
  pluginId: import_smithy_client.expectString
1745
1937
  });
@@ -1993,6 +2185,7 @@ var de_GetIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
1993
2185
  indexId: import_smithy_client.expectString,
1994
2186
  indexStatistics: import_smithy_client._json,
1995
2187
  status: import_smithy_client.expectString,
2188
+ type: import_smithy_client.expectString,
1996
2189
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1997
2190
  });
1998
2191
  Object.assign(contents, doc);
@@ -2009,7 +2202,9 @@ var de_GetPluginCommand = /* @__PURE__ */ __name(async (output, context) => {
2009
2202
  const doc = (0, import_smithy_client.take)(data, {
2010
2203
  applicationId: import_smithy_client.expectString,
2011
2204
  authConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
2205
+ buildStatus: import_smithy_client.expectString,
2012
2206
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2207
+ customPluginConfiguration: import_smithy_client._json,
2013
2208
  displayName: import_smithy_client.expectString,
2014
2209
  pluginArn: import_smithy_client.expectString,
2015
2210
  pluginId: import_smithy_client.expectString,
@@ -2567,6 +2762,147 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
2567
2762
  });
2568
2763
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2569
2764
  }, "de_ValidationExceptionRes");
2765
+ var se_ChatInputStream = /* @__PURE__ */ __name((input, context) => {
2766
+ const eventMarshallingVisitor = /* @__PURE__ */ __name((event) => ChatInputStream.visit(event, {
2767
+ configurationEvent: (value) => se_ConfigurationEvent_event(value, context),
2768
+ textEvent: (value) => se_TextInputEvent_event(value, context),
2769
+ attachmentEvent: (value) => se_AttachmentInputEvent_event(value, context),
2770
+ actionExecutionEvent: (value) => se_ActionExecutionEvent_event(value, context),
2771
+ endOfInputEvent: (value) => se_EndOfInputEvent_event(value, context),
2772
+ authChallengeResponseEvent: (value) => se_AuthChallengeResponseEvent_event(value, context),
2773
+ _: (value) => value
2774
+ }), "eventMarshallingVisitor");
2775
+ return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
2776
+ }, "se_ChatInputStream");
2777
+ var se_ActionExecutionEvent_event = /* @__PURE__ */ __name((input, context) => {
2778
+ const headers = {
2779
+ ":event-type": { type: "string", value: "ActionExecutionEvent" },
2780
+ ":message-type": { type: "string", value: "event" },
2781
+ ":content-type": { type: "string", value: "application/json" }
2782
+ };
2783
+ let body = new Uint8Array();
2784
+ body = se_ActionExecutionEvent(input, context);
2785
+ body = context.utf8Decoder(JSON.stringify(body));
2786
+ return { headers, body };
2787
+ }, "se_ActionExecutionEvent_event");
2788
+ var se_AttachmentInputEvent_event = /* @__PURE__ */ __name((input, context) => {
2789
+ const headers = {
2790
+ ":event-type": { type: "string", value: "AttachmentInputEvent" },
2791
+ ":message-type": { type: "string", value: "event" },
2792
+ ":content-type": { type: "string", value: "application/json" }
2793
+ };
2794
+ let body = new Uint8Array();
2795
+ body = se_AttachmentInputEvent(input, context);
2796
+ body = context.utf8Decoder(JSON.stringify(body));
2797
+ return { headers, body };
2798
+ }, "se_AttachmentInputEvent_event");
2799
+ var se_AuthChallengeResponseEvent_event = /* @__PURE__ */ __name((input, context) => {
2800
+ const headers = {
2801
+ ":event-type": { type: "string", value: "AuthChallengeResponseEvent" },
2802
+ ":message-type": { type: "string", value: "event" },
2803
+ ":content-type": { type: "string", value: "application/json" }
2804
+ };
2805
+ let body = new Uint8Array();
2806
+ body = (0, import_smithy_client._json)(input);
2807
+ body = context.utf8Decoder(JSON.stringify(body));
2808
+ return { headers, body };
2809
+ }, "se_AuthChallengeResponseEvent_event");
2810
+ var se_ConfigurationEvent_event = /* @__PURE__ */ __name((input, context) => {
2811
+ const headers = {
2812
+ ":event-type": { type: "string", value: "ConfigurationEvent" },
2813
+ ":message-type": { type: "string", value: "event" },
2814
+ ":content-type": { type: "string", value: "application/json" }
2815
+ };
2816
+ let body = new Uint8Array();
2817
+ body = se_ConfigurationEvent(input, context);
2818
+ body = context.utf8Decoder(JSON.stringify(body));
2819
+ return { headers, body };
2820
+ }, "se_ConfigurationEvent_event");
2821
+ var se_EndOfInputEvent_event = /* @__PURE__ */ __name((input, context) => {
2822
+ const headers = {
2823
+ ":event-type": { type: "string", value: "EndOfInputEvent" },
2824
+ ":message-type": { type: "string", value: "event" },
2825
+ ":content-type": { type: "string", value: "application/json" }
2826
+ };
2827
+ let body = new Uint8Array();
2828
+ body = (0, import_smithy_client._json)(input);
2829
+ body = context.utf8Decoder(JSON.stringify(body));
2830
+ return { headers, body };
2831
+ }, "se_EndOfInputEvent_event");
2832
+ var se_TextInputEvent_event = /* @__PURE__ */ __name((input, context) => {
2833
+ const headers = {
2834
+ ":event-type": { type: "string", value: "TextInputEvent" },
2835
+ ":message-type": { type: "string", value: "event" },
2836
+ ":content-type": { type: "string", value: "application/json" }
2837
+ };
2838
+ let body = new Uint8Array();
2839
+ body = (0, import_smithy_client._json)(input);
2840
+ body = context.utf8Decoder(JSON.stringify(body));
2841
+ return { headers, body };
2842
+ }, "se_TextInputEvent_event");
2843
+ var de_ChatOutputStream = /* @__PURE__ */ __name((output, context) => {
2844
+ return context.eventStreamMarshaller.deserialize(output, async (event) => {
2845
+ if (event["textEvent"] != null) {
2846
+ return {
2847
+ textEvent: await de_TextOutputEvent_event(event["textEvent"], context)
2848
+ };
2849
+ }
2850
+ if (event["metadataEvent"] != null) {
2851
+ return {
2852
+ metadataEvent: await de_MetadataEvent_event(event["metadataEvent"], context)
2853
+ };
2854
+ }
2855
+ if (event["actionReviewEvent"] != null) {
2856
+ return {
2857
+ actionReviewEvent: await de_ActionReviewEvent_event(event["actionReviewEvent"], context)
2858
+ };
2859
+ }
2860
+ if (event["failedAttachmentEvent"] != null) {
2861
+ return {
2862
+ failedAttachmentEvent: await de_FailedAttachmentEvent_event(event["failedAttachmentEvent"], context)
2863
+ };
2864
+ }
2865
+ if (event["authChallengeRequestEvent"] != null) {
2866
+ return {
2867
+ authChallengeRequestEvent: await de_AuthChallengeRequestEvent_event(
2868
+ event["authChallengeRequestEvent"],
2869
+ context
2870
+ )
2871
+ };
2872
+ }
2873
+ return { $unknown: output };
2874
+ });
2875
+ }, "de_ChatOutputStream");
2876
+ var de_ActionReviewEvent_event = /* @__PURE__ */ __name(async (output, context) => {
2877
+ const contents = {};
2878
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2879
+ Object.assign(contents, de_ActionReviewEvent(data, context));
2880
+ return contents;
2881
+ }, "de_ActionReviewEvent_event");
2882
+ var de_AuthChallengeRequestEvent_event = /* @__PURE__ */ __name(async (output, context) => {
2883
+ const contents = {};
2884
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2885
+ Object.assign(contents, (0, import_smithy_client._json)(data));
2886
+ return contents;
2887
+ }, "de_AuthChallengeRequestEvent_event");
2888
+ var de_FailedAttachmentEvent_event = /* @__PURE__ */ __name(async (output, context) => {
2889
+ const contents = {};
2890
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2891
+ Object.assign(contents, (0, import_smithy_client._json)(data));
2892
+ return contents;
2893
+ }, "de_FailedAttachmentEvent_event");
2894
+ var de_MetadataEvent_event = /* @__PURE__ */ __name(async (output, context) => {
2895
+ const contents = {};
2896
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2897
+ Object.assign(contents, de_MetadataEvent(data, context));
2898
+ return contents;
2899
+ }, "de_MetadataEvent_event");
2900
+ var de_TextOutputEvent_event = /* @__PURE__ */ __name(async (output, context) => {
2901
+ const contents = {};
2902
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
2903
+ Object.assign(contents, (0, import_smithy_client._json)(data));
2904
+ return contents;
2905
+ }, "de_TextOutputEvent_event");
2570
2906
  var se_ActionExecution = /* @__PURE__ */ __name((input, context) => {
2571
2907
  return (0, import_smithy_client.take)(input, {
2572
2908
  payload: (_) => se_ActionExecutionPayload(_, context),
@@ -2574,6 +2910,13 @@ var se_ActionExecution = /* @__PURE__ */ __name((input, context) => {
2574
2910
  pluginId: []
2575
2911
  });
2576
2912
  }, "se_ActionExecution");
2913
+ var se_ActionExecutionEvent = /* @__PURE__ */ __name((input, context) => {
2914
+ return (0, import_smithy_client.take)(input, {
2915
+ payload: (_) => se_ActionExecutionPayload(_, context),
2916
+ payloadFieldNameSeparator: [],
2917
+ pluginId: []
2918
+ });
2919
+ }, "se_ActionExecutionEvent");
2577
2920
  var se_ActionExecutionPayload = /* @__PURE__ */ __name((input, context) => {
2578
2921
  return Object.entries(input).reduce((acc, [key, value]) => {
2579
2922
  if (value === null) {
@@ -2597,6 +2940,11 @@ var se_AttachmentInput = /* @__PURE__ */ __name((input, context) => {
2597
2940
  name: []
2598
2941
  });
2599
2942
  }, "se_AttachmentInput");
2943
+ var se_AttachmentInputEvent = /* @__PURE__ */ __name((input, context) => {
2944
+ return (0, import_smithy_client.take)(input, {
2945
+ attachment: (_) => se_AttachmentInput(_, context)
2946
+ });
2947
+ }, "se_AttachmentInputEvent");
2600
2948
  var se_AttachmentsInput = /* @__PURE__ */ __name((input, context) => {
2601
2949
  return input.filter((e) => e != null).map((entry) => {
2602
2950
  return se_AttachmentInput(entry, context);
@@ -2621,6 +2969,13 @@ var se_AttributeFilters = /* @__PURE__ */ __name((input, context) => {
2621
2969
  return se_AttributeFilter(entry, context);
2622
2970
  });
2623
2971
  }, "se_AttributeFilters");
2972
+ var se_ConfigurationEvent = /* @__PURE__ */ __name((input, context) => {
2973
+ return (0, import_smithy_client.take)(input, {
2974
+ attributeFilter: (_) => se_AttributeFilter(_, context),
2975
+ chatMode: [],
2976
+ chatModeConfiguration: import_smithy_client._json
2977
+ });
2978
+ }, "se_ConfigurationEvent");
2624
2979
  var se_DataSourceConfiguration = /* @__PURE__ */ __name((input, context) => {
2625
2980
  return input;
2626
2981
  }, "se_DataSourceConfiguration");
@@ -2751,6 +3106,17 @@ var de_ActionReview = /* @__PURE__ */ __name((output, context) => {
2751
3106
  pluginType: import_smithy_client.expectString
2752
3107
  });
2753
3108
  }, "de_ActionReview");
3109
+ var de_ActionReviewEvent = /* @__PURE__ */ __name((output, context) => {
3110
+ return (0, import_smithy_client.take)(output, {
3111
+ conversationId: import_smithy_client.expectString,
3112
+ payload: (_) => de_ActionReviewPayload(_, context),
3113
+ payloadFieldNameSeparator: import_smithy_client.expectString,
3114
+ pluginId: import_smithy_client.expectString,
3115
+ pluginType: import_smithy_client.expectString,
3116
+ systemMessageId: import_smithy_client.expectString,
3117
+ userMessageId: import_smithy_client.expectString
3118
+ });
3119
+ }, "de_ActionReviewEvent");
2754
3120
  var de_ActionReviewPayload = /* @__PURE__ */ __name((output, context) => {
2755
3121
  return Object.entries(output).reduce((acc, [key, value]) => {
2756
3122
  if (value === null) {
@@ -2762,7 +3128,9 @@ var de_ActionReviewPayload = /* @__PURE__ */ __name((output, context) => {
2762
3128
  }, "de_ActionReviewPayload");
2763
3129
  var de_ActionReviewPayloadField = /* @__PURE__ */ __name((output, context) => {
2764
3130
  return (0, import_smithy_client.take)(output, {
3131
+ allowedFormat: import_smithy_client.expectString,
2765
3132
  allowedValues: (_) => de_ActionReviewPayloadFieldAllowedValues(_, context),
3133
+ displayDescription: import_smithy_client.expectString,
2766
3134
  displayName: import_smithy_client.expectString,
2767
3135
  displayOrder: import_smithy_client.expectInt32,
2768
3136
  required: import_smithy_client.expectBoolean,
@@ -2968,8 +3336,18 @@ var de_Messages = /* @__PURE__ */ __name((output, context) => {
2968
3336
  });
2969
3337
  return retVal;
2970
3338
  }, "de_Messages");
3339
+ var de_MetadataEvent = /* @__PURE__ */ __name((output, context) => {
3340
+ return (0, import_smithy_client.take)(output, {
3341
+ conversationId: import_smithy_client.expectString,
3342
+ finalTextMessage: import_smithy_client.expectString,
3343
+ sourceAttributions: (_) => de_SourceAttributions(_, context),
3344
+ systemMessageId: import_smithy_client.expectString,
3345
+ userMessageId: import_smithy_client.expectString
3346
+ });
3347
+ }, "de_MetadataEvent");
2971
3348
  var de_Plugin = /* @__PURE__ */ __name((output, context) => {
2972
3349
  return (0, import_smithy_client.take)(output, {
3350
+ buildStatus: import_smithy_client.expectString,
2973
3351
  createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2974
3352
  displayName: import_smithy_client.expectString,
2975
3353
  pluginId: import_smithy_client.expectString,
@@ -3025,11 +3403,14 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3025
3403
  extendedRequestId: output.headers["x-amz-id-2"],
3026
3404
  cfId: output.headers["x-amz-cf-id"]
3027
3405
  }), "deserializeMetadata");
3406
+ var _cI = "conversationId";
3407
+ var _cT = "clientToken";
3028
3408
  var _dSI = "dataSourceId";
3029
3409
  var _dSIa = "dataSourceIds";
3030
3410
  var _eT = "endTime";
3031
3411
  var _mR = "maxResults";
3032
3412
  var _nT = "nextToken";
3413
+ var _pMI = "parentMessageId";
3033
3414
  var _s = "sync";
3034
3415
  var _sF = "statusFilter";
3035
3416
  var _sS = "syncStatus";
@@ -3069,6 +3450,33 @@ var _BatchPutDocumentCommand = class _BatchPutDocumentCommand extends import_smi
3069
3450
  __name(_BatchPutDocumentCommand, "BatchPutDocumentCommand");
3070
3451
  var BatchPutDocumentCommand = _BatchPutDocumentCommand;
3071
3452
 
3453
+ // src/commands/ChatCommand.ts
3454
+
3455
+
3456
+
3457
+
3458
+
3459
+ var _ChatCommand = class _ChatCommand extends import_smithy_client.Command.classBuilder().ep({
3460
+ ...commonParams
3461
+ }).m(function(Command, cs, config, o) {
3462
+ return [
3463
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3464
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
3465
+ (0, import_middleware_eventstream.getEventStreamPlugin)(config)
3466
+ ];
3467
+ }).s("ExpertQ", "Chat", {
3468
+ /**
3469
+ * @internal
3470
+ */
3471
+ eventStream: {
3472
+ input: true,
3473
+ output: true
3474
+ }
3475
+ }).n("QBusinessClient", "ChatCommand").f(ChatInputFilterSensitiveLog, ChatOutputFilterSensitiveLog).ser(se_ChatCommand).de(de_ChatCommand).build() {
3476
+ };
3477
+ __name(_ChatCommand, "ChatCommand");
3478
+ var ChatCommand = _ChatCommand;
3479
+
3072
3480
  // src/commands/ChatSyncCommand.ts
3073
3481
 
3074
3482
 
@@ -3149,7 +3557,7 @@ var _CreatePluginCommand = class _CreatePluginCommand extends import_smithy_clie
3149
3557
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3150
3558
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3151
3559
  ];
3152
- }).s("ExpertQ", "CreatePlugin", {}).n("QBusinessClient", "CreatePluginCommand").f(void 0, void 0).ser(se_CreatePluginCommand).de(de_CreatePluginCommand).build() {
3560
+ }).s("ExpertQ", "CreatePlugin", {}).n("QBusinessClient", "CreatePluginCommand").f(CreatePluginRequestFilterSensitiveLog, void 0).ser(se_CreatePluginCommand).de(de_CreatePluginCommand).build() {
3153
3561
  };
3154
3562
  __name(_CreatePluginCommand, "CreatePluginCommand");
3155
3563
  var CreatePluginCommand = _CreatePluginCommand;
@@ -3472,7 +3880,7 @@ var _GetPluginCommand = class _GetPluginCommand extends import_smithy_client.Com
3472
3880
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3473
3881
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3474
3882
  ];
3475
- }).s("ExpertQ", "GetPlugin", {}).n("QBusinessClient", "GetPluginCommand").f(void 0, void 0).ser(se_GetPluginCommand).de(de_GetPluginCommand).build() {
3883
+ }).s("ExpertQ", "GetPlugin", {}).n("QBusinessClient", "GetPluginCommand").f(void 0, GetPluginResponseFilterSensitiveLog).ser(se_GetPluginCommand).de(de_GetPluginCommand).build() {
3476
3884
  };
3477
3885
  __name(_GetPluginCommand, "GetPluginCommand");
3478
3886
  var GetPluginCommand = _GetPluginCommand;
@@ -3914,7 +4322,7 @@ var _UpdatePluginCommand = class _UpdatePluginCommand extends import_smithy_clie
3914
4322
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3915
4323
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3916
4324
  ];
3917
- }).s("ExpertQ", "UpdatePlugin", {}).n("QBusinessClient", "UpdatePluginCommand").f(void 0, void 0).ser(se_UpdatePluginCommand).de(de_UpdatePluginCommand).build() {
4325
+ }).s("ExpertQ", "UpdatePlugin", {}).n("QBusinessClient", "UpdatePluginCommand").f(UpdatePluginRequestFilterSensitiveLog, void 0).ser(se_UpdatePluginCommand).de(de_UpdatePluginCommand).build() {
3918
4326
  };
3919
4327
  __name(_UpdatePluginCommand, "UpdatePluginCommand");
3920
4328
  var UpdatePluginCommand = _UpdatePluginCommand;
@@ -3974,6 +4382,7 @@ var UpdateWebExperienceCommand = _UpdateWebExperienceCommand;
3974
4382
  var commands = {
3975
4383
  BatchDeleteDocumentCommand,
3976
4384
  BatchPutDocumentCommand,
4385
+ ChatCommand,
3977
4386
  ChatSyncCommand,
3978
4387
  CreateApplicationCommand,
3979
4388
  CreateDataSourceCommand,
@@ -4091,6 +4500,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4091
4500
  $Command,
4092
4501
  BatchDeleteDocumentCommand,
4093
4502
  BatchPutDocumentCommand,
4503
+ ChatCommand,
4094
4504
  ChatSyncCommand,
4095
4505
  CreateApplicationCommand,
4096
4506
  CreateDataSourceCommand,
@@ -4163,6 +4573,8 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4163
4573
  AccessDeniedException,
4164
4574
  ActionPayloadFieldType,
4165
4575
  PluginType,
4576
+ APISchema,
4577
+ APISchemaType,
4166
4578
  ApplicationStatus,
4167
4579
  ConflictException,
4168
4580
  AttachmentsControlMode,
@@ -4173,6 +4585,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4173
4585
  ValidationExceptionReason,
4174
4586
  ValidationException,
4175
4587
  ErrorCode,
4588
+ IndexType,
4176
4589
  DocumentEnrichmentConditionOperator,
4177
4590
  DocumentAttributeValue,
4178
4591
  DocumentContentOperator,
@@ -4182,6 +4595,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4182
4595
  AttributeType,
4183
4596
  IndexStatus,
4184
4597
  PluginAuthConfiguration,
4598
+ PluginBuildStatus,
4185
4599
  PluginState,
4186
4600
  DocumentAttributeBoostingLevel,
4187
4601
  NumberAttributeBoostingType,
@@ -4199,6 +4613,7 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4199
4613
  ContentType,
4200
4614
  ChatMode,
4201
4615
  ChatModeConfiguration,
4616
+ ChatOutputStream,
4202
4617
  LicenseNotFoundException,
4203
4618
  DataSourceSyncJobStatus,
4204
4619
  DocumentStatus,
@@ -4209,8 +4624,18 @@ var paginateListWebExperiences = (0, import_core.createPaginator)(QBusinessClien
4209
4624
  MessageType,
4210
4625
  MessageUsefulnessReason,
4211
4626
  MessageUsefulness,
4627
+ ChatInputStream,
4628
+ APISchemaFilterSensitiveLog,
4212
4629
  EncryptionConfigurationFilterSensitiveLog,
4213
4630
  CreateApplicationRequestFilterSensitiveLog,
4214
- GetApplicationResponseFilterSensitiveLog
4631
+ GetApplicationResponseFilterSensitiveLog,
4632
+ CustomPluginConfigurationFilterSensitiveLog,
4633
+ CreatePluginRequestFilterSensitiveLog,
4634
+ GetPluginResponseFilterSensitiveLog,
4635
+ UpdatePluginRequestFilterSensitiveLog,
4636
+ ChatOutputStreamFilterSensitiveLog,
4637
+ ChatOutputFilterSensitiveLog,
4638
+ ChatInputStreamFilterSensitiveLog,
4639
+ ChatInputFilterSensitiveLog
4215
4640
  });
4216
4641