@aws-sdk/client-bedrock-agentcore 3.1136.0 → 3.1137.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 +33 -8
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +18 -7
- package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +1 -2
- package/dist-types/commands/InvokeHarnessCommand.d.ts +9 -1
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +66 -22
- package/dist-types/models/models_1.d.ts +20 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -5
- package/dist-types/ts3.4/models/models_1.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1136.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -576,6 +576,7 @@ const _HCBSEa = "HarnessContentBlockStopEvent";
|
|
|
576
576
|
const _HCBa = "HarnessContentBlock";
|
|
577
577
|
const _HGMC = "HarnessGeminiModelConfig";
|
|
578
578
|
const _HGOA = "HarnessGatewayOutboundAuth";
|
|
579
|
+
const _HHE = "HarnessHookEvent";
|
|
579
580
|
const _HHM = "HttpHeadersMap";
|
|
580
581
|
const _HIFC = "HarnessInlineFunctionConfig";
|
|
581
582
|
const _HIFD = "HarnessInlineFunctionDescription";
|
|
@@ -587,6 +588,7 @@ const _HME = "HarnessMetadataEvent";
|
|
|
587
588
|
const _HMSE = "HarnessMessageStartEvent";
|
|
588
589
|
const _HMSEa = "HarnessMessageStopEvent";
|
|
589
590
|
const _HMa = "HarnessMessages";
|
|
591
|
+
const _HOAAB = "HarnessOpenAiApiBase";
|
|
590
592
|
const _HOAMC = "HarnessOpenAiModelConfig";
|
|
591
593
|
const _HRCB = "HarnessReasoningContentBlock";
|
|
592
594
|
const _HRCBD = "HarnessReasoningContentBlockDelta";
|
|
@@ -1047,7 +1049,8 @@ const _dX = "deltaX";
|
|
|
1047
1049
|
const _dY = "deltaY";
|
|
1048
1050
|
const _da = "data";
|
|
1049
1051
|
const _de = "delta";
|
|
1050
|
-
const _dec = "
|
|
1052
|
+
const _dec = "decision";
|
|
1053
|
+
const _deci = "decimals";
|
|
1051
1054
|
const _des = "descriptors";
|
|
1052
1055
|
const _e = "error";
|
|
1053
1056
|
const _eA = "evaluatorArn";
|
|
@@ -1121,6 +1124,8 @@ const _go = "google";
|
|
|
1121
1124
|
const _h = "headers";
|
|
1122
1125
|
const _hA = "harnessArn";
|
|
1123
1126
|
const _hE = "httpError";
|
|
1127
|
+
const _hEI = "hookEventId";
|
|
1128
|
+
const _hEo = "hookEvent";
|
|
1124
1129
|
const _hH = "httpHeader";
|
|
1125
1130
|
const _hQ = "httpQuery";
|
|
1126
1131
|
const _he = "height";
|
|
@@ -1573,6 +1578,7 @@ var Email = [0, n0, _E, 8, 0];
|
|
|
1573
1578
|
var EvaluationExplanation = [0, n0, _EE, 8, 0];
|
|
1574
1579
|
var HarnessInlineFunctionDescription = [0, n0, _HIFD, 8, 0];
|
|
1575
1580
|
var HarnessLiteLlmApiBase = [0, n0, _HLLAB, 8, 0];
|
|
1581
|
+
var HarnessOpenAiApiBase = [0, n0, _HOAAB, 8, 0];
|
|
1576
1582
|
var HarnessRemoteMcpUrl = [0, n0, _HRMU, 8, 0];
|
|
1577
1583
|
var MemoryDocument = [0, n0, _MD, 8, 15];
|
|
1578
1584
|
var MemoryJsonDataContent = [0, n0, _MJDC, 8, 15];
|
|
@@ -2332,6 +2338,11 @@ var HarnessGeminiModelConfig$ = [3, n0, _HGMC,
|
|
|
2332
2338
|
[_mIo, _aKA, _mTa, _tem, _tPo, _tK, _aP],
|
|
2333
2339
|
[0, 0, 1, 1, 1, 1, 15], 2
|
|
2334
2340
|
];
|
|
2341
|
+
var HarnessHookEvent$ = [3, n0, _HHE,
|
|
2342
|
+
0,
|
|
2343
|
+
[_hEI, _n, _t, _dec, _r],
|
|
2344
|
+
[0, 0, 0, 0, 0], 3
|
|
2345
|
+
];
|
|
2335
2346
|
var HarnessInlineFunctionConfig$ = [3, n0, _HIFC,
|
|
2336
2347
|
0,
|
|
2337
2348
|
[_d, _iS],
|
|
@@ -2364,8 +2375,8 @@ var HarnessMetadataEvent$ = [3, n0, _HME,
|
|
|
2364
2375
|
];
|
|
2365
2376
|
var HarnessOpenAiModelConfig$ = [3, n0, _HOAMC,
|
|
2366
2377
|
0,
|
|
2367
|
-
[_mIo, _aKA, _mTa, _tem, _tPo, _aF, _aP],
|
|
2368
|
-
[0, 0, 1, 1, 1, 0, 15], 2
|
|
2378
|
+
[_mIo, _aKA, _aB, _mTa, _tem, _tPo, _aF, _aP],
|
|
2379
|
+
[0, 0, [() => HarnessOpenAiApiBase, 0], 1, 1, 1, 0, 15], 2
|
|
2369
2380
|
];
|
|
2370
2381
|
var HarnessReasoningTextBlock$ = [3, n0, _HRTB,
|
|
2371
2382
|
8,
|
|
@@ -3139,7 +3150,7 @@ var TargetRef$ = [3, n0, _TR,
|
|
|
3139
3150
|
];
|
|
3140
3151
|
var TokenBalance$ = [3, n0, _TB,
|
|
3141
3152
|
0,
|
|
3142
|
-
[_am,
|
|
3153
|
+
[_am, _deci, _to, _ne, _ch],
|
|
3143
3154
|
[0, 1, 0, 0, 0], 5
|
|
3144
3155
|
];
|
|
3145
3156
|
var TokenUsage$ = [3, n0, _TU,
|
|
@@ -3606,7 +3617,7 @@ var HarnessGatewayOutboundAuth$ = [4, n0, _HGOA,
|
|
|
3606
3617
|
var HarnessModelConfiguration$ = [4, n0, _HMC,
|
|
3607
3618
|
0,
|
|
3608
3619
|
[_bMC, _oAMC, _gMC, _lLMC],
|
|
3609
|
-
[() => HarnessBedrockModelConfig$, () => HarnessOpenAiModelConfig$, () => HarnessGeminiModelConfig$, [() => HarnessLiteLlmModelConfig$, 0]]
|
|
3620
|
+
[() => HarnessBedrockModelConfig$, [() => HarnessOpenAiModelConfig$, 0], () => HarnessGeminiModelConfig$, [() => HarnessLiteLlmModelConfig$, 0]]
|
|
3610
3621
|
];
|
|
3611
3622
|
var HarnessReasoningContentBlock$ = [4, n0, _HRCB,
|
|
3612
3623
|
8,
|
|
@@ -3655,8 +3666,8 @@ var InvokeAgentRuntimeCommandStreamOutput$ = [4, n0, _IARCSO,
|
|
|
3655
3666
|
];
|
|
3656
3667
|
var InvokeHarnessStreamOutput$ = [4, n0, _IHSO,
|
|
3657
3668
|
{ [_st]: 1 },
|
|
3658
|
-
[_mSe, _cBS, _cBD, _cBSo, _mSes, _met, _iSE, _vE, _rCE],
|
|
3659
|
-
[() => HarnessMessageStartEvent$, () => HarnessContentBlockStartEvent$, [() => HarnessContentBlockDeltaEvent$, 0], () => HarnessContentBlockStopEvent$, () => HarnessMessageStopEvent$, () => HarnessMetadataEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => RuntimeClientError$, 0]]
|
|
3669
|
+
[_mSe, _cBS, _cBD, _cBSo, _mSes, _met, _iSE, _vE, _rCE, _hEo],
|
|
3670
|
+
[() => HarnessMessageStartEvent$, () => HarnessContentBlockStartEvent$, [() => HarnessContentBlockDeltaEvent$, 0], () => HarnessContentBlockStopEvent$, () => HarnessMessageStopEvent$, () => HarnessMetadataEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => RuntimeClientError$, 0], () => HarnessHookEvent$]
|
|
3660
3671
|
];
|
|
3661
3672
|
var LeftExpression$ = [4, n0, _LE,
|
|
3662
3673
|
0,
|
|
@@ -4679,9 +4690,20 @@ const HarnessToolType = {
|
|
|
4679
4690
|
INLINE_FUNCTION: "inline_function",
|
|
4680
4691
|
REMOTE_MCP: "remote_mcp",
|
|
4681
4692
|
};
|
|
4693
|
+
const HarnessHookDecision = {
|
|
4694
|
+
ALLOW: "allow",
|
|
4695
|
+
DENY: "deny",
|
|
4696
|
+
};
|
|
4697
|
+
const HarnessHookEventType = {
|
|
4698
|
+
AFTER_INVOCATION: "after_invocation",
|
|
4699
|
+
AFTER_TOOL_CALL: "after_tool_call",
|
|
4700
|
+
BEFORE_INVOCATION: "before_invocation",
|
|
4701
|
+
BEFORE_TOOL_CALL: "before_tool_call",
|
|
4702
|
+
};
|
|
4682
4703
|
const HarnessStopReason = {
|
|
4683
4704
|
CONTENT_FILTERED: "content_filtered",
|
|
4684
4705
|
END_TURN: "end_turn",
|
|
4706
|
+
HOOK_STOPPED: "hook_stopped",
|
|
4685
4707
|
INTERRUPTED: "interrupted",
|
|
4686
4708
|
MALFORMED_MODEL_OUTPUT: "malformed_model_output",
|
|
4687
4709
|
MALFORMED_TOOL_USE: "malformed_tool_use",
|
|
@@ -5053,6 +5075,9 @@ exports.HarnessContentBlockStopEvent$ = HarnessContentBlockStopEvent$;
|
|
|
5053
5075
|
exports.HarnessConversationRole = HarnessConversationRole;
|
|
5054
5076
|
exports.HarnessGatewayOutboundAuth$ = HarnessGatewayOutboundAuth$;
|
|
5055
5077
|
exports.HarnessGeminiModelConfig$ = HarnessGeminiModelConfig$;
|
|
5078
|
+
exports.HarnessHookDecision = HarnessHookDecision;
|
|
5079
|
+
exports.HarnessHookEvent$ = HarnessHookEvent$;
|
|
5080
|
+
exports.HarnessHookEventType = HarnessHookEventType;
|
|
5056
5081
|
exports.HarnessInlineFunctionConfig$ = HarnessInlineFunctionConfig$;
|
|
5057
5082
|
exports.HarnessLiteLlmModelConfig$ = HarnessLiteLlmModelConfig$;
|
|
5058
5083
|
exports.HarnessMessage$ = HarnessMessage$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -220,9 +220,20 @@ export const HarnessToolType = {
|
|
|
220
220
|
INLINE_FUNCTION: "inline_function",
|
|
221
221
|
REMOTE_MCP: "remote_mcp",
|
|
222
222
|
};
|
|
223
|
+
export const HarnessHookDecision = {
|
|
224
|
+
ALLOW: "allow",
|
|
225
|
+
DENY: "deny",
|
|
226
|
+
};
|
|
227
|
+
export const HarnessHookEventType = {
|
|
228
|
+
AFTER_INVOCATION: "after_invocation",
|
|
229
|
+
AFTER_TOOL_CALL: "after_tool_call",
|
|
230
|
+
BEFORE_INVOCATION: "before_invocation",
|
|
231
|
+
BEFORE_TOOL_CALL: "before_tool_call",
|
|
232
|
+
};
|
|
223
233
|
export const HarnessStopReason = {
|
|
224
234
|
CONTENT_FILTERED: "content_filtered",
|
|
225
235
|
END_TURN: "end_turn",
|
|
236
|
+
HOOK_STOPPED: "hook_stopped",
|
|
226
237
|
INTERRUPTED: "interrupted",
|
|
227
238
|
MALFORMED_MODEL_OUTPUT: "malformed_model_output",
|
|
228
239
|
MALFORMED_TOOL_USE: "malformed_tool_use",
|
|
@@ -245,6 +245,7 @@ const _HCBSEa = "HarnessContentBlockStopEvent";
|
|
|
245
245
|
const _HCBa = "HarnessContentBlock";
|
|
246
246
|
const _HGMC = "HarnessGeminiModelConfig";
|
|
247
247
|
const _HGOA = "HarnessGatewayOutboundAuth";
|
|
248
|
+
const _HHE = "HarnessHookEvent";
|
|
248
249
|
const _HHM = "HttpHeadersMap";
|
|
249
250
|
const _HIFC = "HarnessInlineFunctionConfig";
|
|
250
251
|
const _HIFD = "HarnessInlineFunctionDescription";
|
|
@@ -256,6 +257,7 @@ const _HME = "HarnessMetadataEvent";
|
|
|
256
257
|
const _HMSE = "HarnessMessageStartEvent";
|
|
257
258
|
const _HMSEa = "HarnessMessageStopEvent";
|
|
258
259
|
const _HMa = "HarnessMessages";
|
|
260
|
+
const _HOAAB = "HarnessOpenAiApiBase";
|
|
259
261
|
const _HOAMC = "HarnessOpenAiModelConfig";
|
|
260
262
|
const _HRCB = "HarnessReasoningContentBlock";
|
|
261
263
|
const _HRCBD = "HarnessReasoningContentBlockDelta";
|
|
@@ -716,7 +718,8 @@ const _dX = "deltaX";
|
|
|
716
718
|
const _dY = "deltaY";
|
|
717
719
|
const _da = "data";
|
|
718
720
|
const _de = "delta";
|
|
719
|
-
const _dec = "
|
|
721
|
+
const _dec = "decision";
|
|
722
|
+
const _deci = "decimals";
|
|
720
723
|
const _des = "descriptors";
|
|
721
724
|
const _e = "error";
|
|
722
725
|
const _eA = "evaluatorArn";
|
|
@@ -790,6 +793,8 @@ const _go = "google";
|
|
|
790
793
|
const _h = "headers";
|
|
791
794
|
const _hA = "harnessArn";
|
|
792
795
|
const _hE = "httpError";
|
|
796
|
+
const _hEI = "hookEventId";
|
|
797
|
+
const _hEo = "hookEvent";
|
|
793
798
|
const _hH = "httpHeader";
|
|
794
799
|
const _hQ = "httpQuery";
|
|
795
800
|
const _he = "height";
|
|
@@ -1245,6 +1250,7 @@ var Email = [0, n0, _E, 8, 0];
|
|
|
1245
1250
|
var EvaluationExplanation = [0, n0, _EE, 8, 0];
|
|
1246
1251
|
var HarnessInlineFunctionDescription = [0, n0, _HIFD, 8, 0];
|
|
1247
1252
|
var HarnessLiteLlmApiBase = [0, n0, _HLLAB, 8, 0];
|
|
1253
|
+
var HarnessOpenAiApiBase = [0, n0, _HOAAB, 8, 0];
|
|
1248
1254
|
var HarnessRemoteMcpUrl = [0, n0, _HRMU, 8, 0];
|
|
1249
1255
|
var MemoryDocument = [0, n0, _MD, 8, 15];
|
|
1250
1256
|
var MemoryJsonDataContent = [0, n0, _MJDC, 8, 15];
|
|
@@ -2004,6 +2010,11 @@ export var HarnessGeminiModelConfig$ = [3, n0, _HGMC,
|
|
|
2004
2010
|
[_mIo, _aKA, _mTa, _tem, _tPo, _tK, _aP],
|
|
2005
2011
|
[0, 0, 1, 1, 1, 1, 15], 2
|
|
2006
2012
|
];
|
|
2013
|
+
export var HarnessHookEvent$ = [3, n0, _HHE,
|
|
2014
|
+
0,
|
|
2015
|
+
[_hEI, _n, _t, _dec, _r],
|
|
2016
|
+
[0, 0, 0, 0, 0], 3
|
|
2017
|
+
];
|
|
2007
2018
|
export var HarnessInlineFunctionConfig$ = [3, n0, _HIFC,
|
|
2008
2019
|
0,
|
|
2009
2020
|
[_d, _iS],
|
|
@@ -2036,8 +2047,8 @@ export var HarnessMetadataEvent$ = [3, n0, _HME,
|
|
|
2036
2047
|
];
|
|
2037
2048
|
export var HarnessOpenAiModelConfig$ = [3, n0, _HOAMC,
|
|
2038
2049
|
0,
|
|
2039
|
-
[_mIo, _aKA, _mTa, _tem, _tPo, _aF, _aP],
|
|
2040
|
-
[0, 0, 1, 1, 1, 0, 15], 2
|
|
2050
|
+
[_mIo, _aKA, _aB, _mTa, _tem, _tPo, _aF, _aP],
|
|
2051
|
+
[0, 0, [() => HarnessOpenAiApiBase, 0], 1, 1, 1, 0, 15], 2
|
|
2041
2052
|
];
|
|
2042
2053
|
export var HarnessReasoningTextBlock$ = [3, n0, _HRTB,
|
|
2043
2054
|
8,
|
|
@@ -2811,7 +2822,7 @@ export var TargetRef$ = [3, n0, _TR,
|
|
|
2811
2822
|
];
|
|
2812
2823
|
export var TokenBalance$ = [3, n0, _TB,
|
|
2813
2824
|
0,
|
|
2814
|
-
[_am,
|
|
2825
|
+
[_am, _deci, _to, _ne, _ch],
|
|
2815
2826
|
[0, 1, 0, 0, 0], 5
|
|
2816
2827
|
];
|
|
2817
2828
|
export var TokenUsage$ = [3, n0, _TU,
|
|
@@ -3307,7 +3318,7 @@ export var HarnessGatewayOutboundAuth$ = [4, n0, _HGOA,
|
|
|
3307
3318
|
export var HarnessModelConfiguration$ = [4, n0, _HMC,
|
|
3308
3319
|
0,
|
|
3309
3320
|
[_bMC, _oAMC, _gMC, _lLMC],
|
|
3310
|
-
[() => HarnessBedrockModelConfig$, () => HarnessOpenAiModelConfig$, () => HarnessGeminiModelConfig$, [() => HarnessLiteLlmModelConfig$, 0]]
|
|
3321
|
+
[() => HarnessBedrockModelConfig$, [() => HarnessOpenAiModelConfig$, 0], () => HarnessGeminiModelConfig$, [() => HarnessLiteLlmModelConfig$, 0]]
|
|
3311
3322
|
];
|
|
3312
3323
|
export var HarnessReasoningContentBlock$ = [4, n0, _HRCB,
|
|
3313
3324
|
8,
|
|
@@ -3356,8 +3367,8 @@ export var InvokeAgentRuntimeCommandStreamOutput$ = [4, n0, _IARCSO,
|
|
|
3356
3367
|
];
|
|
3357
3368
|
export var InvokeHarnessStreamOutput$ = [4, n0, _IHSO,
|
|
3358
3369
|
{ [_st]: 1 },
|
|
3359
|
-
[_mSe, _cBS, _cBD, _cBSo, _mSes, _met, _iSE, _vE, _rCE],
|
|
3360
|
-
[() => HarnessMessageStartEvent$, () => HarnessContentBlockStartEvent$, [() => HarnessContentBlockDeltaEvent$, 0], () => HarnessContentBlockStopEvent$, () => HarnessMessageStopEvent$, () => HarnessMetadataEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => RuntimeClientError$, 0]]
|
|
3370
|
+
[_mSe, _cBS, _cBD, _cBSo, _mSes, _met, _iSE, _vE, _rCE, _hEo],
|
|
3371
|
+
[() => HarnessMessageStartEvent$, () => HarnessContentBlockStartEvent$, [() => HarnessContentBlockDeltaEvent$, 0], () => HarnessContentBlockStopEvent$, () => HarnessMessageStopEvent$, () => HarnessMetadataEvent$, [() => InternalServerException$, 0], [() => ValidationException$, 0], [() => RuntimeClientError$, 0], () => HarnessHookEvent$]
|
|
3361
3372
|
];
|
|
3362
3373
|
export var LeftExpression$ = [4, n0, _LE,
|
|
3363
3374
|
0,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteMemoryRecordInput } from "../models/
|
|
3
|
-
import type { DeleteMemoryRecordOutput } from "../models/models_1";
|
|
2
|
+
import type { DeleteMemoryRecordInput, DeleteMemoryRecordOutput } from "../models/models_1";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -89,6 +89,7 @@ declare const InvokeHarnessCommand_base: {
|
|
|
89
89
|
* openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
90
90
|
* modelId: "STRING_VALUE", // required
|
|
91
91
|
* apiKeyArn: "STRING_VALUE", // required
|
|
92
|
+
* apiBase: "STRING_VALUE",
|
|
92
93
|
* maxTokens: Number("int"),
|
|
93
94
|
* temperature: Number("float"),
|
|
94
95
|
* topP: Number("float"),
|
|
@@ -239,7 +240,7 @@ declare const InvokeHarnessCommand_base: {
|
|
|
239
240
|
* // contentBlockIndex: Number("int"), // required
|
|
240
241
|
* // },
|
|
241
242
|
* // messageStop: { // HarnessMessageStopEvent
|
|
242
|
-
* // stopReason: "end_turn" || "tool_use" || "tool_result" || "max_tokens" || "stop_sequence" || "content_filtered" || "malformed_model_output" || "malformed_tool_use" || "interrupted" || "partial_turn" || "model_context_window_exceeded" || "max_iterations_exceeded" || "max_output_tokens_exceeded" || "timeout_exceeded", // required
|
|
243
|
+
* // stopReason: "end_turn" || "tool_use" || "tool_result" || "max_tokens" || "stop_sequence" || "content_filtered" || "malformed_model_output" || "malformed_tool_use" || "interrupted" || "partial_turn" || "model_context_window_exceeded" || "max_iterations_exceeded" || "max_output_tokens_exceeded" || "timeout_exceeded" || "hook_stopped", // required
|
|
243
244
|
* // },
|
|
244
245
|
* // metadata: { // HarnessMetadataEvent
|
|
245
246
|
* // usage: { // HarnessTokenUsage
|
|
@@ -269,6 +270,13 @@ declare const InvokeHarnessCommand_base: {
|
|
|
269
270
|
* // runtimeClientError: { // RuntimeClientError
|
|
270
271
|
* // message: "STRING_VALUE",
|
|
271
272
|
* // },
|
|
273
|
+
* // hookEvent: { // HarnessHookEvent
|
|
274
|
+
* // hookEventId: "STRING_VALUE", // required
|
|
275
|
+
* // name: "STRING_VALUE", // required
|
|
276
|
+
* // type: "before_tool_call" || "after_tool_call" || "before_invocation" || "after_invocation", // required
|
|
277
|
+
* // decision: "allow" || "deny",
|
|
278
|
+
* // reason: "STRING_VALUE",
|
|
279
|
+
* // },
|
|
272
280
|
* // },
|
|
273
281
|
* // };
|
|
274
282
|
*
|
|
@@ -507,6 +507,32 @@ export declare const HarnessToolType: {
|
|
|
507
507
|
* @public
|
|
508
508
|
*/
|
|
509
509
|
export type HarnessToolType = (typeof HarnessToolType)[keyof typeof HarnessToolType];
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
* @enum
|
|
513
|
+
*/
|
|
514
|
+
export declare const HarnessHookDecision: {
|
|
515
|
+
readonly ALLOW: "allow";
|
|
516
|
+
readonly DENY: "deny";
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
*/
|
|
521
|
+
export type HarnessHookDecision = (typeof HarnessHookDecision)[keyof typeof HarnessHookDecision];
|
|
522
|
+
/**
|
|
523
|
+
* @public
|
|
524
|
+
* @enum
|
|
525
|
+
*/
|
|
526
|
+
export declare const HarnessHookEventType: {
|
|
527
|
+
readonly AFTER_INVOCATION: "after_invocation";
|
|
528
|
+
readonly AFTER_TOOL_CALL: "after_tool_call";
|
|
529
|
+
readonly BEFORE_INVOCATION: "before_invocation";
|
|
530
|
+
readonly BEFORE_TOOL_CALL: "before_tool_call";
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
export type HarnessHookEventType = (typeof HarnessHookEventType)[keyof typeof HarnessHookEventType];
|
|
510
536
|
/**
|
|
511
537
|
* @public
|
|
512
538
|
* @enum
|
|
@@ -514,6 +540,7 @@ export type HarnessToolType = (typeof HarnessToolType)[keyof typeof HarnessToolT
|
|
|
514
540
|
export declare const HarnessStopReason: {
|
|
515
541
|
readonly CONTENT_FILTERED: "content_filtered";
|
|
516
542
|
readonly END_TURN: "end_turn";
|
|
543
|
+
readonly HOOK_STOPPED: "hook_stopped";
|
|
517
544
|
readonly INTERRUPTED: "interrupted";
|
|
518
545
|
readonly MALFORMED_MODEL_OUTPUT: "malformed_model_output";
|
|
519
546
|
readonly MALFORMED_TOOL_USE: "malformed_tool_use";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, ResultDestination, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
2
|
+
import type { ABTestExecutionStatus, ABTestStatus, AutomationStreamStatus, BatchEvaluationStatus, BrowserActionStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CapacityProviderSessionStatus, CloudWatchLogsFilterOperator, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionMode, HarnessBedrockApiFormat, HarnessConversationRole, HarnessHookDecision, HarnessHookEventType, HarnessOpenAiApiFormat, HarnessStopReason, HarnessToolType, HarnessToolUseStatus, HarnessToolUseType, InsightsFailureCategory, LanguageRuntime, MemoryRecordStatus, MouseButton, Oauth2FlowType, OAuthGrantType, PaymentHttpMethodType, ProgrammingLanguage, RecommendationStatus, RecommendationType, ResourceContentType, ResultDestination, Role, ScreenshotFormat, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import type { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p> The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.</p>
|
|
@@ -6802,6 +6802,11 @@ export interface HarnessOpenAiModelConfig {
|
|
|
6802
6802
|
* @public
|
|
6803
6803
|
*/
|
|
6804
6804
|
apiKeyArn: string | undefined;
|
|
6805
|
+
/**
|
|
6806
|
+
* <p>Optional custom endpoint URL for an OpenAI-compatible endpoint.</p>
|
|
6807
|
+
* @public
|
|
6808
|
+
*/
|
|
6809
|
+
apiBase?: string | undefined;
|
|
6805
6810
|
/**
|
|
6806
6811
|
* <p>The maximum number of tokens to allow in the generated response per iteration.</p>
|
|
6807
6812
|
* @public
|
|
@@ -7793,6 +7798,37 @@ export interface HarnessContentBlockStopEvent {
|
|
|
7793
7798
|
*/
|
|
7794
7799
|
contentBlockIndex: number | undefined;
|
|
7795
7800
|
}
|
|
7801
|
+
/**
|
|
7802
|
+
* <p>A lifecycle hook event emitted in the invocation stream for visibility into hook decisions.</p>
|
|
7803
|
+
* @public
|
|
7804
|
+
*/
|
|
7805
|
+
export interface HarnessHookEvent {
|
|
7806
|
+
/**
|
|
7807
|
+
* <p>The unique identifier for this hook event.</p>
|
|
7808
|
+
* @public
|
|
7809
|
+
*/
|
|
7810
|
+
hookEventId: string | undefined;
|
|
7811
|
+
/**
|
|
7812
|
+
* <p>The name of the hook that ran.</p>
|
|
7813
|
+
* @public
|
|
7814
|
+
*/
|
|
7815
|
+
name: string | undefined;
|
|
7816
|
+
/**
|
|
7817
|
+
* <p>The type of lifecycle hook event.</p>
|
|
7818
|
+
* @public
|
|
7819
|
+
*/
|
|
7820
|
+
type: HarnessHookEventType | undefined;
|
|
7821
|
+
/**
|
|
7822
|
+
* <p>The decision applied to the hook event. This field is present only for blocking Lambda targets.</p>
|
|
7823
|
+
* @public
|
|
7824
|
+
*/
|
|
7825
|
+
decision?: HarnessHookDecision | undefined;
|
|
7826
|
+
/**
|
|
7827
|
+
* <p>The optional reason for the applied decision.</p>
|
|
7828
|
+
* @public
|
|
7829
|
+
*/
|
|
7830
|
+
reason?: string | undefined;
|
|
7831
|
+
}
|
|
7796
7832
|
/**
|
|
7797
7833
|
* <p>Event indicating the start of a message.</p>
|
|
7798
7834
|
* @public
|
|
@@ -7877,7 +7913,7 @@ export interface HarnessMetadataEvent {
|
|
|
7877
7913
|
* <p>The streaming events returned by a harness invocation.</p>
|
|
7878
7914
|
* @public
|
|
7879
7915
|
*/
|
|
7880
|
-
export type InvokeHarnessStreamOutput = InvokeHarnessStreamOutput.ContentBlockDeltaMember | InvokeHarnessStreamOutput.ContentBlockStartMember | InvokeHarnessStreamOutput.ContentBlockStopMember | InvokeHarnessStreamOutput.InternalServerExceptionMember | InvokeHarnessStreamOutput.MessageStartMember | InvokeHarnessStreamOutput.MessageStopMember | InvokeHarnessStreamOutput.MetadataMember | InvokeHarnessStreamOutput.RuntimeClientErrorMember | InvokeHarnessStreamOutput.ValidationExceptionMember | InvokeHarnessStreamOutput.$UnknownMember;
|
|
7916
|
+
export type InvokeHarnessStreamOutput = InvokeHarnessStreamOutput.ContentBlockDeltaMember | InvokeHarnessStreamOutput.ContentBlockStartMember | InvokeHarnessStreamOutput.ContentBlockStopMember | InvokeHarnessStreamOutput.HookEventMember | InvokeHarnessStreamOutput.InternalServerExceptionMember | InvokeHarnessStreamOutput.MessageStartMember | InvokeHarnessStreamOutput.MessageStopMember | InvokeHarnessStreamOutput.MetadataMember | InvokeHarnessStreamOutput.RuntimeClientErrorMember | InvokeHarnessStreamOutput.ValidationExceptionMember | InvokeHarnessStreamOutput.$UnknownMember;
|
|
7881
7917
|
/**
|
|
7882
7918
|
* @public
|
|
7883
7919
|
*/
|
|
@@ -7896,6 +7932,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7896
7932
|
internalServerException?: never;
|
|
7897
7933
|
validationException?: never;
|
|
7898
7934
|
runtimeClientError?: never;
|
|
7935
|
+
hookEvent?: never;
|
|
7899
7936
|
$unknown?: never;
|
|
7900
7937
|
}
|
|
7901
7938
|
/**
|
|
@@ -7912,6 +7949,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7912
7949
|
internalServerException?: never;
|
|
7913
7950
|
validationException?: never;
|
|
7914
7951
|
runtimeClientError?: never;
|
|
7952
|
+
hookEvent?: never;
|
|
7915
7953
|
$unknown?: never;
|
|
7916
7954
|
}
|
|
7917
7955
|
/**
|
|
@@ -7928,6 +7966,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7928
7966
|
internalServerException?: never;
|
|
7929
7967
|
validationException?: never;
|
|
7930
7968
|
runtimeClientError?: never;
|
|
7969
|
+
hookEvent?: never;
|
|
7931
7970
|
$unknown?: never;
|
|
7932
7971
|
}
|
|
7933
7972
|
/**
|
|
@@ -7944,6 +7983,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7944
7983
|
internalServerException?: never;
|
|
7945
7984
|
validationException?: never;
|
|
7946
7985
|
runtimeClientError?: never;
|
|
7986
|
+
hookEvent?: never;
|
|
7947
7987
|
$unknown?: never;
|
|
7948
7988
|
}
|
|
7949
7989
|
/**
|
|
@@ -7960,6 +8000,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7960
8000
|
internalServerException?: never;
|
|
7961
8001
|
validationException?: never;
|
|
7962
8002
|
runtimeClientError?: never;
|
|
8003
|
+
hookEvent?: never;
|
|
7963
8004
|
$unknown?: never;
|
|
7964
8005
|
}
|
|
7965
8006
|
/**
|
|
@@ -7976,6 +8017,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7976
8017
|
internalServerException?: never;
|
|
7977
8018
|
validationException?: never;
|
|
7978
8019
|
runtimeClientError?: never;
|
|
8020
|
+
hookEvent?: never;
|
|
7979
8021
|
$unknown?: never;
|
|
7980
8022
|
}
|
|
7981
8023
|
/**
|
|
@@ -7992,6 +8034,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
7992
8034
|
internalServerException: InternalServerException;
|
|
7993
8035
|
validationException?: never;
|
|
7994
8036
|
runtimeClientError?: never;
|
|
8037
|
+
hookEvent?: never;
|
|
7995
8038
|
$unknown?: never;
|
|
7996
8039
|
}
|
|
7997
8040
|
/**
|
|
@@ -8008,6 +8051,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
8008
8051
|
internalServerException?: never;
|
|
8009
8052
|
validationException: ValidationException;
|
|
8010
8053
|
runtimeClientError?: never;
|
|
8054
|
+
hookEvent?: never;
|
|
8011
8055
|
$unknown?: never;
|
|
8012
8056
|
}
|
|
8013
8057
|
/**
|
|
@@ -8024,6 +8068,24 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
8024
8068
|
internalServerException?: never;
|
|
8025
8069
|
validationException?: never;
|
|
8026
8070
|
runtimeClientError: RuntimeClientError;
|
|
8071
|
+
hookEvent?: never;
|
|
8072
|
+
$unknown?: never;
|
|
8073
|
+
}
|
|
8074
|
+
/**
|
|
8075
|
+
* <p>A lifecycle hook event emitted when a configured hook runs.</p>
|
|
8076
|
+
* @public
|
|
8077
|
+
*/
|
|
8078
|
+
interface HookEventMember {
|
|
8079
|
+
messageStart?: never;
|
|
8080
|
+
contentBlockStart?: never;
|
|
8081
|
+
contentBlockDelta?: never;
|
|
8082
|
+
contentBlockStop?: never;
|
|
8083
|
+
messageStop?: never;
|
|
8084
|
+
metadata?: never;
|
|
8085
|
+
internalServerException?: never;
|
|
8086
|
+
validationException?: never;
|
|
8087
|
+
runtimeClientError?: never;
|
|
8088
|
+
hookEvent: HarnessHookEvent;
|
|
8027
8089
|
$unknown?: never;
|
|
8028
8090
|
}
|
|
8029
8091
|
/**
|
|
@@ -8039,6 +8101,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
8039
8101
|
internalServerException?: never;
|
|
8040
8102
|
validationException?: never;
|
|
8041
8103
|
runtimeClientError?: never;
|
|
8104
|
+
hookEvent?: never;
|
|
8042
8105
|
$unknown: [string, any];
|
|
8043
8106
|
}
|
|
8044
8107
|
/**
|
|
@@ -8055,6 +8118,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
8055
8118
|
internalServerException: (value: InternalServerException) => T;
|
|
8056
8119
|
validationException: (value: ValidationException) => T;
|
|
8057
8120
|
runtimeClientError: (value: RuntimeClientError) => T;
|
|
8121
|
+
hookEvent: (value: HarnessHookEvent) => T;
|
|
8058
8122
|
_: (name: string, value: any) => T;
|
|
8059
8123
|
}
|
|
8060
8124
|
}
|
|
@@ -8720,23 +8784,3 @@ export interface DeleteEventOutput {
|
|
|
8720
8784
|
*/
|
|
8721
8785
|
eventId: string | undefined;
|
|
8722
8786
|
}
|
|
8723
|
-
/**
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
export interface DeleteMemoryRecordInput {
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>The identifier of the AgentCore Memory resource from which to delete the memory record.</p>
|
|
8729
|
-
* @public
|
|
8730
|
-
*/
|
|
8731
|
-
memoryId: string | undefined;
|
|
8732
|
-
/**
|
|
8733
|
-
* <p>The identifier of the memory record to delete.</p>
|
|
8734
|
-
* @public
|
|
8735
|
-
*/
|
|
8736
|
-
memoryRecordId: string | undefined;
|
|
8737
|
-
/**
|
|
8738
|
-
* <p>The namespace of the memory record to delete. This value is used for IAM condition key authorization.</p>
|
|
8739
|
-
* @public
|
|
8740
|
-
*/
|
|
8741
|
-
namespace?: string | undefined;
|
|
8742
|
-
}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import type { BlockchainChainId, CryptoWalletNetwork, Currency, DescriptorType, EventFilterCondition, ExtractionJobStatus, InstrumentBalanceToken, MemoryRecordOperatorType, OperatorType, PaymentInstrumentStatus, PaymentInstrumentType, PaymentSessionStatus, PaymentStatus, PaymentType, RegistryRecordStatus } from "./enums";
|
|
3
3
|
import type { A2aDescriptor, ActorSummary, AgentSkillsDescriptor, Conversational, Event, ExtractionConfig, MemoryContent, MemoryJsonData, MemoryRecordMetadataValue, MetadataValue } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteMemoryRecordInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The identifier of the AgentCore Memory resource from which to delete the memory record.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
memoryId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The identifier of the memory record to delete.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
memoryRecordId: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The namespace of the memory record to delete. This value is used for IAM condition key authorization.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
namespace?: string | undefined;
|
|
23
|
+
}
|
|
4
24
|
/**
|
|
5
25
|
* @public
|
|
6
26
|
*/
|
|
@@ -170,6 +170,7 @@ export declare var HarnessContentBlockDeltaEvent$: StaticStructureSchema;
|
|
|
170
170
|
export declare var HarnessContentBlockStartEvent$: StaticStructureSchema;
|
|
171
171
|
export declare var HarnessContentBlockStopEvent$: StaticStructureSchema;
|
|
172
172
|
export declare var HarnessGeminiModelConfig$: StaticStructureSchema;
|
|
173
|
+
export declare var HarnessHookEvent$: StaticStructureSchema;
|
|
173
174
|
export declare var HarnessInlineFunctionConfig$: StaticStructureSchema;
|
|
174
175
|
export declare var HarnessLiteLlmModelConfig$: StaticStructureSchema;
|
|
175
176
|
export declare var HarnessMessage$: StaticStructureSchema;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { DeleteMemoryRecordInput } from "../models/
|
|
3
|
-
import { DeleteMemoryRecordOutput } from "../models/models_1";
|
|
2
|
+
import { DeleteMemoryRecordInput, DeleteMemoryRecordOutput } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface DeleteMemoryRecordCommandInput extends DeleteMemoryRecordInput {}
|
|
6
5
|
export interface DeleteMemoryRecordCommandOutput
|
|
@@ -268,9 +268,22 @@ export declare const HarnessToolType: {
|
|
|
268
268
|
readonly REMOTE_MCP: "remote_mcp";
|
|
269
269
|
};
|
|
270
270
|
export type HarnessToolType = (typeof HarnessToolType)[keyof typeof HarnessToolType];
|
|
271
|
+
export declare const HarnessHookDecision: {
|
|
272
|
+
readonly ALLOW: "allow";
|
|
273
|
+
readonly DENY: "deny";
|
|
274
|
+
};
|
|
275
|
+
export type HarnessHookDecision = (typeof HarnessHookDecision)[keyof typeof HarnessHookDecision];
|
|
276
|
+
export declare const HarnessHookEventType: {
|
|
277
|
+
readonly AFTER_INVOCATION: "after_invocation";
|
|
278
|
+
readonly AFTER_TOOL_CALL: "after_tool_call";
|
|
279
|
+
readonly BEFORE_INVOCATION: "before_invocation";
|
|
280
|
+
readonly BEFORE_TOOL_CALL: "before_tool_call";
|
|
281
|
+
};
|
|
282
|
+
export type HarnessHookEventType = (typeof HarnessHookEventType)[keyof typeof HarnessHookEventType];
|
|
271
283
|
export declare const HarnessStopReason: {
|
|
272
284
|
readonly CONTENT_FILTERED: "content_filtered";
|
|
273
285
|
readonly END_TURN: "end_turn";
|
|
286
|
+
readonly HOOK_STOPPED: "hook_stopped";
|
|
274
287
|
readonly INTERRUPTED: "interrupted";
|
|
275
288
|
readonly MALFORMED_MODEL_OUTPUT: "malformed_model_output";
|
|
276
289
|
readonly MALFORMED_TOOL_USE: "malformed_tool_use";
|
|
@@ -15,6 +15,8 @@ import {
|
|
|
15
15
|
ExtractionMode,
|
|
16
16
|
HarnessBedrockApiFormat,
|
|
17
17
|
HarnessConversationRole,
|
|
18
|
+
HarnessHookDecision,
|
|
19
|
+
HarnessHookEventType,
|
|
18
20
|
HarnessOpenAiApiFormat,
|
|
19
21
|
HarnessStopReason,
|
|
20
22
|
HarnessToolType,
|
|
@@ -2380,6 +2382,7 @@ export interface HarnessLiteLlmModelConfig {
|
|
|
2380
2382
|
export interface HarnessOpenAiModelConfig {
|
|
2381
2383
|
modelId: string | undefined;
|
|
2382
2384
|
apiKeyArn: string | undefined;
|
|
2385
|
+
apiBase?: string | undefined;
|
|
2383
2386
|
maxTokens?: number | undefined;
|
|
2384
2387
|
temperature?: number | undefined;
|
|
2385
2388
|
topP?: number | undefined;
|
|
@@ -2852,6 +2855,13 @@ export interface HarnessContentBlockStartEvent {
|
|
|
2852
2855
|
export interface HarnessContentBlockStopEvent {
|
|
2853
2856
|
contentBlockIndex: number | undefined;
|
|
2854
2857
|
}
|
|
2858
|
+
export interface HarnessHookEvent {
|
|
2859
|
+
hookEventId: string | undefined;
|
|
2860
|
+
name: string | undefined;
|
|
2861
|
+
type: HarnessHookEventType | undefined;
|
|
2862
|
+
decision?: HarnessHookDecision | undefined;
|
|
2863
|
+
reason?: string | undefined;
|
|
2864
|
+
}
|
|
2855
2865
|
export interface HarnessMessageStartEvent {
|
|
2856
2866
|
role: HarnessConversationRole | undefined;
|
|
2857
2867
|
}
|
|
@@ -2876,6 +2886,7 @@ export type InvokeHarnessStreamOutput =
|
|
|
2876
2886
|
| InvokeHarnessStreamOutput.ContentBlockDeltaMember
|
|
2877
2887
|
| InvokeHarnessStreamOutput.ContentBlockStartMember
|
|
2878
2888
|
| InvokeHarnessStreamOutput.ContentBlockStopMember
|
|
2889
|
+
| InvokeHarnessStreamOutput.HookEventMember
|
|
2879
2890
|
| InvokeHarnessStreamOutput.InternalServerExceptionMember
|
|
2880
2891
|
| InvokeHarnessStreamOutput.MessageStartMember
|
|
2881
2892
|
| InvokeHarnessStreamOutput.MessageStopMember
|
|
@@ -2894,6 +2905,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2894
2905
|
internalServerException?: never;
|
|
2895
2906
|
validationException?: never;
|
|
2896
2907
|
runtimeClientError?: never;
|
|
2908
|
+
hookEvent?: never;
|
|
2897
2909
|
$unknown?: never;
|
|
2898
2910
|
}
|
|
2899
2911
|
interface ContentBlockStartMember {
|
|
@@ -2906,6 +2918,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2906
2918
|
internalServerException?: never;
|
|
2907
2919
|
validationException?: never;
|
|
2908
2920
|
runtimeClientError?: never;
|
|
2921
|
+
hookEvent?: never;
|
|
2909
2922
|
$unknown?: never;
|
|
2910
2923
|
}
|
|
2911
2924
|
interface ContentBlockDeltaMember {
|
|
@@ -2918,6 +2931,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2918
2931
|
internalServerException?: never;
|
|
2919
2932
|
validationException?: never;
|
|
2920
2933
|
runtimeClientError?: never;
|
|
2934
|
+
hookEvent?: never;
|
|
2921
2935
|
$unknown?: never;
|
|
2922
2936
|
}
|
|
2923
2937
|
interface ContentBlockStopMember {
|
|
@@ -2930,6 +2944,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2930
2944
|
internalServerException?: never;
|
|
2931
2945
|
validationException?: never;
|
|
2932
2946
|
runtimeClientError?: never;
|
|
2947
|
+
hookEvent?: never;
|
|
2933
2948
|
$unknown?: never;
|
|
2934
2949
|
}
|
|
2935
2950
|
interface MessageStopMember {
|
|
@@ -2942,6 +2957,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2942
2957
|
internalServerException?: never;
|
|
2943
2958
|
validationException?: never;
|
|
2944
2959
|
runtimeClientError?: never;
|
|
2960
|
+
hookEvent?: never;
|
|
2945
2961
|
$unknown?: never;
|
|
2946
2962
|
}
|
|
2947
2963
|
interface MetadataMember {
|
|
@@ -2954,6 +2970,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2954
2970
|
internalServerException?: never;
|
|
2955
2971
|
validationException?: never;
|
|
2956
2972
|
runtimeClientError?: never;
|
|
2973
|
+
hookEvent?: never;
|
|
2957
2974
|
$unknown?: never;
|
|
2958
2975
|
}
|
|
2959
2976
|
interface InternalServerExceptionMember {
|
|
@@ -2966,6 +2983,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2966
2983
|
internalServerException: InternalServerException;
|
|
2967
2984
|
validationException?: never;
|
|
2968
2985
|
runtimeClientError?: never;
|
|
2986
|
+
hookEvent?: never;
|
|
2969
2987
|
$unknown?: never;
|
|
2970
2988
|
}
|
|
2971
2989
|
interface ValidationExceptionMember {
|
|
@@ -2978,6 +2996,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2978
2996
|
internalServerException?: never;
|
|
2979
2997
|
validationException: ValidationException;
|
|
2980
2998
|
runtimeClientError?: never;
|
|
2999
|
+
hookEvent?: never;
|
|
2981
3000
|
$unknown?: never;
|
|
2982
3001
|
}
|
|
2983
3002
|
interface RuntimeClientErrorMember {
|
|
@@ -2990,6 +3009,20 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
2990
3009
|
internalServerException?: never;
|
|
2991
3010
|
validationException?: never;
|
|
2992
3011
|
runtimeClientError: RuntimeClientError;
|
|
3012
|
+
hookEvent?: never;
|
|
3013
|
+
$unknown?: never;
|
|
3014
|
+
}
|
|
3015
|
+
interface HookEventMember {
|
|
3016
|
+
messageStart?: never;
|
|
3017
|
+
contentBlockStart?: never;
|
|
3018
|
+
contentBlockDelta?: never;
|
|
3019
|
+
contentBlockStop?: never;
|
|
3020
|
+
messageStop?: never;
|
|
3021
|
+
metadata?: never;
|
|
3022
|
+
internalServerException?: never;
|
|
3023
|
+
validationException?: never;
|
|
3024
|
+
runtimeClientError?: never;
|
|
3025
|
+
hookEvent: HarnessHookEvent;
|
|
2993
3026
|
$unknown?: never;
|
|
2994
3027
|
}
|
|
2995
3028
|
interface $UnknownMember {
|
|
@@ -3002,6 +3035,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
3002
3035
|
internalServerException?: never;
|
|
3003
3036
|
validationException?: never;
|
|
3004
3037
|
runtimeClientError?: never;
|
|
3038
|
+
hookEvent?: never;
|
|
3005
3039
|
$unknown: [string, any];
|
|
3006
3040
|
}
|
|
3007
3041
|
interface Visitor<T> {
|
|
@@ -3014,6 +3048,7 @@ export declare namespace InvokeHarnessStreamOutput {
|
|
|
3014
3048
|
internalServerException: (value: InternalServerException) => T;
|
|
3015
3049
|
validationException: (value: ValidationException) => T;
|
|
3016
3050
|
runtimeClientError: (value: RuntimeClientError) => T;
|
|
3051
|
+
hookEvent: (value: HarnessHookEvent) => T;
|
|
3017
3052
|
_: (name: string, value: any) => T;
|
|
3018
3053
|
}
|
|
3019
3054
|
}
|
|
@@ -3253,8 +3288,3 @@ export interface DeleteEventInput {
|
|
|
3253
3288
|
export interface DeleteEventOutput {
|
|
3254
3289
|
eventId: string | undefined;
|
|
3255
3290
|
}
|
|
3256
|
-
export interface DeleteMemoryRecordInput {
|
|
3257
|
-
memoryId: string | undefined;
|
|
3258
|
-
memoryRecordId: string | undefined;
|
|
3259
|
-
namespace?: string | undefined;
|
|
3260
|
-
}
|
|
@@ -28,6 +28,11 @@ import {
|
|
|
28
28
|
MemoryRecordMetadataValue,
|
|
29
29
|
MetadataValue,
|
|
30
30
|
} from "./models_0";
|
|
31
|
+
export interface DeleteMemoryRecordInput {
|
|
32
|
+
memoryId: string | undefined;
|
|
33
|
+
memoryRecordId: string | undefined;
|
|
34
|
+
namespace?: string | undefined;
|
|
35
|
+
}
|
|
31
36
|
export interface DeleteMemoryRecordOutput {
|
|
32
37
|
memoryRecordId: string | undefined;
|
|
33
38
|
}
|
|
@@ -170,6 +170,7 @@ export declare var HarnessContentBlockDeltaEvent$: StaticStructureSchema;
|
|
|
170
170
|
export declare var HarnessContentBlockStartEvent$: StaticStructureSchema;
|
|
171
171
|
export declare var HarnessContentBlockStopEvent$: StaticStructureSchema;
|
|
172
172
|
export declare var HarnessGeminiModelConfig$: StaticStructureSchema;
|
|
173
|
+
export declare var HarnessHookEvent$: StaticStructureSchema;
|
|
173
174
|
export declare var HarnessInlineFunctionConfig$: StaticStructureSchema;
|
|
174
175
|
export declare var HarnessLiteLlmModelConfig$: StaticStructureSchema;
|
|
175
176
|
export declare var HarnessMessage$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1137.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
|
|
6
6
|
"license": "Apache-2.0",
|