@aws-sdk/client-qbusiness 3.933.0 → 3.935.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 (73) hide show
  1. package/dist-cjs/index.js +340 -345
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +339 -0
  4. package/dist-es/models/errors.js +137 -0
  5. package/dist-es/models/models_0.js +0 -417
  6. package/dist-es/models/models_1.js +1 -60
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetChatResponseConfigurationCommand.d.ts +1 -1
  9. package/dist-types/commands/GetDocumentContentCommand.d.ts +1 -1
  10. package/dist-types/commands/GetGroupCommand.d.ts +1 -1
  11. package/dist-types/commands/GetMediaCommand.d.ts +1 -1
  12. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  14. package/dist-types/commands/ListAttachmentsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListChatResponseConfigurationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListConversationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListMessagesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPluginActionsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPluginTypeActionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
  24. package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/PutFeedbackCommand.d.ts +1 -1
  27. package/dist-types/commands/PutGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/SearchRelevantContentCommand.d.ts +2 -1
  29. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  30. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  31. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateChatControlsConfigurationCommand.d.ts +2 -1
  34. package/dist-types/index.d.ts +4 -1
  35. package/dist-types/models/enums.d.ts +811 -0
  36. package/dist-types/models/errors.d.ts +164 -0
  37. package/dist-types/models/models_0.d.ts +1208 -858
  38. package/dist-types/models/models_1.d.ts +2 -1325
  39. package/dist-types/ts3.4/commands/GetChatResponseConfigurationCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetMediaCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListAttachmentsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListChatResponseConfigurationsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListConversationsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListPluginActionsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListPluginTypeActionsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListPluginTypeMetadataCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateChatControlsConfigurationCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/index.d.ts +4 -1
  66. package/dist-types/ts3.4/models/enums.d.ts +440 -0
  67. package/dist-types/ts3.4/models/errors.d.ts +80 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +359 -453
  69. package/dist-types/ts3.4/models/models_1.d.ts +1 -392
  70. package/package.json +12 -12
  71. package/dist-es/models/index.js +0 -2
  72. package/dist-types/models/index.d.ts +0 -2
  73. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,24 +1,63 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { QBusinessServiceException as __BaseException } from "./QBusinessServiceException";
4
- export declare const MemberRelation: {
5
- readonly AND: "AND";
6
- readonly OR: "OR";
7
- };
8
- export type MemberRelation =
9
- (typeof MemberRelation)[keyof typeof MemberRelation];
10
- export declare const ReadAccessType: {
11
- readonly ALLOW: "ALLOW";
12
- readonly DENY: "DENY";
13
- };
14
- export type ReadAccessType =
15
- (typeof ReadAccessType)[keyof typeof ReadAccessType];
16
- export declare const MembershipType: {
17
- readonly DATASOURCE: "DATASOURCE";
18
- readonly INDEX: "INDEX";
19
- };
20
- export type MembershipType =
21
- (typeof MembershipType)[keyof typeof MembershipType];
2
+ import {
3
+ ActionPayloadFieldType,
4
+ APISchemaType,
5
+ ApplicationStatus,
6
+ AttachmentsControlMode,
7
+ AttachmentStatus,
8
+ AttributeType,
9
+ AttributeValueOperator,
10
+ AudioExtractionStatus,
11
+ AudioExtractionType,
12
+ AutoSubscriptionStatus,
13
+ ChatResponseConfigurationStatus,
14
+ ContentType,
15
+ CreatorModeControl,
16
+ DataAccessorAuthenticationType,
17
+ DataSourceStatus,
18
+ DataSourceSyncJobStatus,
19
+ DocumentAttributeBoostingLevel,
20
+ DocumentContentOperator,
21
+ DocumentEnrichmentConditionOperator,
22
+ DocumentStatus,
23
+ ErrorCode,
24
+ GroupStatus,
25
+ HallucinationReductionControl,
26
+ IdentityType,
27
+ ImageExtractionStatus,
28
+ IndexStatus,
29
+ IndexType,
30
+ MemberRelation,
31
+ MembershipType,
32
+ MessageType,
33
+ MessageUsefulness,
34
+ MessageUsefulnessReason,
35
+ NumberAttributeBoostingType,
36
+ OrchestrationControl,
37
+ OutputFormat,
38
+ PermissionConditionOperator,
39
+ PersonalizationControlMode,
40
+ PluginBuildStatus,
41
+ PluginState,
42
+ PluginType,
43
+ PluginTypeCategory,
44
+ QAppsControlMode,
45
+ ReadAccessType,
46
+ ResponseConfigurationType,
47
+ ResponseScope,
48
+ RetrieverStatus,
49
+ RetrieverType,
50
+ RuleType,
51
+ ScoreConfidence,
52
+ Status,
53
+ StringAttributeValueBoostingLevel,
54
+ SubscriptionType,
55
+ SystemMessageType,
56
+ VideoExtractionStatus,
57
+ VideoExtractionType,
58
+ WebExperienceSamplePromptsControlMode,
59
+ WebExperienceStatus,
60
+ } from "./enums";
22
61
  export interface PrincipalGroup {
23
62
  name?: string | undefined;
24
63
  access: ReadAccessType | undefined;
@@ -63,13 +102,6 @@ export interface AccessConfiguration {
63
102
  accessControls: AccessControl[] | undefined;
64
103
  memberRelation?: MemberRelation | undefined;
65
104
  }
66
- export declare class AccessDeniedException extends __BaseException {
67
- readonly name: "AccessDeniedException";
68
- readonly $fault: "client";
69
- constructor(
70
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
71
- );
72
- }
73
105
  export type DocumentAttributeValue =
74
106
  | DocumentAttributeValue.DateValueMember
75
107
  | DocumentAttributeValue.LongValueMember
@@ -137,14 +169,6 @@ export interface ActionExecutionEvent {
137
169
  payload: Record<string, ActionExecutionPayloadField> | undefined;
138
170
  payloadFieldNameSeparator: string | undefined;
139
171
  }
140
- export declare const ActionPayloadFieldType: {
141
- readonly ARRAY: "ARRAY";
142
- readonly BOOLEAN: "BOOLEAN";
143
- readonly NUMBER: "NUMBER";
144
- readonly STRING: "STRING";
145
- };
146
- export type ActionPayloadFieldType =
147
- (typeof ActionPayloadFieldType)[keyof typeof ActionPayloadFieldType];
148
172
  export interface ActionReviewPayloadFieldAllowedValue {
149
173
  value?: __DocumentType | undefined;
150
174
  displayValue?: __DocumentType | undefined;
@@ -160,26 +184,6 @@ export interface ActionReviewPayloadField {
160
184
  arrayItemJsonSchema?: __DocumentType | undefined;
161
185
  required?: boolean | undefined;
162
186
  }
163
- export declare const PluginType: {
164
- readonly ASANA: "ASANA";
165
- readonly ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE";
166
- readonly CUSTOM: "CUSTOM";
167
- readonly GOOGLE_CALENDAR: "GOOGLE_CALENDAR";
168
- readonly JIRA: "JIRA";
169
- readonly JIRA_CLOUD: "JIRA_CLOUD";
170
- readonly MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE";
171
- readonly MICROSOFT_TEAMS: "MICROSOFT_TEAMS";
172
- readonly PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE";
173
- readonly QUICKSIGHT: "QUICKSIGHT";
174
- readonly SALESFORCE: "SALESFORCE";
175
- readonly SALESFORCE_CRM: "SALESFORCE_CRM";
176
- readonly SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM";
177
- readonly SERVICE_NOW: "SERVICE_NOW";
178
- readonly SMARTSHEET: "SMARTSHEET";
179
- readonly ZENDESK: "ZENDESK";
180
- readonly ZENDESK_SUITE: "ZENDESK_SUITE";
181
- };
182
- export type PluginType = (typeof PluginType)[keyof typeof PluginType];
183
187
  export interface ActionReview {
184
188
  pluginId?: string | undefined;
185
189
  pluginType?: PluginType | undefined;
@@ -231,30 +235,9 @@ export declare namespace APISchema {
231
235
  _: (name: string, value: any) => T;
232
236
  }
233
237
  }
234
- export declare const APISchemaType: {
235
- readonly OPEN_API_V3: "OPEN_API_V3";
236
- };
237
- export type APISchemaType = (typeof APISchemaType)[keyof typeof APISchemaType];
238
- export declare const IdentityType: {
239
- readonly ANONYMOUS: "ANONYMOUS";
240
- readonly AWS_IAM_IDC: "AWS_IAM_IDC";
241
- readonly AWS_IAM_IDP_OIDC: "AWS_IAM_IDP_OIDC";
242
- readonly AWS_IAM_IDP_SAML: "AWS_IAM_IDP_SAML";
243
- readonly AWS_QUICKSIGHT_IDP: "AWS_QUICKSIGHT_IDP";
244
- };
245
- export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType];
246
238
  export interface QuickSightConfiguration {
247
239
  clientNamespace: string | undefined;
248
240
  }
249
- export declare const ApplicationStatus: {
250
- readonly ACTIVE: "ACTIVE";
251
- readonly CREATING: "CREATING";
252
- readonly DELETING: "DELETING";
253
- readonly FAILED: "FAILED";
254
- readonly UPDATING: "UPDATING";
255
- };
256
- export type ApplicationStatus =
257
- (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
258
241
  export interface Application {
259
242
  displayName?: string | undefined;
260
243
  applicationId?: string | undefined;
@@ -264,40 +247,15 @@ export interface Application {
264
247
  identityType?: IdentityType | undefined;
265
248
  quickSightConfiguration?: QuickSightConfiguration | undefined;
266
249
  }
267
- export declare class ConflictException extends __BaseException {
268
- readonly name: "ConflictException";
269
- readonly $fault: "client";
270
- resourceId: string | undefined;
271
- resourceType: string | undefined;
272
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
273
- }
274
- export declare const AttachmentsControlMode: {
275
- readonly DISABLED: "DISABLED";
276
- readonly ENABLED: "ENABLED";
277
- };
278
- export type AttachmentsControlMode =
279
- (typeof AttachmentsControlMode)[keyof typeof AttachmentsControlMode];
280
250
  export interface AttachmentsConfiguration {
281
251
  attachmentsControlMode: AttachmentsControlMode | undefined;
282
252
  }
283
253
  export interface EncryptionConfiguration {
284
254
  kmsKeyId?: string | undefined;
285
255
  }
286
- export declare const PersonalizationControlMode: {
287
- readonly DISABLED: "DISABLED";
288
- readonly ENABLED: "ENABLED";
289
- };
290
- export type PersonalizationControlMode =
291
- (typeof PersonalizationControlMode)[keyof typeof PersonalizationControlMode];
292
256
  export interface PersonalizationConfiguration {
293
257
  personalizationControlMode: PersonalizationControlMode | undefined;
294
258
  }
295
- export declare const QAppsControlMode: {
296
- readonly DISABLED: "DISABLED";
297
- readonly ENABLED: "ENABLED";
298
- };
299
- export type QAppsControlMode =
300
- (typeof QAppsControlMode)[keyof typeof QAppsControlMode];
301
259
  export interface QAppsConfiguration {
302
260
  qAppsControlMode: QAppsControlMode | undefined;
303
261
  }
@@ -325,58 +283,10 @@ export interface CreateApplicationResponse {
325
283
  applicationId?: string | undefined;
326
284
  applicationArn?: string | undefined;
327
285
  }
328
- export declare class InternalServerException extends __BaseException {
329
- readonly name: "InternalServerException";
330
- readonly $fault: "server";
331
- constructor(
332
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
333
- );
334
- }
335
- export declare class ResourceNotFoundException extends __BaseException {
336
- readonly name: "ResourceNotFoundException";
337
- readonly $fault: "client";
338
- resourceId: string | undefined;
339
- resourceType: string | undefined;
340
- constructor(
341
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
342
- );
343
- }
344
- export declare class ServiceQuotaExceededException extends __BaseException {
345
- readonly name: "ServiceQuotaExceededException";
346
- readonly $fault: "client";
347
- resourceId: string | undefined;
348
- resourceType: string | undefined;
349
- constructor(
350
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
351
- );
352
- }
353
- export declare class ThrottlingException extends __BaseException {
354
- readonly name: "ThrottlingException";
355
- readonly $fault: "client";
356
- constructor(
357
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
358
- );
359
- }
360
286
  export interface ValidationExceptionField {
361
287
  name: string | undefined;
362
288
  message: string | undefined;
363
289
  }
364
- export declare const ValidationExceptionReason: {
365
- readonly CANNOT_PARSE: "CANNOT_PARSE";
366
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
367
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
368
- };
369
- export type ValidationExceptionReason =
370
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
371
- export declare class ValidationException extends __BaseException {
372
- readonly name: "ValidationException";
373
- readonly $fault: "client";
374
- reason: ValidationExceptionReason | undefined;
375
- fields?: ValidationExceptionField[] | undefined;
376
- constructor(
377
- opts: __ExceptionOptionType<ValidationException, __BaseException>
378
- );
379
- }
380
290
  export interface DataAccessorIdcTrustedTokenIssuerConfiguration {
381
291
  idcTrustedTokenIssuerArn: string | undefined;
382
292
  }
@@ -399,12 +309,6 @@ export declare namespace DataAccessorAuthenticationConfiguration {
399
309
  _: (name: string, value: any) => T;
400
310
  }
401
311
  }
402
- export declare const DataAccessorAuthenticationType: {
403
- readonly AWS_IAM_IDC_AUTH_CODE: "AWS_IAM_IDC_AUTH_CODE";
404
- readonly AWS_IAM_IDC_TTI: "AWS_IAM_IDC_TTI";
405
- };
406
- export type DataAccessorAuthenticationType =
407
- (typeof DataAccessorAuthenticationType)[keyof typeof DataAccessorAuthenticationType];
408
312
  export interface DataAccessorAuthenticationDetail {
409
313
  authenticationType: DataAccessorAuthenticationType | undefined;
410
314
  authenticationConfiguration?:
@@ -456,29 +360,10 @@ export interface GetApplicationRequest {
456
360
  export interface AppliedAttachmentsConfiguration {
457
361
  attachmentsControlMode?: AttachmentsControlMode | undefined;
458
362
  }
459
- export declare const AutoSubscriptionStatus: {
460
- readonly DISABLED: "DISABLED";
461
- readonly ENABLED: "ENABLED";
462
- };
463
- export type AutoSubscriptionStatus =
464
- (typeof AutoSubscriptionStatus)[keyof typeof AutoSubscriptionStatus];
465
- export declare const SubscriptionType: {
466
- readonly Q_BUSINESS: "Q_BUSINESS";
467
- readonly Q_LITE: "Q_LITE";
468
- };
469
- export type SubscriptionType =
470
- (typeof SubscriptionType)[keyof typeof SubscriptionType];
471
363
  export interface AutoSubscriptionConfiguration {
472
364
  autoSubscribe: AutoSubscriptionStatus | undefined;
473
365
  defaultSubscriptionType?: SubscriptionType | undefined;
474
366
  }
475
- export declare const ErrorCode: {
476
- readonly INTERNAL_ERROR: "InternalError";
477
- readonly INVALID_REQUEST: "InvalidRequest";
478
- readonly RESOURCE_INACTIVE: "ResourceInactive";
479
- readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
480
- };
481
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
482
367
  export interface ErrorDetail {
483
368
  errorMessage?: string | undefined;
484
369
  errorCode?: ErrorCode | undefined;
@@ -507,11 +392,6 @@ export interface GetApplicationResponse {
507
392
  export interface IndexCapacityConfiguration {
508
393
  units?: number | undefined;
509
394
  }
510
- export declare const IndexType: {
511
- readonly ENTERPRISE: "ENTERPRISE";
512
- readonly STARTER: "STARTER";
513
- };
514
- export type IndexType = (typeof IndexType)[keyof typeof IndexType];
515
395
  export interface CreateIndexRequest {
516
396
  applicationId: string | undefined;
517
397
  displayName: string | undefined;
@@ -525,36 +405,11 @@ export interface CreateIndexResponse {
525
405
  indexId?: string | undefined;
526
406
  indexArn?: string | undefined;
527
407
  }
528
- export declare const DocumentEnrichmentConditionOperator: {
529
- readonly BEGINS_WITH: "BEGINS_WITH";
530
- readonly CONTAINS: "CONTAINS";
531
- readonly EQUALS: "EQUALS";
532
- readonly EXISTS: "EXISTS";
533
- readonly GREATER_THAN: "GREATER_THAN";
534
- readonly GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS";
535
- readonly LESS_THAN: "LESS_THAN";
536
- readonly LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS";
537
- readonly NOT_CONTAINS: "NOT_CONTAINS";
538
- readonly NOT_EQUALS: "NOT_EQUALS";
539
- readonly NOT_EXISTS: "NOT_EXISTS";
540
- };
541
- export type DocumentEnrichmentConditionOperator =
542
- (typeof DocumentEnrichmentConditionOperator)[keyof typeof DocumentEnrichmentConditionOperator];
543
408
  export interface DocumentAttributeCondition {
544
409
  key: string | undefined;
545
410
  operator: DocumentEnrichmentConditionOperator | undefined;
546
411
  value?: DocumentAttributeValue | undefined;
547
412
  }
548
- export declare const DocumentContentOperator: {
549
- readonly DELETE: "DELETE";
550
- };
551
- export type DocumentContentOperator =
552
- (typeof DocumentContentOperator)[keyof typeof DocumentContentOperator];
553
- export declare const AttributeValueOperator: {
554
- readonly DELETE: "DELETE";
555
- };
556
- export type AttributeValueOperator =
557
- (typeof AttributeValueOperator)[keyof typeof AttributeValueOperator];
558
413
  export interface DocumentAttributeTarget {
559
414
  key: string | undefined;
560
415
  value?: DocumentAttributeValue | undefined;
@@ -576,30 +431,12 @@ export interface DocumentEnrichmentConfiguration {
576
431
  preExtractionHookConfiguration?: HookConfiguration | undefined;
577
432
  postExtractionHookConfiguration?: HookConfiguration | undefined;
578
433
  }
579
- export declare const AudioExtractionStatus: {
580
- readonly DISABLED: "DISABLED";
581
- readonly ENABLED: "ENABLED";
582
- };
583
- export type AudioExtractionStatus =
584
- (typeof AudioExtractionStatus)[keyof typeof AudioExtractionStatus];
585
434
  export interface AudioExtractionConfiguration {
586
435
  audioExtractionStatus: AudioExtractionStatus | undefined;
587
436
  }
588
- export declare const ImageExtractionStatus: {
589
- readonly DISABLED: "DISABLED";
590
- readonly ENABLED: "ENABLED";
591
- };
592
- export type ImageExtractionStatus =
593
- (typeof ImageExtractionStatus)[keyof typeof ImageExtractionStatus];
594
437
  export interface ImageExtractionConfiguration {
595
438
  imageExtractionStatus: ImageExtractionStatus | undefined;
596
439
  }
597
- export declare const VideoExtractionStatus: {
598
- readonly DISABLED: "DISABLED";
599
- readonly ENABLED: "ENABLED";
600
- };
601
- export type VideoExtractionStatus =
602
- (typeof VideoExtractionStatus)[keyof typeof VideoExtractionStatus];
603
440
  export interface VideoExtractionConfiguration {
604
441
  videoExtractionStatus: VideoExtractionStatus | undefined;
605
442
  }
@@ -641,16 +478,6 @@ export interface GetDataSourceRequest {
641
478
  indexId: string | undefined;
642
479
  dataSourceId: string | undefined;
643
480
  }
644
- export declare const DataSourceStatus: {
645
- readonly ACTIVE: "ACTIVE";
646
- readonly CREATING: "CREATING";
647
- readonly DELETING: "DELETING";
648
- readonly FAILED: "FAILED";
649
- readonly PENDING_CREATION: "PENDING_CREATION";
650
- readonly UPDATING: "UPDATING";
651
- };
652
- export type DataSourceStatus =
653
- (typeof DataSourceStatus)[keyof typeof DataSourceStatus];
654
481
  export interface GetDataSourceResponse {
655
482
  applicationId?: string | undefined;
656
483
  indexId?: string | undefined;
@@ -711,18 +538,6 @@ export interface GetIndexRequest {
711
538
  applicationId: string | undefined;
712
539
  indexId: string | undefined;
713
540
  }
714
- export declare const Status: {
715
- readonly DISABLED: "DISABLED";
716
- readonly ENABLED: "ENABLED";
717
- };
718
- export type Status = (typeof Status)[keyof typeof Status];
719
- export declare const AttributeType: {
720
- readonly DATE: "DATE";
721
- readonly NUMBER: "NUMBER";
722
- readonly STRING: "STRING";
723
- readonly STRING_LIST: "STRING_LIST";
724
- };
725
- export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
726
541
  export interface DocumentAttributeConfiguration {
727
542
  name?: string | undefined;
728
543
  type?: AttributeType | undefined;
@@ -735,14 +550,6 @@ export interface TextDocumentStatistics {
735
550
  export interface IndexStatistics {
736
551
  textDocumentStatistics?: TextDocumentStatistics | undefined;
737
552
  }
738
- export declare const IndexStatus: {
739
- readonly ACTIVE: "ACTIVE";
740
- readonly CREATING: "CREATING";
741
- readonly DELETING: "DELETING";
742
- readonly FAILED: "FAILED";
743
- readonly UPDATING: "UPDATING";
744
- };
745
- export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
746
553
  export interface GetIndexResponse {
747
554
  applicationId?: string | undefined;
748
555
  indexId?: string | undefined;
@@ -877,17 +684,6 @@ export interface CreatePluginRequest {
877
684
  tags?: Tag[] | undefined;
878
685
  clientToken?: string | undefined;
879
686
  }
880
- export declare const PluginBuildStatus: {
881
- readonly CREATE_FAILED: "CREATE_FAILED";
882
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
883
- readonly DELETE_FAILED: "DELETE_FAILED";
884
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
885
- readonly READY: "READY";
886
- readonly UPDATE_FAILED: "UPDATE_FAILED";
887
- readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
888
- };
889
- export type PluginBuildStatus =
890
- (typeof PluginBuildStatus)[keyof typeof PluginBuildStatus];
891
687
  export interface CreatePluginResponse {
892
688
  pluginId?: string | undefined;
893
689
  pluginArn?: string | undefined;
@@ -902,11 +698,6 @@ export interface GetPluginRequest {
902
698
  applicationId: string | undefined;
903
699
  pluginId: string | undefined;
904
700
  }
905
- export declare const PluginState: {
906
- readonly DISABLED: "DISABLED";
907
- readonly ENABLED: "ENABLED";
908
- };
909
- export type PluginState = (typeof PluginState)[keyof typeof PluginState];
910
701
  export interface GetPluginResponse {
911
702
  applicationId?: string | undefined;
912
703
  pluginId?: string | undefined;
@@ -953,44 +744,14 @@ export interface UpdatePluginResponse {}
953
744
  export interface KendraIndexConfiguration {
954
745
  indexId: string | undefined;
955
746
  }
956
- export declare const DocumentAttributeBoostingLevel: {
957
- readonly HIGH: "HIGH";
958
- readonly LOW: "LOW";
959
- readonly MEDIUM: "MEDIUM";
960
- readonly NONE: "NONE";
961
- readonly ONE: "ONE";
962
- readonly TWO: "TWO";
963
- readonly VERY_HIGH: "VERY_HIGH";
964
- };
965
- export type DocumentAttributeBoostingLevel =
966
- (typeof DocumentAttributeBoostingLevel)[keyof typeof DocumentAttributeBoostingLevel];
967
747
  export interface DateAttributeBoostingConfiguration {
968
748
  boostingLevel: DocumentAttributeBoostingLevel | undefined;
969
749
  boostingDurationInSeconds?: number | undefined;
970
750
  }
971
- export declare const NumberAttributeBoostingType: {
972
- readonly PRIORITIZE_LARGER_VALUES: "PRIORITIZE_LARGER_VALUES";
973
- readonly PRIORITIZE_SMALLER_VALUES: "PRIORITIZE_SMALLER_VALUES";
974
- };
975
- export type NumberAttributeBoostingType =
976
- (typeof NumberAttributeBoostingType)[keyof typeof NumberAttributeBoostingType];
977
751
  export interface NumberAttributeBoostingConfiguration {
978
752
  boostingLevel: DocumentAttributeBoostingLevel | undefined;
979
753
  boostingType?: NumberAttributeBoostingType | undefined;
980
754
  }
981
- export declare const StringAttributeValueBoostingLevel: {
982
- readonly FIVE: "FIVE";
983
- readonly FOUR: "FOUR";
984
- readonly HIGH: "HIGH";
985
- readonly LOW: "LOW";
986
- readonly MEDIUM: "MEDIUM";
987
- readonly ONE: "ONE";
988
- readonly THREE: "THREE";
989
- readonly TWO: "TWO";
990
- readonly VERY_HIGH: "VERY_HIGH";
991
- };
992
- export type StringAttributeValueBoostingLevel =
993
- (typeof StringAttributeValueBoostingLevel)[keyof typeof StringAttributeValueBoostingLevel];
994
755
  export interface StringAttributeBoostingConfiguration {
995
756
  boostingLevel: DocumentAttributeBoostingLevel | undefined;
996
757
  attributeValueBoosting?:
@@ -1085,11 +846,6 @@ export declare namespace RetrieverConfiguration {
1085
846
  _: (name: string, value: any) => T;
1086
847
  }
1087
848
  }
1088
- export declare const RetrieverType: {
1089
- readonly KENDRA_INDEX: "KENDRA_INDEX";
1090
- readonly NATIVE_INDEX: "NATIVE_INDEX";
1091
- };
1092
- export type RetrieverType = (typeof RetrieverType)[keyof typeof RetrieverType];
1093
849
  export interface CreateRetrieverRequest {
1094
850
  applicationId: string | undefined;
1095
851
  type: RetrieverType | undefined;
@@ -1112,13 +868,6 @@ export interface GetRetrieverRequest {
1112
868
  applicationId: string | undefined;
1113
869
  retrieverId: string | undefined;
1114
870
  }
1115
- export declare const RetrieverStatus: {
1116
- readonly ACTIVE: "ACTIVE";
1117
- readonly CREATING: "CREATING";
1118
- readonly FAILED: "FAILED";
1119
- };
1120
- export type RetrieverStatus =
1121
- (typeof RetrieverStatus)[keyof typeof RetrieverStatus];
1122
871
  export interface GetRetrieverResponse {
1123
872
  applicationId?: string | undefined;
1124
873
  retrieverId?: string | undefined;
@@ -1217,12 +966,6 @@ export declare namespace IdentityProviderConfiguration {
1217
966
  _: (name: string, value: any) => T;
1218
967
  }
1219
968
  }
1220
- export declare const WebExperienceSamplePromptsControlMode: {
1221
- readonly DISABLED: "DISABLED";
1222
- readonly ENABLED: "ENABLED";
1223
- };
1224
- export type WebExperienceSamplePromptsControlMode =
1225
- (typeof WebExperienceSamplePromptsControlMode)[keyof typeof WebExperienceSamplePromptsControlMode];
1226
969
  export interface CreateWebExperienceRequest {
1227
970
  applicationId: string | undefined;
1228
971
  title?: string | undefined;
@@ -1273,15 +1016,6 @@ export declare namespace WebExperienceAuthConfiguration {
1273
1016
  _: (name: string, value: any) => T;
1274
1017
  }
1275
1018
  }
1276
- export declare const WebExperienceStatus: {
1277
- readonly ACTIVE: "ACTIVE";
1278
- readonly CREATING: "CREATING";
1279
- readonly DELETING: "DELETING";
1280
- readonly FAILED: "FAILED";
1281
- readonly PENDING_AUTH_CONFIG: "PENDING_AUTH_CONFIG";
1282
- };
1283
- export type WebExperienceStatus =
1284
- (typeof WebExperienceStatus)[keyof typeof WebExperienceStatus];
1285
1019
  export interface GetWebExperienceResponse {
1286
1020
  applicationId?: string | undefined;
1287
1021
  webExperienceId?: string | undefined;
@@ -1333,21 +1067,9 @@ export interface UpdateWebExperienceRequest {
1333
1067
  customizationConfiguration?: CustomizationConfiguration | undefined;
1334
1068
  }
1335
1069
  export interface UpdateWebExperienceResponse {}
1336
- export declare const CreatorModeControl: {
1337
- readonly DISABLED: "DISABLED";
1338
- readonly ENABLED: "ENABLED";
1339
- };
1340
- export type CreatorModeControl =
1341
- (typeof CreatorModeControl)[keyof typeof CreatorModeControl];
1342
1070
  export interface AppliedCreatorModeConfiguration {
1343
1071
  creatorModeControl: CreatorModeControl | undefined;
1344
1072
  }
1345
- export declare const OrchestrationControl: {
1346
- readonly DISABLED: "DISABLED";
1347
- readonly ENABLED: "ENABLED";
1348
- };
1349
- export type OrchestrationControl =
1350
- (typeof OrchestrationControl)[keyof typeof OrchestrationControl];
1351
1073
  export interface AppliedOrchestrationConfiguration {
1352
1074
  control: OrchestrationControl | undefined;
1353
1075
  }
@@ -1359,11 +1081,6 @@ export interface AssociatedUser {
1359
1081
  id?: string | undefined;
1360
1082
  type?: MembershipType | undefined;
1361
1083
  }
1362
- export declare const PermissionConditionOperator: {
1363
- readonly STRING_EQUALS: "StringEquals";
1364
- };
1365
- export type PermissionConditionOperator =
1366
- (typeof PermissionConditionOperator)[keyof typeof PermissionConditionOperator];
1367
1084
  export interface PermissionCondition {
1368
1085
  conditionOperator: PermissionConditionOperator | undefined;
1369
1086
  conditionKey: string | undefined;
@@ -1400,12 +1117,6 @@ export declare namespace CopyFromSource {
1400
1117
  _: (name: string, value: any) => T;
1401
1118
  }
1402
1119
  }
1403
- export declare const AttachmentStatus: {
1404
- readonly FAILED: "FAILED";
1405
- readonly SUCCESS: "SUCCESS";
1406
- };
1407
- export type AttachmentStatus =
1408
- (typeof AttachmentStatus)[keyof typeof AttachmentStatus];
1409
1120
  export interface Attachment {
1410
1121
  attachmentId?: string | undefined;
1411
1122
  conversationId?: string | undefined;
@@ -1433,12 +1144,6 @@ export interface AttachmentOutput {
1433
1144
  attachmentId?: string | undefined;
1434
1145
  conversationId?: string | undefined;
1435
1146
  }
1436
- export declare const AudioExtractionType: {
1437
- readonly SUMMARY: "SUMMARY";
1438
- readonly TRANSCRIPT: "TRANSCRIPT";
1439
- };
1440
- export type AudioExtractionType =
1441
- (typeof AudioExtractionType)[keyof typeof AudioExtractionType];
1442
1147
  export interface AudioSourceDetails {
1443
1148
  mediaId?: string | undefined;
1444
1149
  mediaMimeType?: string | undefined;
@@ -1501,21 +1206,6 @@ export declare namespace DocumentContent {
1501
1206
  _: (name: string, value: any) => T;
1502
1207
  }
1503
1208
  }
1504
- export declare const ContentType: {
1505
- readonly CSV: "CSV";
1506
- readonly HTML: "HTML";
1507
- readonly JSON: "JSON";
1508
- readonly MD: "MD";
1509
- readonly MS_EXCEL: "MS_EXCEL";
1510
- readonly MS_WORD: "MS_WORD";
1511
- readonly PDF: "PDF";
1512
- readonly PLAIN_TEXT: "PLAIN_TEXT";
1513
- readonly PPT: "PPT";
1514
- readonly RTF: "RTF";
1515
- readonly XML: "XML";
1516
- readonly XSLT: "XSLT";
1517
- };
1518
- export type ContentType = (typeof ContentType)[keyof typeof ContentType];
1519
1209
  export interface Document {
1520
1210
  id: string | undefined;
1521
1211
  attributes?: DocumentAttribute[] | undefined;
@@ -1557,12 +1247,6 @@ export interface CancelSubscriptionResponse {
1557
1247
  currentSubscription?: SubscriptionDetails | undefined;
1558
1248
  nextSubscription?: SubscriptionDetails | undefined;
1559
1249
  }
1560
- export declare const ChatMode: {
1561
- readonly CREATOR_MODE: "CREATOR_MODE";
1562
- readonly PLUGIN_MODE: "PLUGIN_MODE";
1563
- readonly RETRIEVAL_MODE: "RETRIEVAL_MODE";
1564
- };
1565
- export type ChatMode = (typeof ChatMode)[keyof typeof ChatMode];
1566
1250
  export interface PluginConfiguration {
1567
1251
  pluginId: string | undefined;
1568
1252
  }
@@ -1600,12 +1284,6 @@ export interface ImageSourceDetails {
1600
1284
  mediaId?: string | undefined;
1601
1285
  mediaMimeType?: string | undefined;
1602
1286
  }
1603
- export declare const VideoExtractionType: {
1604
- readonly SUMMARY: "SUMMARY";
1605
- readonly TRANSCRIPT: "TRANSCRIPT";
1606
- };
1607
- export type VideoExtractionType =
1608
- (typeof VideoExtractionType)[keyof typeof VideoExtractionType];
1609
1287
  export interface VideoSourceDetails {
1610
1288
  mediaId?: string | undefined;
1611
1289
  mediaMimeType?: string | undefined;
@@ -1676,12 +1354,6 @@ export interface MetadataEvent {
1676
1354
  sourceAttributions?: SourceAttribution[] | undefined;
1677
1355
  finalTextMessage?: string | undefined;
1678
1356
  }
1679
- export declare const SystemMessageType: {
1680
- readonly GROUNDED_RESPONSE: "GROUNDED_RESPONSE";
1681
- readonly RESPONSE: "RESPONSE";
1682
- };
1683
- export type SystemMessageType =
1684
- (typeof SystemMessageType)[keyof typeof SystemMessageType];
1685
1357
  export interface TextOutputEvent {
1686
1358
  systemMessageType?: SystemMessageType | undefined;
1687
1359
  conversationId?: string | undefined;
@@ -1757,28 +1429,6 @@ export declare namespace ChatOutputStream {
1757
1429
  export interface ChatOutput {
1758
1430
  outputStream?: AsyncIterable<ChatOutputStream> | undefined;
1759
1431
  }
1760
- export declare class ExternalResourceException extends __BaseException {
1761
- readonly name: "ExternalResourceException";
1762
- readonly $fault: "client";
1763
- constructor(
1764
- opts: __ExceptionOptionType<ExternalResourceException, __BaseException>
1765
- );
1766
- }
1767
- export declare class LicenseNotFoundException extends __BaseException {
1768
- readonly name: "LicenseNotFoundException";
1769
- readonly $fault: "client";
1770
- constructor(
1771
- opts: __ExceptionOptionType<LicenseNotFoundException, __BaseException>
1772
- );
1773
- }
1774
- export declare const ChatResponseConfigurationStatus: {
1775
- readonly ACTIVE: "ACTIVE";
1776
- readonly CREATING: "CREATING";
1777
- readonly FAILED: "FAILED";
1778
- readonly UPDATING: "UPDATING";
1779
- };
1780
- export type ChatResponseConfigurationStatus =
1781
- (typeof ChatResponseConfigurationStatus)[keyof typeof ChatResponseConfigurationStatus];
1782
1432
  export interface ChatResponseConfiguration {
1783
1433
  chatResponseConfigurationId: string | undefined;
1784
1434
  chatResponseConfigurationArn: string | undefined;
@@ -1788,11 +1438,6 @@ export interface ChatResponseConfiguration {
1788
1438
  createdAt?: Date | undefined;
1789
1439
  updatedAt?: Date | undefined;
1790
1440
  }
1791
- export declare const ResponseConfigurationType: {
1792
- readonly ALL: "ALL";
1793
- };
1794
- export type ResponseConfigurationType =
1795
- (typeof ResponseConfigurationType)[keyof typeof ResponseConfigurationType];
1796
1441
  export interface InstructionCollection {
1797
1442
  responseLength?: string | undefined;
1798
1443
  targetAudience?: string | undefined;
@@ -1975,17 +1620,6 @@ export interface DataSourceSyncJobMetrics {
1975
1620
  documentsFailed?: string | undefined;
1976
1621
  documentsScanned?: string | undefined;
1977
1622
  }
1978
- export declare const DataSourceSyncJobStatus: {
1979
- readonly ABORTED: "ABORTED";
1980
- readonly FAILED: "FAILED";
1981
- readonly INCOMPLETE: "INCOMPLETE";
1982
- readonly STOPPING: "STOPPING";
1983
- readonly SUCCEEDED: "SUCCEEDED";
1984
- readonly SYNCING: "SYNCING";
1985
- readonly SYNCING_INDEXING: "SYNCING_INDEXING";
1986
- };
1987
- export type DataSourceSyncJobStatus =
1988
- (typeof DataSourceSyncJobStatus)[keyof typeof DataSourceSyncJobStatus];
1989
1623
  export interface DataSourceSyncJob {
1990
1624
  executionId?: string | undefined;
1991
1625
  startTime?: Date | undefined;
@@ -2034,18 +1668,6 @@ export interface DisassociatePermissionRequest {
2034
1668
  statementId: string | undefined;
2035
1669
  }
2036
1670
  export interface DisassociatePermissionResponse {}
2037
- export declare const DocumentStatus: {
2038
- readonly DELETED: "DELETED";
2039
- readonly DELETING: "DELETING";
2040
- readonly DOCUMENT_FAILED_TO_INDEX: "DOCUMENT_FAILED_TO_INDEX";
2041
- readonly FAILED: "FAILED";
2042
- readonly INDEXED: "INDEXED";
2043
- readonly PROCESSING: "PROCESSING";
2044
- readonly RECEIVED: "RECEIVED";
2045
- readonly UPDATED: "UPDATED";
2046
- };
2047
- export type DocumentStatus =
2048
- (typeof DocumentStatus)[keyof typeof DocumentStatus];
2049
1671
  export interface DocumentDetails {
2050
1672
  documentId?: string | undefined;
2051
1673
  status?: DocumentStatus | undefined;
@@ -2058,20 +1680,9 @@ export interface GetChatControlsConfigurationRequest {
2058
1680
  maxResults?: number | undefined;
2059
1681
  nextToken?: string | undefined;
2060
1682
  }
2061
- export declare const HallucinationReductionControl: {
2062
- readonly DISABLED: "DISABLED";
2063
- readonly ENABLED: "ENABLED";
2064
- };
2065
- export type HallucinationReductionControl =
2066
- (typeof HallucinationReductionControl)[keyof typeof HallucinationReductionControl];
2067
1683
  export interface HallucinationReductionConfiguration {
2068
1684
  hallucinationReductionControl?: HallucinationReductionControl | undefined;
2069
1685
  }
2070
- export declare const ResponseScope: {
2071
- readonly ENTERPRISE_CONTENT_ONLY: "ENTERPRISE_CONTENT_ONLY";
2072
- readonly EXTENDED_KNOWLEDGE_ENABLED: "EXTENDED_KNOWLEDGE_ENABLED";
2073
- };
2074
- export type ResponseScope = (typeof ResponseScope)[keyof typeof ResponseScope];
2075
1686
  export interface UsersAndGroups {
2076
1687
  userIds?: string[] | undefined;
2077
1688
  userGroups?: string[] | undefined;
@@ -2102,11 +1713,6 @@ export declare namespace RuleConfiguration {
2102
1713
  _: (name: string, value: any) => T;
2103
1714
  }
2104
1715
  }
2105
- export declare const RuleType: {
2106
- readonly CONTENT_BLOCKER_RULE: "CONTENT_BLOCKER_RULE";
2107
- readonly CONTENT_RETRIEVAL_RULE: "CONTENT_RETRIEVAL_RULE";
2108
- };
2109
- export type RuleType = (typeof RuleType)[keyof typeof RuleType];
2110
1716
  export interface Rule {
2111
1717
  includedUsersAndGroups?: UsersAndGroups | undefined;
2112
1718
  excludedUsersAndGroups?: UsersAndGroups | undefined;
@@ -2130,3 +1736,303 @@ export interface GetChatControlsConfigurationResponse {
2130
1736
  | HallucinationReductionConfiguration
2131
1737
  | undefined;
2132
1738
  }
1739
+ export interface GetChatResponseConfigurationRequest {
1740
+ applicationId: string | undefined;
1741
+ chatResponseConfigurationId: string | undefined;
1742
+ }
1743
+ export interface GetChatResponseConfigurationResponse {
1744
+ chatResponseConfigurationId?: string | undefined;
1745
+ chatResponseConfigurationArn?: string | undefined;
1746
+ displayName?: string | undefined;
1747
+ createdAt?: Date | undefined;
1748
+ inUseConfiguration?: ChatResponseConfigurationDetail | undefined;
1749
+ lastUpdateConfiguration?: ChatResponseConfigurationDetail | undefined;
1750
+ }
1751
+ export interface GetDocumentContentRequest {
1752
+ applicationId: string | undefined;
1753
+ indexId: string | undefined;
1754
+ dataSourceId?: string | undefined;
1755
+ documentId: string | undefined;
1756
+ outputFormat?: OutputFormat | undefined;
1757
+ }
1758
+ export interface GetDocumentContentResponse {
1759
+ presignedUrl: string | undefined;
1760
+ mimeType: string | undefined;
1761
+ }
1762
+ export interface GetGroupRequest {
1763
+ applicationId: string | undefined;
1764
+ indexId: string | undefined;
1765
+ groupName: string | undefined;
1766
+ dataSourceId?: string | undefined;
1767
+ }
1768
+ export interface GroupStatusDetail {
1769
+ status?: GroupStatus | undefined;
1770
+ lastUpdatedAt?: Date | undefined;
1771
+ errorDetail?: ErrorDetail | undefined;
1772
+ }
1773
+ export interface GetGroupResponse {
1774
+ status?: GroupStatusDetail | undefined;
1775
+ statusHistory?: GroupStatusDetail[] | undefined;
1776
+ }
1777
+ export interface GetMediaRequest {
1778
+ applicationId: string | undefined;
1779
+ conversationId: string | undefined;
1780
+ messageId: string | undefined;
1781
+ mediaId: string | undefined;
1782
+ }
1783
+ export interface GetMediaResponse {
1784
+ mediaBytes?: Uint8Array | undefined;
1785
+ mediaMimeType?: string | undefined;
1786
+ }
1787
+ export interface GetPolicyRequest {
1788
+ applicationId: string | undefined;
1789
+ }
1790
+ export interface GetPolicyResponse {
1791
+ policy?: string | undefined;
1792
+ }
1793
+ export interface GetUserRequest {
1794
+ applicationId: string | undefined;
1795
+ userId: string | undefined;
1796
+ }
1797
+ export interface GetUserResponse {
1798
+ userAliases?: UserAlias[] | undefined;
1799
+ }
1800
+ export interface ListAttachmentsRequest {
1801
+ applicationId: string | undefined;
1802
+ conversationId?: string | undefined;
1803
+ userId?: string | undefined;
1804
+ nextToken?: string | undefined;
1805
+ maxResults?: number | undefined;
1806
+ }
1807
+ export interface ListAttachmentsResponse {
1808
+ attachments?: Attachment[] | undefined;
1809
+ nextToken?: string | undefined;
1810
+ }
1811
+ export interface ListChatResponseConfigurationsRequest {
1812
+ applicationId: string | undefined;
1813
+ maxResults?: number | undefined;
1814
+ nextToken?: string | undefined;
1815
+ }
1816
+ export interface ListChatResponseConfigurationsResponse {
1817
+ chatResponseConfigurations?: ChatResponseConfiguration[] | undefined;
1818
+ nextToken?: string | undefined;
1819
+ }
1820
+ export interface ListConversationsRequest {
1821
+ applicationId: string | undefined;
1822
+ userId?: string | undefined;
1823
+ nextToken?: string | undefined;
1824
+ maxResults?: number | undefined;
1825
+ }
1826
+ export interface ListConversationsResponse {
1827
+ nextToken?: string | undefined;
1828
+ conversations?: Conversation[] | undefined;
1829
+ }
1830
+ export interface ListDataSourceSyncJobsRequest {
1831
+ dataSourceId: string | undefined;
1832
+ applicationId: string | undefined;
1833
+ indexId: string | undefined;
1834
+ nextToken?: string | undefined;
1835
+ maxResults?: number | undefined;
1836
+ startTime?: Date | undefined;
1837
+ endTime?: Date | undefined;
1838
+ statusFilter?: DataSourceSyncJobStatus | undefined;
1839
+ }
1840
+ export interface ListDataSourceSyncJobsResponse {
1841
+ history?: DataSourceSyncJob[] | undefined;
1842
+ nextToken?: string | undefined;
1843
+ }
1844
+ export interface ListDocumentsRequest {
1845
+ applicationId: string | undefined;
1846
+ indexId: string | undefined;
1847
+ dataSourceIds?: string[] | undefined;
1848
+ nextToken?: string | undefined;
1849
+ maxResults?: number | undefined;
1850
+ }
1851
+ export interface ListDocumentsResponse {
1852
+ documentDetailList?: DocumentDetails[] | undefined;
1853
+ nextToken?: string | undefined;
1854
+ }
1855
+ export interface ListGroupsRequest {
1856
+ applicationId: string | undefined;
1857
+ indexId: string | undefined;
1858
+ updatedEarlierThan: Date | undefined;
1859
+ dataSourceId?: string | undefined;
1860
+ nextToken?: string | undefined;
1861
+ maxResults?: number | undefined;
1862
+ }
1863
+ export interface GroupSummary {
1864
+ groupName?: string | undefined;
1865
+ }
1866
+ export interface ListGroupsResponse {
1867
+ nextToken?: string | undefined;
1868
+ items?: GroupSummary[] | undefined;
1869
+ }
1870
+ export interface ListMessagesRequest {
1871
+ conversationId: string | undefined;
1872
+ applicationId: string | undefined;
1873
+ userId?: string | undefined;
1874
+ nextToken?: string | undefined;
1875
+ maxResults?: number | undefined;
1876
+ }
1877
+ export interface Message {
1878
+ messageId?: string | undefined;
1879
+ body?: string | undefined;
1880
+ time?: Date | undefined;
1881
+ type?: MessageType | undefined;
1882
+ attachments?: AttachmentOutput[] | undefined;
1883
+ sourceAttribution?: SourceAttribution[] | undefined;
1884
+ actionReview?: ActionReview | undefined;
1885
+ actionExecution?: ActionExecution | undefined;
1886
+ }
1887
+ export interface ListMessagesResponse {
1888
+ messages?: Message[] | undefined;
1889
+ nextToken?: string | undefined;
1890
+ }
1891
+ export interface ListPluginActionsRequest {
1892
+ applicationId: string | undefined;
1893
+ pluginId: string | undefined;
1894
+ nextToken?: string | undefined;
1895
+ maxResults?: number | undefined;
1896
+ }
1897
+ export interface ListPluginActionsResponse {
1898
+ nextToken?: string | undefined;
1899
+ items?: ActionSummary[] | undefined;
1900
+ }
1901
+ export interface ListPluginTypeActionsRequest {
1902
+ pluginType: PluginType | undefined;
1903
+ nextToken?: string | undefined;
1904
+ maxResults?: number | undefined;
1905
+ }
1906
+ export interface ListPluginTypeActionsResponse {
1907
+ nextToken?: string | undefined;
1908
+ items?: ActionSummary[] | undefined;
1909
+ }
1910
+ export interface ListPluginTypeMetadataRequest {
1911
+ nextToken?: string | undefined;
1912
+ maxResults?: number | undefined;
1913
+ }
1914
+ export interface PluginTypeMetadataSummary {
1915
+ type?: PluginType | undefined;
1916
+ category?: PluginTypeCategory | undefined;
1917
+ description?: string | undefined;
1918
+ }
1919
+ export interface ListPluginTypeMetadataResponse {
1920
+ nextToken?: string | undefined;
1921
+ items?: PluginTypeMetadataSummary[] | undefined;
1922
+ }
1923
+ export interface ListSubscriptionsRequest {
1924
+ applicationId: string | undefined;
1925
+ nextToken?: string | undefined;
1926
+ maxResults?: number | undefined;
1927
+ }
1928
+ export interface Subscription {
1929
+ subscriptionId?: string | undefined;
1930
+ subscriptionArn?: string | undefined;
1931
+ principal?: SubscriptionPrincipal | undefined;
1932
+ currentSubscription?: SubscriptionDetails | undefined;
1933
+ nextSubscription?: SubscriptionDetails | undefined;
1934
+ }
1935
+ export interface ListSubscriptionsResponse {
1936
+ nextToken?: string | undefined;
1937
+ subscriptions?: Subscription[] | undefined;
1938
+ }
1939
+ export interface ListTagsForResourceRequest {
1940
+ resourceARN: string | undefined;
1941
+ }
1942
+ export interface ListTagsForResourceResponse {
1943
+ tags?: Tag[] | undefined;
1944
+ }
1945
+ export interface MessageUsefulnessFeedback {
1946
+ usefulness: MessageUsefulness | undefined;
1947
+ reason?: MessageUsefulnessReason | undefined;
1948
+ comment?: string | undefined;
1949
+ submittedAt: Date | undefined;
1950
+ }
1951
+ export interface PutFeedbackRequest {
1952
+ applicationId: string | undefined;
1953
+ userId?: string | undefined;
1954
+ conversationId: string | undefined;
1955
+ messageId: string | undefined;
1956
+ messageCopiedAt?: Date | undefined;
1957
+ messageUsefulness?: MessageUsefulnessFeedback | undefined;
1958
+ }
1959
+ export interface MemberGroup {
1960
+ groupName: string | undefined;
1961
+ type?: MembershipType | undefined;
1962
+ }
1963
+ export interface MemberUser {
1964
+ userId: string | undefined;
1965
+ type?: MembershipType | undefined;
1966
+ }
1967
+ export interface GroupMembers {
1968
+ memberGroups?: MemberGroup[] | undefined;
1969
+ memberUsers?: MemberUser[] | undefined;
1970
+ s3PathForGroupMembers?: S3 | undefined;
1971
+ }
1972
+ export interface PutGroupRequest {
1973
+ applicationId: string | undefined;
1974
+ indexId: string | undefined;
1975
+ groupName: string | undefined;
1976
+ dataSourceId?: string | undefined;
1977
+ type: MembershipType | undefined;
1978
+ groupMembers: GroupMembers | undefined;
1979
+ roleArn?: string | undefined;
1980
+ }
1981
+ export interface PutGroupResponse {}
1982
+ export interface ScoreAttributes {
1983
+ scoreConfidence?: ScoreConfidence | undefined;
1984
+ }
1985
+ export interface RelevantContent {
1986
+ content?: string | undefined;
1987
+ documentId?: string | undefined;
1988
+ documentTitle?: string | undefined;
1989
+ documentUri?: string | undefined;
1990
+ documentAttributes?: DocumentAttribute[] | undefined;
1991
+ scoreAttributes?: ScoreAttributes | undefined;
1992
+ }
1993
+ export interface SearchRelevantContentResponse {
1994
+ relevantContent?: RelevantContent[] | undefined;
1995
+ nextToken?: string | undefined;
1996
+ }
1997
+ export interface StartDataSourceSyncJobRequest {
1998
+ dataSourceId: string | undefined;
1999
+ applicationId: string | undefined;
2000
+ indexId: string | undefined;
2001
+ }
2002
+ export interface StartDataSourceSyncJobResponse {
2003
+ executionId?: string | undefined;
2004
+ }
2005
+ export interface StopDataSourceSyncJobRequest {
2006
+ dataSourceId: string | undefined;
2007
+ applicationId: string | undefined;
2008
+ indexId: string | undefined;
2009
+ }
2010
+ export interface StopDataSourceSyncJobResponse {}
2011
+ export interface TagResourceRequest {
2012
+ resourceARN: string | undefined;
2013
+ tags: Tag[] | undefined;
2014
+ }
2015
+ export interface TagResourceResponse {}
2016
+ export interface UntagResourceRequest {
2017
+ resourceARN: string | undefined;
2018
+ tagKeys: string[] | undefined;
2019
+ }
2020
+ export interface UntagResourceResponse {}
2021
+ export interface OrchestrationConfiguration {
2022
+ control: OrchestrationControl | undefined;
2023
+ }
2024
+ export interface UpdateChatControlsConfigurationRequest {
2025
+ applicationId: string | undefined;
2026
+ clientToken?: string | undefined;
2027
+ responseScope?: ResponseScope | undefined;
2028
+ orchestrationConfiguration?: OrchestrationConfiguration | undefined;
2029
+ blockedPhrasesConfigurationUpdate?:
2030
+ | BlockedPhrasesConfigurationUpdate
2031
+ | undefined;
2032
+ topicConfigurationsToCreateOrUpdate?: TopicConfiguration[] | undefined;
2033
+ topicConfigurationsToDelete?: TopicConfiguration[] | undefined;
2034
+ creatorModeConfiguration?: CreatorModeConfiguration | undefined;
2035
+ hallucinationReductionConfiguration?:
2036
+ | HallucinationReductionConfiguration
2037
+ | undefined;
2038
+ }