@aws-sdk/client-qbusiness 3.699.0 → 3.705.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 (151) hide show
  1. package/README.md +112 -0
  2. package/dist-cjs/index.js +1033 -57
  3. package/dist-es/QBusiness.js +28 -0
  4. package/dist-es/commands/AssociatePermissionCommand.js +22 -0
  5. package/dist-es/commands/ChatCommand.js +2 -1
  6. package/dist-es/commands/CreateDataAccessorCommand.js +23 -0
  7. package/dist-es/commands/DeleteDataAccessorCommand.js +22 -0
  8. package/dist-es/commands/DisassociatePermissionCommand.js +22 -0
  9. package/dist-es/commands/GetDataAccessorCommand.js +23 -0
  10. package/dist-es/commands/GetMediaCommand.js +22 -0
  11. package/dist-es/commands/GetPolicyCommand.js +22 -0
  12. package/dist-es/commands/ListAttachmentsCommand.js +22 -0
  13. package/dist-es/commands/ListDataAccessorsCommand.js +23 -0
  14. package/dist-es/commands/ListPluginActionsCommand.js +22 -0
  15. package/dist-es/commands/ListPluginTypeActionsCommand.js +22 -0
  16. package/dist-es/commands/ListPluginTypeMetadataCommand.js +22 -0
  17. package/dist-es/commands/SearchRelevantContentCommand.js +22 -0
  18. package/dist-es/commands/UpdateDataAccessorCommand.js +23 -0
  19. package/dist-es/commands/index.js +14 -0
  20. package/dist-es/models/index.js +1 -0
  21. package/dist-es/models/models_0.js +100 -53
  22. package/dist-es/models/models_1.js +54 -0
  23. package/dist-es/pagination/ListAttachmentsPaginator.js +4 -0
  24. package/dist-es/pagination/ListDataAccessorsPaginator.js +4 -0
  25. package/dist-es/pagination/ListPluginActionsPaginator.js +4 -0
  26. package/dist-es/pagination/ListPluginTypeActionsPaginator.js +4 -0
  27. package/dist-es/pagination/ListPluginTypeMetadataPaginator.js +4 -0
  28. package/dist-es/pagination/SearchRelevantContentPaginator.js +4 -0
  29. package/dist-es/pagination/index.js +6 -0
  30. package/dist-es/protocols/Aws_restJson1.js +574 -4
  31. package/dist-types/QBusiness.d.ts +99 -0
  32. package/dist-types/QBusinessClient.d.ts +16 -2
  33. package/dist-types/commands/AssociatePermissionCommand.d.ts +105 -0
  34. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -3
  35. package/dist-types/commands/BatchPutDocumentCommand.d.ts +8 -3
  36. package/dist-types/commands/ChatCommand.d.ts +24 -8
  37. package/dist-types/commands/ChatSyncCommand.d.ts +24 -8
  38. package/dist-types/commands/CreateApplicationCommand.d.ts +16 -14
  39. package/dist-types/commands/CreateDataAccessorCommand.d.ts +203 -0
  40. package/dist-types/commands/CreateDataSourceCommand.d.ts +8 -3
  41. package/dist-types/commands/CreateIndexCommand.d.ts +4 -4
  42. package/dist-types/commands/CreatePluginCommand.d.ts +10 -4
  43. package/dist-types/commands/CreateRetrieverCommand.d.ts +3 -3
  44. package/dist-types/commands/CreateUserCommand.d.ts +3 -3
  45. package/dist-types/commands/CreateWebExperienceCommand.d.ts +14 -3
  46. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -3
  47. package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteConversationCommand.d.ts +2 -2
  49. package/dist-types/commands/DeleteDataAccessorCommand.d.ts +95 -0
  50. package/dist-types/commands/DeleteDataSourceCommand.d.ts +3 -3
  51. package/dist-types/commands/DeleteGroupCommand.d.ts +3 -3
  52. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -3
  53. package/dist-types/commands/DeletePluginCommand.d.ts +3 -3
  54. package/dist-types/commands/DeleteRetrieverCommand.d.ts +3 -3
  55. package/dist-types/commands/DeleteUserCommand.d.ts +3 -3
  56. package/dist-types/commands/DeleteWebExperienceCommand.d.ts +3 -3
  57. package/dist-types/commands/DisassociatePermissionCommand.d.ts +95 -0
  58. package/dist-types/commands/GetApplicationCommand.d.ts +6 -3
  59. package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +2 -2
  60. package/dist-types/commands/GetDataAccessorCommand.d.ts +191 -0
  61. package/dist-types/commands/GetDataSourceCommand.d.ts +7 -2
  62. package/dist-types/commands/GetGroupCommand.d.ts +3 -3
  63. package/dist-types/commands/GetIndexCommand.d.ts +3 -3
  64. package/dist-types/commands/GetMediaCommand.d.ts +105 -0
  65. package/dist-types/commands/GetPluginCommand.d.ts +9 -3
  66. package/dist-types/commands/GetPolicyCommand.d.ts +92 -0
  67. package/dist-types/commands/GetRetrieverCommand.d.ts +2 -2
  68. package/dist-types/commands/GetUserCommand.d.ts +3 -3
  69. package/dist-types/commands/GetWebExperienceCommand.d.ts +13 -2
  70. package/dist-types/commands/ListApplicationsCommand.d.ts +10 -1
  71. package/dist-types/commands/ListAttachmentsCommand.d.ts +121 -0
  72. package/dist-types/commands/ListConversationsCommand.d.ts +2 -2
  73. package/dist-types/commands/ListDataAccessorsCommand.d.ts +106 -0
  74. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +6 -2
  75. package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
  76. package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
  77. package/dist-types/commands/ListGroupsCommand.d.ts +3 -3
  78. package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
  79. package/dist-types/commands/ListMessagesCommand.d.ts +8 -4
  80. package/dist-types/commands/ListPluginActionsCommand.d.ts +102 -0
  81. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +98 -0
  82. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +95 -0
  83. package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
  84. package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  86. package/dist-types/commands/ListWebExperiencesCommand.d.ts +2 -2
  87. package/dist-types/commands/PutFeedbackCommand.d.ts +2 -2
  88. package/dist-types/commands/PutGroupCommand.d.ts +3 -3
  89. package/dist-types/commands/SearchRelevantContentCommand.d.ts +218 -0
  90. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +5 -4
  91. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +7 -3
  92. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  93. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  94. package/dist-types/commands/UpdateApplicationCommand.d.ts +13 -10
  95. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +4 -4
  96. package/dist-types/commands/UpdateDataAccessorCommand.d.ts +186 -0
  97. package/dist-types/commands/UpdateDataSourceCommand.d.ts +8 -3
  98. package/dist-types/commands/UpdateIndexCommand.d.ts +3 -3
  99. package/dist-types/commands/UpdatePluginCommand.d.ts +9 -3
  100. package/dist-types/commands/UpdateRetrieverCommand.d.ts +3 -3
  101. package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
  102. package/dist-types/commands/UpdateWebExperienceCommand.d.ts +14 -3
  103. package/dist-types/commands/index.d.ts +14 -0
  104. package/dist-types/models/index.d.ts +1 -0
  105. package/dist-types/models/models_0.d.ts +1119 -647
  106. package/dist-types/models/models_1.d.ts +752 -0
  107. package/dist-types/pagination/ListAttachmentsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListPluginActionsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +7 -0
  112. package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +7 -0
  113. package/dist-types/pagination/index.d.ts +6 -0
  114. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  115. package/dist-types/ts3.4/QBusiness.d.ts +239 -0
  116. package/dist-types/ts3.4/QBusinessClient.d.ts +84 -0
  117. package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/ChatCommand.d.ts +2 -1
  119. package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +49 -0
  121. package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +48 -0
  124. package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
  126. package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +50 -0
  127. package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +49 -0
  132. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -4
  133. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +49 -0
  138. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  140. package/dist-types/ts3.4/models/index.d.ts +1 -0
  141. package/dist-types/ts3.4/models/models_0.d.ts +360 -232
  142. package/dist-types/ts3.4/models/models_1.d.ts +241 -0
  143. package/dist-types/ts3.4/pagination/ListAttachmentsPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/ListDataAccessorsPaginator.d.ts +11 -0
  145. package/dist-types/ts3.4/pagination/ListPluginActionsPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListPluginTypeActionsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListPluginTypeMetadataPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/SearchRelevantContentPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  150. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  151. package/package.json +1 -1
@@ -34,6 +34,20 @@ export class AccessDeniedException extends __BaseException {
34
34
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
35
35
  }
36
36
  }
37
+ export var DocumentAttributeValue;
38
+ (function (DocumentAttributeValue) {
39
+ DocumentAttributeValue.visit = (value, visitor) => {
40
+ if (value.stringValue !== undefined)
41
+ return visitor.stringValue(value.stringValue);
42
+ if (value.stringListValue !== undefined)
43
+ return visitor.stringListValue(value.stringListValue);
44
+ if (value.longValue !== undefined)
45
+ return visitor.longValue(value.longValue);
46
+ if (value.dateValue !== undefined)
47
+ return visitor.dateValue(value.dateValue);
48
+ return visitor._(value.$unknown[0], value.$unknown[1]);
49
+ };
50
+ })(DocumentAttributeValue || (DocumentAttributeValue = {}));
37
51
  export const ActionPayloadFieldType = {
38
52
  ARRAY: "ARRAY",
39
53
  BOOLEAN: "BOOLEAN",
@@ -41,11 +55,23 @@ export const ActionPayloadFieldType = {
41
55
  STRING: "STRING",
42
56
  };
43
57
  export const PluginType = {
58
+ ASANA: "ASANA",
59
+ ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
44
60
  CUSTOM: "CUSTOM",
61
+ GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
45
62
  JIRA: "JIRA",
63
+ JIRA_CLOUD: "JIRA_CLOUD",
64
+ MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
65
+ MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
66
+ PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
67
+ QUICKSIGHT: "QUICKSIGHT",
46
68
  SALESFORCE: "SALESFORCE",
69
+ SALESFORCE_CRM: "SALESFORCE_CRM",
70
+ SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
47
71
  SERVICE_NOW: "SERVICE_NOW",
72
+ SMARTSHEET: "SMARTSHEET",
48
73
  ZENDESK: "ZENDESK",
74
+ ZENDESK_SUITE: "ZENDESK_SUITE",
49
75
  };
50
76
  export var APISchema;
51
77
  (function (APISchema) {
@@ -64,6 +90,7 @@ export const IdentityType = {
64
90
  AWS_IAM_IDC: "AWS_IAM_IDC",
65
91
  AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC",
66
92
  AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML",
93
+ AWS_QUICKSIGHT_IDP: "AWS_QUICKSIGHT_IDP",
67
94
  };
68
95
  export const ApplicationStatus = {
69
96
  ACTIVE: "ACTIVE",
@@ -200,26 +227,16 @@ export const DocumentEnrichmentConditionOperator = {
200
227
  NOT_EQUALS: "NOT_EQUALS",
201
228
  NOT_EXISTS: "NOT_EXISTS",
202
229
  };
203
- export var DocumentAttributeValue;
204
- (function (DocumentAttributeValue) {
205
- DocumentAttributeValue.visit = (value, visitor) => {
206
- if (value.stringValue !== undefined)
207
- return visitor.stringValue(value.stringValue);
208
- if (value.stringListValue !== undefined)
209
- return visitor.stringListValue(value.stringListValue);
210
- if (value.longValue !== undefined)
211
- return visitor.longValue(value.longValue);
212
- if (value.dateValue !== undefined)
213
- return visitor.dateValue(value.dateValue);
214
- return visitor._(value.$unknown[0], value.$unknown[1]);
215
- };
216
- })(DocumentAttributeValue || (DocumentAttributeValue = {}));
217
230
  export const DocumentContentOperator = {
218
231
  DELETE: "DELETE",
219
232
  };
220
233
  export const AttributeValueOperator = {
221
234
  DELETE: "DELETE",
222
235
  };
236
+ export const ImageExtractionStatus = {
237
+ DISABLED: "DISABLED",
238
+ ENABLED: "ENABLED",
239
+ };
223
240
  export const DataSourceStatus = {
224
241
  ACTIVE: "ACTIVE",
225
242
  CREATING: "CREATING",
@@ -254,6 +271,8 @@ export var PluginAuthConfiguration;
254
271
  return visitor.oAuth2ClientCredentialConfiguration(value.oAuth2ClientCredentialConfiguration);
255
272
  if (value.noAuthConfiguration !== undefined)
256
273
  return visitor.noAuthConfiguration(value.noAuthConfiguration);
274
+ if (value.idcAuthConfiguration !== undefined)
275
+ return visitor.idcAuthConfiguration(value.idcAuthConfiguration);
257
276
  return visitor._(value.$unknown[0], value.$unknown[1]);
258
277
  };
259
278
  })(PluginAuthConfiguration || (PluginAuthConfiguration = {}));
@@ -320,6 +339,10 @@ export const RetrieverStatus = {
320
339
  CREATING: "CREATING",
321
340
  FAILED: "FAILED",
322
341
  };
342
+ export const BrowserExtension = {
343
+ CHROME: "CHROME",
344
+ FIREFOX: "FIREFOX",
345
+ };
323
346
  export var IdentityProviderConfiguration;
324
347
  (function (IdentityProviderConfiguration) {
325
348
  IdentityProviderConfiguration.visit = (value, visitor) => {
@@ -353,9 +376,17 @@ export const CreatorModeControl = {
353
376
  DISABLED: "DISABLED",
354
377
  ENABLED: "ENABLED",
355
378
  };
379
+ export var CopyFromSource;
380
+ (function (CopyFromSource) {
381
+ CopyFromSource.visit = (value, visitor) => {
382
+ if (value.conversation !== undefined)
383
+ return visitor.conversation(value.conversation);
384
+ return visitor._(value.$unknown[0], value.$unknown[1]);
385
+ };
386
+ })(CopyFromSource || (CopyFromSource = {}));
356
387
  export const AttachmentStatus = {
357
388
  FAILED: "FAILED",
358
- SUCCEEDED: "SUCCEEDED",
389
+ SUCCESS: "SUCCESS",
359
390
  };
360
391
  export var DocumentContent;
361
392
  (function (DocumentContent) {
@@ -410,6 +441,18 @@ export var ChatOutputStream;
410
441
  return visitor._(value.$unknown[0], value.$unknown[1]);
411
442
  };
412
443
  })(ChatOutputStream || (ChatOutputStream = {}));
444
+ export class ExternalResourceException extends __BaseException {
445
+ constructor(opts) {
446
+ super({
447
+ name: "ExternalResourceException",
448
+ $fault: "client",
449
+ ...opts,
450
+ });
451
+ this.name = "ExternalResourceException";
452
+ this.$fault = "client";
453
+ Object.setPrototypeOf(this, ExternalResourceException.prototype);
454
+ }
455
+ }
413
456
  export class LicenseNotFoundException extends __BaseException {
414
457
  constructor(opts) {
415
458
  super({
@@ -422,6 +465,14 @@ export class LicenseNotFoundException extends __BaseException {
422
465
  Object.setPrototypeOf(this, LicenseNotFoundException.prototype);
423
466
  }
424
467
  }
468
+ export var ContentSource;
469
+ (function (ContentSource) {
470
+ ContentSource.visit = (value, visitor) => {
471
+ if (value.retriever !== undefined)
472
+ return visitor.retriever(value.retriever);
473
+ return visitor._(value.$unknown[0], value.$unknown[1]);
474
+ };
475
+ })(ContentSource || (ContentSource = {}));
425
476
  export const DataSourceSyncJobStatus = {
426
477
  ABORTED: "ABORTED",
427
478
  FAILED: "FAILED",
@@ -466,10 +517,29 @@ export const GroupStatus = {
466
517
  PROCESSING: "PROCESSING",
467
518
  SUCCEEDED: "SUCCEEDED",
468
519
  };
520
+ export class MediaTooLargeException extends __BaseException {
521
+ constructor(opts) {
522
+ super({
523
+ name: "MediaTooLargeException",
524
+ $fault: "client",
525
+ ...opts,
526
+ });
527
+ this.name = "MediaTooLargeException";
528
+ this.$fault = "client";
529
+ Object.setPrototypeOf(this, MediaTooLargeException.prototype);
530
+ }
531
+ }
469
532
  export const MessageType = {
470
533
  SYSTEM: "SYSTEM",
471
534
  USER: "USER",
472
535
  };
536
+ export const PluginTypeCategory = {
537
+ COMMUNICATION: "Communication",
538
+ CRM: "Customer relationship management (CRM)",
539
+ PRODUCTIVITY: "Productivity",
540
+ PROJECT_MANAGEMENT: "Project management",
541
+ TICKETING_MANAGEMENT: "Ticketing and incident management",
542
+ };
473
543
  export const MessageUsefulnessReason = {
474
544
  COMPLETE: "COMPLETE",
475
545
  FACTUALLY_CORRECT: "FACTUALLY_CORRECT",
@@ -488,24 +558,13 @@ export const MessageUsefulness = {
488
558
  NOT_USEFUL: "NOT_USEFUL",
489
559
  USEFUL: "USEFUL",
490
560
  };
491
- export var ChatInputStream;
492
- (function (ChatInputStream) {
493
- ChatInputStream.visit = (value, visitor) => {
494
- if (value.configurationEvent !== undefined)
495
- return visitor.configurationEvent(value.configurationEvent);
496
- if (value.textEvent !== undefined)
497
- return visitor.textEvent(value.textEvent);
498
- if (value.attachmentEvent !== undefined)
499
- return visitor.attachmentEvent(value.attachmentEvent);
500
- if (value.actionExecutionEvent !== undefined)
501
- return visitor.actionExecutionEvent(value.actionExecutionEvent);
502
- if (value.endOfInputEvent !== undefined)
503
- return visitor.endOfInputEvent(value.endOfInputEvent);
504
- if (value.authChallengeResponseEvent !== undefined)
505
- return visitor.authChallengeResponseEvent(value.authChallengeResponseEvent);
506
- return visitor._(value.$unknown[0], value.$unknown[1]);
507
- };
508
- })(ChatInputStream || (ChatInputStream = {}));
561
+ export const ScoreConfidence = {
562
+ HIGH: "HIGH",
563
+ LOW: "LOW",
564
+ MEDIUM: "MEDIUM",
565
+ NOT_AVAILABLE: "NOT_AVAILABLE",
566
+ VERY_HIGH: "VERY_HIGH",
567
+ };
509
568
  export const APISchemaFilterSensitiveLog = (obj) => {
510
569
  if (obj.payload !== undefined)
511
570
  return { payload: SENSITIVE_STRING };
@@ -524,6 +583,14 @@ export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
524
583
  encryptionConfiguration: EncryptionConfigurationFilterSensitiveLog(obj.encryptionConfiguration),
525
584
  }),
526
585
  });
586
+ export const DataAccessorFilterSensitiveLog = (obj) => ({
587
+ ...obj,
588
+ ...(obj.displayName && { displayName: SENSITIVE_STRING }),
589
+ });
590
+ export const ListDataAccessorsResponseFilterSensitiveLog = (obj) => ({
591
+ ...obj,
592
+ ...(obj.dataAccessors && { dataAccessors: obj.dataAccessors.map((item) => DataAccessorFilterSensitiveLog(item)) }),
593
+ });
527
594
  export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
528
595
  ...obj,
529
596
  ...(obj.encryptionConfiguration && {
@@ -573,23 +640,3 @@ export const ChatOutputFilterSensitiveLog = (obj) => ({
573
640
  ...obj,
574
641
  ...(obj.outputStream && { outputStream: "STREAMING_CONTENT" }),
575
642
  });
576
- export const ChatInputStreamFilterSensitiveLog = (obj) => {
577
- if (obj.configurationEvent !== undefined)
578
- return { configurationEvent: obj.configurationEvent };
579
- if (obj.textEvent !== undefined)
580
- return { textEvent: obj.textEvent };
581
- if (obj.attachmentEvent !== undefined)
582
- return { attachmentEvent: obj.attachmentEvent };
583
- if (obj.actionExecutionEvent !== undefined)
584
- return { actionExecutionEvent: obj.actionExecutionEvent };
585
- if (obj.endOfInputEvent !== undefined)
586
- return { endOfInputEvent: obj.endOfInputEvent };
587
- if (obj.authChallengeResponseEvent !== undefined)
588
- return { authChallengeResponseEvent: obj.authChallengeResponseEvent };
589
- if (obj.$unknown !== undefined)
590
- return { [obj.$unknown[0]]: "UNKNOWN" };
591
- };
592
- export const ChatInputFilterSensitiveLog = (obj) => ({
593
- ...obj,
594
- ...(obj.inputStream && { inputStream: "STREAMING_CONTENT" }),
595
- });
@@ -0,0 +1,54 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export var ChatInputStream;
3
+ (function (ChatInputStream) {
4
+ ChatInputStream.visit = (value, visitor) => {
5
+ if (value.configurationEvent !== undefined)
6
+ return visitor.configurationEvent(value.configurationEvent);
7
+ if (value.textEvent !== undefined)
8
+ return visitor.textEvent(value.textEvent);
9
+ if (value.attachmentEvent !== undefined)
10
+ return visitor.attachmentEvent(value.attachmentEvent);
11
+ if (value.actionExecutionEvent !== undefined)
12
+ return visitor.actionExecutionEvent(value.actionExecutionEvent);
13
+ if (value.endOfInputEvent !== undefined)
14
+ return visitor.endOfInputEvent(value.endOfInputEvent);
15
+ if (value.authChallengeResponseEvent !== undefined)
16
+ return visitor.authChallengeResponseEvent(value.authChallengeResponseEvent);
17
+ return visitor._(value.$unknown[0], value.$unknown[1]);
18
+ };
19
+ })(ChatInputStream || (ChatInputStream = {}));
20
+ export const ChatInputStreamFilterSensitiveLog = (obj) => {
21
+ if (obj.configurationEvent !== undefined)
22
+ return { configurationEvent: obj.configurationEvent };
23
+ if (obj.textEvent !== undefined)
24
+ return { textEvent: obj.textEvent };
25
+ if (obj.attachmentEvent !== undefined)
26
+ return { attachmentEvent: obj.attachmentEvent };
27
+ if (obj.actionExecutionEvent !== undefined)
28
+ return { actionExecutionEvent: obj.actionExecutionEvent };
29
+ if (obj.endOfInputEvent !== undefined)
30
+ return { endOfInputEvent: obj.endOfInputEvent };
31
+ if (obj.authChallengeResponseEvent !== undefined)
32
+ return { authChallengeResponseEvent: obj.authChallengeResponseEvent };
33
+ if (obj.$unknown !== undefined)
34
+ return { [obj.$unknown[0]]: "UNKNOWN" };
35
+ };
36
+ export const ChatInputFilterSensitiveLog = (obj) => ({
37
+ ...obj,
38
+ ...(obj.inputStream && { inputStream: "STREAMING_CONTENT" }),
39
+ });
40
+ export const CreateDataAccessorRequestFilterSensitiveLog = (obj) => ({
41
+ ...obj,
42
+ ...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
43
+ ...(obj.displayName && { displayName: SENSITIVE_STRING }),
44
+ });
45
+ export const GetDataAccessorResponseFilterSensitiveLog = (obj) => ({
46
+ ...obj,
47
+ ...(obj.displayName && { displayName: SENSITIVE_STRING }),
48
+ ...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
49
+ });
50
+ export const UpdateDataAccessorRequestFilterSensitiveLog = (obj) => ({
51
+ ...obj,
52
+ ...(obj.actionConfigurations && { actionConfigurations: obj.actionConfigurations.map((item) => item) }),
53
+ ...(obj.displayName && { displayName: SENSITIVE_STRING }),
54
+ });
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListAttachmentsCommand, } from "../commands/ListAttachmentsCommand";
3
+ import { QBusinessClient } from "../QBusinessClient";
4
+ export const paginateListAttachments = createPaginator(QBusinessClient, ListAttachmentsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDataAccessorsCommand, } from "../commands/ListDataAccessorsCommand";
3
+ import { QBusinessClient } from "../QBusinessClient";
4
+ export const paginateListDataAccessors = createPaginator(QBusinessClient, ListDataAccessorsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListPluginActionsCommand, } from "../commands/ListPluginActionsCommand";
3
+ import { QBusinessClient } from "../QBusinessClient";
4
+ export const paginateListPluginActions = createPaginator(QBusinessClient, ListPluginActionsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListPluginTypeActionsCommand, } from "../commands/ListPluginTypeActionsCommand";
3
+ import { QBusinessClient } from "../QBusinessClient";
4
+ export const paginateListPluginTypeActions = createPaginator(QBusinessClient, ListPluginTypeActionsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListPluginTypeMetadataCommand, } from "../commands/ListPluginTypeMetadataCommand";
3
+ import { QBusinessClient } from "../QBusinessClient";
4
+ export const paginateListPluginTypeMetadata = createPaginator(QBusinessClient, ListPluginTypeMetadataCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { SearchRelevantContentCommand, } from "../commands/SearchRelevantContentCommand";
3
+ import { QBusinessClient } from "../QBusinessClient";
4
+ export const paginateSearchRelevantContent = createPaginator(QBusinessClient, SearchRelevantContentCommand, "nextToken", "nextToken", "maxResults");
@@ -1,13 +1,19 @@
1
1
  export * from "./GetChatControlsConfigurationPaginator";
2
2
  export * from "./Interfaces";
3
3
  export * from "./ListApplicationsPaginator";
4
+ export * from "./ListAttachmentsPaginator";
4
5
  export * from "./ListConversationsPaginator";
6
+ export * from "./ListDataAccessorsPaginator";
5
7
  export * from "./ListDataSourceSyncJobsPaginator";
6
8
  export * from "./ListDataSourcesPaginator";
7
9
  export * from "./ListDocumentsPaginator";
8
10
  export * from "./ListGroupsPaginator";
9
11
  export * from "./ListIndicesPaginator";
10
12
  export * from "./ListMessagesPaginator";
13
+ export * from "./ListPluginActionsPaginator";
14
+ export * from "./ListPluginTypeActionsPaginator";
15
+ export * from "./ListPluginTypeMetadataPaginator";
11
16
  export * from "./ListPluginsPaginator";
12
17
  export * from "./ListRetrieversPaginator";
13
18
  export * from "./ListWebExperiencesPaginator";
19
+ export * from "./SearchRelevantContentPaginator";