@aws-sdk/client-qbusiness 3.703.0 → 3.707.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 (144) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/index.js +797 -42
  3. package/dist-es/QBusiness.js +24 -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/GetPolicyCommand.js +22 -0
  11. package/dist-es/commands/ListDataAccessorsCommand.js +23 -0
  12. package/dist-es/commands/ListPluginActionsCommand.js +22 -0
  13. package/dist-es/commands/ListPluginTypeActionsCommand.js +22 -0
  14. package/dist-es/commands/ListPluginTypeMetadataCommand.js +22 -0
  15. package/dist-es/commands/SearchRelevantContentCommand.js +22 -0
  16. package/dist-es/commands/UpdateDataAccessorCommand.js +23 -0
  17. package/dist-es/commands/index.js +12 -0
  18. package/dist-es/models/index.js +1 -0
  19. package/dist-es/models/models_0.js +59 -52
  20. package/dist-es/models/models_1.js +54 -0
  21. package/dist-es/pagination/ListDataAccessorsPaginator.js +4 -0
  22. package/dist-es/pagination/ListPluginActionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListPluginTypeActionsPaginator.js +4 -0
  24. package/dist-es/pagination/ListPluginTypeMetadataPaginator.js +4 -0
  25. package/dist-es/pagination/SearchRelevantContentPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +5 -0
  27. package/dist-es/protocols/Aws_restJson1.js +451 -4
  28. package/dist-types/QBusiness.d.ts +85 -0
  29. package/dist-types/QBusinessClient.d.ts +14 -2
  30. package/dist-types/commands/AssociatePermissionCommand.d.ts +105 -0
  31. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +2 -2
  32. package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
  33. package/dist-types/commands/ChatCommand.d.ts +5 -4
  34. package/dist-types/commands/ChatSyncCommand.d.ts +5 -4
  35. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -3
  36. package/dist-types/commands/CreateDataAccessorCommand.d.ts +203 -0
  37. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -2
  38. package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
  39. package/dist-types/commands/CreatePluginCommand.d.ts +9 -3
  40. package/dist-types/commands/CreateRetrieverCommand.d.ts +2 -2
  41. package/dist-types/commands/CreateUserCommand.d.ts +2 -2
  42. package/dist-types/commands/CreateWebExperienceCommand.d.ts +8 -2
  43. package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -2
  44. package/dist-types/commands/DeleteChatControlsConfigurationCommand.d.ts +2 -2
  45. package/dist-types/commands/DeleteConversationCommand.d.ts +2 -2
  46. package/dist-types/commands/DeleteDataAccessorCommand.d.ts +95 -0
  47. package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteGroupCommand.d.ts +2 -2
  49. package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
  50. package/dist-types/commands/DeletePluginCommand.d.ts +2 -2
  51. package/dist-types/commands/DeleteRetrieverCommand.d.ts +2 -2
  52. package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
  53. package/dist-types/commands/DeleteWebExperienceCommand.d.ts +2 -2
  54. package/dist-types/commands/DisassociatePermissionCommand.d.ts +95 -0
  55. package/dist-types/commands/GetApplicationCommand.d.ts +6 -3
  56. package/dist-types/commands/GetChatControlsConfigurationCommand.d.ts +2 -2
  57. package/dist-types/commands/GetDataAccessorCommand.d.ts +191 -0
  58. package/dist-types/commands/GetDataSourceCommand.d.ts +2 -2
  59. package/dist-types/commands/GetGroupCommand.d.ts +2 -2
  60. package/dist-types/commands/GetIndexCommand.d.ts +2 -2
  61. package/dist-types/commands/GetMediaCommand.d.ts +2 -2
  62. package/dist-types/commands/GetPluginCommand.d.ts +9 -3
  63. package/dist-types/commands/GetPolicyCommand.d.ts +92 -0
  64. package/dist-types/commands/GetRetrieverCommand.d.ts +2 -2
  65. package/dist-types/commands/GetUserCommand.d.ts +2 -2
  66. package/dist-types/commands/GetWebExperienceCommand.d.ts +8 -2
  67. package/dist-types/commands/ListApplicationsCommand.d.ts +4 -1
  68. package/dist-types/commands/ListAttachmentsCommand.d.ts +2 -2
  69. package/dist-types/commands/ListConversationsCommand.d.ts +2 -2
  70. package/dist-types/commands/ListDataAccessorsCommand.d.ts +106 -0
  71. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -2
  72. package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
  73. package/dist-types/commands/ListDocumentsCommand.d.ts +2 -2
  74. package/dist-types/commands/ListGroupsCommand.d.ts +2 -2
  75. package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
  76. package/dist-types/commands/ListMessagesCommand.d.ts +3 -3
  77. package/dist-types/commands/ListPluginActionsCommand.d.ts +102 -0
  78. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +98 -0
  79. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +95 -0
  80. package/dist-types/commands/ListPluginsCommand.d.ts +3 -3
  81. package/dist-types/commands/ListRetrieversCommand.d.ts +3 -3
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  83. package/dist-types/commands/ListWebExperiencesCommand.d.ts +2 -2
  84. package/dist-types/commands/PutFeedbackCommand.d.ts +2 -2
  85. package/dist-types/commands/PutGroupCommand.d.ts +2 -2
  86. package/dist-types/commands/SearchRelevantContentCommand.d.ts +214 -0
  87. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -3
  88. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
  89. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  90. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  91. package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -2
  92. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +3 -3
  93. package/dist-types/commands/UpdateDataAccessorCommand.d.ts +186 -0
  94. package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
  95. package/dist-types/commands/UpdateIndexCommand.d.ts +2 -2
  96. package/dist-types/commands/UpdatePluginCommand.d.ts +8 -2
  97. package/dist-types/commands/UpdateRetrieverCommand.d.ts +2 -2
  98. package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
  99. package/dist-types/commands/UpdateWebExperienceCommand.d.ts +8 -2
  100. package/dist-types/commands/index.d.ts +12 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +735 -636
  103. package/dist-types/models/models_1.d.ts +742 -0
  104. package/dist-types/pagination/ListDataAccessorsPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListPluginActionsPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListPluginTypeActionsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/ListPluginTypeMetadataPaginator.d.ts +7 -0
  108. package/dist-types/pagination/SearchRelevantContentPaginator.d.ts +7 -0
  109. package/dist-types/pagination/index.d.ts +5 -0
  110. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  111. package/dist-types/ts3.4/QBusiness.d.ts +205 -0
  112. package/dist-types/ts3.4/QBusinessClient.d.ts +72 -0
  113. package/dist-types/ts3.4/commands/AssociatePermissionCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/ChatCommand.d.ts +2 -1
  115. package/dist-types/ts3.4/commands/ChatSyncCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/CreateDataAccessorCommand.d.ts +49 -0
  117. package/dist-types/ts3.4/commands/DeleteDataAccessorCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/DisassociatePermissionCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/GetDataAccessorCommand.d.ts +48 -0
  120. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
  121. package/dist-types/ts3.4/commands/ListDataAccessorsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +49 -0
  126. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +2 -4
  127. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/UpdateDataAccessorCommand.d.ts +49 -0
  132. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  134. package/dist-types/ts3.4/models/index.d.ts +1 -0
  135. package/dist-types/ts3.4/models/models_0.d.ts +250 -224
  136. package/dist-types/ts3.4/models/models_1.d.ts +239 -0
  137. package/dist-types/ts3.4/pagination/ListDataAccessorsPaginator.d.ts +11 -0
  138. package/dist-types/ts3.4/pagination/ListPluginActionsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/ListPluginTypeActionsPaginator.d.ts +11 -0
  140. package/dist-types/ts3.4/pagination/ListPluginTypeMetadataPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/SearchRelevantContentPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  144. package/package.json +1 -1
@@ -71,6 +71,61 @@ export declare class AccessDeniedException extends __BaseException {
71
71
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
72
72
  );
73
73
  }
74
+ export type DocumentAttributeValue =
75
+ | DocumentAttributeValue.DateValueMember
76
+ | DocumentAttributeValue.LongValueMember
77
+ | DocumentAttributeValue.StringListValueMember
78
+ | DocumentAttributeValue.StringValueMember
79
+ | DocumentAttributeValue.$UnknownMember;
80
+ export declare namespace DocumentAttributeValue {
81
+ interface StringValueMember {
82
+ stringValue: string;
83
+ stringListValue?: never;
84
+ longValue?: never;
85
+ dateValue?: never;
86
+ $unknown?: never;
87
+ }
88
+ interface StringListValueMember {
89
+ stringValue?: never;
90
+ stringListValue: string[];
91
+ longValue?: never;
92
+ dateValue?: never;
93
+ $unknown?: never;
94
+ }
95
+ interface LongValueMember {
96
+ stringValue?: never;
97
+ stringListValue?: never;
98
+ longValue: number;
99
+ dateValue?: never;
100
+ $unknown?: never;
101
+ }
102
+ interface DateValueMember {
103
+ stringValue?: never;
104
+ stringListValue?: never;
105
+ longValue?: never;
106
+ dateValue: Date;
107
+ $unknown?: never;
108
+ }
109
+ interface $UnknownMember {
110
+ stringValue?: never;
111
+ stringListValue?: never;
112
+ longValue?: never;
113
+ dateValue?: never;
114
+ $unknown: [string, any];
115
+ }
116
+ interface Visitor<T> {
117
+ stringValue: (value: string) => T;
118
+ stringListValue: (value: string[]) => T;
119
+ longValue: (value: number) => T;
120
+ dateValue: (value: Date) => T;
121
+ _: (name: string, value: any) => T;
122
+ }
123
+ const visit: <T>(value: DocumentAttributeValue, visitor: Visitor<T>) => T;
124
+ }
125
+ export interface DocumentAttribute {
126
+ name: string | undefined;
127
+ value: DocumentAttributeValue | undefined;
128
+ }
74
129
  export interface ActionExecutionPayloadField {
75
130
  value: __DocumentType | undefined;
76
131
  }
@@ -108,11 +163,23 @@ export interface ActionReviewPayloadField {
108
163
  required?: boolean | undefined;
109
164
  }
110
165
  export declare const PluginType: {
166
+ readonly ASANA: "ASANA";
167
+ readonly ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE";
111
168
  readonly CUSTOM: "CUSTOM";
169
+ readonly GOOGLE_CALENDAR: "GOOGLE_CALENDAR";
112
170
  readonly JIRA: "JIRA";
171
+ readonly JIRA_CLOUD: "JIRA_CLOUD";
172
+ readonly MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE";
173
+ readonly MICROSOFT_TEAMS: "MICROSOFT_TEAMS";
174
+ readonly PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE";
175
+ readonly QUICKSIGHT: "QUICKSIGHT";
113
176
  readonly SALESFORCE: "SALESFORCE";
177
+ readonly SALESFORCE_CRM: "SALESFORCE_CRM";
178
+ readonly SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM";
114
179
  readonly SERVICE_NOW: "SERVICE_NOW";
180
+ readonly SMARTSHEET: "SMARTSHEET";
115
181
  readonly ZENDESK: "ZENDESK";
182
+ readonly ZENDESK_SUITE: "ZENDESK_SUITE";
116
183
  };
117
184
  export type PluginType = (typeof PluginType)[keyof typeof PluginType];
118
185
  export interface ActionReview {
@@ -130,6 +197,12 @@ export interface ActionReviewEvent {
130
197
  payload?: Record<string, ActionReviewPayloadField> | undefined;
131
198
  payloadFieldNameSeparator?: string | undefined;
132
199
  }
200
+ export interface ActionSummary {
201
+ actionIdentifier?: string | undefined;
202
+ displayName?: string | undefined;
203
+ instructionExample?: string | undefined;
204
+ description?: string | undefined;
205
+ }
133
206
  export interface S3 {
134
207
  bucket: string | undefined;
135
208
  key: string | undefined;
@@ -169,8 +242,12 @@ export declare const IdentityType: {
169
242
  readonly AWS_IAM_IDC: "AWS_IAM_IDC";
170
243
  readonly AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC";
171
244
  readonly AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML";
245
+ readonly AWS_QUICKSIGHT_IDP: "AWS_QUICKSIGHT_IDP";
172
246
  };
173
247
  export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
248
+ export interface QuickSightConfiguration {
249
+ clientNamespace: string | undefined;
250
+ }
174
251
  export declare const ApplicationStatus: {
175
252
  readonly ACTIVE: "ACTIVE";
176
253
  readonly CREATING: "CREATING";
@@ -187,6 +264,7 @@ export interface Application {
187
264
  updatedAt?: Date | undefined;
188
265
  status?: ApplicationStatus | undefined;
189
266
  identityType?: IdentityType | undefined;
267
+ quickSightConfiguration?: QuickSightConfiguration | undefined;
190
268
  }
191
269
  export declare class ConflictException extends __BaseException {
192
270
  readonly name: "ConflictException";
@@ -243,6 +321,7 @@ export interface CreateApplicationRequest {
243
321
  attachmentsConfiguration?: AttachmentsConfiguration | undefined;
244
322
  qAppsConfiguration?: QAppsConfiguration | undefined;
245
323
  personalizationConfiguration?: PersonalizationConfiguration | undefined;
324
+ quickSightConfiguration?: QuickSightConfiguration | undefined;
246
325
  }
247
326
  export interface CreateApplicationResponse {
248
327
  applicationId?: string | undefined;
@@ -300,6 +379,39 @@ export declare class ValidationException extends __BaseException {
300
379
  opts: __ExceptionOptionType<ValidationException, __BaseException>
301
380
  );
302
381
  }
382
+ export interface CreateDataAccessorResponse {
383
+ dataAccessorId: string | undefined;
384
+ idcApplicationArn: string | undefined;
385
+ dataAccessorArn: string | undefined;
386
+ }
387
+ export interface DeleteDataAccessorRequest {
388
+ applicationId: string | undefined;
389
+ dataAccessorId: string | undefined;
390
+ }
391
+ export interface DeleteDataAccessorResponse {}
392
+ export interface GetDataAccessorRequest {
393
+ applicationId: string | undefined;
394
+ dataAccessorId: string | undefined;
395
+ }
396
+ export interface ListDataAccessorsRequest {
397
+ applicationId: string | undefined;
398
+ nextToken?: string | undefined;
399
+ maxResults?: number | undefined;
400
+ }
401
+ export interface DataAccessor {
402
+ displayName?: string | undefined;
403
+ dataAccessorId?: string | undefined;
404
+ dataAccessorArn?: string | undefined;
405
+ idcApplicationArn?: string | undefined;
406
+ principal?: string | undefined;
407
+ createdAt?: Date | undefined;
408
+ updatedAt?: Date | undefined;
409
+ }
410
+ export interface ListDataAccessorsResponse {
411
+ dataAccessors?: DataAccessor[] | undefined;
412
+ nextToken?: string | undefined;
413
+ }
414
+ export interface UpdateDataAccessorResponse {}
303
415
  export interface DeleteApplicationRequest {
304
416
  applicationId: string | undefined;
305
417
  }
@@ -356,6 +468,7 @@ export interface GetApplicationResponse {
356
468
  personalizationConfiguration?: PersonalizationConfiguration | undefined;
357
469
  autoSubscriptionConfiguration?: AutoSubscriptionConfiguration | undefined;
358
470
  clientIdsForOIDC?: string[] | undefined;
471
+ quickSightConfiguration?: QuickSightConfiguration | undefined;
359
472
  }
360
473
  export interface IndexCapacityConfiguration {
361
474
  units?: number | undefined;
@@ -393,57 +506,6 @@ export declare const DocumentEnrichmentConditionOperator: {
393
506
  };
394
507
  export type DocumentEnrichmentConditionOperator =
395
508
  (typeof DocumentEnrichmentConditionOperator)[keyof typeof DocumentEnrichmentConditionOperator];
396
- export type DocumentAttributeValue =
397
- | DocumentAttributeValue.DateValueMember
398
- | DocumentAttributeValue.LongValueMember
399
- | DocumentAttributeValue.StringListValueMember
400
- | DocumentAttributeValue.StringValueMember
401
- | DocumentAttributeValue.$UnknownMember;
402
- export declare namespace DocumentAttributeValue {
403
- interface StringValueMember {
404
- stringValue: string;
405
- stringListValue?: never;
406
- longValue?: never;
407
- dateValue?: never;
408
- $unknown?: never;
409
- }
410
- interface StringListValueMember {
411
- stringValue?: never;
412
- stringListValue: string[];
413
- longValue?: never;
414
- dateValue?: never;
415
- $unknown?: never;
416
- }
417
- interface LongValueMember {
418
- stringValue?: never;
419
- stringListValue?: never;
420
- longValue: number;
421
- dateValue?: never;
422
- $unknown?: never;
423
- }
424
- interface DateValueMember {
425
- stringValue?: never;
426
- stringListValue?: never;
427
- longValue?: never;
428
- dateValue: Date;
429
- $unknown?: never;
430
- }
431
- interface $UnknownMember {
432
- stringValue?: never;
433
- stringListValue?: never;
434
- longValue?: never;
435
- dateValue?: never;
436
- $unknown: [string, any];
437
- }
438
- interface Visitor<T> {
439
- stringValue: (value: string) => T;
440
- stringListValue: (value: string[]) => T;
441
- longValue: (value: number) => T;
442
- dateValue: (value: Date) => T;
443
- _: (name: string, value: any) => T;
444
- }
445
- const visit: <T>(value: DocumentAttributeValue, visitor: Visitor<T>) => T;
446
- }
447
509
  export interface DocumentAttributeCondition {
448
510
  key: string | undefined;
449
511
  operator: DocumentEnrichmentConditionOperator | undefined;
@@ -683,13 +745,20 @@ export interface BasicAuthConfiguration {
683
745
  secretArn: string | undefined;
684
746
  roleArn: string | undefined;
685
747
  }
748
+ export interface IdcAuthConfiguration {
749
+ idcApplicationArn: string | undefined;
750
+ roleArn: string | undefined;
751
+ }
686
752
  export interface NoAuthConfiguration {}
687
753
  export interface OAuth2ClientCredentialConfiguration {
688
754
  secretArn: string | undefined;
689
755
  roleArn: string | undefined;
756
+ authorizationUrl?: string | undefined;
757
+ tokenUrl?: string | undefined;
690
758
  }
691
759
  export type PluginAuthConfiguration =
692
760
  | PluginAuthConfiguration.BasicAuthConfigurationMember
761
+ | PluginAuthConfiguration.IdcAuthConfigurationMember
693
762
  | PluginAuthConfiguration.NoAuthConfigurationMember
694
763
  | PluginAuthConfiguration.OAuth2ClientCredentialConfigurationMember
695
764
  | PluginAuthConfiguration.$UnknownMember;
@@ -698,24 +767,35 @@ export declare namespace PluginAuthConfiguration {
698
767
  basicAuthConfiguration: BasicAuthConfiguration;
699
768
  oAuth2ClientCredentialConfiguration?: never;
700
769
  noAuthConfiguration?: never;
770
+ idcAuthConfiguration?: never;
701
771
  $unknown?: never;
702
772
  }
703
773
  interface OAuth2ClientCredentialConfigurationMember {
704
774
  basicAuthConfiguration?: never;
705
775
  oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfiguration;
706
776
  noAuthConfiguration?: never;
777
+ idcAuthConfiguration?: never;
707
778
  $unknown?: never;
708
779
  }
709
780
  interface NoAuthConfigurationMember {
710
781
  basicAuthConfiguration?: never;
711
782
  oAuth2ClientCredentialConfiguration?: never;
712
783
  noAuthConfiguration: NoAuthConfiguration;
784
+ idcAuthConfiguration?: never;
785
+ $unknown?: never;
786
+ }
787
+ interface IdcAuthConfigurationMember {
788
+ basicAuthConfiguration?: never;
789
+ oAuth2ClientCredentialConfiguration?: never;
790
+ noAuthConfiguration?: never;
791
+ idcAuthConfiguration: IdcAuthConfiguration;
713
792
  $unknown?: never;
714
793
  }
715
794
  interface $UnknownMember {
716
795
  basicAuthConfiguration?: never;
717
796
  oAuth2ClientCredentialConfiguration?: never;
718
797
  noAuthConfiguration?: never;
798
+ idcAuthConfiguration?: never;
719
799
  $unknown: [string, any];
720
800
  }
721
801
  interface Visitor<T> {
@@ -724,6 +804,7 @@ export declare namespace PluginAuthConfiguration {
724
804
  value: OAuth2ClientCredentialConfiguration
725
805
  ) => T;
726
806
  noAuthConfiguration: (value: NoAuthConfiguration) => T;
807
+ idcAuthConfiguration: (value: IdcAuthConfiguration) => T;
727
808
  _: (name: string, value: any) => T;
728
809
  }
729
810
  const visit: <T>(value: PluginAuthConfiguration, visitor: Visitor<T>) => T;
@@ -1039,6 +1120,12 @@ export type BrowserExtension =
1039
1120
  export interface BrowserExtensionConfiguration {
1040
1121
  enabledBrowserExtensions: BrowserExtension[] | undefined;
1041
1122
  }
1123
+ export interface CustomizationConfiguration {
1124
+ customCSSUrl?: string | undefined;
1125
+ logoUrl?: string | undefined;
1126
+ fontUrl?: string | undefined;
1127
+ faviconUrl?: string | undefined;
1128
+ }
1042
1129
  export interface OpenIDConnectProviderConfiguration {
1043
1130
  secretsArn: string | undefined;
1044
1131
  secretsRole: string | undefined;
@@ -1096,6 +1183,7 @@ export interface CreateWebExperienceRequest {
1096
1183
  clientToken?: string | undefined;
1097
1184
  identityProviderConfiguration?: IdentityProviderConfiguration | undefined;
1098
1185
  browserExtensionConfiguration?: BrowserExtensionConfiguration | undefined;
1186
+ customizationConfiguration?: CustomizationConfiguration | undefined;
1099
1187
  }
1100
1188
  export interface CreateWebExperienceResponse {
1101
1189
  webExperienceId?: string | undefined;
@@ -1164,6 +1252,7 @@ export interface GetWebExperienceResponse {
1164
1252
  authenticationConfiguration?: WebExperienceAuthConfiguration | undefined;
1165
1253
  error?: ErrorDetail | undefined;
1166
1254
  browserExtensionConfiguration?: BrowserExtensionConfiguration | undefined;
1255
+ customizationConfiguration?: CustomizationConfiguration | undefined;
1167
1256
  }
1168
1257
  export interface ListWebExperiencesRequest {
1169
1258
  applicationId: string | undefined;
@@ -1193,6 +1282,7 @@ export interface UpdateWebExperienceRequest {
1193
1282
  identityProviderConfiguration?: IdentityProviderConfiguration | undefined;
1194
1283
  origins?: string[] | undefined;
1195
1284
  browserExtensionConfiguration?: BrowserExtensionConfiguration | undefined;
1285
+ customizationConfiguration?: CustomizationConfiguration | undefined;
1196
1286
  }
1197
1287
  export interface UpdateWebExperienceResponse {}
1198
1288
  export declare const CreatorModeControl: {
@@ -1204,6 +1294,15 @@ export type CreatorModeControl =
1204
1294
  export interface AppliedCreatorModeConfiguration {
1205
1295
  creatorModeControl: CreatorModeControl | undefined;
1206
1296
  }
1297
+ export interface AssociatePermissionRequest {
1298
+ applicationId: string | undefined;
1299
+ statementId: string | undefined;
1300
+ actions: string[] | undefined;
1301
+ principal: string | undefined;
1302
+ }
1303
+ export interface AssociatePermissionResponse {
1304
+ statement?: string | undefined;
1305
+ }
1207
1306
  export interface ConversationSource {
1208
1307
  conversationId: string | undefined;
1209
1308
  attachmentId: string | undefined;
@@ -1259,10 +1358,6 @@ export interface AttachmentOutput {
1259
1358
  attachmentId?: string | undefined;
1260
1359
  conversationId?: string | undefined;
1261
1360
  }
1262
- export interface DocumentAttribute {
1263
- name: string | undefined;
1264
- value: DocumentAttributeValue | undefined;
1265
- }
1266
1361
  export interface AuthChallengeRequest {
1267
1362
  authorizationUrl: string | undefined;
1268
1363
  }
@@ -1534,6 +1629,27 @@ export interface EligibleDataSource {
1534
1629
  export interface ContentRetrievalRule {
1535
1630
  eligibleDataSources?: EligibleDataSource[] | undefined;
1536
1631
  }
1632
+ export interface RetrieverContentSource {
1633
+ retrieverId: string | undefined;
1634
+ }
1635
+ export type ContentSource =
1636
+ | ContentSource.RetrieverMember
1637
+ | ContentSource.$UnknownMember;
1638
+ export declare namespace ContentSource {
1639
+ interface RetrieverMember {
1640
+ retriever: RetrieverContentSource;
1641
+ $unknown?: never;
1642
+ }
1643
+ interface $UnknownMember {
1644
+ retriever?: never;
1645
+ $unknown: [string, any];
1646
+ }
1647
+ interface Visitor<T> {
1648
+ retriever: (value: RetrieverContentSource) => T;
1649
+ _: (name: string, value: any) => T;
1650
+ }
1651
+ const visit: <T>(value: ContentSource, visitor: Visitor<T>) => T;
1652
+ }
1537
1653
  export interface Conversation {
1538
1654
  conversationId?: string | undefined;
1539
1655
  title?: string | undefined;
@@ -1603,6 +1719,11 @@ export interface DeleteUserRequest {
1603
1719
  userId: string | undefined;
1604
1720
  }
1605
1721
  export interface DeleteUserResponse {}
1722
+ export interface DisassociatePermissionRequest {
1723
+ applicationId: string | undefined;
1724
+ statementId: string | undefined;
1725
+ }
1726
+ export interface DisassociatePermissionResponse {}
1606
1727
  export declare const DocumentStatus: {
1607
1728
  readonly DELETED: "DELETED";
1608
1729
  readonly DELETING: "DELETING";
@@ -1727,6 +1848,12 @@ export declare class MediaTooLargeException extends __BaseException {
1727
1848
  opts: __ExceptionOptionType<MediaTooLargeException, __BaseException>
1728
1849
  );
1729
1850
  }
1851
+ export interface GetPolicyRequest {
1852
+ applicationId: string | undefined;
1853
+ }
1854
+ export interface GetPolicyResponse {
1855
+ policy?: string | undefined;
1856
+ }
1730
1857
  export interface GetUserRequest {
1731
1858
  applicationId: string | undefined;
1732
1859
  userId: string | undefined;
@@ -1821,6 +1948,47 @@ export interface ListMessagesResponse {
1821
1948
  messages?: Message[] | undefined;
1822
1949
  nextToken?: string | undefined;
1823
1950
  }
1951
+ export interface ListPluginActionsRequest {
1952
+ applicationId: string | undefined;
1953
+ pluginId: string | undefined;
1954
+ nextToken?: string | undefined;
1955
+ maxResults?: number | undefined;
1956
+ }
1957
+ export interface ListPluginActionsResponse {
1958
+ nextToken?: string | undefined;
1959
+ items?: ActionSummary[] | undefined;
1960
+ }
1961
+ export interface ListPluginTypeActionsRequest {
1962
+ pluginType: PluginType | undefined;
1963
+ nextToken?: string | undefined;
1964
+ maxResults?: number | undefined;
1965
+ }
1966
+ export interface ListPluginTypeActionsResponse {
1967
+ nextToken?: string | undefined;
1968
+ items?: ActionSummary[] | undefined;
1969
+ }
1970
+ export interface ListPluginTypeMetadataRequest {
1971
+ nextToken?: string | undefined;
1972
+ maxResults?: number | undefined;
1973
+ }
1974
+ export declare const PluginTypeCategory: {
1975
+ readonly COMMUNICATION: "Communication";
1976
+ readonly CRM: "Customer relationship management (CRM)";
1977
+ readonly PRODUCTIVITY: "Productivity";
1978
+ readonly PROJECT_MANAGEMENT: "Project management";
1979
+ readonly TICKETING_MANAGEMENT: "Ticketing and incident management";
1980
+ };
1981
+ export type PluginTypeCategory =
1982
+ (typeof PluginTypeCategory)[keyof typeof PluginTypeCategory];
1983
+ export interface PluginTypeMetadataSummary {
1984
+ type?: PluginType | undefined;
1985
+ category?: PluginTypeCategory | undefined;
1986
+ description?: string | undefined;
1987
+ }
1988
+ export interface ListPluginTypeMetadataResponse {
1989
+ nextToken?: string | undefined;
1990
+ items?: PluginTypeMetadataSummary[] | undefined;
1991
+ }
1824
1992
  export interface ListTagsForResourceRequest {
1825
1993
  resourceARN: string | undefined;
1826
1994
  }
@@ -1886,177 +2054,35 @@ export interface PutGroupRequest {
1886
2054
  roleArn?: string | undefined;
1887
2055
  }
1888
2056
  export interface PutGroupResponse {}
1889
- export interface StartDataSourceSyncJobRequest {
1890
- dataSourceId: string | undefined;
1891
- applicationId: string | undefined;
1892
- indexId: string | undefined;
2057
+ export declare const ScoreConfidence: {
2058
+ readonly HIGH: "HIGH";
2059
+ readonly LOW: "LOW";
2060
+ readonly MEDIUM: "MEDIUM";
2061
+ readonly NOT_AVAILABLE: "NOT_AVAILABLE";
2062
+ readonly VERY_HIGH: "VERY_HIGH";
2063
+ };
2064
+ export type ScoreConfidence =
2065
+ (typeof ScoreConfidence)[keyof typeof ScoreConfidence];
2066
+ export interface ScoreAttributes {
2067
+ scoreConfidence?: ScoreConfidence | undefined;
1893
2068
  }
1894
- export interface StartDataSourceSyncJobResponse {
1895
- executionId?: string | undefined;
2069
+ export interface RelevantContent {
2070
+ content?: string | undefined;
2071
+ documentId?: string | undefined;
2072
+ documentTitle?: string | undefined;
2073
+ documentUri?: string | undefined;
2074
+ documentAttributes?: DocumentAttribute[] | undefined;
2075
+ scoreAttributes?: ScoreAttributes | undefined;
2076
+ }
2077
+ export interface SearchRelevantContentResponse {
2078
+ relevantContent?: RelevantContent[] | undefined;
2079
+ nextToken?: string | undefined;
1896
2080
  }
1897
- export interface StopDataSourceSyncJobRequest {
2081
+ export interface StartDataSourceSyncJobRequest {
1898
2082
  dataSourceId: string | undefined;
1899
2083
  applicationId: string | undefined;
1900
2084
  indexId: string | undefined;
1901
2085
  }
1902
- export interface StopDataSourceSyncJobResponse {}
1903
- export interface TagResourceRequest {
1904
- resourceARN: string | undefined;
1905
- tags: Tag[] | undefined;
1906
- }
1907
- export interface TagResourceResponse {}
1908
- export interface UntagResourceRequest {
1909
- resourceARN: string | undefined;
1910
- tagKeys: string[] | undefined;
1911
- }
1912
- export interface UntagResourceResponse {}
1913
- export interface UpdateChatControlsConfigurationRequest {
1914
- applicationId: string | undefined;
1915
- clientToken?: string | undefined;
1916
- responseScope?: ResponseScope | undefined;
1917
- blockedPhrasesConfigurationUpdate?:
1918
- | BlockedPhrasesConfigurationUpdate
1919
- | undefined;
1920
- topicConfigurationsToCreateOrUpdate?: TopicConfiguration[] | undefined;
1921
- topicConfigurationsToDelete?: TopicConfiguration[] | undefined;
1922
- creatorModeConfiguration?: CreatorModeConfiguration | undefined;
1923
- }
1924
- export interface UpdateChatControlsConfigurationResponse {}
1925
- export interface UpdateUserRequest {
1926
- applicationId: string | undefined;
1927
- userId: string | undefined;
1928
- userAliasesToUpdate?: UserAlias[] | undefined;
1929
- userAliasesToDelete?: UserAlias[] | undefined;
1930
- }
1931
- export interface UpdateUserResponse {
1932
- userAliasesAdded?: UserAlias[] | undefined;
1933
- userAliasesUpdated?: UserAlias[] | undefined;
1934
- userAliasesDeleted?: UserAlias[] | undefined;
1935
- }
1936
- export interface AttributeFilter {
1937
- andAllFilters?: AttributeFilter[] | undefined;
1938
- orAllFilters?: AttributeFilter[] | undefined;
1939
- notFilter?: AttributeFilter | undefined;
1940
- equalsTo?: DocumentAttribute | undefined;
1941
- containsAll?: DocumentAttribute | undefined;
1942
- containsAny?: DocumentAttribute | undefined;
1943
- greaterThan?: DocumentAttribute | undefined;
1944
- greaterThanOrEquals?: DocumentAttribute | undefined;
1945
- lessThan?: DocumentAttribute | undefined;
1946
- lessThanOrEquals?: DocumentAttribute | undefined;
1947
- }
1948
- export interface ChatSyncInput {
1949
- applicationId: string | undefined;
1950
- userId?: string | undefined;
1951
- userGroups?: string[] | undefined;
1952
- userMessage?: string | undefined;
1953
- attachments?: AttachmentInput[] | undefined;
1954
- actionExecution?: ActionExecution | undefined;
1955
- authChallengeResponse?: AuthChallengeResponse | undefined;
1956
- conversationId?: string | undefined;
1957
- parentMessageId?: string | undefined;
1958
- attributeFilter?: AttributeFilter | undefined;
1959
- chatMode?: ChatMode | undefined;
1960
- chatModeConfiguration?: ChatModeConfiguration | undefined;
1961
- clientToken?: string | undefined;
1962
- }
1963
- export interface ConfigurationEvent {
1964
- chatMode?: ChatMode | undefined;
1965
- chatModeConfiguration?: ChatModeConfiguration | undefined;
1966
- attributeFilter?: AttributeFilter | undefined;
1967
- }
1968
- export type ChatInputStream =
1969
- | ChatInputStream.ActionExecutionEventMember
1970
- | ChatInputStream.AttachmentEventMember
1971
- | ChatInputStream.AuthChallengeResponseEventMember
1972
- | ChatInputStream.ConfigurationEventMember
1973
- | ChatInputStream.EndOfInputEventMember
1974
- | ChatInputStream.TextEventMember
1975
- | ChatInputStream.$UnknownMember;
1976
- export declare namespace ChatInputStream {
1977
- interface ConfigurationEventMember {
1978
- configurationEvent: ConfigurationEvent;
1979
- textEvent?: never;
1980
- attachmentEvent?: never;
1981
- actionExecutionEvent?: never;
1982
- endOfInputEvent?: never;
1983
- authChallengeResponseEvent?: never;
1984
- $unknown?: never;
1985
- }
1986
- interface TextEventMember {
1987
- configurationEvent?: never;
1988
- textEvent: TextInputEvent;
1989
- attachmentEvent?: never;
1990
- actionExecutionEvent?: never;
1991
- endOfInputEvent?: never;
1992
- authChallengeResponseEvent?: never;
1993
- $unknown?: never;
1994
- }
1995
- interface AttachmentEventMember {
1996
- configurationEvent?: never;
1997
- textEvent?: never;
1998
- attachmentEvent: AttachmentInputEvent;
1999
- actionExecutionEvent?: never;
2000
- endOfInputEvent?: never;
2001
- authChallengeResponseEvent?: never;
2002
- $unknown?: never;
2003
- }
2004
- interface ActionExecutionEventMember {
2005
- configurationEvent?: never;
2006
- textEvent?: never;
2007
- attachmentEvent?: never;
2008
- actionExecutionEvent: ActionExecutionEvent;
2009
- endOfInputEvent?: never;
2010
- authChallengeResponseEvent?: never;
2011
- $unknown?: never;
2012
- }
2013
- interface EndOfInputEventMember {
2014
- configurationEvent?: never;
2015
- textEvent?: never;
2016
- attachmentEvent?: never;
2017
- actionExecutionEvent?: never;
2018
- endOfInputEvent: EndOfInputEvent;
2019
- authChallengeResponseEvent?: never;
2020
- $unknown?: never;
2021
- }
2022
- interface AuthChallengeResponseEventMember {
2023
- configurationEvent?: never;
2024
- textEvent?: never;
2025
- attachmentEvent?: never;
2026
- actionExecutionEvent?: never;
2027
- endOfInputEvent?: never;
2028
- authChallengeResponseEvent: AuthChallengeResponseEvent;
2029
- $unknown?: never;
2030
- }
2031
- interface $UnknownMember {
2032
- configurationEvent?: never;
2033
- textEvent?: never;
2034
- attachmentEvent?: never;
2035
- actionExecutionEvent?: never;
2036
- endOfInputEvent?: never;
2037
- authChallengeResponseEvent?: never;
2038
- $unknown: [string, any];
2039
- }
2040
- interface Visitor<T> {
2041
- configurationEvent: (value: ConfigurationEvent) => T;
2042
- textEvent: (value: TextInputEvent) => T;
2043
- attachmentEvent: (value: AttachmentInputEvent) => T;
2044
- actionExecutionEvent: (value: ActionExecutionEvent) => T;
2045
- endOfInputEvent: (value: EndOfInputEvent) => T;
2046
- authChallengeResponseEvent: (value: AuthChallengeResponseEvent) => T;
2047
- _: (name: string, value: any) => T;
2048
- }
2049
- const visit: <T>(value: ChatInputStream, visitor: Visitor<T>) => T;
2050
- }
2051
- export interface ChatInput {
2052
- applicationId: string | undefined;
2053
- userId?: string | undefined;
2054
- userGroups?: string[] | undefined;
2055
- conversationId?: string | undefined;
2056
- parentMessageId?: string | undefined;
2057
- clientToken?: string | undefined;
2058
- inputStream?: AsyncIterable<ChatInputStream> | undefined;
2059
- }
2060
2086
  export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
2061
2087
  export declare const EncryptionConfigurationFilterSensitiveLog: (
2062
2088
  obj: EncryptionConfiguration
@@ -2064,6 +2090,10 @@ export declare const EncryptionConfigurationFilterSensitiveLog: (
2064
2090
  export declare const CreateApplicationRequestFilterSensitiveLog: (
2065
2091
  obj: CreateApplicationRequest
2066
2092
  ) => any;
2093
+ export declare const DataAccessorFilterSensitiveLog: (obj: DataAccessor) => any;
2094
+ export declare const ListDataAccessorsResponseFilterSensitiveLog: (
2095
+ obj: ListDataAccessorsResponse
2096
+ ) => any;
2067
2097
  export declare const GetApplicationResponseFilterSensitiveLog: (
2068
2098
  obj: GetApplicationResponse
2069
2099
  ) => any;
@@ -2083,7 +2113,3 @@ export declare const ChatOutputStreamFilterSensitiveLog: (
2083
2113
  obj: ChatOutputStream
2084
2114
  ) => any;
2085
2115
  export declare const ChatOutputFilterSensitiveLog: (obj: ChatOutput) => any;
2086
- export declare const ChatInputStreamFilterSensitiveLog: (
2087
- obj: ChatInputStream
2088
- ) => any;
2089
- export declare const ChatInputFilterSensitiveLog: (obj: ChatInput) => any;