@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
@@ -1,5 +1,86 @@
1
- import type { AIAgentType, AIPromptType, ChannelSubtype, ExternalSource, ImportJobStatus, ImportJobType, InteractionMode, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateAttributeType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, ReturnReason, SpanStatus, SpanType } from "./enums";
2
- import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttachment, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails, ProactiveRecommendationDataDetails, RankingData, RecommendationTrigger, RenderingConfiguration, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanGuardrailAssessment, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
1
+ import type { AIAgentType, AIPromptType, ChannelSubtype, ContentDisposition, ExternalSource, ImportJobStatus, ImportJobType, InteractionMode, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateAttributeType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, ReturnReason, SpanStatus, SpanType } from "./enums";
2
+ import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails, ProactiveRecommendationDataDetails, RankingData, RecommendationTrigger, RenderingConfiguration, ReplicaKmsKey, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanGuardrailAssessment, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface CreateMessageTemplateResponse {
7
+ /**
8
+ * <p>The message template.</p>
9
+ * @public
10
+ */
11
+ messageTemplate?: MessageTemplateData | undefined;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface CreateMessageTemplateAttachmentRequest {
17
+ /**
18
+ * <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
19
+ * @public
20
+ */
21
+ knowledgeBaseId: string | undefined;
22
+ /**
23
+ * <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
24
+ * @public
25
+ */
26
+ messageTemplateId: string | undefined;
27
+ /**
28
+ * <p>The presentation information for the attachment file.</p>
29
+ * @public
30
+ */
31
+ contentDisposition: ContentDisposition | undefined;
32
+ /**
33
+ * <p>The name of the attachment file being uploaded. The name should include the file extension.</p>
34
+ * @public
35
+ */
36
+ name: string | undefined;
37
+ /**
38
+ * <p>The body of the attachment file being uploaded. It should be encoded using base64 encoding.</p>
39
+ * @public
40
+ */
41
+ body: string | undefined;
42
+ /**
43
+ * <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>
44
+ * @public
45
+ */
46
+ clientToken?: string | undefined;
47
+ }
48
+ /**
49
+ * <p>Information about the message template attachment.</p>
50
+ * @public
51
+ */
52
+ export interface MessageTemplateAttachment {
53
+ /**
54
+ * <p>The presentation information for the attachment file.</p>
55
+ * @public
56
+ */
57
+ contentDisposition: ContentDisposition | undefined;
58
+ /**
59
+ * <p>The name of the attachment file being uploaded. The name should include the file extension.</p>
60
+ * @public
61
+ */
62
+ name: string | undefined;
63
+ /**
64
+ * <p>The timestamp when the attachment file was uploaded.</p>
65
+ * @public
66
+ */
67
+ uploadedTime: Date | undefined;
68
+ /**
69
+ * <p>A pre-signed Amazon S3 URL that can be used to download the attachment file.</p>
70
+ * @public
71
+ */
72
+ url: string | undefined;
73
+ /**
74
+ * <p>The expiration time of the pre-signed Amazon S3 URL.</p>
75
+ * @public
76
+ */
77
+ urlExpiry: Date | undefined;
78
+ /**
79
+ * <p>The identifier of the attachment file.</p>
80
+ * @public
81
+ */
82
+ attachmentId: string | undefined;
83
+ }
3
84
  /**
4
85
  * @public
5
86
  */
@@ -353,6 +434,11 @@ export interface QuickResponseData {
353
434
  * @public
354
435
  */
355
436
  lastModifiedTime: Date | undefined;
437
+ /**
438
+ * <p>The Amazon Web Services Region where the quick response was last modified.</p>
439
+ * @public
440
+ */
441
+ lastModifiedRegion?: string | undefined;
356
442
  /**
357
443
  * <p>The contents of the quick response.</p>
358
444
  * @public
@@ -897,6 +983,16 @@ export interface KnowledgeBaseSummary {
897
983
  * @public
898
984
  */
899
985
  tags?: Record<string, string> | undefined;
986
+ /**
987
+ * <p>The timestamp when the knowledge base was last modified.</p>
988
+ * @public
989
+ */
990
+ lastModifiedTime?: Date | undefined;
991
+ /**
992
+ * <p>The Amazon Web Services Region where the knowledge base was last modified.</p>
993
+ * @public
994
+ */
995
+ lastModifiedRegion?: string | undefined;
900
996
  }
901
997
  /**
902
998
  * @public
@@ -1315,6 +1411,11 @@ export interface QuickResponseSummary {
1315
1411
  * @public
1316
1412
  */
1317
1413
  lastModifiedTime: Date | undefined;
1414
+ /**
1415
+ * <p>The Amazon Web Services Region where the quick response was last modified.</p>
1416
+ * @public
1417
+ */
1418
+ lastModifiedRegion?: string | undefined;
1318
1419
  /**
1319
1420
  * <p>The description of the quick response.</p>
1320
1421
  * @public
@@ -1441,6 +1542,36 @@ export interface UpdateQuickResponseResponse {
1441
1542
  */
1442
1543
  quickResponse?: QuickResponseData | undefined;
1443
1544
  }
1545
+ /**
1546
+ * @public
1547
+ */
1548
+ export interface RegisterKnowledgeBaseReplicaKeyRequest {
1549
+ /**
1550
+ * <p>The identifier of the knowledge base.</p>
1551
+ * @public
1552
+ */
1553
+ knowledgeBaseId: string | undefined;
1554
+ /**
1555
+ * <p>The replica Region KMS key to register for the knowledge base.</p>
1556
+ * @public
1557
+ */
1558
+ replicaKmsKey: ReplicaKmsKey | undefined;
1559
+ /**
1560
+ * <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>
1561
+ * @public
1562
+ */
1563
+ clientToken?: string | undefined;
1564
+ }
1565
+ /**
1566
+ * @public
1567
+ */
1568
+ export interface RegisterKnowledgeBaseReplicaKeyResponse {
1569
+ /**
1570
+ * <p>Information about the knowledge base.</p>
1571
+ * @public
1572
+ */
1573
+ knowledgeBase: KnowledgeBaseData | undefined;
1574
+ }
1444
1575
  /**
1445
1576
  * @public
1446
1577
  */
@@ -1900,6 +2031,11 @@ export interface QuickResponseSearchResultData {
1900
2031
  * @public
1901
2032
  */
1902
2033
  lastModifiedTime: Date | undefined;
2034
+ /**
2035
+ * <p>The Amazon Web Services Region where the quick response was last modified.</p>
2036
+ * @public
2037
+ */
2038
+ lastModifiedRegion?: string | undefined;
1903
2039
  /**
1904
2040
  * <p>Whether the quick response is active.</p>
1905
2041
  * @public
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: QConnectClientConfig) => {
44
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
45
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
46
  credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
47
+ defaultSocketTimeout: number | undefined;
47
48
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
48
49
  maxAttempts: number | import("@smithy/types").Provider<number>;
49
50
  region: string | import("@smithy/types").Provider<string>;
@@ -293,6 +293,10 @@ export declare var QuickResponseSummary$: StaticStructureSchema;
293
293
  export declare var RankingData$: StaticStructureSchema;
294
294
  export declare var RecommendationData$: StaticStructureSchema;
295
295
  export declare var RecommendationTrigger$: StaticStructureSchema;
296
+ export declare var RegisterAssistantReplicaKeyRequest$: StaticStructureSchema;
297
+ export declare var RegisterAssistantReplicaKeyResponse$: StaticStructureSchema;
298
+ export declare var RegisterKnowledgeBaseReplicaKeyRequest$: StaticStructureSchema;
299
+ export declare var RegisterKnowledgeBaseReplicaKeyResponse$: StaticStructureSchema;
296
300
  export declare var RemoveAssistantAIAgentRequest$: StaticStructureSchema;
297
301
  export declare var RemoveAssistantAIAgentResponse$: StaticStructureSchema;
298
302
  export declare var RemoveKnowledgeBaseTemplateUriRequest$: StaticStructureSchema;
@@ -300,6 +304,7 @@ export declare var RemoveKnowledgeBaseTemplateUriResponse$: StaticStructureSchem
300
304
  export declare var RenderingConfiguration$: StaticStructureSchema;
301
305
  export declare var RenderMessageTemplateRequest$: StaticStructureSchema;
302
306
  export declare var RenderMessageTemplateResponse$: StaticStructureSchema;
307
+ export declare var ReplicaKmsKey$: StaticStructureSchema;
303
308
  export declare var ResultData$: StaticStructureSchema;
304
309
  export declare var RetrievalConfiguration$: StaticStructureSchema;
305
310
  export declare var RetrieveError$: StaticStructureSchema;
@@ -492,6 +497,8 @@ export declare var ListTagsForResource$: StaticOperationSchema;
492
497
  export declare var NotifyRecommendationsReceived$: StaticOperationSchema;
493
498
  export declare var PutFeedback$: StaticOperationSchema;
494
499
  export declare var QueryAssistant$: StaticOperationSchema;
500
+ export declare var RegisterAssistantReplicaKey$: StaticOperationSchema;
501
+ export declare var RegisterKnowledgeBaseReplicaKey$: StaticOperationSchema;
495
502
  export declare var RemoveAssistantAIAgent$: StaticOperationSchema;
496
503
  export declare var RemoveKnowledgeBaseTemplateUri$: StaticOperationSchema;
497
504
  export declare var RenderMessageTemplate$: StaticOperationSchema;
@@ -263,6 +263,14 @@ import {
263
263
  QueryAssistantCommandInput,
264
264
  QueryAssistantCommandOutput,
265
265
  } from "./commands/QueryAssistantCommand";
266
+ import {
267
+ RegisterAssistantReplicaKeyCommandInput,
268
+ RegisterAssistantReplicaKeyCommandOutput,
269
+ } from "./commands/RegisterAssistantReplicaKeyCommand";
270
+ import {
271
+ RegisterKnowledgeBaseReplicaKeyCommandInput,
272
+ RegisterKnowledgeBaseReplicaKeyCommandOutput,
273
+ } from "./commands/RegisterKnowledgeBaseReplicaKeyCommand";
266
274
  import {
267
275
  RemoveAssistantAIAgentCommandInput,
268
276
  RemoveAssistantAIAgentCommandOutput,
@@ -1267,6 +1275,32 @@ export interface QConnect {
1267
1275
  options: QConnectRequestOptions,
1268
1276
  cb: (err: any, data?: QueryAssistantCommandOutput) => void,
1269
1277
  ): void;
1278
+ registerAssistantReplicaKey(
1279
+ args: RegisterAssistantReplicaKeyCommandInput,
1280
+ options?: QConnectRequestOptions,
1281
+ ): Promise<RegisterAssistantReplicaKeyCommandOutput>;
1282
+ registerAssistantReplicaKey(
1283
+ args: RegisterAssistantReplicaKeyCommandInput,
1284
+ cb: (err: any, data?: RegisterAssistantReplicaKeyCommandOutput) => void,
1285
+ ): void;
1286
+ registerAssistantReplicaKey(
1287
+ args: RegisterAssistantReplicaKeyCommandInput,
1288
+ options: QConnectRequestOptions,
1289
+ cb: (err: any, data?: RegisterAssistantReplicaKeyCommandOutput) => void,
1290
+ ): void;
1291
+ registerKnowledgeBaseReplicaKey(
1292
+ args: RegisterKnowledgeBaseReplicaKeyCommandInput,
1293
+ options?: QConnectRequestOptions,
1294
+ ): Promise<RegisterKnowledgeBaseReplicaKeyCommandOutput>;
1295
+ registerKnowledgeBaseReplicaKey(
1296
+ args: RegisterKnowledgeBaseReplicaKeyCommandInput,
1297
+ cb: (err: any, data?: RegisterKnowledgeBaseReplicaKeyCommandOutput) => void,
1298
+ ): void;
1299
+ registerKnowledgeBaseReplicaKey(
1300
+ args: RegisterKnowledgeBaseReplicaKeyCommandInput,
1301
+ options: QConnectRequestOptions,
1302
+ cb: (err: any, data?: RegisterKnowledgeBaseReplicaKeyCommandOutput) => void,
1303
+ ): void;
1270
1304
  removeAssistantAIAgent(
1271
1305
  args: RemoveAssistantAIAgentCommandInput,
1272
1306
  options?: QConnectRequestOptions,
@@ -292,6 +292,14 @@ import {
292
292
  QueryAssistantCommandInput,
293
293
  QueryAssistantCommandOutput,
294
294
  } from "./commands/QueryAssistantCommand";
295
+ import {
296
+ RegisterAssistantReplicaKeyCommandInput,
297
+ RegisterAssistantReplicaKeyCommandOutput,
298
+ } from "./commands/RegisterAssistantReplicaKeyCommand";
299
+ import {
300
+ RegisterKnowledgeBaseReplicaKeyCommandInput,
301
+ RegisterKnowledgeBaseReplicaKeyCommandOutput,
302
+ } from "./commands/RegisterKnowledgeBaseReplicaKeyCommand";
295
303
  import {
296
304
  RemoveAssistantAIAgentCommandInput,
297
305
  RemoveAssistantAIAgentCommandOutput,
@@ -457,6 +465,8 @@ export type ServiceInputTypes =
457
465
  | NotifyRecommendationsReceivedCommandInput
458
466
  | PutFeedbackCommandInput
459
467
  | QueryAssistantCommandInput
468
+ | RegisterAssistantReplicaKeyCommandInput
469
+ | RegisterKnowledgeBaseReplicaKeyCommandInput
460
470
  | RemoveAssistantAIAgentCommandInput
461
471
  | RemoveKnowledgeBaseTemplateUriCommandInput
462
472
  | RenderMessageTemplateCommandInput
@@ -552,6 +562,8 @@ export type ServiceOutputTypes =
552
562
  | NotifyRecommendationsReceivedCommandOutput
553
563
  | PutFeedbackCommandOutput
554
564
  | QueryAssistantCommandOutput
565
+ | RegisterAssistantReplicaKeyCommandOutput
566
+ | RegisterKnowledgeBaseReplicaKeyCommandOutput
555
567
  | RemoveAssistantAIAgentCommandOutput
556
568
  | RemoveKnowledgeBaseTemplateUriCommandOutput
557
569
  | RenderMessageTemplateCommandOutput
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateMessageTemplateAttachmentRequest } from "../models/models_0";
3
- import { CreateMessageTemplateAttachmentResponse } from "../models/models_1";
2
+ import {
3
+ CreateMessageTemplateAttachmentRequest,
4
+ CreateMessageTemplateAttachmentResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface CreateMessageTemplateAttachmentCommandInput extends CreateMessageTemplateAttachmentRequest {}
6
8
  export interface CreateMessageTemplateAttachmentCommandOutput
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateMessageTemplateRequest, CreateMessageTemplateResponse } from "../models/models_0";
2
+ import { CreateMessageTemplateRequest } from "../models/models_0";
3
+ import { CreateMessageTemplateResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface CreateMessageTemplateCommandInput extends CreateMessageTemplateRequest {}
5
6
  export interface CreateMessageTemplateCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ RegisterAssistantReplicaKeyRequest,
4
+ RegisterAssistantReplicaKeyResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface RegisterAssistantReplicaKeyCommandInput extends RegisterAssistantReplicaKeyRequest {}
8
+ export interface RegisterAssistantReplicaKeyCommandOutput
9
+ extends RegisterAssistantReplicaKeyResponse, __MetadataBearer {}
10
+ declare const RegisterAssistantReplicaKeyCommand_base: {
11
+ new (
12
+ input: RegisterAssistantReplicaKeyCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ RegisterAssistantReplicaKeyCommandInput,
15
+ RegisterAssistantReplicaKeyCommandOutput,
16
+ import("..").QConnectClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: RegisterAssistantReplicaKeyCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ RegisterAssistantReplicaKeyCommandInput,
24
+ RegisterAssistantReplicaKeyCommandOutput,
25
+ import("..").QConnectClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class RegisterAssistantReplicaKeyCommand extends RegisterAssistantReplicaKeyCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: RegisterAssistantReplicaKeyRequest;
35
+ output: RegisterAssistantReplicaKeyResponse;
36
+ };
37
+ sdk: {
38
+ input: RegisterAssistantReplicaKeyCommandInput;
39
+ output: RegisterAssistantReplicaKeyCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ RegisterKnowledgeBaseReplicaKeyRequest,
4
+ RegisterKnowledgeBaseReplicaKeyResponse,
5
+ } from "../models/models_1";
6
+ export { __MetadataBearer };
7
+ export interface RegisterKnowledgeBaseReplicaKeyCommandInput extends RegisterKnowledgeBaseReplicaKeyRequest {}
8
+ export interface RegisterKnowledgeBaseReplicaKeyCommandOutput
9
+ extends RegisterKnowledgeBaseReplicaKeyResponse, __MetadataBearer {}
10
+ declare const RegisterKnowledgeBaseReplicaKeyCommand_base: {
11
+ new (
12
+ input: RegisterKnowledgeBaseReplicaKeyCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ RegisterKnowledgeBaseReplicaKeyCommandInput,
15
+ RegisterKnowledgeBaseReplicaKeyCommandOutput,
16
+ import("..").QConnectClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: RegisterKnowledgeBaseReplicaKeyCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ RegisterKnowledgeBaseReplicaKeyCommandInput,
24
+ RegisterKnowledgeBaseReplicaKeyCommandOutput,
25
+ import("..").QConnectClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class RegisterKnowledgeBaseReplicaKeyCommand extends RegisterKnowledgeBaseReplicaKeyCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: RegisterKnowledgeBaseReplicaKeyRequest;
35
+ output: RegisterKnowledgeBaseReplicaKeyResponse;
36
+ };
37
+ sdk: {
38
+ input: RegisterKnowledgeBaseReplicaKeyCommandInput;
39
+ output: RegisterKnowledgeBaseReplicaKeyCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -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";
@@ -162,6 +162,12 @@ export declare const AssistantType: {
162
162
  readonly AGENT: "AGENT";
163
163
  };
164
164
  export type AssistantType = (typeof AssistantType)[keyof typeof AssistantType];
165
+ export declare const AssistantGlobalResiliencyStatus: {
166
+ readonly DISABLED: "DISABLED";
167
+ readonly ENABLED: "ENABLED";
168
+ };
169
+ export type AssistantGlobalResiliencyStatus =
170
+ (typeof AssistantGlobalResiliencyStatus)[keyof typeof AssistantGlobalResiliencyStatus];
165
171
  export declare const AssistantCapabilityType: {
166
172
  readonly V1: "V1";
167
173
  readonly V2: "V2";
@@ -244,6 +250,12 @@ export declare const CrossRegionStatus: {
244
250
  readonly REGIONAL: "REGIONAL";
245
251
  };
246
252
  export type CrossRegionStatus = (typeof CrossRegionStatus)[keyof typeof CrossRegionStatus];
253
+ export declare const GlobalResiliencyStatus: {
254
+ readonly SUPPORTED: "SUPPORTED";
255
+ readonly UNSUPPORTED: "UNSUPPORTED";
256
+ };
257
+ export type GlobalResiliencyStatus =
258
+ (typeof GlobalResiliencyStatus)[keyof typeof GlobalResiliencyStatus];
247
259
  export declare const Relevance: {
248
260
  readonly HELPFUL: "HELPFUL";
249
261
  readonly NOT_HELPFUL: "NOT_HELPFUL";
@@ -325,6 +337,12 @@ export declare const MessageType: {
325
337
  readonly TOOL_USE_RESULT: "TOOL_USE_RESULT";
326
338
  };
327
339
  export type MessageType = (typeof MessageType)[keyof typeof MessageType];
340
+ export declare const UnprocessableContentReason: {
341
+ readonly AI_INFERENCE_MODEL_UNAVAILABLE: "AI_INFERENCE_MODEL_UNAVAILABLE";
342
+ readonly ORCHESTRATION_ERROR: "ORCHESTRATION_ERROR";
343
+ };
344
+ export type UnprocessableContentReason =
345
+ (typeof UnprocessableContentReason)[keyof typeof UnprocessableContentReason];
328
346
  export declare const MessageFilterType: {
329
347
  readonly ALL: "ALL";
330
348
  readonly TEXT_ONLY: "TEXT_ONLY";
@@ -1,4 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { UnprocessableContentReason } from "./enums";
2
3
  import { QConnectServiceException as __BaseException } from "./QConnectServiceException";
3
4
  export declare class AccessDeniedException extends __BaseException {
4
5
  static readonly shapeId: string;
@@ -61,6 +62,7 @@ export declare class UnprocessableContentException extends __BaseException {
61
62
  static readonly shapeId: string;
62
63
  readonly name: "UnprocessableContentException";
63
64
  readonly $fault: "client";
65
+ reason?: UnprocessableContentReason | undefined;
64
66
  constructor(opts: __ExceptionOptionType<UnprocessableContentException, __BaseException>);
65
67
  }
66
68
  export declare class PreconditionFailedException extends __BaseException {
@@ -6,19 +6,20 @@ import {
6
6
  AIPromptTemplateType,
7
7
  AIPromptType,
8
8
  AssistantCapabilityType,
9
+ AssistantGlobalResiliencyStatus,
9
10
  AssistantStatus,
10
11
  AssistantType,
11
12
  AssociationType,
12
13
  ChannelSubtype,
13
14
  ChunkingStrategy,
14
15
  ContentAssociationType,
15
- ContentDisposition,
16
16
  ContentStatus,
17
17
  ConversationStatus,
18
18
  ConversationStatusReason,
19
19
  CrossRegionStatus,
20
20
  FilterField,
21
21
  FilterOperator,
22
+ GlobalResiliencyStatus,
22
23
  GuardrailAction,
23
24
  GuardrailContentFilterType,
24
25
  GuardrailContextualGroundingFilterType,
@@ -519,6 +520,8 @@ export interface AIAgentData {
519
520
  type: AIAgentType | undefined;
520
521
  configuration: AIAgentConfiguration | undefined;
521
522
  modifiedTime?: Date | undefined;
523
+ lastModifiedTime?: Date | undefined;
524
+ lastModifiedRegion?: string | undefined;
522
525
  description?: string | undefined;
523
526
  visibilityStatus: VisibilityStatus | undefined;
524
527
  tags?: Record<string, string> | undefined;
@@ -571,6 +574,8 @@ export interface AIAgentSummary {
571
574
  type: AIAgentType | undefined;
572
575
  aiAgentArn: string | undefined;
573
576
  modifiedTime?: Date | undefined;
577
+ lastModifiedTime?: Date | undefined;
578
+ lastModifiedRegion?: string | undefined;
574
579
  visibilityStatus: VisibilityStatus | undefined;
575
580
  configuration?: AIAgentConfiguration | undefined;
576
581
  origin?: Origin | undefined;
@@ -693,6 +698,8 @@ export interface AIGuardrailData {
693
698
  tags?: Record<string, string> | undefined;
694
699
  status?: Status | undefined;
695
700
  modifiedTime?: Date | undefined;
701
+ lastModifiedTime?: Date | undefined;
702
+ lastModifiedRegion?: string | undefined;
696
703
  }
697
704
  export interface CreateAIGuardrailResponse {
698
705
  aiGuardrail?: AIGuardrailData | undefined;
@@ -738,6 +745,8 @@ export interface AIGuardrailSummary {
738
745
  aiGuardrailId: string | undefined;
739
746
  aiGuardrailArn: string | undefined;
740
747
  modifiedTime?: Date | undefined;
748
+ lastModifiedTime?: Date | undefined;
749
+ lastModifiedRegion?: string | undefined;
741
750
  visibilityStatus: VisibilityStatus | undefined;
742
751
  description?: string | undefined;
743
752
  status?: Status | undefined;
@@ -836,6 +845,8 @@ export interface AIPromptData {
836
845
  templateConfiguration: AIPromptTemplateConfiguration | undefined;
837
846
  inferenceConfiguration?: AIPromptInferenceConfiguration | undefined;
838
847
  modifiedTime?: Date | undefined;
848
+ lastModifiedTime?: Date | undefined;
849
+ lastModifiedRegion?: string | undefined;
839
850
  description?: string | undefined;
840
851
  visibilityStatus: VisibilityStatus | undefined;
841
852
  tags?: Record<string, string> | undefined;
@@ -888,6 +899,8 @@ export interface AIPromptSummary {
888
899
  type: AIPromptType | undefined;
889
900
  aiPromptArn: string | undefined;
890
901
  modifiedTime?: Date | undefined;
902
+ lastModifiedTime?: Date | undefined;
903
+ lastModifiedRegion?: string | undefined;
891
904
  templateType: AIPromptTemplateType | undefined;
892
905
  modelId: string | undefined;
893
906
  apiFormat: AIPromptAPIFormat | undefined;
@@ -1011,6 +1024,8 @@ export interface AssistantAssociationData {
1011
1024
  associationType: AssociationType | undefined;
1012
1025
  associationData: AssistantAssociationOutputData | undefined;
1013
1026
  tags?: Record<string, string> | undefined;
1027
+ lastModifiedTime?: Date | undefined;
1028
+ lastModifiedRegion?: string | undefined;
1014
1029
  }
1015
1030
  export interface CreateAssistantAssociationResponse {
1016
1031
  assistantAssociation?: AssistantAssociationData | undefined;
@@ -1040,13 +1055,19 @@ export interface AssistantAssociationSummary {
1040
1055
  associationType: AssociationType | undefined;
1041
1056
  associationData: AssistantAssociationOutputData | undefined;
1042
1057
  tags?: Record<string, string> | undefined;
1058
+ lastModifiedTime?: Date | undefined;
1059
+ lastModifiedRegion?: string | undefined;
1043
1060
  }
1044
1061
  export interface ListAssistantAssociationsResponse {
1045
1062
  assistantAssociationSummaries: AssistantAssociationSummary[] | undefined;
1046
1063
  nextToken?: string | undefined;
1047
1064
  }
1065
+ export interface ReplicaKmsKey {
1066
+ arn: string | undefined;
1067
+ }
1048
1068
  export interface ServerSideEncryptionConfiguration {
1049
1069
  kmsKeyId?: string | undefined;
1070
+ replicaKmsKeys?: ReplicaKmsKey[] | undefined;
1050
1071
  }
1051
1072
  export interface CreateAssistantRequest {
1052
1073
  clientToken?: string | undefined;
@@ -1079,6 +1100,9 @@ export interface AssistantData {
1079
1100
  capabilityConfiguration?: AssistantCapabilityConfiguration | undefined;
1080
1101
  aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>> | undefined;
1081
1102
  orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined;
1103
+ lastModifiedTime?: Date | undefined;
1104
+ lastModifiedRegion?: string | undefined;
1105
+ assistantGlobalResiliencyStatus?: AssistantGlobalResiliencyStatus | undefined;
1082
1106
  }
1083
1107
  export interface CreateAssistantResponse {
1084
1108
  assistant?: AssistantData | undefined;
@@ -1264,6 +1288,8 @@ export interface AssistantSummary {
1264
1288
  capabilityConfiguration?: AssistantCapabilityConfiguration | undefined;
1265
1289
  aiAgentConfiguration?: Partial<Record<AIAgentType, AIAgentConfigurationData>> | undefined;
1266
1290
  orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined;
1291
+ lastModifiedTime?: Date | undefined;
1292
+ lastModifiedRegion?: string | undefined;
1267
1293
  }
1268
1294
  export interface ListAssistantsResponse {
1269
1295
  assistantSummaries: AssistantSummary[] | undefined;
@@ -1285,6 +1311,7 @@ export interface ModelSummary {
1285
1311
  modelLifecycle?: ModelLifecycle | undefined;
1286
1312
  legacyTimestamp?: Date | undefined;
1287
1313
  endOfLifeTimestamp?: Date | undefined;
1314
+ globalResiliencyStatus?: GlobalResiliencyStatus | undefined;
1288
1315
  }
1289
1316
  export interface ListModelsResponse {
1290
1317
  modelSummaries: ModelSummary[] | undefined;
@@ -1412,6 +1439,14 @@ export interface QueryAssistantRequest {
1412
1439
  queryInputData?: QueryInputData | undefined;
1413
1440
  overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined;
1414
1441
  }
1442
+ export interface RegisterAssistantReplicaKeyRequest {
1443
+ assistantId: string | undefined;
1444
+ replicaKmsKey: ReplicaKmsKey | undefined;
1445
+ clientToken?: string | undefined;
1446
+ }
1447
+ export interface RegisterAssistantReplicaKeyResponse {
1448
+ assistant: AssistantData | undefined;
1449
+ }
1415
1450
  export interface RemoveAssistantAIAgentRequest {
1416
1451
  assistantId: string | undefined;
1417
1452
  aiAgentType: AIAgentType | undefined;
@@ -1877,6 +1912,9 @@ export interface ContentData {
1877
1912
  linkOutUri?: string | undefined;
1878
1913
  url: string | undefined;
1879
1914
  urlExpiry: Date | undefined;
1915
+ lastModifiedTime?: Date | undefined;
1916
+ lastModifiedRegion?: string | undefined;
1917
+ fileHash?: string | undefined;
1880
1918
  }
1881
1919
  export interface CreateContentResponse {
1882
1920
  content?: ContentData | undefined;
@@ -1909,6 +1947,9 @@ export interface ContentSummary {
1909
1947
  status: ContentStatus | undefined;
1910
1948
  metadata: Record<string, string> | undefined;
1911
1949
  tags?: Record<string, string> | undefined;
1950
+ lastModifiedTime?: Date | undefined;
1951
+ lastModifiedRegion?: string | undefined;
1952
+ fileHash?: string | undefined;
1912
1953
  }
1913
1954
  export interface GetContentSummaryResponse {
1914
1955
  contentSummary?: ContentSummary | undefined;
@@ -2031,6 +2072,8 @@ export interface KnowledgeBaseData {
2031
2072
  tags?: Record<string, string> | undefined;
2032
2073
  ingestionStatus?: SyncStatus | undefined;
2033
2074
  ingestionFailureReasons?: string[] | undefined;
2075
+ lastModifiedTime?: Date | undefined;
2076
+ lastModifiedRegion?: string | undefined;
2034
2077
  }
2035
2078
  export interface CreateKnowledgeBaseResponse {
2036
2079
  knowledgeBase?: KnowledgeBaseData | undefined;
@@ -2332,22 +2375,3 @@ export interface MessageTemplateData {
2332
2375
  messageTemplateContentSha256: string | undefined;
2333
2376
  tags?: Record<string, string> | undefined;
2334
2377
  }
2335
- export interface CreateMessageTemplateResponse {
2336
- messageTemplate?: MessageTemplateData | undefined;
2337
- }
2338
- export interface CreateMessageTemplateAttachmentRequest {
2339
- knowledgeBaseId: string | undefined;
2340
- messageTemplateId: string | undefined;
2341
- contentDisposition: ContentDisposition | undefined;
2342
- name: string | undefined;
2343
- body: string | undefined;
2344
- clientToken?: string | undefined;
2345
- }
2346
- export interface MessageTemplateAttachment {
2347
- contentDisposition: ContentDisposition | undefined;
2348
- name: string | undefined;
2349
- uploadedTime: Date | undefined;
2350
- url: string | undefined;
2351
- urlExpiry: Date | undefined;
2352
- attachmentId: string | undefined;
2353
- }