@aws-sdk/client-qconnect 3.1140.0 → 3.1142.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1139.0";
72
+ var version = "3.1141.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -716,6 +716,7 @@ const _PFR = "PutFeedbackRequest";
716
716
  const _PFRu = "PutFeedbackResponse";
717
717
  const _PMTC = "PushMessageTemplateContent";
718
718
  const _PP = "ParsingPrompt";
719
+ const _PRDD = "ProactiveRecommendationDataDetails";
719
720
  const _QA = "QueryAssistant";
720
721
  const _QAR = "QueryAssistantRequest";
721
722
  const _QARu = "QueryAssistantResponse";
@@ -751,6 +752,8 @@ const _RCe = "RetrievalConfiguration";
751
752
  const _RD = "RankingData";
752
753
  const _RDe = "RecommendationData";
753
754
  const _RDes = "ResultData";
755
+ const _RE = "RetrieveError";
756
+ const _REL = "RetrieveErrorList";
754
757
  const _RFC = "RetrievalFilterConfiguration";
755
758
  const _RFL = "RetrievalFilterList";
756
759
  const _RKBTU = "RemoveKnowledgeBaseTemplateUri";
@@ -1058,6 +1061,7 @@ const _cha = "channel";
1058
1061
  const _ci = "city";
1059
1062
  const _cit = "citations";
1060
1063
  const _co = "configuration";
1064
+ const _cod = "code";
1061
1065
  const _com = "completion";
1062
1066
  const _comp = "comparator";
1063
1067
  const _compo = "components";
@@ -1097,6 +1101,7 @@ const _eSC = "externalSourceConfiguration";
1097
1101
  const _eT = "endTimestamp";
1098
1102
  const _eTr = "errorType";
1099
1103
  const _em = "email";
1104
+ const _en = "enabled";
1100
1105
  const _eq = "equals";
1101
1106
  const _er = "errors";
1102
1107
  const _ex = "excerpt";
@@ -1278,6 +1283,7 @@ const _pNr = "providerName";
1278
1283
  const _pNro = "promptName";
1279
1284
  const _pP = "parsingPrompt";
1280
1285
  const _pPT = "parsingPromptText";
1286
+ const _pRD = "proactiveRecommendationData";
1281
1287
  const _pS = "parsingStrategy";
1282
1288
  const _pSI = "parentSpanId";
1283
1289
  const _pT = "partyType";
@@ -1586,8 +1592,8 @@ var AgentAttributes$ = [3, n0, _AA,
1586
1592
  ];
1587
1593
  var AIAgentConfigurationData$ = [3, n0, _AIACD,
1588
1594
  0,
1589
- [_aAI],
1590
- [0], 1
1595
+ [_aAI, _en],
1596
+ [0, 2], 1
1591
1597
  ];
1592
1598
  var AIAgentData$ = [3, n0, _AIAD,
1593
1599
  0,
@@ -2819,6 +2825,11 @@ var ParsingPrompt$ = [3, n0, _PP,
2819
2825
  [_pPT],
2820
2826
  [0], 1
2821
2827
  ];
2828
+ var ProactiveRecommendationDataDetails$ = [3, n0, _PRDD,
2829
+ 0,
2830
+ [_nMT],
2831
+ [0], 1
2832
+ ];
2822
2833
  var PushADMMessageTemplateContent$ = [3, n0, _PADMMTC,
2823
2834
  0,
2824
2835
  [_ti, _bo, _ac, _sou, _u, _iU, _iIU, _sIIU, _rCa],
@@ -2979,6 +2990,11 @@ var RetrievalConfiguration$ = [3, n0, _RCe,
2979
2990
  [_kS, _fi, _nOR, _oKBST],
2980
2991
  [() => KnowledgeSource$, () => RetrievalFilterConfiguration$, 1, 0], 1
2981
2992
  ];
2993
+ var RetrieveError$ = [3, n0, _RE,
2994
+ 0,
2995
+ [_aIs, _cod, _m],
2996
+ [0, 0, 0], 3
2997
+ ];
2982
2998
  var RetrieveRequest$ = [3, n0, _RR,
2983
2999
  0,
2984
3000
  [_aI, _rCet, _rQ],
@@ -2986,8 +3002,8 @@ var RetrieveRequest$ = [3, n0, _RR,
2986
3002
  ];
2987
3003
  var RetrieveResponse$ = [3, n0, _RRe,
2988
3004
  0,
2989
- [_resu],
2990
- [[() => RetrieveResultList, 0]], 1
3005
+ [_resu, _er],
3006
+ [[() => RetrieveResultList, 0], () => RetrieveErrorList], 1
2991
3007
  ];
2992
3008
  var RetrieveResult$ = [3, n0, _RRet,
2993
3009
  0,
@@ -3614,6 +3630,9 @@ var RecommendationTriggerList = [1, n0, _RTL,
3614
3630
  var RetrievalFilterList = [1, n0, _RFL,
3615
3631
  0, () => RetrievalFilterConfiguration$
3616
3632
  ];
3633
+ var RetrieveErrorList = [1, n0, _REL,
3634
+ 0, () => RetrieveError$
3635
+ ];
3617
3636
  var RetrieveResultList = [1, n0, _RRL,
3618
3637
  0, [() => RetrieveResult$,
3619
3638
  0]
@@ -3729,8 +3748,8 @@ var ContentFeedbackData$ = [4, n0, _CFD,
3729
3748
  ];
3730
3749
  var DataDetails$ = [4, n0, _DD,
3731
3750
  0,
3732
- [_cDo, _gD, _iDD, _sCD, _gCD, _eRCD, _eOCD, _eGACD, _cSCD, _sMD, _nD, _nCD],
3733
- [[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], [() => CaseSummarizationChunkDataDetails$, 0], [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0]]
3751
+ [_cDo, _gD, _iDD, _sCD, _gCD, _eRCD, _eOCD, _eGACD, _cSCD, _sMD, _nD, _nCD, _pRD],
3752
+ [[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], [() => CaseSummarizationChunkDataDetails$, 0], [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0], () => ProactiveRecommendationDataDetails$]
3734
3753
  ];
3735
3754
  var DataReference$ = [4, n0, _DR,
3736
3755
  0,
@@ -4886,6 +4905,7 @@ const RecommendationType = {
4886
4905
  INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
4887
4906
  KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
4888
4907
  NOTES_CHUNK: "NOTES_CHUNK",
4908
+ PROACTIVE_RECOMMENDATION: "PROACTIVE_RECOMMENDATION",
4889
4909
  SUGGESTED_MESSAGE: "SUGGESTED_MESSAGE",
4890
4910
  };
4891
4911
  const RelevanceLevel = {
@@ -4958,6 +4978,14 @@ const QueryResultType = {
4958
4978
  NOTES: "NOTES",
4959
4979
  NOTES_CHUNK: "NOTES_CHUNK",
4960
4980
  };
4981
+ const RetrieveErrorCode = {
4982
+ ACCESS_DENIED: "ACCESS_DENIED",
4983
+ DEPENDENCY_FAILED: "DEPENDENCY_FAILED",
4984
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
4985
+ RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
4986
+ THROTTLED: "THROTTLED",
4987
+ VALIDATION_ERROR: "VALIDATION_ERROR",
4988
+ };
4961
4989
  const FilterField = {
4962
4990
  NAME: "NAME",
4963
4991
  };
@@ -5610,6 +5638,7 @@ exports.Participant = Participant;
5610
5638
  exports.PreconditionFailedException = PreconditionFailedException;
5611
5639
  exports.PreconditionFailedException$ = PreconditionFailedException$;
5612
5640
  exports.Priority = Priority;
5641
+ exports.ProactiveRecommendationDataDetails$ = ProactiveRecommendationDataDetails$;
5613
5642
  exports.PushADMMessageTemplateContent$ = PushADMMessageTemplateContent$;
5614
5643
  exports.PushAPNSMessageTemplateContent$ = PushAPNSMessageTemplateContent$;
5615
5644
  exports.PushBaiduMessageTemplateContent$ = PushBaiduMessageTemplateContent$;
@@ -5681,6 +5710,8 @@ exports.RetrievalConfiguration$ = RetrievalConfiguration$;
5681
5710
  exports.RetrievalFilterConfiguration$ = RetrievalFilterConfiguration$;
5682
5711
  exports.Retrieve$ = Retrieve$;
5683
5712
  exports.RetrieveCommand = RetrieveCommand;
5713
+ exports.RetrieveError$ = RetrieveError$;
5714
+ exports.RetrieveErrorCode = RetrieveErrorCode;
5684
5715
  exports.RetrieveRequest$ = RetrieveRequest$;
5685
5716
  exports.RetrieveResponse$ = RetrieveResponse$;
5686
5717
  exports.RetrieveResult$ = RetrieveResult$;
@@ -161,6 +161,7 @@ export const RecommendationType = {
161
161
  INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK",
162
162
  KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT",
163
163
  NOTES_CHUNK: "NOTES_CHUNK",
164
+ PROACTIVE_RECOMMENDATION: "PROACTIVE_RECOMMENDATION",
164
165
  SUGGESTED_MESSAGE: "SUGGESTED_MESSAGE",
165
166
  };
166
167
  export const RelevanceLevel = {
@@ -233,6 +234,14 @@ export const QueryResultType = {
233
234
  NOTES: "NOTES",
234
235
  NOTES_CHUNK: "NOTES_CHUNK",
235
236
  };
237
+ export const RetrieveErrorCode = {
238
+ ACCESS_DENIED: "ACCESS_DENIED",
239
+ DEPENDENCY_FAILED: "DEPENDENCY_FAILED",
240
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
241
+ RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
242
+ THROTTLED: "THROTTLED",
243
+ VALIDATION_ERROR: "VALIDATION_ERROR",
244
+ };
236
245
  export const FilterField = {
237
246
  NAME: "NAME",
238
247
  };
@@ -425,6 +425,7 @@ const _PFR = "PutFeedbackRequest";
425
425
  const _PFRu = "PutFeedbackResponse";
426
426
  const _PMTC = "PushMessageTemplateContent";
427
427
  const _PP = "ParsingPrompt";
428
+ const _PRDD = "ProactiveRecommendationDataDetails";
428
429
  const _QA = "QueryAssistant";
429
430
  const _QAR = "QueryAssistantRequest";
430
431
  const _QARu = "QueryAssistantResponse";
@@ -460,6 +461,8 @@ const _RCe = "RetrievalConfiguration";
460
461
  const _RD = "RankingData";
461
462
  const _RDe = "RecommendationData";
462
463
  const _RDes = "ResultData";
464
+ const _RE = "RetrieveError";
465
+ const _REL = "RetrieveErrorList";
463
466
  const _RFC = "RetrievalFilterConfiguration";
464
467
  const _RFL = "RetrievalFilterList";
465
468
  const _RKBTU = "RemoveKnowledgeBaseTemplateUri";
@@ -767,6 +770,7 @@ const _cha = "channel";
767
770
  const _ci = "city";
768
771
  const _cit = "citations";
769
772
  const _co = "configuration";
773
+ const _cod = "code";
770
774
  const _com = "completion";
771
775
  const _comp = "comparator";
772
776
  const _compo = "components";
@@ -806,6 +810,7 @@ const _eSC = "externalSourceConfiguration";
806
810
  const _eT = "endTimestamp";
807
811
  const _eTr = "errorType";
808
812
  const _em = "email";
813
+ const _en = "enabled";
809
814
  const _eq = "equals";
810
815
  const _er = "errors";
811
816
  const _ex = "excerpt";
@@ -987,6 +992,7 @@ const _pNr = "providerName";
987
992
  const _pNro = "promptName";
988
993
  const _pP = "parsingPrompt";
989
994
  const _pPT = "parsingPromptText";
995
+ const _pRD = "proactiveRecommendationData";
990
996
  const _pS = "parsingStrategy";
991
997
  const _pSI = "parentSpanId";
992
998
  const _pT = "partyType";
@@ -1298,8 +1304,8 @@ export var AgentAttributes$ = [3, n0, _AA,
1298
1304
  ];
1299
1305
  export var AIAgentConfigurationData$ = [3, n0, _AIACD,
1300
1306
  0,
1301
- [_aAI],
1302
- [0], 1
1307
+ [_aAI, _en],
1308
+ [0, 2], 1
1303
1309
  ];
1304
1310
  export var AIAgentData$ = [3, n0, _AIAD,
1305
1311
  0,
@@ -2531,6 +2537,11 @@ export var ParsingPrompt$ = [3, n0, _PP,
2531
2537
  [_pPT],
2532
2538
  [0], 1
2533
2539
  ];
2540
+ export var ProactiveRecommendationDataDetails$ = [3, n0, _PRDD,
2541
+ 0,
2542
+ [_nMT],
2543
+ [0], 1
2544
+ ];
2534
2545
  export var PushADMMessageTemplateContent$ = [3, n0, _PADMMTC,
2535
2546
  0,
2536
2547
  [_ti, _bo, _ac, _sou, _u, _iU, _iIU, _sIIU, _rCa],
@@ -2691,6 +2702,11 @@ export var RetrievalConfiguration$ = [3, n0, _RCe,
2691
2702
  [_kS, _fi, _nOR, _oKBST],
2692
2703
  [() => KnowledgeSource$, () => RetrievalFilterConfiguration$, 1, 0], 1
2693
2704
  ];
2705
+ export var RetrieveError$ = [3, n0, _RE,
2706
+ 0,
2707
+ [_aIs, _cod, _m],
2708
+ [0, 0, 0], 3
2709
+ ];
2694
2710
  export var RetrieveRequest$ = [3, n0, _RR,
2695
2711
  0,
2696
2712
  [_aI, _rCet, _rQ],
@@ -2698,8 +2714,8 @@ export var RetrieveRequest$ = [3, n0, _RR,
2698
2714
  ];
2699
2715
  export var RetrieveResponse$ = [3, n0, _RRe,
2700
2716
  0,
2701
- [_resu],
2702
- [[() => RetrieveResultList, 0]], 1
2717
+ [_resu, _er],
2718
+ [[() => RetrieveResultList, 0], () => RetrieveErrorList], 1
2703
2719
  ];
2704
2720
  export var RetrieveResult$ = [3, n0, _RRet,
2705
2721
  0,
@@ -3337,6 +3353,9 @@ var RecommendationTriggerList = [1, n0, _RTL,
3337
3353
  var RetrievalFilterList = [1, n0, _RFL,
3338
3354
  0, () => RetrievalFilterConfiguration$
3339
3355
  ];
3356
+ var RetrieveErrorList = [1, n0, _REL,
3357
+ 0, () => RetrieveError$
3358
+ ];
3340
3359
  var RetrieveResultList = [1, n0, _RRL,
3341
3360
  0, [() => RetrieveResult$,
3342
3361
  0]
@@ -3460,8 +3479,8 @@ export var ContentFeedbackData$ = [4, n0, _CFD,
3460
3479
  ];
3461
3480
  export var DataDetails$ = [4, n0, _DD,
3462
3481
  0,
3463
- [_cDo, _gD, _iDD, _sCD, _gCD, _eRCD, _eOCD, _eGACD, _cSCD, _sMD, _nD, _nCD],
3464
- [[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], [() => CaseSummarizationChunkDataDetails$, 0], [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0]]
3482
+ [_cDo, _gD, _iDD, _sCD, _gCD, _eRCD, _eOCD, _eGACD, _cSCD, _sMD, _nD, _nCD, _pRD],
3483
+ [[() => ContentDataDetails$, 0], [() => GenerativeDataDetails$, 0], [() => IntentDetectedDataDetails$, 0], [() => SourceContentDataDetails$, 0], [() => GenerativeChunkDataDetails$, 0], [() => EmailResponseChunkDataDetails$, 0], [() => EmailOverviewChunkDataDetails$, 0], [() => EmailGenerativeAnswerChunkDataDetails$, 0], [() => CaseSummarizationChunkDataDetails$, 0], [() => SuggestedMessageDataDetails$, 0], [() => NotesDataDetails$, 0], [() => NotesChunkDataDetails$, 0], () => ProactiveRecommendationDataDetails$]
3465
3484
  ];
3466
3485
  export var DataReference$ = [4, n0, _DR,
3467
3486
  0,
@@ -70,6 +70,7 @@ declare const CreateAssistantCommand_base: {
70
70
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
71
71
  * // "<keys>": { // AIAgentConfigurationData
72
72
  * // aiAgentId: "STRING_VALUE", // required
73
+ * // enabled: true || false,
73
74
  * // },
74
75
  * // },
75
76
  * // orchestratorConfigurationList: [ // OrchestratorConfigurationList
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateMessageTemplateAttachmentRequest, CreateMessageTemplateAttachmentResponse } from "../models/models_0";
2
+ import type { CreateMessageTemplateAttachmentRequest } from "../models/models_0";
3
+ import type { CreateMessageTemplateAttachmentResponse } from "../models/models_1";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateMessageTemplateVersionRequest } from "../models/models_0";
3
- import type { CreateMessageTemplateVersionResponse } from "../models/models_1";
2
+ import type { CreateMessageTemplateVersionRequest, CreateMessageTemplateVersionResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -64,6 +64,7 @@ declare const CreateSessionCommand_base: {
64
64
  * aiAgentConfiguration: { // AIAgentConfigurationMap
65
65
  * "<keys>": { // AIAgentConfigurationData
66
66
  * aiAgentId: "STRING_VALUE", // required
67
+ * enabled: true || false,
67
68
  * },
68
69
  * },
69
70
  * contactArn: "STRING_VALUE",
@@ -112,6 +113,7 @@ declare const CreateSessionCommand_base: {
112
113
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
113
114
  * // "<keys>": { // AIAgentConfigurationData
114
115
  * // aiAgentId: "STRING_VALUE", // required
116
+ * // enabled: true || false,
115
117
  * // },
116
118
  * // },
117
119
  * // origin: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const GetAssistantCommand_base: {
61
61
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
62
62
  * // "<keys>": { // AIAgentConfigurationData
63
63
  * // aiAgentId: "STRING_VALUE", // required
64
+ * // enabled: true || false,
64
65
  * // },
65
66
  * // },
66
67
  * // orchestratorConfigurationList: [ // OrchestratorConfigurationList
@@ -220,6 +220,9 @@ declare const GetRecommendationsCommand_base: {
220
220
  * // completion: "STRING_VALUE",
221
221
  * // nextChunkToken: "STRING_VALUE",
222
222
  * // },
223
+ * // proactiveRecommendationData: { // ProactiveRecommendationDataDetails
224
+ * // nextMessageToken: "STRING_VALUE", // required
225
+ * // },
223
226
  * // },
224
227
  * // },
225
228
  * // ],
@@ -280,6 +283,9 @@ declare const GetRecommendationsCommand_base: {
280
283
  * // completion: "STRING_VALUE",
281
284
  * // nextChunkToken: "STRING_VALUE",
282
285
  * // },
286
+ * // proactiveRecommendationData: {
287
+ * // nextMessageToken: "STRING_VALUE", // required
288
+ * // },
283
289
  * // },
284
290
  * // },
285
291
  * // },
@@ -74,6 +74,7 @@ declare const GetSessionCommand_base: {
74
74
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
75
75
  * // "<keys>": { // AIAgentConfigurationData
76
76
  * // aiAgentId: "STRING_VALUE", // required
77
+ * // enabled: true || false,
77
78
  * // },
78
79
  * // },
79
80
  * // origin: "STRING_VALUE",
@@ -63,6 +63,7 @@ declare const ListAssistantsCommand_base: {
63
63
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
64
64
  * // "<keys>": { // AIAgentConfigurationData
65
65
  * // aiAgentId: "STRING_VALUE", // required
66
+ * // enabled: true || false,
66
67
  * // },
67
68
  * // },
68
69
  * // orchestratorConfigurationList: [ // OrchestratorConfigurationList
@@ -238,6 +238,9 @@ declare const QueryAssistantCommand_base: {
238
238
  * // completion: "STRING_VALUE",
239
239
  * // nextChunkToken: "STRING_VALUE",
240
240
  * // },
241
+ * // proactiveRecommendationData: { // ProactiveRecommendationDataDetails
242
+ * // nextMessageToken: "STRING_VALUE", // required
243
+ * // },
241
244
  * // },
242
245
  * // },
243
246
  * // ],
@@ -298,6 +301,9 @@ declare const QueryAssistantCommand_base: {
298
301
  * // completion: "STRING_VALUE",
299
302
  * // nextChunkToken: "STRING_VALUE",
300
303
  * // },
304
+ * // proactiveRecommendationData: {
305
+ * // nextMessageToken: "STRING_VALUE", // required
306
+ * // },
301
307
  * // },
302
308
  * // },
303
309
  * // type: "STRING_VALUE",
@@ -110,6 +110,13 @@ declare const RetrieveCommand_base: {
110
110
  * // contentText: "STRING_VALUE", // required
111
111
  * // },
112
112
  * // ],
113
+ * // errors: [ // RetrieveErrorList
114
+ * // { // RetrieveError
115
+ * // associationId: "STRING_VALUE", // required
116
+ * // code: "STRING_VALUE", // required
117
+ * // message: "STRING_VALUE", // required
118
+ * // },
119
+ * // ],
113
120
  * // };
114
121
  *
115
122
  * ```
@@ -38,6 +38,7 @@ declare const UpdateAssistantAIAgentCommand_base: {
38
38
  * aiAgentType: "STRING_VALUE", // required
39
39
  * configuration: { // AIAgentConfigurationData
40
40
  * aiAgentId: "STRING_VALUE", // required
41
+ * enabled: true || false,
41
42
  * },
42
43
  * orchestratorUseCase: "STRING_VALUE",
43
44
  * };
@@ -66,6 +67,7 @@ declare const UpdateAssistantAIAgentCommand_base: {
66
67
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
67
68
  * // "<keys>": { // AIAgentConfigurationData
68
69
  * // aiAgentId: "STRING_VALUE", // required
70
+ * // enabled: true || false,
69
71
  * // },
70
72
  * // },
71
73
  * // orchestratorConfigurationList: [ // OrchestratorConfigurationList
@@ -60,6 +60,7 @@ declare const UpdateSessionCommand_base: {
60
60
  * aiAgentConfiguration: { // AIAgentConfigurationMap
61
61
  * "<keys>": { // AIAgentConfigurationData
62
62
  * aiAgentId: "STRING_VALUE", // required
63
+ * enabled: true || false,
63
64
  * },
64
65
  * },
65
66
  * orchestratorConfigurationList: [ // OrchestratorConfigurationList
@@ -107,6 +108,7 @@ declare const UpdateSessionCommand_base: {
107
108
  * // aiAgentConfiguration: { // AIAgentConfigurationMap
108
109
  * // "<keys>": { // AIAgentConfigurationData
109
110
  * // aiAgentId: "STRING_VALUE", // required
111
+ * // enabled: true || false,
110
112
  * // },
111
113
  * // },
112
114
  * // origin: "STRING_VALUE",
@@ -341,6 +341,7 @@ export declare const RecommendationType: {
341
341
  readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
342
342
  readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
343
343
  readonly NOTES_CHUNK: "NOTES_CHUNK";
344
+ readonly PROACTIVE_RECOMMENDATION: "PROACTIVE_RECOMMENDATION";
344
345
  readonly SUGGESTED_MESSAGE: "SUGGESTED_MESSAGE";
345
346
  };
346
347
  /**
@@ -513,6 +514,22 @@ export declare const QueryResultType: {
513
514
  * @public
514
515
  */
515
516
  export type QueryResultType = (typeof QueryResultType)[keyof typeof QueryResultType];
517
+ /**
518
+ * @public
519
+ * @enum
520
+ */
521
+ export declare const RetrieveErrorCode: {
522
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
523
+ readonly DEPENDENCY_FAILED: "DEPENDENCY_FAILED";
524
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
525
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
526
+ readonly THROTTLED: "THROTTLED";
527
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
528
+ };
529
+ /**
530
+ * @public
531
+ */
532
+ export type RetrieveErrorCode = (typeof RetrieveErrorCode)[keyof typeof RetrieveErrorCode];
516
533
  /**
517
534
  * @public
518
535
  * @enum
@@ -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, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
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";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1507,6 +1507,11 @@ export interface AIAgentConfigurationData {
1507
1507
  * @public
1508
1508
  */
1509
1509
  aiAgentId: string | undefined;
1510
+ /**
1511
+ * <p>Indicates whether the AI Agent configured for this AI Agent type is enabled. When this value is omitted or set to true, the configured AI Agent runs; when set to false, the AI Agent ID is retained but no AI Agent runs for the AI Agent type. Setting this value to false is currently supported only for the <code>ANSWER_RECOMMENDATION</code> AI Agent type; other requests to set it to false are rejected with a validation error.</p>
1512
+ * @public
1513
+ */
1514
+ enabled?: boolean | undefined;
1510
1515
  }
1511
1516
  /**
1512
1517
  * <p>Contains filter strengths for harmful content. AI Guardrail's support the following content filters to detect and filter harmful user inputs and FM-generated outputs.</p> <ul> <li> <p> <b>Hate</b>: Describes input prompts and model responses that discriminate, criticize, insult, denounce, or dehumanize a person or group on the basis of an identity (such as race, ethnicity, gender, religion, sexual orientation, ability, and national origin).</p> </li> <li> <p> <b>Insults</b>: Describes input prompts and model responses that includes demeaning, humiliating, mocking, insulting, or belittling language. This type of language is also labeled as bullying.</p> </li> <li> <p> <b>Sexual</b>: Describes input prompts and model responses that indicates sexual interest, activity, or arousal using direct or indirect references to body parts, physical traits, or sex.</p> </li> <li> <p> <b>Violence</b>: Describes input prompts and model responses that includes glorification of, or threats to inflict physical pain, hurt, or injury toward a person, group, or thing.</p> </li> </ul> <p>Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as <i>Hate</i> with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as <i>Hate</i> with HIGH confidence, <i> Insults</i> with LOW confidence, <i>Sexual</i> with NONE confidence, and <i>Violence</i> with MEDIUM confidence.</p>
@@ -3564,6 +3569,17 @@ export interface NotesDataDetails {
3564
3569
  */
3565
3570
  completion?: string | undefined;
3566
3571
  }
3572
+ /**
3573
+ * <p>Details about a proactive recommendation, including the token used to retrieve its chunked response with <code>GetNextMessage</code>.</p>
3574
+ * @public
3575
+ */
3576
+ export interface ProactiveRecommendationDataDetails {
3577
+ /**
3578
+ * <p>The token used to retrieve the next message in the proactive recommendation. Pass this token in a <code>GetNextMessage</code> request to continue receiving the chunked proactive response. Each response returns the next token to use until the chunked response is complete.</p>
3579
+ * @public
3580
+ */
3581
+ nextMessageToken: string | undefined;
3582
+ }
3567
3583
  /**
3568
3584
  * <p>Contains information about where the text with a citation begins and ends in the generated output.</p>
3569
3585
  * @public
@@ -4447,6 +4463,27 @@ export declare namespace KnowledgeSource {
4447
4463
  _: (name: string, value: any) => T;
4448
4464
  }
4449
4465
  }
4466
+ /**
4467
+ * <p>An error returned for a single assistant association whose knowledge base retrieval failed during a <code>Retrieve</code> operation. The overall operation still succeeds and returns the results from the associations that were queried successfully.</p>
4468
+ * @public
4469
+ */
4470
+ export interface RetrieveError {
4471
+ /**
4472
+ * <p>The identifier of the assistant association whose knowledge base retrieval failed.</p>
4473
+ * @public
4474
+ */
4475
+ associationId: string | undefined;
4476
+ /**
4477
+ * <p>The error code that categorizes the retrieval failure for the assistant association.</p>
4478
+ * @public
4479
+ */
4480
+ code: RetrieveErrorCode | undefined;
4481
+ /**
4482
+ * <p>A human-readable description of the retrieval failure for the assistant association.</p>
4483
+ * @public
4484
+ */
4485
+ message: string | undefined;
4486
+ }
4450
4487
  /**
4451
4488
  * <p>A single result from a content retrieval operation.</p>
4452
4489
  * @public
@@ -4482,6 +4519,11 @@ export interface RetrieveResponse {
4482
4519
  * @public
4483
4520
  */
4484
4521
  results: RetrieveResult[] | undefined;
4522
+ /**
4523
+ * <p>The per-association errors returned when one or more knowledge base associations fail during a <code>Retrieve</code> operation that spans multiple assistant associations. The overall operation still succeeds and returns the results from the associations that were queried successfully. This list contains one entry for each association that failed, up to a maximum of five.</p>
4524
+ * @public
4525
+ */
4526
+ errors?: RetrieveError[] | undefined;
4485
4527
  }
4486
4528
  /**
4487
4529
  * <p>A search filter.</p>
@@ -7774,33 +7816,3 @@ export interface MessageTemplateAttachment {
7774
7816
  */
7775
7817
  attachmentId: string | undefined;
7776
7818
  }
7777
- /**
7778
- * @public
7779
- */
7780
- export interface CreateMessageTemplateAttachmentResponse {
7781
- /**
7782
- * <p>The message template attachment.</p>
7783
- * @public
7784
- */
7785
- attachment?: MessageTemplateAttachment | undefined;
7786
- }
7787
- /**
7788
- * @public
7789
- */
7790
- export interface CreateMessageTemplateVersionRequest {
7791
- /**
7792
- * <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
7793
- * @public
7794
- */
7795
- knowledgeBaseId: string | undefined;
7796
- /**
7797
- * <p>The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.</p>
7798
- * @public
7799
- */
7800
- messageTemplateId: string | undefined;
7801
- /**
7802
- * <p>The checksum value of the message template content that is referenced by the <code>$LATEST</code> qualifier. It can be returned in <code>MessageTemplateData</code> or <code>ExtendedMessageTemplateData</code>. It’s calculated by content, language, <code>defaultAttributes</code> and <code>Attachments</code> of the message template. If not supplied, the message template version will be created based on the message template content that is referenced by the <code>$LATEST</code> qualifier by default.</p>
7803
- * @public
7804
- */
7805
- messageTemplateContentSha256?: string | undefined;
7806
- }
@@ -1,5 +1,35 @@
1
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, RankingData, RecommendationTrigger, RenderingConfiguration, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanGuardrailAssessment, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
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";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface CreateMessageTemplateAttachmentResponse {
7
+ /**
8
+ * <p>The message template attachment.</p>
9
+ * @public
10
+ */
11
+ attachment?: MessageTemplateAttachment | undefined;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface CreateMessageTemplateVersionRequest {
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 checksum value of the message template content that is referenced by the <code>$LATEST</code> qualifier. It can be returned in <code>MessageTemplateData</code> or <code>ExtendedMessageTemplateData</code>. It’s calculated by content, language, <code>defaultAttributes</code> and <code>Attachments</code> of the message template. If not supplied, the message template version will be created based on the message template content that is referenced by the <code>$LATEST</code> qualifier by default.</p>
29
+ * @public
30
+ */
31
+ messageTemplateContentSha256?: string | undefined;
32
+ }
3
33
  /**
4
34
  * <p>The extended data of a message template.</p>
5
35
  * @public
@@ -2592,7 +2622,7 @@ export interface RetrieveRequest {
2592
2622
  * <p>Details about the data.</p>
2593
2623
  * @public
2594
2624
  */
2595
- export type DataDetails = DataDetails.CaseSummarizationChunkDataMember | DataDetails.ContentDataMember | DataDetails.EmailGenerativeAnswerChunkDataMember | DataDetails.EmailOverviewChunkDataMember | DataDetails.EmailResponseChunkDataMember | DataDetails.GenerativeChunkDataMember | DataDetails.GenerativeDataMember | DataDetails.IntentDetectedDataMember | DataDetails.NotesChunkDataMember | DataDetails.NotesDataMember | DataDetails.SourceContentDataMember | DataDetails.SuggestedMessageDataMember | DataDetails.$UnknownMember;
2625
+ export type DataDetails = DataDetails.CaseSummarizationChunkDataMember | DataDetails.ContentDataMember | DataDetails.EmailGenerativeAnswerChunkDataMember | DataDetails.EmailOverviewChunkDataMember | DataDetails.EmailResponseChunkDataMember | DataDetails.GenerativeChunkDataMember | DataDetails.GenerativeDataMember | DataDetails.IntentDetectedDataMember | DataDetails.NotesChunkDataMember | DataDetails.NotesDataMember | DataDetails.ProactiveRecommendationDataMember | DataDetails.SourceContentDataMember | DataDetails.SuggestedMessageDataMember | DataDetails.$UnknownMember;
2596
2626
  /**
2597
2627
  * @public
2598
2628
  */
@@ -2614,6 +2644,7 @@ export declare namespace DataDetails {
2614
2644
  suggestedMessageData?: never;
2615
2645
  notesData?: never;
2616
2646
  notesChunkData?: never;
2647
+ proactiveRecommendationData?: never;
2617
2648
  $unknown?: never;
2618
2649
  }
2619
2650
  /**
@@ -2633,6 +2664,7 @@ export declare namespace DataDetails {
2633
2664
  suggestedMessageData?: never;
2634
2665
  notesData?: never;
2635
2666
  notesChunkData?: never;
2667
+ proactiveRecommendationData?: never;
2636
2668
  $unknown?: never;
2637
2669
  }
2638
2670
  /**
@@ -2652,6 +2684,7 @@ export declare namespace DataDetails {
2652
2684
  suggestedMessageData?: never;
2653
2685
  notesData?: never;
2654
2686
  notesChunkData?: never;
2687
+ proactiveRecommendationData?: never;
2655
2688
  $unknown?: never;
2656
2689
  }
2657
2690
  /**
@@ -2671,6 +2704,7 @@ export declare namespace DataDetails {
2671
2704
  suggestedMessageData?: never;
2672
2705
  notesData?: never;
2673
2706
  notesChunkData?: never;
2707
+ proactiveRecommendationData?: never;
2674
2708
  $unknown?: never;
2675
2709
  }
2676
2710
  /**
@@ -2690,6 +2724,7 @@ export declare namespace DataDetails {
2690
2724
  suggestedMessageData?: never;
2691
2725
  notesData?: never;
2692
2726
  notesChunkData?: never;
2727
+ proactiveRecommendationData?: never;
2693
2728
  $unknown?: never;
2694
2729
  }
2695
2730
  /**
@@ -2709,6 +2744,7 @@ export declare namespace DataDetails {
2709
2744
  suggestedMessageData?: never;
2710
2745
  notesData?: never;
2711
2746
  notesChunkData?: never;
2747
+ proactiveRecommendationData?: never;
2712
2748
  $unknown?: never;
2713
2749
  }
2714
2750
  /**
@@ -2728,6 +2764,7 @@ export declare namespace DataDetails {
2728
2764
  suggestedMessageData?: never;
2729
2765
  notesData?: never;
2730
2766
  notesChunkData?: never;
2767
+ proactiveRecommendationData?: never;
2731
2768
  $unknown?: never;
2732
2769
  }
2733
2770
  /**
@@ -2747,6 +2784,7 @@ export declare namespace DataDetails {
2747
2784
  suggestedMessageData?: never;
2748
2785
  notesData?: never;
2749
2786
  notesChunkData?: never;
2787
+ proactiveRecommendationData?: never;
2750
2788
  $unknown?: never;
2751
2789
  }
2752
2790
  /**
@@ -2766,6 +2804,7 @@ export declare namespace DataDetails {
2766
2804
  suggestedMessageData?: never;
2767
2805
  notesData?: never;
2768
2806
  notesChunkData?: never;
2807
+ proactiveRecommendationData?: never;
2769
2808
  $unknown?: never;
2770
2809
  }
2771
2810
  /**
@@ -2785,6 +2824,7 @@ export declare namespace DataDetails {
2785
2824
  suggestedMessageData: SuggestedMessageDataDetails;
2786
2825
  notesData?: never;
2787
2826
  notesChunkData?: never;
2827
+ proactiveRecommendationData?: never;
2788
2828
  $unknown?: never;
2789
2829
  }
2790
2830
  /**
@@ -2804,6 +2844,7 @@ export declare namespace DataDetails {
2804
2844
  suggestedMessageData?: never;
2805
2845
  notesData: NotesDataDetails;
2806
2846
  notesChunkData?: never;
2847
+ proactiveRecommendationData?: never;
2807
2848
  $unknown?: never;
2808
2849
  }
2809
2850
  /**
@@ -2823,6 +2864,27 @@ export declare namespace DataDetails {
2823
2864
  suggestedMessageData?: never;
2824
2865
  notesData?: never;
2825
2866
  notesChunkData: NotesChunkDataDetails;
2867
+ proactiveRecommendationData?: never;
2868
+ $unknown?: never;
2869
+ }
2870
+ /**
2871
+ * <p>Details about a proactive recommendation, including the token used to retrieve its chunked response with <code>GetNextMessage</code>.</p>
2872
+ * @public
2873
+ */
2874
+ interface ProactiveRecommendationDataMember {
2875
+ contentData?: never;
2876
+ generativeData?: never;
2877
+ intentDetectedData?: never;
2878
+ sourceContentData?: never;
2879
+ generativeChunkData?: never;
2880
+ emailResponseChunkData?: never;
2881
+ emailOverviewChunkData?: never;
2882
+ emailGenerativeAnswerChunkData?: never;
2883
+ caseSummarizationChunkData?: never;
2884
+ suggestedMessageData?: never;
2885
+ notesData?: never;
2886
+ notesChunkData?: never;
2887
+ proactiveRecommendationData: ProactiveRecommendationDataDetails;
2826
2888
  $unknown?: never;
2827
2889
  }
2828
2890
  /**
@@ -2841,6 +2903,7 @@ export declare namespace DataDetails {
2841
2903
  suggestedMessageData?: never;
2842
2904
  notesData?: never;
2843
2905
  notesChunkData?: never;
2906
+ proactiveRecommendationData?: never;
2844
2907
  $unknown: [string, any];
2845
2908
  }
2846
2909
  /**
@@ -2860,6 +2923,7 @@ export declare namespace DataDetails {
2860
2923
  suggestedMessageData: (value: SuggestedMessageDataDetails) => T;
2861
2924
  notesData: (value: NotesDataDetails) => T;
2862
2925
  notesChunkData: (value: NotesChunkDataDetails) => T;
2926
+ proactiveRecommendationData: (value: ProactiveRecommendationDataDetails) => T;
2863
2927
  _: (name: string, value: any) => T;
2864
2928
  }
2865
2929
  }
@@ -269,6 +269,7 @@ export declare var OrchestrationAIAgentConfiguration$: StaticStructureSchema;
269
269
  export declare var OrchestratorConfigurationEntry$: StaticStructureSchema;
270
270
  export declare var ParsingConfiguration$: StaticStructureSchema;
271
271
  export declare var ParsingPrompt$: StaticStructureSchema;
272
+ export declare var ProactiveRecommendationDataDetails$: StaticStructureSchema;
272
273
  export declare var PushADMMessageTemplateContent$: StaticStructureSchema;
273
274
  export declare var PushAPNSMessageTemplateContent$: StaticStructureSchema;
274
275
  export declare var PushBaiduMessageTemplateContent$: StaticStructureSchema;
@@ -301,6 +302,7 @@ export declare var RenderMessageTemplateRequest$: StaticStructureSchema;
301
302
  export declare var RenderMessageTemplateResponse$: StaticStructureSchema;
302
303
  export declare var ResultData$: StaticStructureSchema;
303
304
  export declare var RetrievalConfiguration$: StaticStructureSchema;
305
+ export declare var RetrieveError$: StaticStructureSchema;
304
306
  export declare var RetrieveRequest$: StaticStructureSchema;
305
307
  export declare var RetrieveResponse$: StaticStructureSchema;
306
308
  export declare var RetrieveResult$: StaticStructureSchema;
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- CreateMessageTemplateAttachmentRequest,
4
- CreateMessageTemplateAttachmentResponse,
5
- } from "../models/models_0";
2
+ import { CreateMessageTemplateAttachmentRequest } from "../models/models_0";
3
+ import { CreateMessageTemplateAttachmentResponse } from "../models/models_1";
6
4
  export { __MetadataBearer };
7
5
  export interface CreateMessageTemplateAttachmentCommandInput extends CreateMessageTemplateAttachmentRequest {}
8
6
  export interface CreateMessageTemplateAttachmentCommandOutput
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { CreateMessageTemplateVersionRequest } from "../models/models_0";
3
- import { CreateMessageTemplateVersionResponse } from "../models/models_1";
2
+ import {
3
+ CreateMessageTemplateVersionRequest,
4
+ CreateMessageTemplateVersionResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface CreateMessageTemplateVersionCommandInput extends CreateMessageTemplateVersionRequest {}
6
8
  export interface CreateMessageTemplateVersionCommandOutput
@@ -193,6 +193,7 @@ export declare const RecommendationType: {
193
193
  readonly INTENT_ANSWER_CHUNK: "INTENT_ANSWER_CHUNK";
194
194
  readonly KNOWLEDGE_CONTENT: "KNOWLEDGE_CONTENT";
195
195
  readonly NOTES_CHUNK: "NOTES_CHUNK";
196
+ readonly PROACTIVE_RECOMMENDATION: "PROACTIVE_RECOMMENDATION";
196
197
  readonly SUGGESTED_MESSAGE: "SUGGESTED_MESSAGE";
197
198
  };
198
199
  export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
@@ -282,6 +283,15 @@ export declare const QueryResultType: {
282
283
  readonly NOTES_CHUNK: "NOTES_CHUNK";
283
284
  };
284
285
  export type QueryResultType = (typeof QueryResultType)[keyof typeof QueryResultType];
286
+ export declare const RetrieveErrorCode: {
287
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
288
+ readonly DEPENDENCY_FAILED: "DEPENDENCY_FAILED";
289
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
290
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
291
+ readonly THROTTLED: "THROTTLED";
292
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
293
+ };
294
+ export type RetrieveErrorCode = (typeof RetrieveErrorCode)[keyof typeof RetrieveErrorCode];
285
295
  export declare const FilterField: {
286
296
  readonly NAME: "NAME";
287
297
  };
@@ -48,6 +48,7 @@ import {
48
48
  ReferenceType,
49
49
  Relevance,
50
50
  RelevanceLevel,
51
+ RetrieveErrorCode,
51
52
  SessionDataNamespace,
52
53
  SourceContentType,
53
54
  Status,
@@ -609,6 +610,7 @@ export interface UpdateAIAgentResponse {
609
610
  }
610
611
  export interface AIAgentConfigurationData {
611
612
  aiAgentId: string | undefined;
613
+ enabled?: boolean | undefined;
612
614
  }
613
615
  export interface GuardrailContentFilterConfig {
614
616
  type: GuardrailContentFilterType | undefined;
@@ -1143,6 +1145,9 @@ export interface NotesChunkDataDetails {
1143
1145
  export interface NotesDataDetails {
1144
1146
  completion?: string | undefined;
1145
1147
  }
1148
+ export interface ProactiveRecommendationDataDetails {
1149
+ nextMessageToken: string | undefined;
1150
+ }
1146
1151
  export interface CitationSpan {
1147
1152
  beginOffsetInclusive?: number | undefined;
1148
1153
  endOffsetExclusive?: number | undefined;
@@ -1434,6 +1439,11 @@ export declare namespace KnowledgeSource {
1434
1439
  _: (name: string, value: any) => T;
1435
1440
  }
1436
1441
  }
1442
+ export interface RetrieveError {
1443
+ associationId: string | undefined;
1444
+ code: RetrieveErrorCode | undefined;
1445
+ message: string | undefined;
1446
+ }
1437
1447
  export interface RetrieveResult {
1438
1448
  associationId: string | undefined;
1439
1449
  sourceId: string | undefined;
@@ -1442,6 +1452,7 @@ export interface RetrieveResult {
1442
1452
  }
1443
1453
  export interface RetrieveResponse {
1444
1454
  results: RetrieveResult[] | undefined;
1455
+ errors?: RetrieveError[] | undefined;
1445
1456
  }
1446
1457
  export interface Filter {
1447
1458
  field: FilterField | undefined;
@@ -2340,11 +2351,3 @@ export interface MessageTemplateAttachment {
2340
2351
  urlExpiry: Date | undefined;
2341
2352
  attachmentId: string | undefined;
2342
2353
  }
2343
- export interface CreateMessageTemplateAttachmentResponse {
2344
- attachment?: MessageTemplateAttachment | undefined;
2345
- }
2346
- export interface CreateMessageTemplateVersionRequest {
2347
- knowledgeBaseId: string | undefined;
2348
- messageTemplateId: string | undefined;
2349
- messageTemplateContentSha256?: string | undefined;
2350
- }
@@ -47,6 +47,7 @@ import {
47
47
  MessageTemplateSourceConfigurationSummary,
48
48
  NotesChunkDataDetails,
49
49
  NotesDataDetails,
50
+ ProactiveRecommendationDataDetails,
50
51
  RankingData,
51
52
  RecommendationTrigger,
52
53
  RenderingConfiguration,
@@ -61,6 +62,14 @@ import {
61
62
  SuggestedMessageDataDetails,
62
63
  VectorIngestionConfiguration,
63
64
  } from "./models_0";
65
+ export interface CreateMessageTemplateAttachmentResponse {
66
+ attachment?: MessageTemplateAttachment | undefined;
67
+ }
68
+ export interface CreateMessageTemplateVersionRequest {
69
+ knowledgeBaseId: string | undefined;
70
+ messageTemplateId: string | undefined;
71
+ messageTemplateContentSha256?: string | undefined;
72
+ }
64
73
  export interface ExtendedMessageTemplateData {
65
74
  messageTemplateArn: string | undefined;
66
75
  messageTemplateId: string | undefined;
@@ -913,6 +922,7 @@ export type DataDetails =
913
922
  | DataDetails.IntentDetectedDataMember
914
923
  | DataDetails.NotesChunkDataMember
915
924
  | DataDetails.NotesDataMember
925
+ | DataDetails.ProactiveRecommendationDataMember
916
926
  | DataDetails.SourceContentDataMember
917
927
  | DataDetails.SuggestedMessageDataMember
918
928
  | DataDetails.$UnknownMember;
@@ -930,6 +940,7 @@ export declare namespace DataDetails {
930
940
  suggestedMessageData?: never;
931
941
  notesData?: never;
932
942
  notesChunkData?: never;
943
+ proactiveRecommendationData?: never;
933
944
  $unknown?: never;
934
945
  }
935
946
  interface GenerativeDataMember {
@@ -945,6 +956,7 @@ export declare namespace DataDetails {
945
956
  suggestedMessageData?: never;
946
957
  notesData?: never;
947
958
  notesChunkData?: never;
959
+ proactiveRecommendationData?: never;
948
960
  $unknown?: never;
949
961
  }
950
962
  interface IntentDetectedDataMember {
@@ -960,6 +972,7 @@ export declare namespace DataDetails {
960
972
  suggestedMessageData?: never;
961
973
  notesData?: never;
962
974
  notesChunkData?: never;
975
+ proactiveRecommendationData?: never;
963
976
  $unknown?: never;
964
977
  }
965
978
  interface SourceContentDataMember {
@@ -975,6 +988,7 @@ export declare namespace DataDetails {
975
988
  suggestedMessageData?: never;
976
989
  notesData?: never;
977
990
  notesChunkData?: never;
991
+ proactiveRecommendationData?: never;
978
992
  $unknown?: never;
979
993
  }
980
994
  interface GenerativeChunkDataMember {
@@ -990,6 +1004,7 @@ export declare namespace DataDetails {
990
1004
  suggestedMessageData?: never;
991
1005
  notesData?: never;
992
1006
  notesChunkData?: never;
1007
+ proactiveRecommendationData?: never;
993
1008
  $unknown?: never;
994
1009
  }
995
1010
  interface EmailResponseChunkDataMember {
@@ -1005,6 +1020,7 @@ export declare namespace DataDetails {
1005
1020
  suggestedMessageData?: never;
1006
1021
  notesData?: never;
1007
1022
  notesChunkData?: never;
1023
+ proactiveRecommendationData?: never;
1008
1024
  $unknown?: never;
1009
1025
  }
1010
1026
  interface EmailOverviewChunkDataMember {
@@ -1020,6 +1036,7 @@ export declare namespace DataDetails {
1020
1036
  suggestedMessageData?: never;
1021
1037
  notesData?: never;
1022
1038
  notesChunkData?: never;
1039
+ proactiveRecommendationData?: never;
1023
1040
  $unknown?: never;
1024
1041
  }
1025
1042
  interface EmailGenerativeAnswerChunkDataMember {
@@ -1035,6 +1052,7 @@ export declare namespace DataDetails {
1035
1052
  suggestedMessageData?: never;
1036
1053
  notesData?: never;
1037
1054
  notesChunkData?: never;
1055
+ proactiveRecommendationData?: never;
1038
1056
  $unknown?: never;
1039
1057
  }
1040
1058
  interface CaseSummarizationChunkDataMember {
@@ -1050,6 +1068,7 @@ export declare namespace DataDetails {
1050
1068
  suggestedMessageData?: never;
1051
1069
  notesData?: never;
1052
1070
  notesChunkData?: never;
1071
+ proactiveRecommendationData?: never;
1053
1072
  $unknown?: never;
1054
1073
  }
1055
1074
  interface SuggestedMessageDataMember {
@@ -1065,6 +1084,7 @@ export declare namespace DataDetails {
1065
1084
  suggestedMessageData: SuggestedMessageDataDetails;
1066
1085
  notesData?: never;
1067
1086
  notesChunkData?: never;
1087
+ proactiveRecommendationData?: never;
1068
1088
  $unknown?: never;
1069
1089
  }
1070
1090
  interface NotesDataMember {
@@ -1080,6 +1100,7 @@ export declare namespace DataDetails {
1080
1100
  suggestedMessageData?: never;
1081
1101
  notesData: NotesDataDetails;
1082
1102
  notesChunkData?: never;
1103
+ proactiveRecommendationData?: never;
1083
1104
  $unknown?: never;
1084
1105
  }
1085
1106
  interface NotesChunkDataMember {
@@ -1095,6 +1116,23 @@ export declare namespace DataDetails {
1095
1116
  suggestedMessageData?: never;
1096
1117
  notesData?: never;
1097
1118
  notesChunkData: NotesChunkDataDetails;
1119
+ proactiveRecommendationData?: never;
1120
+ $unknown?: never;
1121
+ }
1122
+ interface ProactiveRecommendationDataMember {
1123
+ contentData?: never;
1124
+ generativeData?: never;
1125
+ intentDetectedData?: never;
1126
+ sourceContentData?: never;
1127
+ generativeChunkData?: never;
1128
+ emailResponseChunkData?: never;
1129
+ emailOverviewChunkData?: never;
1130
+ emailGenerativeAnswerChunkData?: never;
1131
+ caseSummarizationChunkData?: never;
1132
+ suggestedMessageData?: never;
1133
+ notesData?: never;
1134
+ notesChunkData?: never;
1135
+ proactiveRecommendationData: ProactiveRecommendationDataDetails;
1098
1136
  $unknown?: never;
1099
1137
  }
1100
1138
  interface $UnknownMember {
@@ -1110,6 +1148,7 @@ export declare namespace DataDetails {
1110
1148
  suggestedMessageData?: never;
1111
1149
  notesData?: never;
1112
1150
  notesChunkData?: never;
1151
+ proactiveRecommendationData?: never;
1113
1152
  $unknown: [string, any];
1114
1153
  }
1115
1154
  interface Visitor<T> {
@@ -1125,6 +1164,7 @@ export declare namespace DataDetails {
1125
1164
  suggestedMessageData: (value: SuggestedMessageDataDetails) => T;
1126
1165
  notesData: (value: NotesDataDetails) => T;
1127
1166
  notesChunkData: (value: NotesChunkDataDetails) => T;
1167
+ proactiveRecommendationData: (value: ProactiveRecommendationDataDetails) => T;
1128
1168
  _: (name: string, value: any) => T;
1129
1169
  }
1130
1170
  }
@@ -269,6 +269,7 @@ export declare var OrchestrationAIAgentConfiguration$: StaticStructureSchema;
269
269
  export declare var OrchestratorConfigurationEntry$: StaticStructureSchema;
270
270
  export declare var ParsingConfiguration$: StaticStructureSchema;
271
271
  export declare var ParsingPrompt$: StaticStructureSchema;
272
+ export declare var ProactiveRecommendationDataDetails$: StaticStructureSchema;
272
273
  export declare var PushADMMessageTemplateContent$: StaticStructureSchema;
273
274
  export declare var PushAPNSMessageTemplateContent$: StaticStructureSchema;
274
275
  export declare var PushBaiduMessageTemplateContent$: StaticStructureSchema;
@@ -301,6 +302,7 @@ export declare var RenderMessageTemplateRequest$: StaticStructureSchema;
301
302
  export declare var RenderMessageTemplateResponse$: StaticStructureSchema;
302
303
  export declare var ResultData$: StaticStructureSchema;
303
304
  export declare var RetrievalConfiguration$: StaticStructureSchema;
305
+ export declare var RetrieveError$: StaticStructureSchema;
304
306
  export declare var RetrieveRequest$: StaticStructureSchema;
305
307
  export declare var RetrieveResponse$: StaticStructureSchema;
306
308
  export declare var RetrieveResult$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-qconnect",
3
- "version": "3.1140.0",
3
+ "version": "3.1142.0",
4
4
  "description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-qconnect",
6
6
  "license": "Apache-2.0",