@aws-sdk/client-qconnect 3.1161.0 → 3.1163.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 (79) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +128 -44
  3. package/dist-es/QConnect.js +4 -0
  4. package/dist-es/commands/RegisterAssistantReplicaKeyCommand.js +4 -0
  5. package/dist-es/commands/RegisterKnowledgeBaseReplicaKeyCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +12 -0
  8. package/dist-es/models/errors.js +2 -0
  9. package/dist-es/runtimeConfig.js +2 -1
  10. package/dist-es/schemas/schemas_0.js +91 -42
  11. package/dist-types/QConnect.d.ts +14 -0
  12. package/dist-types/QConnectClient.d.ts +4 -2
  13. package/dist-types/commands/CreateAIAgentCommand.d.ts +2 -0
  14. package/dist-types/commands/CreateAIAgentVersionCommand.d.ts +2 -0
  15. package/dist-types/commands/CreateAIGuardrailCommand.d.ts +2 -0
  16. package/dist-types/commands/CreateAIGuardrailVersionCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateAIPromptCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateAIPromptVersionCommand.d.ts +2 -0
  19. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +2 -0
  20. package/dist-types/commands/CreateAssistantCommand.d.ts +13 -0
  21. package/dist-types/commands/CreateContentCommand.d.ts +3 -0
  22. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +12 -0
  23. package/dist-types/commands/CreateMessageTemplateAttachmentCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateMessageTemplateCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateQuickResponseCommand.d.ts +1 -0
  26. package/dist-types/commands/GetAIAgentCommand.d.ts +2 -0
  27. package/dist-types/commands/GetAIGuardrailCommand.d.ts +2 -0
  28. package/dist-types/commands/GetAIPromptCommand.d.ts +2 -0
  29. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +2 -0
  30. package/dist-types/commands/GetAssistantCommand.d.ts +8 -0
  31. package/dist-types/commands/GetContentCommand.d.ts +3 -0
  32. package/dist-types/commands/GetContentSummaryCommand.d.ts +3 -0
  33. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +7 -0
  34. package/dist-types/commands/GetQuickResponseCommand.d.ts +1 -0
  35. package/dist-types/commands/ListAIAgentVersionsCommand.d.ts +2 -0
  36. package/dist-types/commands/ListAIAgentsCommand.d.ts +2 -0
  37. package/dist-types/commands/ListAIGuardrailVersionsCommand.d.ts +2 -0
  38. package/dist-types/commands/ListAIGuardrailsCommand.d.ts +2 -0
  39. package/dist-types/commands/ListAIPromptVersionsCommand.d.ts +2 -0
  40. package/dist-types/commands/ListAIPromptsCommand.d.ts +2 -0
  41. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +2 -0
  42. package/dist-types/commands/ListAssistantsCommand.d.ts +7 -0
  43. package/dist-types/commands/ListContentsCommand.d.ts +3 -0
  44. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +7 -0
  45. package/dist-types/commands/ListModelsCommand.d.ts +1 -0
  46. package/dist-types/commands/ListQuickResponsesCommand.d.ts +1 -0
  47. package/dist-types/commands/RegisterAssistantReplicaKeyCommand.d.ts +132 -0
  48. package/dist-types/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +181 -0
  49. package/dist-types/commands/RemoveAssistantAIAgentCommand.d.ts +3 -0
  50. package/dist-types/commands/SearchContentCommand.d.ts +3 -0
  51. package/dist-types/commands/SearchQuickResponsesCommand.d.ts +1 -0
  52. package/dist-types/commands/UpdateAIAgentCommand.d.ts +2 -0
  53. package/dist-types/commands/UpdateAIGuardrailCommand.d.ts +2 -0
  54. package/dist-types/commands/UpdateAIPromptCommand.d.ts +2 -0
  55. package/dist-types/commands/UpdateAssistantAIAgentCommand.d.ts +11 -0
  56. package/dist-types/commands/UpdateContentCommand.d.ts +3 -0
  57. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +7 -0
  58. package/dist-types/commands/UpdateQuickResponseCommand.d.ts +1 -0
  59. package/dist-types/commands/index.d.ts +2 -0
  60. package/dist-types/models/enums.d.ts +42 -0
  61. package/dist-types/models/errors.d.ts +6 -0
  62. package/dist-types/models/models_0.d.ts +206 -82
  63. package/dist-types/models/models_1.d.ts +138 -2
  64. package/dist-types/runtimeConfig.d.ts +1 -0
  65. package/dist-types/schemas/schemas_0.d.ts +7 -0
  66. package/dist-types/ts3.4/QConnect.d.ts +34 -0
  67. package/dist-types/ts3.4/QConnectClient.d.ts +12 -0
  68. package/dist-types/ts3.4/commands/CreateMessageTemplateAttachmentCommand.d.ts +4 -2
  69. package/dist-types/ts3.4/commands/CreateMessageTemplateCommand.d.ts +2 -1
  70. package/dist-types/ts3.4/commands/RegisterAssistantReplicaKeyCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/RegisterKnowledgeBaseReplicaKeyCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  74. package/dist-types/ts3.4/models/errors.d.ts +2 -0
  75. package/dist-types/ts3.4/models/models_0.d.ts +44 -20
  76. package/dist-types/ts3.4/models/models_1.d.ts +34 -1
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  78. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  79. package/package.json +3 -3
@@ -112,6 +112,11 @@ declare const UpdateKnowledgeBaseTemplateUriCommand_base: {
112
112
  * // },
113
113
  * // serverSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
114
114
  * // kmsKeyId: "STRING_VALUE",
115
+ * // replicaKmsKeys: [ // ReplicaKmsKeyList
116
+ * // { // ReplicaKmsKey
117
+ * // arn: "STRING_VALUE", // required
118
+ * // },
119
+ * // ],
115
120
  * // },
116
121
  * // description: "STRING_VALUE",
117
122
  * // tags: { // Tags
@@ -121,6 +126,8 @@ declare const UpdateKnowledgeBaseTemplateUriCommand_base: {
121
126
  * // ingestionFailureReasons: [ // FailureReason
122
127
  * // "STRING_VALUE",
123
128
  * // ],
129
+ * // lastModifiedTime: new Date("TIMESTAMP"),
130
+ * // lastModifiedRegion: "STRING_VALUE",
124
131
  * // },
125
132
  * // };
126
133
  *
@@ -71,6 +71,7 @@ declare const UpdateQuickResponseCommand_base: {
71
71
  * // status: "STRING_VALUE", // required
72
72
  * // createdTime: new Date("TIMESTAMP"), // required
73
73
  * // lastModifiedTime: new Date("TIMESTAMP"), // required
74
+ * // lastModifiedRegion: "STRING_VALUE",
74
75
  * // contents: { // QuickResponseContents
75
76
  * // plainText: { // QuickResponseContentProvider Union: only one key present
76
77
  * // content: "STRING_VALUE",
@@ -68,6 +68,8 @@ export * from "./ListTagsForResourceCommand";
68
68
  export * from "./NotifyRecommendationsReceivedCommand";
69
69
  export * from "./PutFeedbackCommand";
70
70
  export * from "./QueryAssistantCommand";
71
+ export * from "./RegisterAssistantReplicaKeyCommand";
72
+ export * from "./RegisterKnowledgeBaseReplicaKeyCommand";
71
73
  export * from "./RemoveAssistantAIAgentCommand";
72
74
  export * from "./RemoveKnowledgeBaseTemplateUriCommand";
73
75
  export * from "./RenderMessageTemplateCommand";
@@ -293,6 +293,18 @@ export declare const AssistantType: {
293
293
  * @public
294
294
  */
295
295
  export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
296
+ /**
297
+ * @public
298
+ * @enum
299
+ */
300
+ export declare const AssistantGlobalResiliencyStatus: {
301
+ readonly DISABLED: "DISABLED";
302
+ readonly ENABLED: "ENABLED";
303
+ };
304
+ /**
305
+ * @public
306
+ */
307
+ export type AssistantGlobalResiliencyStatus = (typeof AssistantGlobalResiliencyStatus)[keyof typeof AssistantGlobalResiliencyStatus];
296
308
  /**
297
309
  * @public
298
310
  * @enum
@@ -442,6 +454,18 @@ export declare const CrossRegionStatus: {
442
454
  * @public
443
455
  */
444
456
  export type CrossRegionStatus = (typeof CrossRegionStatus)[keyof typeof CrossRegionStatus];
457
+ /**
458
+ * @public
459
+ * @enum
460
+ */
461
+ export declare const GlobalResiliencyStatus: {
462
+ readonly SUPPORTED: "SUPPORTED";
463
+ readonly UNSUPPORTED: "UNSUPPORTED";
464
+ };
465
+ /**
466
+ * @public
467
+ */
468
+ export type GlobalResiliencyStatus = (typeof GlobalResiliencyStatus)[keyof typeof GlobalResiliencyStatus];
445
469
  /**
446
470
  * @public
447
471
  * @enum
@@ -604,6 +628,24 @@ export declare const MessageType: {
604
628
  * @public
605
629
  */
606
630
  export type MessageType = (typeof MessageType)[keyof typeof MessageType];
631
+ /**
632
+ * @public
633
+ * @enum
634
+ */
635
+ export declare const UnprocessableContentReason: {
636
+ /**
637
+ * The AI inference model is temporarily unavailable.
638
+ */
639
+ readonly AI_INFERENCE_MODEL_UNAVAILABLE: "AI_INFERENCE_MODEL_UNAVAILABLE";
640
+ /**
641
+ * The orchestration failed for a reason not covered by a more specific value.
642
+ */
643
+ readonly ORCHESTRATION_ERROR: "ORCHESTRATION_ERROR";
644
+ };
645
+ /**
646
+ * @public
647
+ */
648
+ export type UnprocessableContentReason = (typeof UnprocessableContentReason)[keyof typeof UnprocessableContentReason];
607
649
  /**
608
650
  * @public
609
651
  * @enum
@@ -1,4 +1,5 @@
1
1
  import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import type { UnprocessableContentReason } from "./enums";
2
3
  import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
3
4
  /**
4
5
  * <p>You do not have sufficient access to perform this action.</p>
@@ -132,6 +133,11 @@ export declare class UnprocessableContentException extends __BaseException {
132
133
  static readonly shapeId: string;
133
134
  readonly name: "UnprocessableContentException";
134
135
  readonly $fault: "client";
136
+ /**
137
+ * The reason the content could not be processed.
138
+ * @public
139
+ */
140
+ reason?: UnprocessableContentReason | undefined;
135
141
  /**
136
142
  * @internal
137
143
  */
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GuardrailAction, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailPolicyType, GuardrailSensitiveInformationAction, GuardrailSource, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, RetrieveErrorCode, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
2
+ import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantGlobalResiliencyStatus, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GlobalResiliencyStatus, GuardrailAction, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailPolicyType, GuardrailSensitiveInformationAction, GuardrailSource, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, RetrieveErrorCode, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1129,6 +1129,16 @@ export interface AIAgentData {
1129
1129
  * @public
1130
1130
  */
1131
1131
  modifiedTime?: Date | undefined;
1132
+ /**
1133
+ * <p>The timestamp when the AI Agent was last modified.</p>
1134
+ * @public
1135
+ */
1136
+ lastModifiedTime?: Date | undefined;
1137
+ /**
1138
+ * <p>The Amazon Web Services Region where the AI Agent was last modified.</p>
1139
+ * @public
1140
+ */
1141
+ lastModifiedRegion?: string | undefined;
1132
1142
  /**
1133
1143
  * <p>The description of the AI Agent.</p>
1134
1144
  * @public
@@ -1345,6 +1355,16 @@ export interface AIAgentSummary {
1345
1355
  * @public
1346
1356
  */
1347
1357
  modifiedTime?: Date | undefined;
1358
+ /**
1359
+ * <p>The timestamp when the AI Agent was last modified.</p>
1360
+ * @public
1361
+ */
1362
+ lastModifiedTime?: Date | undefined;
1363
+ /**
1364
+ * <p>The Amazon Web Services Region where the AI Agent was last modified.</p>
1365
+ * @public
1366
+ */
1367
+ lastModifiedRegion?: string | undefined;
1348
1368
  /**
1349
1369
  * <p>The visibility status of the AI Agent.</p>
1350
1370
  * @public
@@ -1865,6 +1885,16 @@ export interface AIGuardrailData {
1865
1885
  * @public
1866
1886
  */
1867
1887
  modifiedTime?: Date | undefined;
1888
+ /**
1889
+ * <p>The timestamp when the AI Guardrail was last modified.</p>
1890
+ * @public
1891
+ */
1892
+ lastModifiedTime?: Date | undefined;
1893
+ /**
1894
+ * <p>The Amazon Web Services Region where the AI Guardrail was last modified.</p>
1895
+ * @public
1896
+ */
1897
+ lastModifiedRegion?: string | undefined;
1868
1898
  }
1869
1899
  /**
1870
1900
  * @public
@@ -2046,6 +2076,16 @@ export interface AIGuardrailSummary {
2046
2076
  * @public
2047
2077
  */
2048
2078
  modifiedTime?: Date | undefined;
2079
+ /**
2080
+ * <p>The timestamp when the AI Guardrail was last modified.</p>
2081
+ * @public
2082
+ */
2083
+ lastModifiedTime?: Date | undefined;
2084
+ /**
2085
+ * <p>The Amazon Web Services Region where the AI Guardrail was last modified.</p>
2086
+ * @public
2087
+ */
2088
+ lastModifiedRegion?: string | undefined;
2049
2089
  /**
2050
2090
  * <p>The visibility status of the AI Guardrail.</p>
2051
2091
  * @public
@@ -2424,6 +2464,16 @@ export interface AIPromptData {
2424
2464
  * @public
2425
2465
  */
2426
2466
  modifiedTime?: Date | undefined;
2467
+ /**
2468
+ * <p>The timestamp when the AI Prompt was last modified.</p>
2469
+ * @public
2470
+ */
2471
+ lastModifiedTime?: Date | undefined;
2472
+ /**
2473
+ * <p>The Amazon Web Services Region where the AI Prompt was last modified.</p>
2474
+ * @public
2475
+ */
2476
+ lastModifiedRegion?: string | undefined;
2427
2477
  /**
2428
2478
  * <p>The description of the AI Prompt.</p>
2429
2479
  * @public
@@ -2640,6 +2690,16 @@ export interface AIPromptSummary {
2640
2690
  * @public
2641
2691
  */
2642
2692
  modifiedTime?: Date | undefined;
2693
+ /**
2694
+ * <p>The timestamp when the AI Prompt was last modified.</p>
2695
+ * @public
2696
+ */
2697
+ lastModifiedTime?: Date | undefined;
2698
+ /**
2699
+ * <p>The Amazon Web Services Region where the AI Prompt was last modified.</p>
2700
+ * @public
2701
+ */
2702
+ lastModifiedRegion?: string | undefined;
2643
2703
  /**
2644
2704
  * <p>The type of the prompt template for this AI Prompt.</p>
2645
2705
  * @public
@@ -3031,6 +3091,16 @@ export interface AssistantAssociationData {
3031
3091
  * @public
3032
3092
  */
3033
3093
  tags?: Record<string, string> | undefined;
3094
+ /**
3095
+ * <p>The timestamp when the assistant association was last modified.</p>
3096
+ * @public
3097
+ */
3098
+ lastModifiedTime?: Date | undefined;
3099
+ /**
3100
+ * <p>The Amazon Web Services Region where the assistant association was last modified.</p>
3101
+ * @public
3102
+ */
3103
+ lastModifiedRegion?: string | undefined;
3034
3104
  }
3035
3105
  /**
3036
3106
  * @public
@@ -3147,6 +3217,16 @@ export interface AssistantAssociationSummary {
3147
3217
  * @public
3148
3218
  */
3149
3219
  tags?: Record<string, string> | undefined;
3220
+ /**
3221
+ * <p>The timestamp when the assistant association was last modified.</p>
3222
+ * @public
3223
+ */
3224
+ lastModifiedTime?: Date | undefined;
3225
+ /**
3226
+ * <p>The Amazon Web Services Region where the assistant association was last modified.</p>
3227
+ * @public
3228
+ */
3229
+ lastModifiedRegion?: string | undefined;
3150
3230
  }
3151
3231
  /**
3152
3232
  * @public
@@ -3163,6 +3243,17 @@ export interface ListAssistantAssociationsResponse {
3163
3243
  */
3164
3244
  nextToken?: string | undefined;
3165
3245
  }
3246
+ /**
3247
+ * <p>Contains information about the KMS key used to encrypt data in a replica Amazon Web Services Region, including its Amazon Resource Name (ARN).</p>
3248
+ * @public
3249
+ */
3250
+ export interface ReplicaKmsKey {
3251
+ /**
3252
+ * <p>The Amazon Resource Name (ARN) of the KMS key in the replica Region.</p>
3253
+ * @public
3254
+ */
3255
+ arn: string | undefined;
3256
+ }
3166
3257
  /**
3167
3258
  * <p>The configuration information for the customer managed key used for encryption.</p>
3168
3259
  * @public
@@ -3173,6 +3264,11 @@ export interface ServerSideEncryptionConfiguration {
3173
3264
  * @public
3174
3265
  */
3175
3266
  kmsKeyId?: string | undefined;
3267
+ /**
3268
+ * <p>The list of KMS keys used to encrypt data for this resource's replicas in other Amazon Web Services Regions. Each entry corresponds to a Region where a replica is configured.</p>
3269
+ * @public
3270
+ */
3271
+ replicaKmsKeys?: ReplicaKmsKey[] | undefined;
3176
3272
  }
3177
3273
  /**
3178
3274
  * @public
@@ -3312,6 +3408,28 @@ export interface AssistantData {
3312
3408
  * @public
3313
3409
  */
3314
3410
  orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined;
3411
+ /**
3412
+ * <p>The timestamp when the assistant was last modified.</p>
3413
+ * @public
3414
+ */
3415
+ lastModifiedTime?: Date | undefined;
3416
+ /**
3417
+ * <p>The Amazon Web Services Region where the assistant was last modified.</p>
3418
+ * @public
3419
+ */
3420
+ lastModifiedRegion?: string | undefined;
3421
+ /**
3422
+ * Whether Amazon Connect Global Resiliency replicates the Connect instance this assistant is
3423
+ * associated with, and so whether resources created under this assistant must satisfy the
3424
+ * replication group's model parity constraint. Answered from the ACGR side per request rather
3425
+ * than stored, so it reflects the customer's replication state now.
3426
+ *
3427
+ * Absent means "not applicable or not known" - never read an absent field as DISABLED. It is
3428
+ * absent on the operations that return an assistant which is not yet associated with a Connect
3429
+ * instance, because replication cannot be established until it is.
3430
+ * @public
3431
+ */
3432
+ assistantGlobalResiliencyStatus?: AssistantGlobalResiliencyStatus | undefined;
3315
3433
  }
3316
3434
  /**
3317
3435
  * @public
@@ -3941,6 +4059,16 @@ export interface AssistantSummary {
3941
4059
  * @public
3942
4060
  */
3943
4061
  orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined;
4062
+ /**
4063
+ * <p>The timestamp when the assistant was last modified.</p>
4064
+ * @public
4065
+ */
4066
+ lastModifiedTime?: Date | undefined;
4067
+ /**
4068
+ * <p>The Amazon Web Services Region where the assistant was last modified.</p>
4069
+ * @public
4070
+ */
4071
+ lastModifiedRegion?: string | undefined;
3944
4072
  }
3945
4073
  /**
3946
4074
  * @public
@@ -4032,6 +4160,13 @@ export interface ModelSummary {
4032
4160
  * @public
4033
4161
  */
4034
4162
  endOfLifeTimestamp?: Date | undefined;
4163
+ /**
4164
+ * Whether this model is published in every Region of the caller's Amazon Connect Global
4165
+ * Resiliency replication group, and so can be referenced by an AI Prompt that replicates.
4166
+ * Present only for callers to which global resiliency applies.
4167
+ * @public
4168
+ */
4169
+ globalResiliencyStatus?: GlobalResiliencyStatus | undefined;
4035
4170
  }
4036
4171
  /**
4037
4172
  * @public
@@ -4389,6 +4524,36 @@ export interface QueryAssistantRequest {
4389
4524
  */
4390
4525
  overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined;
4391
4526
  }
4527
+ /**
4528
+ * @public
4529
+ */
4530
+ export interface RegisterAssistantReplicaKeyRequest {
4531
+ /**
4532
+ * <p>The identifier of the Amazon Q in Connect assistant.</p>
4533
+ * @public
4534
+ */
4535
+ assistantId: string | undefined;
4536
+ /**
4537
+ * <p>The replica Region KMS key to register for the assistant.</p>
4538
+ * @public
4539
+ */
4540
+ replicaKmsKey: ReplicaKmsKey | undefined;
4541
+ /**
4542
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="http://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>..</p>
4543
+ * @public
4544
+ */
4545
+ clientToken?: string | undefined;
4546
+ }
4547
+ /**
4548
+ * @public
4549
+ */
4550
+ export interface RegisterAssistantReplicaKeyResponse {
4551
+ /**
4552
+ * <p>The assistant data.</p>
4553
+ * @public
4554
+ */
4555
+ assistant: AssistantData | undefined;
4556
+ }
4392
4557
  /**
4393
4558
  * @public
4394
4559
  */
@@ -6109,6 +6274,21 @@ export interface ContentData {
6109
6274
  * @public
6110
6275
  */
6111
6276
  urlExpiry: Date | undefined;
6277
+ /**
6278
+ * <p>The timestamp when the content was last modified.</p>
6279
+ * @public
6280
+ */
6281
+ lastModifiedTime?: Date | undefined;
6282
+ /**
6283
+ * <p>The Amazon Web Services Region where the content was last modified.</p>
6284
+ * @public
6285
+ */
6286
+ lastModifiedRegion?: string | undefined;
6287
+ /**
6288
+ * <p>The Base64-encoded SHA-256 hash of the content file. Amazon Connect Global Resiliency returns this field only for replicated content.</p>
6289
+ * @public
6290
+ */
6291
+ fileHash?: string | undefined;
6112
6292
  }
6113
6293
  /**
6114
6294
  * @public
@@ -6240,6 +6420,21 @@ export interface ContentSummary {
6240
6420
  * @public
6241
6421
  */
6242
6422
  tags?: Record<string, string> | undefined;
6423
+ /**
6424
+ * <p>The timestamp when the content was last modified.</p>
6425
+ * @public
6426
+ */
6427
+ lastModifiedTime?: Date | undefined;
6428
+ /**
6429
+ * <p>The Amazon Web Services Region where the content was last modified.</p>
6430
+ * @public
6431
+ */
6432
+ lastModifiedRegion?: string | undefined;
6433
+ /**
6434
+ * <p>The Base64-encoded SHA-256 hash of the content file. Amazon Connect Global Resiliency returns this field only for replicated content.</p>
6435
+ * @public
6436
+ */
6437
+ fileHash?: string | undefined;
6243
6438
  }
6244
6439
  /**
6245
6440
  * @public
@@ -6651,6 +6846,16 @@ export interface KnowledgeBaseData {
6651
6846
  * @public
6652
6847
  */
6653
6848
  ingestionFailureReasons?: string[] | undefined;
6849
+ /**
6850
+ * <p>The timestamp when the knowledge base was last modified.</p>
6851
+ * @public
6852
+ */
6853
+ lastModifiedTime?: Date | undefined;
6854
+ /**
6855
+ * <p>The Amazon Web Services Region where the knowledge base was last modified.</p>
6856
+ * @public
6857
+ */
6858
+ lastModifiedRegion?: string | undefined;
6654
6859
  }
6655
6860
  /**
6656
6861
  * @public
@@ -7735,84 +7940,3 @@ export interface MessageTemplateData {
7735
7940
  */
7736
7941
  tags?: Record<string, string> | undefined;
7737
7942
  }
7738
- /**
7739
- * @public
7740
- */
7741
- export interface CreateMessageTemplateResponse {
7742
- /**
7743
- * <p>The message template.</p>
7744
- * @public
7745
- */
7746
- messageTemplate?: MessageTemplateData | undefined;
7747
- }
7748
- /**
7749
- * @public
7750
- */
7751
- export interface CreateMessageTemplateAttachmentRequest {
7752
- /**
7753
- * <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
7754
- * @public
7755
- */
7756
- knowledgeBaseId: string | undefined;
7757
- /**
7758
- * <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
7759
- * @public
7760
- */
7761
- messageTemplateId: string | undefined;
7762
- /**
7763
- * <p>The presentation information for the attachment file.</p>
7764
- * @public
7765
- */
7766
- contentDisposition: ContentDisposition | undefined;
7767
- /**
7768
- * <p>The name of the attachment file being uploaded. The name should include the file extension.</p>
7769
- * @public
7770
- */
7771
- name: string | undefined;
7772
- /**
7773
- * <p>The body of the attachment file being uploaded. It should be encoded using base64 encoding.</p>
7774
- * @public
7775
- */
7776
- body: string | undefined;
7777
- /**
7778
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="http://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
7779
- * @public
7780
- */
7781
- clientToken?: string | undefined;
7782
- }
7783
- /**
7784
- * <p>Information about the message template attachment.</p>
7785
- * @public
7786
- */
7787
- export interface MessageTemplateAttachment {
7788
- /**
7789
- * <p>The presentation information for the attachment file.</p>
7790
- * @public
7791
- */
7792
- contentDisposition: ContentDisposition | undefined;
7793
- /**
7794
- * <p>The name of the attachment file being uploaded. The name should include the file extension.</p>
7795
- * @public
7796
- */
7797
- name: string | undefined;
7798
- /**
7799
- * <p>The timestamp when the attachment file was uploaded.</p>
7800
- * @public
7801
- */
7802
- uploadedTime: Date | undefined;
7803
- /**
7804
- * <p>A pre-signed Amazon S3 URL that can be used to download the attachment file.</p>
7805
- * @public
7806
- */
7807
- url: string | undefined;
7808
- /**
7809
- * <p>The expiration time of the pre-signed Amazon S3 URL.</p>
7810
- * @public
7811
- */
7812
- urlExpiry: Date | undefined;
7813
- /**
7814
- * <p>The identifier of the attachment file.</p>
7815
- * @public
7816
- */
7817
- attachmentId: string | undefined;
7818
- }