@aws-sdk/client-qconnect 3.699.0 → 3.703.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +1188 -127
  3. package/dist-es/QConnect.js +22 -0
  4. package/dist-es/commands/CreateAIGuardrailCommand.js +23 -0
  5. package/dist-es/commands/CreateAIGuardrailVersionCommand.js +23 -0
  6. package/dist-es/commands/CreateQuickResponseCommand.js +1 -1
  7. package/dist-es/commands/DeleteAIGuardrailCommand.js +22 -0
  8. package/dist-es/commands/DeleteAIGuardrailVersionCommand.js +22 -0
  9. package/dist-es/commands/GetAIGuardrailCommand.js +23 -0
  10. package/dist-es/commands/GetImportJobCommand.js +1 -1
  11. package/dist-es/commands/GetKnowledgeBaseCommand.js +1 -1
  12. package/dist-es/commands/GetMessageTemplateCommand.js +1 -1
  13. package/dist-es/commands/GetNextMessageCommand.js +23 -0
  14. package/dist-es/commands/GetQuickResponseCommand.js +1 -1
  15. package/dist-es/commands/ListAIGuardrailVersionsCommand.js +23 -0
  16. package/dist-es/commands/ListAIGuardrailsCommand.js +23 -0
  17. package/dist-es/commands/ListKnowledgeBasesCommand.js +1 -1
  18. package/dist-es/commands/ListMessagesCommand.js +23 -0
  19. package/dist-es/commands/ListQuickResponsesCommand.js +1 -1
  20. package/dist-es/commands/RenderMessageTemplateCommand.js +1 -1
  21. package/dist-es/commands/SendMessageCommand.js +23 -0
  22. package/dist-es/commands/UpdateAIGuardrailCommand.js +23 -0
  23. package/dist-es/commands/UpdateMessageTemplateCommand.js +1 -1
  24. package/dist-es/commands/UpdateMessageTemplateMetadataCommand.js +1 -1
  25. package/dist-es/commands/UpdateQuickResponseCommand.js +1 -1
  26. package/dist-es/commands/index.js +11 -0
  27. package/dist-es/models/models_0.js +310 -166
  28. package/dist-es/models/models_1.js +167 -1
  29. package/dist-es/pagination/ListAIGuardrailVersionsPaginator.js +4 -0
  30. package/dist-es/pagination/ListAIGuardrailsPaginator.js +4 -0
  31. package/dist-es/pagination/ListMessagesPaginator.js +4 -0
  32. package/dist-es/pagination/index.js +3 -0
  33. package/dist-es/protocols/Aws_restJson1.js +443 -1
  34. package/dist-types/QConnect.d.ts +77 -0
  35. package/dist-types/QConnectClient.d.ts +13 -2
  36. package/dist-types/commands/CreateAIAgentCommand.d.ts +62 -0
  37. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +31 -0
  38. package/dist-types/commands/CreateAIGuardrailCommand.d.ts +231 -0
  39. package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +169 -0
  40. package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -1
  41. package/dist-types/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteAIGuardrailCommand.d.ts +88 -0
  43. package/dist-types/commands/DeleteAIGuardrailVersionCommand.d.ts +89 -0
  44. package/dist-types/commands/DeleteImportJobCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteMessageTemplateCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteQuickResponseCommand.d.ts +1 -1
  49. package/dist-types/commands/GetAIAgentCommand.d.ts +31 -0
  50. package/dist-types/commands/GetAIGuardrailCommand.d.ts +157 -0
  51. package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
  52. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  53. package/dist-types/commands/GetMessageTemplateCommand.d.ts +4 -3
  54. package/dist-types/commands/GetNextMessageCommand.d.ts +106 -0
  55. package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -1
  56. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +31 -0
  57. package/dist-types/commands/ListAIAgentsCommand.d.ts +31 -0
  58. package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +105 -0
  59. package/dist-types/commands/ListAIGuardrailsCommand.d.ts +101 -0
  60. package/dist-types/commands/ListImportJobsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  62. package/dist-types/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMessageTemplatesCommand.d.ts +1 -1
  64. package/dist-types/commands/ListMessagesCommand.d.ts +95 -0
  65. package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -1
  66. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +1 -2
  67. package/dist-types/commands/RenderMessageTemplateCommand.d.ts +1 -1
  68. package/dist-types/commands/SendMessageCommand.d.ts +114 -0
  69. package/dist-types/commands/UpdateAIAgentCommand.d.ts +62 -0
  70. package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +224 -0
  71. package/dist-types/commands/UpdateMessageTemplateCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -1
  74. package/dist-types/commands/index.d.ts +11 -0
  75. package/dist-types/models/models_0.d.ts +3820 -3619
  76. package/dist-types/models/models_1.d.ts +1513 -1
  77. package/dist-types/pagination/ListAIGuardrailVersionsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListAIGuardrailsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListMessagesPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  82. package/dist-types/ts3.4/QConnect.d.ts +187 -0
  83. package/dist-types/ts3.4/QConnectClient.d.ts +66 -0
  84. package/dist-types/ts3.4/commands/CreateAIGuardrailCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/CreateAIGuardrailVersionCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DeactivateMessageTemplateCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DeleteAIGuardrailCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/DeleteAIGuardrailVersionCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DeleteMessageTemplateAttachmentCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DeleteMessageTemplateCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetAIGuardrailCommand.d.ts +50 -0
  96. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetMessageTemplateCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetNextMessageCommand.d.ts +50 -0
  100. package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ListAIGuardrailVersionsCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/ListAIGuardrailsCommand.d.ts +50 -0
  103. package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListMessageTemplateVersionsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListMessageTemplatesCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListMessagesCommand.d.ts +47 -0
  108. package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +4 -2
  110. package/dist-types/ts3.4/commands/RenderMessageTemplateCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +47 -0
  112. package/dist-types/ts3.4/commands/UpdateAIGuardrailCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/UpdateMessageTemplateCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UpdateMessageTemplateMetadataCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +482 -441
  118. package/dist-types/ts3.4/models/models_1.d.ts +437 -5
  119. package/dist-types/ts3.4/pagination/ListAIGuardrailVersionsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/ListAIGuardrailsPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/ListMessagesPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  123. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  124. package/package.json +1 -1
@@ -166,30 +166,48 @@ export interface AnswerRecommendationAIAgentConfiguration {
166
166
  intentLabelingGenerationAIPromptId?: string | undefined;
167
167
  queryReformulationAIPromptId?: string | undefined;
168
168
  answerGenerationAIPromptId?: string | undefined;
169
+ answerGenerationAIGuardrailId?: string | undefined;
169
170
  associationConfigurations?: AssociationConfiguration[] | undefined;
170
171
  }
171
172
  export interface ManualSearchAIAgentConfiguration {
172
173
  answerGenerationAIPromptId?: string | undefined;
174
+ answerGenerationAIGuardrailId?: string | undefined;
175
+ associationConfigurations?: AssociationConfiguration[] | undefined;
176
+ }
177
+ export interface SelfServiceAIAgentConfiguration {
178
+ selfServicePreProcessingAIPromptId?: string | undefined;
179
+ selfServiceAnswerGenerationAIPromptId?: string | undefined;
180
+ selfServiceAIGuardrailId?: string | undefined;
173
181
  associationConfigurations?: AssociationConfiguration[] | undefined;
174
182
  }
175
183
  export type AIAgentConfiguration =
176
184
  | AIAgentConfiguration.AnswerRecommendationAIAgentConfigurationMember
177
185
  | AIAgentConfiguration.ManualSearchAIAgentConfigurationMember
186
+ | AIAgentConfiguration.SelfServiceAIAgentConfigurationMember
178
187
  | AIAgentConfiguration.$UnknownMember;
179
188
  export declare namespace AIAgentConfiguration {
180
189
  interface ManualSearchAIAgentConfigurationMember {
181
190
  manualSearchAIAgentConfiguration: ManualSearchAIAgentConfiguration;
182
191
  answerRecommendationAIAgentConfiguration?: never;
192
+ selfServiceAIAgentConfiguration?: never;
183
193
  $unknown?: never;
184
194
  }
185
195
  interface AnswerRecommendationAIAgentConfigurationMember {
186
196
  manualSearchAIAgentConfiguration?: never;
187
197
  answerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration;
198
+ selfServiceAIAgentConfiguration?: never;
199
+ $unknown?: never;
200
+ }
201
+ interface SelfServiceAIAgentConfigurationMember {
202
+ manualSearchAIAgentConfiguration?: never;
203
+ answerRecommendationAIAgentConfiguration?: never;
204
+ selfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration;
188
205
  $unknown?: never;
189
206
  }
190
207
  interface $UnknownMember {
191
208
  manualSearchAIAgentConfiguration?: never;
192
209
  answerRecommendationAIAgentConfiguration?: never;
210
+ selfServiceAIAgentConfiguration?: never;
193
211
  $unknown: [string, any];
194
212
  }
195
213
  interface Visitor<T> {
@@ -199,6 +217,9 @@ export declare namespace AIAgentConfiguration {
199
217
  answerRecommendationAIAgentConfiguration: (
200
218
  value: AnswerRecommendationAIAgentConfiguration
201
219
  ) => T;
220
+ selfServiceAIAgentConfiguration: (
221
+ value: SelfServiceAIAgentConfiguration
222
+ ) => T;
202
223
  _: (name: string, value: any) => T;
203
224
  }
204
225
  const visit: <T>(value: AIAgentConfiguration, visitor: Visitor<T>) => T;
@@ -206,6 +227,7 @@ export declare namespace AIAgentConfiguration {
206
227
  export declare const AIAgentType: {
207
228
  readonly ANSWER_RECOMMENDATION: "ANSWER_RECOMMENDATION";
208
229
  readonly MANUAL_SEARCH: "MANUAL_SEARCH";
230
+ readonly SELF_SERVICE: "SELF_SERVICE";
209
231
  };
210
232
  export type AIAgentType = (typeof AIAgentType)[keyof typeof AIAgentType];
211
233
  export declare const VisibilityStatus: {
@@ -346,6 +368,259 @@ export interface UpdateAIAgentResponse {
346
368
  export interface AIAgentConfigurationData {
347
369
  aiAgentId: string | undefined;
348
370
  }
371
+ export declare const GuardrailFilterStrength: {
372
+ readonly HIGH: "HIGH";
373
+ readonly LOW: "LOW";
374
+ readonly MEDIUM: "MEDIUM";
375
+ readonly NONE: "NONE";
376
+ };
377
+ export type GuardrailFilterStrength =
378
+ (typeof GuardrailFilterStrength)[keyof typeof GuardrailFilterStrength];
379
+ export declare const GuardrailContentFilterType: {
380
+ readonly HATE: "HATE";
381
+ readonly INSULTS: "INSULTS";
382
+ readonly MISCONDUCT: "MISCONDUCT";
383
+ readonly PROMPT_ATTACK: "PROMPT_ATTACK";
384
+ readonly SEXUAL: "SEXUAL";
385
+ readonly VIOLENCE: "VIOLENCE";
386
+ };
387
+ export type GuardrailContentFilterType =
388
+ (typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
389
+ export interface GuardrailContentFilterConfig {
390
+ type: GuardrailContentFilterType | undefined;
391
+ inputStrength: GuardrailFilterStrength | undefined;
392
+ outputStrength: GuardrailFilterStrength | undefined;
393
+ }
394
+ export interface AIGuardrailContentPolicyConfig {
395
+ filtersConfig: GuardrailContentFilterConfig[] | undefined;
396
+ }
397
+ export declare const GuardrailContextualGroundingFilterType: {
398
+ readonly GROUNDING: "GROUNDING";
399
+ readonly RELEVANCE: "RELEVANCE";
400
+ };
401
+ export type GuardrailContextualGroundingFilterType =
402
+ (typeof GuardrailContextualGroundingFilterType)[keyof typeof GuardrailContextualGroundingFilterType];
403
+ export interface GuardrailContextualGroundingFilterConfig {
404
+ type: GuardrailContextualGroundingFilterType | undefined;
405
+ threshold: number | undefined;
406
+ }
407
+ export interface AIGuardrailContextualGroundingPolicyConfig {
408
+ filtersConfig: GuardrailContextualGroundingFilterConfig[] | undefined;
409
+ }
410
+ export declare const GuardrailSensitiveInformationAction: {
411
+ readonly ANONYMIZE: "ANONYMIZE";
412
+ readonly BLOCK: "BLOCK";
413
+ };
414
+ export type GuardrailSensitiveInformationAction =
415
+ (typeof GuardrailSensitiveInformationAction)[keyof typeof GuardrailSensitiveInformationAction];
416
+ export declare const GuardrailPiiEntityType: {
417
+ readonly ADDRESS: "ADDRESS";
418
+ readonly AGE: "AGE";
419
+ readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
420
+ readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
421
+ readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
422
+ readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
423
+ readonly CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV";
424
+ readonly CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY";
425
+ readonly CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER";
426
+ readonly DRIVER_ID: "DRIVER_ID";
427
+ readonly EMAIL: "EMAIL";
428
+ readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
429
+ readonly IP_ADDRESS: "IP_ADDRESS";
430
+ readonly LICENSE_PLATE: "LICENSE_PLATE";
431
+ readonly MAC_ADDRESS: "MAC_ADDRESS";
432
+ readonly NAME: "NAME";
433
+ readonly PASSWORD: "PASSWORD";
434
+ readonly PHONE: "PHONE";
435
+ readonly PIN: "PIN";
436
+ readonly SWIFT_CODE: "SWIFT_CODE";
437
+ readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
438
+ readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
439
+ readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
440
+ readonly URL: "URL";
441
+ readonly USERNAME: "USERNAME";
442
+ readonly US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER";
443
+ readonly US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER";
444
+ readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
445
+ readonly US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER";
446
+ readonly US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER";
447
+ readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
448
+ };
449
+ export type GuardrailPiiEntityType =
450
+ (typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
451
+ export interface GuardrailPiiEntityConfig {
452
+ type: GuardrailPiiEntityType | undefined;
453
+ action: GuardrailSensitiveInformationAction | undefined;
454
+ }
455
+ export interface GuardrailRegexConfig {
456
+ name: string | undefined;
457
+ description?: string | undefined;
458
+ pattern: string | undefined;
459
+ action: GuardrailSensitiveInformationAction | undefined;
460
+ }
461
+ export interface AIGuardrailSensitiveInformationPolicyConfig {
462
+ piiEntitiesConfig?: GuardrailPiiEntityConfig[] | undefined;
463
+ regexesConfig?: GuardrailRegexConfig[] | undefined;
464
+ }
465
+ export declare const GuardrailTopicType: {
466
+ readonly DENY: "DENY";
467
+ };
468
+ export type GuardrailTopicType =
469
+ (typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
470
+ export interface GuardrailTopicConfig {
471
+ name: string | undefined;
472
+ definition: string | undefined;
473
+ examples?: string[] | undefined;
474
+ type: GuardrailTopicType | undefined;
475
+ }
476
+ export interface AIGuardrailTopicPolicyConfig {
477
+ topicsConfig: GuardrailTopicConfig[] | undefined;
478
+ }
479
+ export declare const GuardrailManagedWordsType: {
480
+ readonly PROFANITY: "PROFANITY";
481
+ };
482
+ export type GuardrailManagedWordsType =
483
+ (typeof GuardrailManagedWordsType)[keyof typeof GuardrailManagedWordsType];
484
+ export interface GuardrailManagedWordsConfig {
485
+ type: GuardrailManagedWordsType | undefined;
486
+ }
487
+ export interface GuardrailWordConfig {
488
+ text: string | undefined;
489
+ }
490
+ export interface AIGuardrailWordPolicyConfig {
491
+ wordsConfig?: GuardrailWordConfig[] | undefined;
492
+ managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
493
+ }
494
+ export interface CreateAIGuardrailRequest {
495
+ clientToken?: string | undefined;
496
+ assistantId: string | undefined;
497
+ name: string | undefined;
498
+ blockedInputMessaging: string | undefined;
499
+ blockedOutputsMessaging: string | undefined;
500
+ visibilityStatus: VisibilityStatus | undefined;
501
+ description?: string | undefined;
502
+ topicPolicyConfig?: AIGuardrailTopicPolicyConfig | undefined;
503
+ contentPolicyConfig?: AIGuardrailContentPolicyConfig | undefined;
504
+ wordPolicyConfig?: AIGuardrailWordPolicyConfig | undefined;
505
+ sensitiveInformationPolicyConfig?:
506
+ | AIGuardrailSensitiveInformationPolicyConfig
507
+ | undefined;
508
+ contextualGroundingPolicyConfig?:
509
+ | AIGuardrailContextualGroundingPolicyConfig
510
+ | undefined;
511
+ tags?: Record<string, string> | undefined;
512
+ }
513
+ export interface AIGuardrailData {
514
+ assistantId: string | undefined;
515
+ assistantArn: string | undefined;
516
+ aiGuardrailArn: string | undefined;
517
+ aiGuardrailId: string | undefined;
518
+ name: string | undefined;
519
+ visibilityStatus: VisibilityStatus | undefined;
520
+ blockedInputMessaging: string | undefined;
521
+ blockedOutputsMessaging: string | undefined;
522
+ description?: string | undefined;
523
+ topicPolicyConfig?: AIGuardrailTopicPolicyConfig | undefined;
524
+ contentPolicyConfig?: AIGuardrailContentPolicyConfig | undefined;
525
+ wordPolicyConfig?: AIGuardrailWordPolicyConfig | undefined;
526
+ sensitiveInformationPolicyConfig?:
527
+ | AIGuardrailSensitiveInformationPolicyConfig
528
+ | undefined;
529
+ contextualGroundingPolicyConfig?:
530
+ | AIGuardrailContextualGroundingPolicyConfig
531
+ | undefined;
532
+ tags?: Record<string, string> | undefined;
533
+ status?: Status | undefined;
534
+ modifiedTime?: Date | undefined;
535
+ }
536
+ export interface CreateAIGuardrailResponse {
537
+ aiGuardrail?: AIGuardrailData | undefined;
538
+ }
539
+ export interface CreateAIGuardrailVersionRequest {
540
+ assistantId: string | undefined;
541
+ aiGuardrailId: string | undefined;
542
+ modifiedTime?: Date | undefined;
543
+ clientToken?: string | undefined;
544
+ }
545
+ export interface CreateAIGuardrailVersionResponse {
546
+ aiGuardrail?: AIGuardrailData | undefined;
547
+ versionNumber?: number | undefined;
548
+ }
549
+ export interface DeleteAIGuardrailRequest {
550
+ assistantId: string | undefined;
551
+ aiGuardrailId: string | undefined;
552
+ }
553
+ export interface DeleteAIGuardrailResponse {}
554
+ export interface DeleteAIGuardrailVersionRequest {
555
+ assistantId: string | undefined;
556
+ aiGuardrailId: string | undefined;
557
+ versionNumber: number | undefined;
558
+ }
559
+ export interface DeleteAIGuardrailVersionResponse {}
560
+ export interface GetAIGuardrailRequest {
561
+ assistantId: string | undefined;
562
+ aiGuardrailId: string | undefined;
563
+ }
564
+ export interface GetAIGuardrailResponse {
565
+ aiGuardrail?: AIGuardrailData | undefined;
566
+ versionNumber?: number | undefined;
567
+ }
568
+ export interface ListAIGuardrailsRequest {
569
+ assistantId: string | undefined;
570
+ nextToken?: string | undefined;
571
+ maxResults?: number | undefined;
572
+ }
573
+ export interface AIGuardrailSummary {
574
+ name: string | undefined;
575
+ assistantId: string | undefined;
576
+ assistantArn: string | undefined;
577
+ aiGuardrailId: string | undefined;
578
+ aiGuardrailArn: string | undefined;
579
+ modifiedTime?: Date | undefined;
580
+ visibilityStatus: VisibilityStatus | undefined;
581
+ description?: string | undefined;
582
+ status?: Status | undefined;
583
+ tags?: Record<string, string> | undefined;
584
+ }
585
+ export interface ListAIGuardrailsResponse {
586
+ aiGuardrailSummaries: AIGuardrailSummary[] | undefined;
587
+ nextToken?: string | undefined;
588
+ }
589
+ export interface ListAIGuardrailVersionsRequest {
590
+ assistantId: string | undefined;
591
+ aiGuardrailId: string | undefined;
592
+ nextToken?: string | undefined;
593
+ maxResults?: number | undefined;
594
+ }
595
+ export interface AIGuardrailVersionSummary {
596
+ aiGuardrailSummary?: AIGuardrailSummary | undefined;
597
+ versionNumber?: number | undefined;
598
+ }
599
+ export interface ListAIGuardrailVersionsResponse {
600
+ aiGuardrailVersionSummaries: AIGuardrailVersionSummary[] | undefined;
601
+ nextToken?: string | undefined;
602
+ }
603
+ export interface UpdateAIGuardrailRequest {
604
+ clientToken?: string | undefined;
605
+ assistantId: string | undefined;
606
+ aiGuardrailId: string | undefined;
607
+ visibilityStatus: VisibilityStatus | undefined;
608
+ blockedInputMessaging: string | undefined;
609
+ blockedOutputsMessaging: string | undefined;
610
+ description?: string | undefined;
611
+ topicPolicyConfig?: AIGuardrailTopicPolicyConfig | undefined;
612
+ contentPolicyConfig?: AIGuardrailContentPolicyConfig | undefined;
613
+ wordPolicyConfig?: AIGuardrailWordPolicyConfig | undefined;
614
+ sensitiveInformationPolicyConfig?:
615
+ | AIGuardrailSensitiveInformationPolicyConfig
616
+ | undefined;
617
+ contextualGroundingPolicyConfig?:
618
+ | AIGuardrailContextualGroundingPolicyConfig
619
+ | undefined;
620
+ }
621
+ export interface UpdateAIGuardrailResponse {
622
+ aiGuardrail?: AIGuardrailData | undefined;
623
+ }
349
624
  export declare const AIPromptAPIFormat: {
350
625
  readonly ANTHROPIC_CLAUDE_MESSAGES: "ANTHROPIC_CLAUDE_MESSAGES";
351
626
  readonly ANTHROPIC_CLAUDE_TEXT_COMPLETIONS: "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS";
@@ -387,6 +662,8 @@ export declare const AIPromptType: {
387
662
  readonly ANSWER_GENERATION: "ANSWER_GENERATION";
388
663
  readonly INTENT_LABELING_GENERATION: "INTENT_LABELING_GENERATION";
389
664
  readonly QUERY_REFORMULATION: "QUERY_REFORMULATION";
665
+ readonly SELF_SERVICE_ANSWER_GENERATION: "SELF_SERVICE_ANSWER_GENERATION";
666
+ readonly SELF_SERVICE_PRE_PROCESSING: "SELF_SERVICE_PRE_PROCESSING";
390
667
  };
391
668
  export type AIPromptType = (typeof AIPromptType)[keyof typeof AIPromptType];
392
669
  export interface CreateAIPromptRequest {
@@ -1072,24 +1349,10 @@ export interface SessionData {
1072
1349
  export interface CreateSessionResponse {
1073
1350
  session?: SessionData | undefined;
1074
1351
  }
1075
- export interface GetSessionRequest {
1076
- assistantId: string | undefined;
1077
- sessionId: string | undefined;
1078
- }
1079
- export interface GetSessionResponse {
1080
- session?: SessionData | undefined;
1081
- }
1082
- export interface UpdateSessionRequest {
1352
+ export interface GetNextMessageRequest {
1083
1353
  assistantId: string | undefined;
1084
1354
  sessionId: string | undefined;
1085
- description?: string | undefined;
1086
- tagFilter?: TagFilter | undefined;
1087
- aiAgentConfiguration?:
1088
- | Partial<Record<AIAgentType, AIAgentConfigurationData>>
1089
- | undefined;
1090
- }
1091
- export interface UpdateSessionResponse {
1092
- session?: SessionData | undefined;
1355
+ nextMessageToken: string | undefined;
1093
1356
  }
1094
1357
  export type RuntimeSessionDataValue =
1095
1358
  | RuntimeSessionDataValue.StringValueMember
@@ -1113,6 +1376,119 @@ export interface RuntimeSessionData {
1113
1376
  key: string | undefined;
1114
1377
  value: RuntimeSessionDataValue | undefined;
1115
1378
  }
1379
+ export declare const ConversationStatusReason: {
1380
+ readonly FAILED: "FAILED";
1381
+ readonly REJECTED: "REJECTED";
1382
+ readonly SUCCESS: "SUCCESS";
1383
+ };
1384
+ export type ConversationStatusReason =
1385
+ (typeof ConversationStatusReason)[keyof typeof ConversationStatusReason];
1386
+ export declare const ConversationStatus: {
1387
+ readonly CLOSED: "CLOSED";
1388
+ readonly PROCESSING: "PROCESSING";
1389
+ readonly READY: "READY";
1390
+ };
1391
+ export type ConversationStatus =
1392
+ (typeof ConversationStatus)[keyof typeof ConversationStatus];
1393
+ export interface ConversationState {
1394
+ status: ConversationStatus | undefined;
1395
+ reason?: ConversationStatusReason | undefined;
1396
+ }
1397
+ export declare const Participant: {
1398
+ readonly AGENT: "AGENT";
1399
+ readonly BOT: "BOT";
1400
+ readonly CUSTOMER: "CUSTOMER";
1401
+ };
1402
+ export type Participant = (typeof Participant)[keyof typeof Participant];
1403
+ export interface TextMessage {
1404
+ value?: string | undefined;
1405
+ }
1406
+ export type MessageData = MessageData.TextMember | MessageData.$UnknownMember;
1407
+ export declare namespace MessageData {
1408
+ interface TextMember {
1409
+ text: TextMessage;
1410
+ $unknown?: never;
1411
+ }
1412
+ interface $UnknownMember {
1413
+ text?: never;
1414
+ $unknown: [string, any];
1415
+ }
1416
+ interface Visitor<T> {
1417
+ text: (value: TextMessage) => T;
1418
+ _: (name: string, value: any) => T;
1419
+ }
1420
+ const visit: <T>(value: MessageData, visitor: Visitor<T>) => T;
1421
+ }
1422
+ export interface MessageOutput {
1423
+ value: MessageData | undefined;
1424
+ messageId: string | undefined;
1425
+ participant: Participant | undefined;
1426
+ timestamp: Date | undefined;
1427
+ }
1428
+ export declare const MessageType: {
1429
+ readonly TEXT: "TEXT";
1430
+ };
1431
+ export type MessageType = (typeof MessageType)[keyof typeof MessageType];
1432
+ export interface GetNextMessageResponse {
1433
+ type: MessageType | undefined;
1434
+ response: MessageOutput | undefined;
1435
+ requestMessageId: string | undefined;
1436
+ conversationState: ConversationState | undefined;
1437
+ nextMessageToken?: string | undefined;
1438
+ conversationSessionData?: RuntimeSessionData[] | undefined;
1439
+ }
1440
+ export interface GetSessionRequest {
1441
+ assistantId: string | undefined;
1442
+ sessionId: string | undefined;
1443
+ }
1444
+ export interface GetSessionResponse {
1445
+ session?: SessionData | undefined;
1446
+ }
1447
+ export interface ListMessagesRequest {
1448
+ assistantId: string | undefined;
1449
+ sessionId: string | undefined;
1450
+ nextToken?: string | undefined;
1451
+ maxResults?: number | undefined;
1452
+ }
1453
+ export interface ListMessagesResponse {
1454
+ messages: MessageOutput[] | undefined;
1455
+ nextToken?: string | undefined;
1456
+ }
1457
+ export interface SelfServiceConversationHistory {
1458
+ turnNumber: number | undefined;
1459
+ inputTranscript?: string | undefined;
1460
+ botResponse?: string | undefined;
1461
+ }
1462
+ export interface ConversationContext {
1463
+ selfServiceConversationHistory: SelfServiceConversationHistory[] | undefined;
1464
+ }
1465
+ export interface MessageInput {
1466
+ value: MessageData | undefined;
1467
+ }
1468
+ export interface SendMessageRequest {
1469
+ assistantId: string | undefined;
1470
+ sessionId: string | undefined;
1471
+ type: MessageType | undefined;
1472
+ message: MessageInput | undefined;
1473
+ conversationContext?: ConversationContext | undefined;
1474
+ clientToken?: string | undefined;
1475
+ }
1476
+ export interface SendMessageResponse {
1477
+ requestMessageId: string | undefined;
1478
+ nextMessageToken: string | undefined;
1479
+ }
1480
+ export interface UpdateSessionRequest {
1481
+ assistantId: string | undefined;
1482
+ sessionId: string | undefined;
1483
+ description?: string | undefined;
1484
+ tagFilter?: TagFilter | undefined;
1485
+ aiAgentConfiguration?:
1486
+ | Partial<Record<AIAgentType, AIAgentConfigurationData>>
1487
+ | undefined;
1488
+ }
1489
+ export interface UpdateSessionResponse {
1490
+ session?: SessionData | undefined;
1491
+ }
1116
1492
  export declare const SessionDataNamespace: {
1117
1493
  readonly Custom: "Custom";
1118
1494
  };
@@ -1774,365 +2150,78 @@ export interface ExtendedMessageTemplateData {
1774
2150
  export interface CreateMessageTemplateVersionResponse {
1775
2151
  messageTemplate?: ExtendedMessageTemplateData | undefined;
1776
2152
  }
1777
- export type QuickResponseDataProvider =
1778
- | QuickResponseDataProvider.ContentMember
1779
- | QuickResponseDataProvider.$UnknownMember;
1780
- export declare namespace QuickResponseDataProvider {
1781
- interface ContentMember {
1782
- content: string;
1783
- $unknown?: never;
1784
- }
1785
- interface $UnknownMember {
1786
- content?: never;
1787
- $unknown: [string, any];
1788
- }
1789
- interface Visitor<T> {
1790
- content: (value: string) => T;
1791
- _: (name: string, value: any) => T;
1792
- }
1793
- const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
1794
- }
1795
- export interface CreateQuickResponseRequest {
1796
- knowledgeBaseId: string | undefined;
1797
- name: string | undefined;
1798
- content: QuickResponseDataProvider | undefined;
1799
- contentType?: string | undefined;
1800
- groupingConfiguration?: GroupingConfiguration | undefined;
1801
- description?: string | undefined;
1802
- shortcutKey?: string | undefined;
1803
- isActive?: boolean | undefined;
1804
- channels?: string[] | undefined;
1805
- language?: string | undefined;
1806
- clientToken?: string | undefined;
1807
- tags?: Record<string, string> | undefined;
1808
- }
1809
- export type QuickResponseContentProvider =
1810
- | QuickResponseContentProvider.ContentMember
1811
- | QuickResponseContentProvider.$UnknownMember;
1812
- export declare namespace QuickResponseContentProvider {
1813
- interface ContentMember {
1814
- content: string;
1815
- $unknown?: never;
1816
- }
1817
- interface $UnknownMember {
1818
- content?: never;
1819
- $unknown: [string, any];
1820
- }
1821
- interface Visitor<T> {
1822
- content: (value: string) => T;
1823
- _: (name: string, value: any) => T;
1824
- }
1825
- const visit: <T>(
1826
- value: QuickResponseContentProvider,
1827
- visitor: Visitor<T>
1828
- ) => T;
1829
- }
1830
- export interface QuickResponseContents {
1831
- plainText?: QuickResponseContentProvider | undefined;
1832
- markdown?: QuickResponseContentProvider | undefined;
1833
- }
1834
- export declare const QuickResponseStatus: {
1835
- readonly CREATED: "CREATED";
1836
- readonly CREATE_FAILED: "CREATE_FAILED";
1837
- readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1838
- readonly DELETED: "DELETED";
1839
- readonly DELETE_FAILED: "DELETE_FAILED";
1840
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1841
- readonly UPDATE_FAILED: "UPDATE_FAILED";
1842
- readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
1843
- };
1844
- export type QuickResponseStatus =
1845
- (typeof QuickResponseStatus)[keyof typeof QuickResponseStatus];
1846
- export interface QuickResponseData {
1847
- quickResponseArn: string | undefined;
1848
- quickResponseId: string | undefined;
1849
- knowledgeBaseArn: string | undefined;
1850
- knowledgeBaseId: string | undefined;
1851
- name: string | undefined;
1852
- contentType: string | undefined;
1853
- status: QuickResponseStatus | undefined;
1854
- createdTime: Date | undefined;
1855
- lastModifiedTime: Date | undefined;
1856
- contents?: QuickResponseContents | undefined;
1857
- description?: string | undefined;
1858
- groupingConfiguration?: GroupingConfiguration | undefined;
1859
- shortcutKey?: string | undefined;
1860
- lastModifiedBy?: string | undefined;
1861
- isActive?: boolean | undefined;
1862
- channels?: string[] | undefined;
1863
- language?: string | undefined;
1864
- tags?: Record<string, string> | undefined;
1865
- }
1866
- export interface CreateQuickResponseResponse {
1867
- quickResponse?: QuickResponseData | undefined;
1868
- }
1869
- export interface DeactivateMessageTemplateRequest {
1870
- knowledgeBaseId: string | undefined;
1871
- messageTemplateId: string | undefined;
1872
- versionNumber: number | undefined;
1873
- }
1874
- export interface DeactivateMessageTemplateResponse {
1875
- messageTemplateArn: string | undefined;
1876
- messageTemplateId: string | undefined;
1877
- versionNumber: number | undefined;
1878
- }
1879
- export interface DeleteImportJobRequest {
1880
- knowledgeBaseId: string | undefined;
1881
- importJobId: string | undefined;
1882
- }
1883
- export interface DeleteImportJobResponse {}
1884
- export interface DeleteKnowledgeBaseRequest {
1885
- knowledgeBaseId: string | undefined;
1886
- }
1887
- export interface DeleteKnowledgeBaseResponse {}
1888
- export interface DeleteMessageTemplateRequest {
1889
- knowledgeBaseId: string | undefined;
1890
- messageTemplateId: string | undefined;
1891
- }
1892
- export interface DeleteMessageTemplateResponse {}
1893
- export interface DeleteMessageTemplateAttachmentRequest {
1894
- knowledgeBaseId: string | undefined;
1895
- messageTemplateId: string | undefined;
1896
- attachmentId: string | undefined;
1897
- }
1898
- export interface DeleteMessageTemplateAttachmentResponse {}
1899
- export interface DeleteQuickResponseRequest {
1900
- knowledgeBaseId: string | undefined;
1901
- quickResponseId: string | undefined;
1902
- }
1903
- export interface DeleteQuickResponseResponse {}
1904
- export declare const ExternalSource: {
1905
- readonly AMAZON_CONNECT: "AMAZON_CONNECT";
1906
- };
1907
- export type ExternalSource =
1908
- (typeof ExternalSource)[keyof typeof ExternalSource];
1909
- export interface ExternalSourceConfiguration {
1910
- source: ExternalSource | undefined;
1911
- configuration: Configuration | undefined;
1912
- }
1913
- export interface GetImportJobRequest {
1914
- importJobId: string | undefined;
1915
- knowledgeBaseId: string | undefined;
1916
- }
1917
- export declare const ImportJobType: {
1918
- readonly QUICK_RESPONSES: "QUICK_RESPONSES";
1919
- };
1920
- export type ImportJobType = (typeof ImportJobType)[keyof typeof ImportJobType];
1921
- export declare const ImportJobStatus: {
1922
- readonly COMPLETE: "COMPLETE";
1923
- readonly DELETED: "DELETED";
1924
- readonly DELETE_FAILED: "DELETE_FAILED";
1925
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1926
- readonly FAILED: "FAILED";
1927
- readonly START_IN_PROGRESS: "START_IN_PROGRESS";
1928
- };
1929
- export type ImportJobStatus =
1930
- (typeof ImportJobStatus)[keyof typeof ImportJobStatus];
1931
- export interface ImportJobData {
1932
- importJobId: string | undefined;
1933
- knowledgeBaseId: string | undefined;
1934
- uploadId: string | undefined;
1935
- knowledgeBaseArn: string | undefined;
1936
- importJobType: ImportJobType | undefined;
1937
- status: ImportJobStatus | undefined;
1938
- url: string | undefined;
1939
- failedRecordReport?: string | undefined;
1940
- urlExpiry: Date | undefined;
1941
- createdTime: Date | undefined;
1942
- lastModifiedTime: Date | undefined;
1943
- metadata?: Record<string, string> | undefined;
1944
- externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
1945
- }
1946
- export interface GetImportJobResponse {
1947
- importJob?: ImportJobData | undefined;
1948
- }
1949
- export interface GetKnowledgeBaseRequest {
1950
- knowledgeBaseId: string | undefined;
1951
- }
1952
- export interface GetKnowledgeBaseResponse {
1953
- knowledgeBase?: KnowledgeBaseData | undefined;
1954
- }
1955
- export interface GetMessageTemplateRequest {
1956
- messageTemplateId: string | undefined;
1957
- knowledgeBaseId: string | undefined;
1958
- }
1959
- export interface GetMessageTemplateResponse {
1960
- messageTemplate?: ExtendedMessageTemplateData | undefined;
1961
- }
1962
- export interface GetQuickResponseRequest {
1963
- quickResponseId: string | undefined;
1964
- knowledgeBaseId: string | undefined;
1965
- }
1966
- export interface GetQuickResponseResponse {
1967
- quickResponse?: QuickResponseData | undefined;
1968
- }
1969
- export interface ImportJobSummary {
1970
- importJobId: string | undefined;
1971
- knowledgeBaseId: string | undefined;
1972
- uploadId: string | undefined;
1973
- knowledgeBaseArn: string | undefined;
1974
- importJobType: ImportJobType | undefined;
1975
- status: ImportJobStatus | undefined;
1976
- createdTime: Date | undefined;
1977
- lastModifiedTime: Date | undefined;
1978
- metadata?: Record<string, string> | undefined;
1979
- externalSourceConfiguration?: ExternalSourceConfiguration | undefined;
1980
- }
1981
- export interface ListImportJobsRequest {
1982
- nextToken?: string | undefined;
1983
- maxResults?: number | undefined;
1984
- knowledgeBaseId: string | undefined;
1985
- }
1986
- export interface ListImportJobsResponse {
1987
- importJobSummaries: ImportJobSummary[] | undefined;
1988
- nextToken?: string | undefined;
1989
- }
1990
- export interface ListKnowledgeBasesRequest {
1991
- nextToken?: string | undefined;
1992
- maxResults?: number | undefined;
1993
- }
1994
- export interface KnowledgeBaseSummary {
1995
- knowledgeBaseId: string | undefined;
1996
- knowledgeBaseArn: string | undefined;
1997
- name: string | undefined;
1998
- knowledgeBaseType: KnowledgeBaseType | undefined;
1999
- status: KnowledgeBaseStatus | undefined;
2000
- sourceConfiguration?: SourceConfiguration | undefined;
2001
- vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined;
2002
- renderingConfiguration?: RenderingConfiguration | undefined;
2003
- serverSideEncryptionConfiguration?:
2004
- | ServerSideEncryptionConfiguration
2005
- | undefined;
2006
- description?: string | undefined;
2007
- tags?: Record<string, string> | undefined;
2008
- }
2009
- export interface ListKnowledgeBasesResponse {
2010
- knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
2011
- nextToken?: string | undefined;
2012
- }
2013
- export interface ListMessageTemplatesRequest {
2014
- nextToken?: string | undefined;
2015
- maxResults?: number | undefined;
2016
- knowledgeBaseId: string | undefined;
2017
- }
2018
- export interface MessageTemplateSummary {
2019
- messageTemplateArn: string | undefined;
2020
- messageTemplateId: string | undefined;
2021
- knowledgeBaseArn: string | undefined;
2022
- knowledgeBaseId: string | undefined;
2023
- name: string | undefined;
2024
- channelSubtype: ChannelSubtype | undefined;
2025
- createdTime: Date | undefined;
2026
- lastModifiedTime: Date | undefined;
2027
- lastModifiedBy: string | undefined;
2028
- activeVersionNumber?: number | undefined;
2029
- description?: string | undefined;
2030
- tags?: Record<string, string> | undefined;
2031
- }
2032
- export interface ListMessageTemplatesResponse {
2033
- messageTemplateSummaries: MessageTemplateSummary[] | undefined;
2034
- nextToken?: string | undefined;
2035
- }
2036
- export interface ListMessageTemplateVersionsRequest {
2037
- knowledgeBaseId: string | undefined;
2038
- messageTemplateId: string | undefined;
2039
- nextToken?: string | undefined;
2040
- maxResults?: number | undefined;
2041
- }
2042
- export interface MessageTemplateVersionSummary {
2043
- messageTemplateArn: string | undefined;
2044
- messageTemplateId: string | undefined;
2045
- knowledgeBaseArn: string | undefined;
2046
- knowledgeBaseId: string | undefined;
2047
- name: string | undefined;
2048
- channelSubtype: ChannelSubtype | undefined;
2049
- isActive: boolean | undefined;
2050
- versionNumber: number | undefined;
2051
- }
2052
- export interface ListMessageTemplateVersionsResponse {
2053
- messageTemplateVersionSummaries: MessageTemplateVersionSummary[] | undefined;
2054
- nextToken?: string | undefined;
2055
- }
2056
- export interface RenderMessageTemplateRequest {
2057
- knowledgeBaseId: string | undefined;
2058
- messageTemplateId: string | undefined;
2059
- attributes: MessageTemplateAttributes | undefined;
2060
- }
2061
- export interface RenderMessageTemplateResponse {
2062
- content: MessageTemplateContentProvider | undefined;
2063
- attributesNotInterpolated?: string[] | undefined;
2064
- attachments?: MessageTemplateAttachment[] | undefined;
2065
- }
2066
- export interface UpdateMessageTemplateRequest {
2067
- knowledgeBaseId: string | undefined;
2068
- messageTemplateId: string | undefined;
2069
- content?: MessageTemplateContentProvider | undefined;
2070
- language?: string | undefined;
2071
- defaultAttributes?: MessageTemplateAttributes | undefined;
2072
- }
2073
- export interface UpdateMessageTemplateResponse {
2074
- messageTemplate?: MessageTemplateData | undefined;
2075
- }
2076
- export interface UpdateMessageTemplateMetadataRequest {
2077
- knowledgeBaseId: string | undefined;
2078
- messageTemplateId: string | undefined;
2079
- name?: string | undefined;
2080
- description?: string | undefined;
2081
- groupingConfiguration?: GroupingConfiguration | undefined;
2082
- }
2083
- export interface UpdateMessageTemplateMetadataResponse {
2084
- messageTemplate?: MessageTemplateData | undefined;
2085
- }
2086
- export interface ListQuickResponsesRequest {
2087
- nextToken?: string | undefined;
2088
- maxResults?: number | undefined;
2089
- knowledgeBaseId: string | undefined;
2090
- }
2091
- export interface QuickResponseSummary {
2092
- quickResponseArn: string | undefined;
2093
- quickResponseId: string | undefined;
2094
- knowledgeBaseArn: string | undefined;
2095
- knowledgeBaseId: string | undefined;
2096
- name: string | undefined;
2097
- contentType: string | undefined;
2098
- status: QuickResponseStatus | undefined;
2099
- createdTime: Date | undefined;
2100
- lastModifiedTime: Date | undefined;
2101
- description?: string | undefined;
2102
- lastModifiedBy?: string | undefined;
2103
- isActive?: boolean | undefined;
2104
- channels?: string[] | undefined;
2105
- tags?: Record<string, string> | undefined;
2106
- }
2107
- export interface ListQuickResponsesResponse {
2108
- quickResponseSummaries: QuickResponseSummary[] | undefined;
2109
- nextToken?: string | undefined;
2110
- }
2111
- export interface UpdateQuickResponseRequest {
2112
- knowledgeBaseId: string | undefined;
2113
- quickResponseId: string | undefined;
2114
- name?: string | undefined;
2115
- content?: QuickResponseDataProvider | undefined;
2116
- contentType?: string | undefined;
2117
- groupingConfiguration?: GroupingConfiguration | undefined;
2118
- removeGroupingConfiguration?: boolean | undefined;
2119
- description?: string | undefined;
2120
- removeDescription?: boolean | undefined;
2121
- shortcutKey?: string | undefined;
2122
- removeShortcutKey?: boolean | undefined;
2123
- isActive?: boolean | undefined;
2124
- channels?: string[] | undefined;
2125
- language?: string | undefined;
2126
- }
2127
- export interface UpdateQuickResponseResponse {
2128
- quickResponse?: QuickResponseData | undefined;
2129
- }
2130
- export interface RemoveKnowledgeBaseTemplateUriRequest {
2131
- knowledgeBaseId: string | undefined;
2132
- }
2133
2153
  export declare const AgentAttributesFilterSensitiveLog: (
2134
2154
  obj: AgentAttributes
2135
2155
  ) => any;
2156
+ export declare const GuardrailContentFilterConfigFilterSensitiveLog: (
2157
+ obj: GuardrailContentFilterConfig
2158
+ ) => any;
2159
+ export declare const AIGuardrailContentPolicyConfigFilterSensitiveLog: (
2160
+ obj: AIGuardrailContentPolicyConfig
2161
+ ) => any;
2162
+ export declare const GuardrailContextualGroundingFilterConfigFilterSensitiveLog: (
2163
+ obj: GuardrailContextualGroundingFilterConfig
2164
+ ) => any;
2165
+ export declare const AIGuardrailContextualGroundingPolicyConfigFilterSensitiveLog: (
2166
+ obj: AIGuardrailContextualGroundingPolicyConfig
2167
+ ) => any;
2168
+ export declare const GuardrailPiiEntityConfigFilterSensitiveLog: (
2169
+ obj: GuardrailPiiEntityConfig
2170
+ ) => any;
2171
+ export declare const GuardrailRegexConfigFilterSensitiveLog: (
2172
+ obj: GuardrailRegexConfig
2173
+ ) => any;
2174
+ export declare const AIGuardrailSensitiveInformationPolicyConfigFilterSensitiveLog: (
2175
+ obj: AIGuardrailSensitiveInformationPolicyConfig
2176
+ ) => any;
2177
+ export declare const GuardrailTopicConfigFilterSensitiveLog: (
2178
+ obj: GuardrailTopicConfig
2179
+ ) => any;
2180
+ export declare const AIGuardrailTopicPolicyConfigFilterSensitiveLog: (
2181
+ obj: AIGuardrailTopicPolicyConfig
2182
+ ) => any;
2183
+ export declare const GuardrailManagedWordsConfigFilterSensitiveLog: (
2184
+ obj: GuardrailManagedWordsConfig
2185
+ ) => any;
2186
+ export declare const GuardrailWordConfigFilterSensitiveLog: (
2187
+ obj: GuardrailWordConfig
2188
+ ) => any;
2189
+ export declare const AIGuardrailWordPolicyConfigFilterSensitiveLog: (
2190
+ obj: AIGuardrailWordPolicyConfig
2191
+ ) => any;
2192
+ export declare const CreateAIGuardrailRequestFilterSensitiveLog: (
2193
+ obj: CreateAIGuardrailRequest
2194
+ ) => any;
2195
+ export declare const AIGuardrailDataFilterSensitiveLog: (
2196
+ obj: AIGuardrailData
2197
+ ) => any;
2198
+ export declare const CreateAIGuardrailResponseFilterSensitiveLog: (
2199
+ obj: CreateAIGuardrailResponse
2200
+ ) => any;
2201
+ export declare const CreateAIGuardrailVersionResponseFilterSensitiveLog: (
2202
+ obj: CreateAIGuardrailVersionResponse
2203
+ ) => any;
2204
+ export declare const GetAIGuardrailResponseFilterSensitiveLog: (
2205
+ obj: GetAIGuardrailResponse
2206
+ ) => any;
2207
+ export declare const AIGuardrailSummaryFilterSensitiveLog: (
2208
+ obj: AIGuardrailSummary
2209
+ ) => any;
2210
+ export declare const ListAIGuardrailsResponseFilterSensitiveLog: (
2211
+ obj: ListAIGuardrailsResponse
2212
+ ) => any;
2213
+ export declare const AIGuardrailVersionSummaryFilterSensitiveLog: (
2214
+ obj: AIGuardrailVersionSummary
2215
+ ) => any;
2216
+ export declare const ListAIGuardrailVersionsResponseFilterSensitiveLog: (
2217
+ obj: ListAIGuardrailVersionsResponse
2218
+ ) => any;
2219
+ export declare const UpdateAIGuardrailRequestFilterSensitiveLog: (
2220
+ obj: UpdateAIGuardrailRequest
2221
+ ) => any;
2222
+ export declare const UpdateAIGuardrailResponseFilterSensitiveLog: (
2223
+ obj: UpdateAIGuardrailResponse
2224
+ ) => any;
2136
2225
  export declare const TextFullAIPromptEditTemplateConfigurationFilterSensitiveLog: (
2137
2226
  obj: TextFullAIPromptEditTemplateConfiguration
2138
2227
  ) => any;
@@ -2194,6 +2283,27 @@ export declare const RuntimeSessionDataValueFilterSensitiveLog: (
2194
2283
  export declare const RuntimeSessionDataFilterSensitiveLog: (
2195
2284
  obj: RuntimeSessionData
2196
2285
  ) => any;
2286
+ export declare const TextMessageFilterSensitiveLog: (obj: TextMessage) => any;
2287
+ export declare const MessageDataFilterSensitiveLog: (obj: MessageData) => any;
2288
+ export declare const MessageOutputFilterSensitiveLog: (
2289
+ obj: MessageOutput
2290
+ ) => any;
2291
+ export declare const GetNextMessageResponseFilterSensitiveLog: (
2292
+ obj: GetNextMessageResponse
2293
+ ) => any;
2294
+ export declare const ListMessagesResponseFilterSensitiveLog: (
2295
+ obj: ListMessagesResponse
2296
+ ) => any;
2297
+ export declare const SelfServiceConversationHistoryFilterSensitiveLog: (
2298
+ obj: SelfServiceConversationHistory
2299
+ ) => any;
2300
+ export declare const ConversationContextFilterSensitiveLog: (
2301
+ obj: ConversationContext
2302
+ ) => any;
2303
+ export declare const MessageInputFilterSensitiveLog: (obj: MessageInput) => any;
2304
+ export declare const SendMessageRequestFilterSensitiveLog: (
2305
+ obj: SendMessageRequest
2306
+ ) => any;
2197
2307
  export declare const UpdateSessionDataRequestFilterSensitiveLog: (
2198
2308
  obj: UpdateSessionDataRequest
2199
2309
  ) => any;
@@ -2286,72 +2396,3 @@ export declare const ExtendedMessageTemplateDataFilterSensitiveLog: (
2286
2396
  export declare const CreateMessageTemplateVersionResponseFilterSensitiveLog: (
2287
2397
  obj: CreateMessageTemplateVersionResponse
2288
2398
  ) => any;
2289
- export declare const QuickResponseDataProviderFilterSensitiveLog: (
2290
- obj: QuickResponseDataProvider
2291
- ) => any;
2292
- export declare const CreateQuickResponseRequestFilterSensitiveLog: (
2293
- obj: CreateQuickResponseRequest
2294
- ) => any;
2295
- export declare const QuickResponseContentProviderFilterSensitiveLog: (
2296
- obj: QuickResponseContentProvider
2297
- ) => any;
2298
- export declare const QuickResponseContentsFilterSensitiveLog: (
2299
- obj: QuickResponseContents
2300
- ) => any;
2301
- export declare const QuickResponseDataFilterSensitiveLog: (
2302
- obj: QuickResponseData
2303
- ) => any;
2304
- export declare const CreateQuickResponseResponseFilterSensitiveLog: (
2305
- obj: CreateQuickResponseResponse
2306
- ) => any;
2307
- export declare const ImportJobDataFilterSensitiveLog: (
2308
- obj: ImportJobData
2309
- ) => any;
2310
- export declare const GetImportJobResponseFilterSensitiveLog: (
2311
- obj: GetImportJobResponse
2312
- ) => any;
2313
- export declare const GetKnowledgeBaseResponseFilterSensitiveLog: (
2314
- obj: GetKnowledgeBaseResponse
2315
- ) => any;
2316
- export declare const GetMessageTemplateResponseFilterSensitiveLog: (
2317
- obj: GetMessageTemplateResponse
2318
- ) => any;
2319
- export declare const GetQuickResponseResponseFilterSensitiveLog: (
2320
- obj: GetQuickResponseResponse
2321
- ) => any;
2322
- export declare const KnowledgeBaseSummaryFilterSensitiveLog: (
2323
- obj: KnowledgeBaseSummary
2324
- ) => any;
2325
- export declare const ListKnowledgeBasesResponseFilterSensitiveLog: (
2326
- obj: ListKnowledgeBasesResponse
2327
- ) => any;
2328
- export declare const RenderMessageTemplateRequestFilterSensitiveLog: (
2329
- obj: RenderMessageTemplateRequest
2330
- ) => any;
2331
- export declare const RenderMessageTemplateResponseFilterSensitiveLog: (
2332
- obj: RenderMessageTemplateResponse
2333
- ) => any;
2334
- export declare const UpdateMessageTemplateRequestFilterSensitiveLog: (
2335
- obj: UpdateMessageTemplateRequest
2336
- ) => any;
2337
- export declare const UpdateMessageTemplateResponseFilterSensitiveLog: (
2338
- obj: UpdateMessageTemplateResponse
2339
- ) => any;
2340
- export declare const UpdateMessageTemplateMetadataRequestFilterSensitiveLog: (
2341
- obj: UpdateMessageTemplateMetadataRequest
2342
- ) => any;
2343
- export declare const UpdateMessageTemplateMetadataResponseFilterSensitiveLog: (
2344
- obj: UpdateMessageTemplateMetadataResponse
2345
- ) => any;
2346
- export declare const QuickResponseSummaryFilterSensitiveLog: (
2347
- obj: QuickResponseSummary
2348
- ) => any;
2349
- export declare const ListQuickResponsesResponseFilterSensitiveLog: (
2350
- obj: ListQuickResponsesResponse
2351
- ) => any;
2352
- export declare const UpdateQuickResponseRequestFilterSensitiveLog: (
2353
- obj: UpdateQuickResponseRequest
2354
- ) => any;
2355
- export declare const UpdateQuickResponseResponseFilterSensitiveLog: (
2356
- obj: UpdateQuickResponseResponse
2357
- ) => any;