@aws-sdk/client-bedrock-agent-runtime 3.775.0 → 3.782.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 +21 -0
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +14 -0
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -0
- package/dist-types/commands/EndSessionCommand.d.ts +1 -0
- package/dist-types/commands/GenerateQueryCommand.d.ts +1 -0
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +1 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -0
- package/dist-types/commands/GetSessionCommand.d.ts +1 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -19
- package/dist-types/commands/InvokeFlowCommand.d.ts +8 -0
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +1 -0
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -0
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/OptimizePromptCommand.d.ts +1 -0
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -0
- package/dist-types/commands/RerankCommand.d.ts +1 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -0
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -0
- package/dist-types/commands/RetrieveCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +73 -36
- package/dist-types/models/models_1.d.ts +31 -1
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +23 -7
- package/dist-types/ts3.4/models/models_1.d.ts +8 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -96,6 +96,7 @@ __export(index_exports, {
|
|
|
96
96
|
FlowTraceConditionNodeResultEventFilterSensitiveLog: () => FlowTraceConditionNodeResultEventFilterSensitiveLog,
|
|
97
97
|
FlowTraceEventFilterSensitiveLog: () => FlowTraceEventFilterSensitiveLog,
|
|
98
98
|
FlowTraceFilterSensitiveLog: () => FlowTraceFilterSensitiveLog,
|
|
99
|
+
FlowTraceNodeActionEventFilterSensitiveLog: () => FlowTraceNodeActionEventFilterSensitiveLog,
|
|
99
100
|
FlowTraceNodeInputContent: () => FlowTraceNodeInputContent,
|
|
100
101
|
FlowTraceNodeInputContentFilterSensitiveLog: () => FlowTraceNodeInputContentFilterSensitiveLog,
|
|
101
102
|
FlowTraceNodeInputEventFilterSensitiveLog: () => FlowTraceNodeInputEventFilterSensitiveLog,
|
|
@@ -762,6 +763,7 @@ var FlowTrace;
|
|
|
762
763
|
if (value.nodeOutputTrace !== void 0) return visitor.nodeOutputTrace(value.nodeOutputTrace);
|
|
763
764
|
if (value.conditionNodeResultTrace !== void 0)
|
|
764
765
|
return visitor.conditionNodeResultTrace(value.conditionNodeResultTrace);
|
|
766
|
+
if (value.nodeActionTrace !== void 0) return visitor.nodeActionTrace(value.nodeActionTrace);
|
|
765
767
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
766
768
|
}, "visit");
|
|
767
769
|
})(FlowTrace || (FlowTrace = {}));
|
|
@@ -1432,6 +1434,9 @@ var FlowTraceConditionNodeResultEventFilterSensitiveLog = /* @__PURE__ */ __name
|
|
|
1432
1434
|
...obj,
|
|
1433
1435
|
...obj.satisfiedConditions && { satisfiedConditions: import_smithy_client.SENSITIVE_STRING }
|
|
1434
1436
|
}), "FlowTraceConditionNodeResultEventFilterSensitiveLog");
|
|
1437
|
+
var FlowTraceNodeActionEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1438
|
+
...obj
|
|
1439
|
+
}), "FlowTraceNodeActionEventFilterSensitiveLog");
|
|
1435
1440
|
var FlowTraceNodeInputContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1436
1441
|
if (obj.document !== void 0) return { document: obj.document };
|
|
1437
1442
|
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
@@ -1456,6 +1461,7 @@ var FlowTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
|
1456
1461
|
if (obj.nodeInputTrace !== void 0) return { nodeInputTrace: import_smithy_client.SENSITIVE_STRING };
|
|
1457
1462
|
if (obj.nodeOutputTrace !== void 0) return { nodeOutputTrace: import_smithy_client.SENSITIVE_STRING };
|
|
1458
1463
|
if (obj.conditionNodeResultTrace !== void 0) return { conditionNodeResultTrace: import_smithy_client.SENSITIVE_STRING };
|
|
1464
|
+
if (obj.nodeActionTrace !== void 0) return { nodeActionTrace: import_smithy_client.SENSITIVE_STRING };
|
|
1459
1465
|
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1460
1466
|
}, "FlowTraceFilterSensitiveLog");
|
|
1461
1467
|
var FlowTraceEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
@@ -4284,6 +4290,11 @@ var de_FlowTrace = /* @__PURE__ */ __name((output, context) => {
|
|
|
4284
4290
|
conditionNodeResultTrace: de_FlowTraceConditionNodeResultEvent(output.conditionNodeResultTrace, context)
|
|
4285
4291
|
};
|
|
4286
4292
|
}
|
|
4293
|
+
if (output.nodeActionTrace != null) {
|
|
4294
|
+
return {
|
|
4295
|
+
nodeActionTrace: de_FlowTraceNodeActionEvent(output.nodeActionTrace, context)
|
|
4296
|
+
};
|
|
4297
|
+
}
|
|
4287
4298
|
if (output.nodeInputTrace != null) {
|
|
4288
4299
|
return {
|
|
4289
4300
|
nodeInputTrace: de_FlowTraceNodeInputEvent(output.nodeInputTrace, context)
|
|
@@ -4308,6 +4319,15 @@ var de_FlowTraceEvent = /* @__PURE__ */ __name((output, context) => {
|
|
|
4308
4319
|
trace: /* @__PURE__ */ __name((_) => de_FlowTrace((0, import_core2.awsExpectUnion)(_), context), "trace")
|
|
4309
4320
|
});
|
|
4310
4321
|
}, "de_FlowTraceEvent");
|
|
4322
|
+
var de_FlowTraceNodeActionEvent = /* @__PURE__ */ __name((output, context) => {
|
|
4323
|
+
return (0, import_smithy_client.take)(output, {
|
|
4324
|
+
nodeName: import_smithy_client.expectString,
|
|
4325
|
+
operationName: import_smithy_client.expectString,
|
|
4326
|
+
requestId: import_smithy_client.expectString,
|
|
4327
|
+
serviceName: import_smithy_client.expectString,
|
|
4328
|
+
timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
|
|
4329
|
+
});
|
|
4330
|
+
}, "de_FlowTraceNodeActionEvent");
|
|
4311
4331
|
var de_FlowTraceNodeInputContent = /* @__PURE__ */ __name((output, context) => {
|
|
4312
4332
|
if (output.document != null) {
|
|
4313
4333
|
return {
|
|
@@ -5489,6 +5509,7 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
5489
5509
|
FlowOutputEventFilterSensitiveLog,
|
|
5490
5510
|
FlowTraceConditionFilterSensitiveLog,
|
|
5491
5511
|
FlowTraceConditionNodeResultEventFilterSensitiveLog,
|
|
5512
|
+
FlowTraceNodeActionEventFilterSensitiveLog,
|
|
5492
5513
|
FlowTraceNodeInputContentFilterSensitiveLog,
|
|
5493
5514
|
FlowTraceNodeInputFieldFilterSensitiveLog,
|
|
5494
5515
|
FlowTraceNodeInputEventFilterSensitiveLog,
|
|
@@ -241,6 +241,8 @@ export var FlowTrace;
|
|
|
241
241
|
return visitor.nodeOutputTrace(value.nodeOutputTrace);
|
|
242
242
|
if (value.conditionNodeResultTrace !== undefined)
|
|
243
243
|
return visitor.conditionNodeResultTrace(value.conditionNodeResultTrace);
|
|
244
|
+
if (value.nodeActionTrace !== undefined)
|
|
245
|
+
return visitor.nodeActionTrace(value.nodeActionTrace);
|
|
244
246
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
245
247
|
};
|
|
246
248
|
})(FlowTrace || (FlowTrace = {}));
|
|
@@ -960,6 +962,9 @@ export const FlowTraceConditionNodeResultEventFilterSensitiveLog = (obj) => ({
|
|
|
960
962
|
...obj,
|
|
961
963
|
...(obj.satisfiedConditions && { satisfiedConditions: SENSITIVE_STRING }),
|
|
962
964
|
});
|
|
965
|
+
export const FlowTraceNodeActionEventFilterSensitiveLog = (obj) => ({
|
|
966
|
+
...obj,
|
|
967
|
+
});
|
|
963
968
|
export const FlowTraceNodeInputContentFilterSensitiveLog = (obj) => {
|
|
964
969
|
if (obj.document !== undefined)
|
|
965
970
|
return { document: obj.document };
|
|
@@ -989,6 +994,8 @@ export const FlowTraceFilterSensitiveLog = (obj) => {
|
|
|
989
994
|
return { nodeOutputTrace: SENSITIVE_STRING };
|
|
990
995
|
if (obj.conditionNodeResultTrace !== undefined)
|
|
991
996
|
return { conditionNodeResultTrace: SENSITIVE_STRING };
|
|
997
|
+
if (obj.nodeActionTrace !== undefined)
|
|
998
|
+
return { nodeActionTrace: SENSITIVE_STRING };
|
|
992
999
|
if (obj.$unknown !== undefined)
|
|
993
1000
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
994
1001
|
};
|
|
@@ -1993,6 +1993,11 @@ const de_FlowTrace = (output, context) => {
|
|
|
1993
1993
|
conditionNodeResultTrace: de_FlowTraceConditionNodeResultEvent(output.conditionNodeResultTrace, context),
|
|
1994
1994
|
};
|
|
1995
1995
|
}
|
|
1996
|
+
if (output.nodeActionTrace != null) {
|
|
1997
|
+
return {
|
|
1998
|
+
nodeActionTrace: de_FlowTraceNodeActionEvent(output.nodeActionTrace, context),
|
|
1999
|
+
};
|
|
2000
|
+
}
|
|
1996
2001
|
if (output.nodeInputTrace != null) {
|
|
1997
2002
|
return {
|
|
1998
2003
|
nodeInputTrace: de_FlowTraceNodeInputEvent(output.nodeInputTrace, context),
|
|
@@ -2017,6 +2022,15 @@ const de_FlowTraceEvent = (output, context) => {
|
|
|
2017
2022
|
trace: (_) => de_FlowTrace(__expectUnion(_), context),
|
|
2018
2023
|
});
|
|
2019
2024
|
};
|
|
2025
|
+
const de_FlowTraceNodeActionEvent = (output, context) => {
|
|
2026
|
+
return take(output, {
|
|
2027
|
+
nodeName: __expectString,
|
|
2028
|
+
operationName: __expectString,
|
|
2029
|
+
requestId: __expectString,
|
|
2030
|
+
serviceName: __expectString,
|
|
2031
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2032
|
+
});
|
|
2033
|
+
};
|
|
2020
2034
|
const de_FlowTraceNodeInputContent = (output, context) => {
|
|
2021
2035
|
if (output.document != null) {
|
|
2022
2036
|
return {
|
|
@@ -98,6 +98,7 @@ declare const CreateInvocationCommand_base: {
|
|
|
98
98
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
100
100
|
*
|
|
101
|
+
*
|
|
101
102
|
* @public
|
|
102
103
|
*/
|
|
103
104
|
export declare class CreateInvocationCommand extends CreateInvocationCommand_base {
|
|
@@ -116,6 +116,7 @@ declare const CreateSessionCommand_base: {
|
|
|
116
116
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
118
118
|
*
|
|
119
|
+
*
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
export declare class CreateSessionCommand extends CreateSessionCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const DeleteAgentMemoryCommand_base: {
|
|
|
82
82
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class DeleteAgentMemoryCommand extends DeleteAgentMemoryCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const DeleteSessionCommand_base: {
|
|
|
72
72
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class DeleteSessionCommand extends DeleteSessionCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const EndSessionCommand_base: {
|
|
|
76
76
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class EndSessionCommand extends EndSessionCommand_base {
|
|
@@ -98,6 +98,7 @@ declare const GenerateQueryCommand_base: {
|
|
|
98
98
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
99
99
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
100
100
|
*
|
|
101
|
+
*
|
|
101
102
|
* @public
|
|
102
103
|
*/
|
|
103
104
|
export declare class GenerateQueryCommand extends GenerateQueryCommand_base {
|
|
@@ -97,6 +97,7 @@ declare const GetAgentMemoryCommand_base: {
|
|
|
97
97
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class GetAgentMemoryCommand extends GetAgentMemoryCommand_base {
|
|
@@ -92,6 +92,7 @@ declare const GetInvocationStepCommand_base: {
|
|
|
92
92
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
94
94
|
*
|
|
95
|
+
*
|
|
95
96
|
* @public
|
|
96
97
|
*/
|
|
97
98
|
export declare class GetInvocationStepCommand extends GetInvocationStepCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const GetSessionCommand_base: {
|
|
|
77
77
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class GetSessionCommand extends GetSessionCommand_base {
|
|
@@ -39,25 +39,6 @@ declare const InvokeAgentCommand_base: {
|
|
|
39
39
|
* <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events">Trace enablement</a>.</p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
42
|
-
* <p>To stream agent responses, make sure that only orchestration prompt is enabled. Agent streaming is not supported for the following steps:
|
|
43
|
-
* </p>
|
|
44
|
-
* <ul>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>Pre-processing</code>
|
|
48
|
-
* </p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>
|
|
52
|
-
* <code>Post-processing</code>
|
|
53
|
-
* </p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>Agent with 1 Knowledge base and <code>User Input</code> not enabled</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* </ul>
|
|
59
|
-
* </li>
|
|
60
|
-
* <li>
|
|
61
42
|
* <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p>
|
|
62
43
|
* </li>
|
|
63
44
|
* <li>
|
|
@@ -1224,6 +1205,7 @@ declare const InvokeAgentCommand_base: {
|
|
|
1224
1205
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
1225
1206
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
1226
1207
|
*
|
|
1208
|
+
*
|
|
1227
1209
|
* @public
|
|
1228
1210
|
*/
|
|
1229
1211
|
export declare class InvokeAgentCommand extends InvokeAgentCommand_base {
|
|
@@ -107,6 +107,13 @@ declare const InvokeFlowCommand_base: {
|
|
|
107
107
|
* // },
|
|
108
108
|
* // ],
|
|
109
109
|
* // },
|
|
110
|
+
* // nodeActionTrace: { // FlowTraceNodeActionEvent
|
|
111
|
+
* // nodeName: "STRING_VALUE", // required
|
|
112
|
+
* // timestamp: new Date("TIMESTAMP"), // required
|
|
113
|
+
* // requestId: "STRING_VALUE", // required
|
|
114
|
+
* // serviceName: "STRING_VALUE", // required
|
|
115
|
+
* // operationName: "STRING_VALUE", // required
|
|
116
|
+
* // },
|
|
110
117
|
* // },
|
|
111
118
|
* // },
|
|
112
119
|
* // internalServerException: { // InternalServerException
|
|
@@ -188,6 +195,7 @@ declare const InvokeFlowCommand_base: {
|
|
|
188
195
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
189
196
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
190
197
|
*
|
|
198
|
+
*
|
|
191
199
|
* @public
|
|
192
200
|
*/
|
|
193
201
|
export declare class InvokeFlowCommand extends InvokeFlowCommand_base {
|
|
@@ -1381,6 +1381,7 @@ declare const InvokeInlineAgentCommand_base: {
|
|
|
1381
1381
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
1382
1382
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
1383
1383
|
*
|
|
1384
|
+
*
|
|
1384
1385
|
* @public
|
|
1385
1386
|
*/
|
|
1386
1387
|
export declare class InvokeInlineAgentCommand extends InvokeInlineAgentCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const ListInvocationStepsCommand_base: {
|
|
|
80
80
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ListInvocationStepsCommand extends ListInvocationStepsCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const ListInvocationsCommand_base: {
|
|
|
78
78
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class ListInvocationsCommand extends ListInvocationsCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const ListSessionsCommand_base: {
|
|
|
76
76
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListSessionsCommand extends ListSessionsCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
71
71
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -109,6 +109,7 @@ declare const OptimizePromptCommand_base: {
|
|
|
109
109
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
111
111
|
*
|
|
112
|
+
*
|
|
112
113
|
* @public
|
|
113
114
|
*/
|
|
114
115
|
export declare class OptimizePromptCommand extends OptimizePromptCommand_base {
|
|
@@ -117,6 +117,7 @@ declare const PutInvocationStepCommand_base: {
|
|
|
117
117
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
118
118
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
119
119
|
*
|
|
120
|
+
*
|
|
120
121
|
* @public
|
|
121
122
|
*/
|
|
122
123
|
export declare class PutInvocationStepCommand extends PutInvocationStepCommand_base {
|
|
@@ -126,6 +126,7 @@ declare const RerankCommand_base: {
|
|
|
126
126
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
127
127
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
128
128
|
*
|
|
129
|
+
*
|
|
129
130
|
* @public
|
|
130
131
|
*/
|
|
131
132
|
export declare class RerankCommand extends RerankCommand_base {
|
|
@@ -343,6 +343,7 @@ declare const RetrieveAndGenerateCommand_base: {
|
|
|
343
343
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
344
344
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
345
345
|
*
|
|
346
|
+
*
|
|
346
347
|
* @public
|
|
347
348
|
*/
|
|
348
349
|
export declare class RetrieveAndGenerateCommand extends RetrieveAndGenerateCommand_base {
|
|
@@ -436,6 +436,7 @@ declare const RetrieveAndGenerateStreamCommand_base: {
|
|
|
436
436
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
437
437
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
438
438
|
*
|
|
439
|
+
*
|
|
439
440
|
* @public
|
|
440
441
|
*/
|
|
441
442
|
export declare class RetrieveAndGenerateStreamCommand extends RetrieveAndGenerateStreamCommand_base {
|
|
@@ -233,6 +233,7 @@ declare const RetrieveCommand_base: {
|
|
|
233
233
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
234
234
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
235
235
|
*
|
|
236
|
+
*
|
|
236
237
|
* @public
|
|
237
238
|
*/
|
|
238
239
|
export declare class RetrieveCommand extends RetrieveCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const TagResourceCommand_base: {
|
|
|
73
73
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -70,6 +70,7 @@ declare const UntagResourceCommand_base: {
|
|
|
70
70
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { UpdateSessionRequest
|
|
4
|
+
import { UpdateSessionRequest } from "../models/models_0";
|
|
5
|
+
import { UpdateSessionResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -79,6 +80,7 @@ declare const UpdateSessionCommand_base: {
|
|
|
79
80
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
80
81
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
81
82
|
*
|
|
83
|
+
*
|
|
82
84
|
* @public
|
|
83
85
|
*/
|
|
84
86
|
export declare class UpdateSessionCommand extends UpdateSessionCommand_base {
|
|
@@ -1496,6 +1496,38 @@ export interface FlowTraceConditionNodeResultEvent {
|
|
|
1496
1496
|
*/
|
|
1497
1497
|
satisfiedConditions: FlowTraceCondition[] | undefined;
|
|
1498
1498
|
}
|
|
1499
|
+
/**
|
|
1500
|
+
* <p>Contains information about an action (operation) called by a node in an Amazon Bedrock flow. The service generates action events for calls made by prompt nodes,
|
|
1501
|
+
* agent nodes, and Amazon Web Services Lambda nodes. </p>
|
|
1502
|
+
* @public
|
|
1503
|
+
*/
|
|
1504
|
+
export interface FlowTraceNodeActionEvent {
|
|
1505
|
+
/**
|
|
1506
|
+
* <p>The name of the node that called the operation.</p>
|
|
1507
|
+
* @public
|
|
1508
|
+
*/
|
|
1509
|
+
nodeName: string | undefined;
|
|
1510
|
+
/**
|
|
1511
|
+
* <p>The date and time that the operation was called.</p>
|
|
1512
|
+
* @public
|
|
1513
|
+
*/
|
|
1514
|
+
timestamp: Date | undefined;
|
|
1515
|
+
/**
|
|
1516
|
+
* <p>The ID of the request that the node made to the operation.</p>
|
|
1517
|
+
* @public
|
|
1518
|
+
*/
|
|
1519
|
+
requestId: string | undefined;
|
|
1520
|
+
/**
|
|
1521
|
+
* <p>The name of the service that the node called.</p>
|
|
1522
|
+
* @public
|
|
1523
|
+
*/
|
|
1524
|
+
serviceName: string | undefined;
|
|
1525
|
+
/**
|
|
1526
|
+
* <p>The name of the operation that the node called.</p>
|
|
1527
|
+
* @public
|
|
1528
|
+
*/
|
|
1529
|
+
operationName: string | undefined;
|
|
1530
|
+
}
|
|
1499
1531
|
/**
|
|
1500
1532
|
* <p>Contains the content of the node input. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>
|
|
1501
1533
|
* @public
|
|
@@ -1634,7 +1666,7 @@ export interface FlowTraceNodeOutputEvent {
|
|
|
1634
1666
|
* <p>Contains information about an input or output for a node in the flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>
|
|
1635
1667
|
* @public
|
|
1636
1668
|
*/
|
|
1637
|
-
export type FlowTrace = FlowTrace.ConditionNodeResultTraceMember | FlowTrace.NodeInputTraceMember | FlowTrace.NodeOutputTraceMember | FlowTrace.$UnknownMember;
|
|
1669
|
+
export type FlowTrace = FlowTrace.ConditionNodeResultTraceMember | FlowTrace.NodeActionTraceMember | FlowTrace.NodeInputTraceMember | FlowTrace.NodeOutputTraceMember | FlowTrace.$UnknownMember;
|
|
1638
1670
|
/**
|
|
1639
1671
|
* @public
|
|
1640
1672
|
*/
|
|
@@ -1647,6 +1679,7 @@ export declare namespace FlowTrace {
|
|
|
1647
1679
|
nodeInputTrace: FlowTraceNodeInputEvent;
|
|
1648
1680
|
nodeOutputTrace?: never;
|
|
1649
1681
|
conditionNodeResultTrace?: never;
|
|
1682
|
+
nodeActionTrace?: never;
|
|
1650
1683
|
$unknown?: never;
|
|
1651
1684
|
}
|
|
1652
1685
|
/**
|
|
@@ -1657,6 +1690,7 @@ export declare namespace FlowTrace {
|
|
|
1657
1690
|
nodeInputTrace?: never;
|
|
1658
1691
|
nodeOutputTrace: FlowTraceNodeOutputEvent;
|
|
1659
1692
|
conditionNodeResultTrace?: never;
|
|
1693
|
+
nodeActionTrace?: never;
|
|
1660
1694
|
$unknown?: never;
|
|
1661
1695
|
}
|
|
1662
1696
|
/**
|
|
@@ -1667,6 +1701,19 @@ export declare namespace FlowTrace {
|
|
|
1667
1701
|
nodeInputTrace?: never;
|
|
1668
1702
|
nodeOutputTrace?: never;
|
|
1669
1703
|
conditionNodeResultTrace: FlowTraceConditionNodeResultEvent;
|
|
1704
|
+
nodeActionTrace?: never;
|
|
1705
|
+
$unknown?: never;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* <p>Contains information about an action (operation) called by a node.
|
|
1709
|
+
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>
|
|
1710
|
+
* @public
|
|
1711
|
+
*/
|
|
1712
|
+
interface NodeActionTraceMember {
|
|
1713
|
+
nodeInputTrace?: never;
|
|
1714
|
+
nodeOutputTrace?: never;
|
|
1715
|
+
conditionNodeResultTrace?: never;
|
|
1716
|
+
nodeActionTrace: FlowTraceNodeActionEvent;
|
|
1670
1717
|
$unknown?: never;
|
|
1671
1718
|
}
|
|
1672
1719
|
/**
|
|
@@ -1676,12 +1723,14 @@ export declare namespace FlowTrace {
|
|
|
1676
1723
|
nodeInputTrace?: never;
|
|
1677
1724
|
nodeOutputTrace?: never;
|
|
1678
1725
|
conditionNodeResultTrace?: never;
|
|
1726
|
+
nodeActionTrace?: never;
|
|
1679
1727
|
$unknown: [string, any];
|
|
1680
1728
|
}
|
|
1681
1729
|
interface Visitor<T> {
|
|
1682
1730
|
nodeInputTrace: (value: FlowTraceNodeInputEvent) => T;
|
|
1683
1731
|
nodeOutputTrace: (value: FlowTraceNodeOutputEvent) => T;
|
|
1684
1732
|
conditionNodeResultTrace: (value: FlowTraceConditionNodeResultEvent) => T;
|
|
1733
|
+
nodeActionTrace: (value: FlowTraceNodeActionEvent) => T;
|
|
1685
1734
|
_: (name: string, value: any) => T;
|
|
1686
1735
|
}
|
|
1687
1736
|
const visit: <T>(value: FlowTrace, visitor: Visitor<T>) => T;
|
|
@@ -2616,8 +2665,7 @@ export interface VectorSearchRerankingConfiguration {
|
|
|
2616
2665
|
bedrockRerankingConfiguration?: VectorSearchBedrockRerankingConfiguration | undefined;
|
|
2617
2666
|
}
|
|
2618
2667
|
/**
|
|
2619
|
-
* <p>
|
|
2620
|
-
* Configurations for streaming.</p>
|
|
2668
|
+
* <p>Configurations for streaming.</p>
|
|
2621
2669
|
* @public
|
|
2622
2670
|
*/
|
|
2623
2671
|
export interface StreamingConfigurations {
|
|
@@ -2629,9 +2677,24 @@ export interface StreamingConfigurations {
|
|
|
2629
2677
|
*/
|
|
2630
2678
|
streamFinalResponse?: boolean | undefined;
|
|
2631
2679
|
/**
|
|
2632
|
-
* <p>
|
|
2633
|
-
*
|
|
2634
|
-
*
|
|
2680
|
+
* <p> The guardrail interval to apply as response is generated. By default, the guardrail
|
|
2681
|
+
* interval is set to 50 characters. If a larger interval is specified, the response will
|
|
2682
|
+
* be generated in larger chunks with fewer <code>ApplyGuardrail</code> calls. The
|
|
2683
|
+
* following examples show the response generated for <i>Hello, I am an
|
|
2684
|
+
* agent</i> input string.</p>
|
|
2685
|
+
* <p>
|
|
2686
|
+
* <b>Example response in chunks: Interval set to 3 characters</b>
|
|
2687
|
+
* </p>
|
|
2688
|
+
* <p>
|
|
2689
|
+
* <code>'Hel', 'lo, ','I am', ' an', ' Age', 'nt'</code>
|
|
2690
|
+
* </p>
|
|
2691
|
+
* <p>Each chunk has at least 3 characters except for the last chunk</p>
|
|
2692
|
+
* <p>
|
|
2693
|
+
* <b>Example response in chunks: Interval set to 20 or more characters</b>
|
|
2694
|
+
* </p>
|
|
2695
|
+
* <p>
|
|
2696
|
+
* <code>Hello, I am an Agent</code>
|
|
2697
|
+
* </p>
|
|
2635
2698
|
* @public
|
|
2636
2699
|
*/
|
|
2637
2700
|
applyGuardrailInterval?: number | undefined;
|
|
@@ -7828,36 +7891,6 @@ export interface UpdateSessionRequest {
|
|
|
7828
7891
|
*/
|
|
7829
7892
|
sessionIdentifier: string | undefined;
|
|
7830
7893
|
}
|
|
7831
|
-
/**
|
|
7832
|
-
* @public
|
|
7833
|
-
*/
|
|
7834
|
-
export interface UpdateSessionResponse {
|
|
7835
|
-
/**
|
|
7836
|
-
* <p>The unique identifier of the session you updated.</p>
|
|
7837
|
-
* @public
|
|
7838
|
-
*/
|
|
7839
|
-
sessionId: string | undefined;
|
|
7840
|
-
/**
|
|
7841
|
-
* <p>The Amazon Resource Name (ARN) of the session that was updated.</p>
|
|
7842
|
-
* @public
|
|
7843
|
-
*/
|
|
7844
|
-
sessionArn: string | undefined;
|
|
7845
|
-
/**
|
|
7846
|
-
* <p>The status of the session you updated.</p>
|
|
7847
|
-
* @public
|
|
7848
|
-
*/
|
|
7849
|
-
sessionStatus: SessionStatus | undefined;
|
|
7850
|
-
/**
|
|
7851
|
-
* <p>The timestamp for when the session was created.</p>
|
|
7852
|
-
* @public
|
|
7853
|
-
*/
|
|
7854
|
-
createdAt: Date | undefined;
|
|
7855
|
-
/**
|
|
7856
|
-
* <p>The timestamp for when the session was last modified.</p>
|
|
7857
|
-
* @public
|
|
7858
|
-
*/
|
|
7859
|
-
lastUpdatedAt: Date | undefined;
|
|
7860
|
-
}
|
|
7861
7894
|
/**
|
|
7862
7895
|
* @internal
|
|
7863
7896
|
*/
|
|
@@ -7958,6 +7991,10 @@ export declare const FlowTraceConditionFilterSensitiveLog: (obj: FlowTraceCondit
|
|
|
7958
7991
|
* @internal
|
|
7959
7992
|
*/
|
|
7960
7993
|
export declare const FlowTraceConditionNodeResultEventFilterSensitiveLog: (obj: FlowTraceConditionNodeResultEvent) => any;
|
|
7994
|
+
/**
|
|
7995
|
+
* @internal
|
|
7996
|
+
*/
|
|
7997
|
+
export declare const FlowTraceNodeActionEventFilterSensitiveLog: (obj: FlowTraceNodeActionEvent) => any;
|
|
7961
7998
|
/**
|
|
7962
7999
|
* @internal
|
|
7963
8000
|
*/
|
|
@@ -1,4 +1,34 @@
|
|
|
1
|
-
import { AgentActionGroup, AgentCollaboration, BedrockModelConfigurations, CollaboratorConfiguration, ConversationHistory, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, KnowledgeBaseQuery, OrchestrationConfiguration, PromptOverrideConfiguration, RetrieveAndGenerateInput, RetrieveAndGenerateSessionConfiguration, RetrieveAndGenerateType, SearchType, StreamingConfigurations, VectorSearchRerankingConfiguration } from "./models_0";
|
|
1
|
+
import { AgentActionGroup, AgentCollaboration, BedrockModelConfigurations, CollaboratorConfiguration, ConversationHistory, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailConfiguration, GuardrailConfigurationWithArn, ImplicitFilterConfiguration, InlineBedrockModelConfigurations, InlineSessionState, InputFile, InvocationResultMember, KnowledgeBaseQuery, OrchestrationConfiguration, PromptOverrideConfiguration, RetrieveAndGenerateInput, RetrieveAndGenerateSessionConfiguration, RetrieveAndGenerateType, SearchType, SessionStatus, StreamingConfigurations, VectorSearchRerankingConfiguration } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface UpdateSessionResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The unique identifier of the session you updated.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
sessionId: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The Amazon Resource Name (ARN) of the session that was updated.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
sessionArn: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The status of the session you updated.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
sessionStatus: SessionStatus | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The timestamp for when the session was created.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
createdAt: Date | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The timestamp for when the session was last modified.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
lastUpdatedAt: Date | undefined;
|
|
31
|
+
}
|
|
2
32
|
/**
|
|
3
33
|
* @public
|
|
4
34
|
*/
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
UpdateSessionResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { UpdateSessionRequest } from "../models/models_0";
|
|
9
|
+
import { UpdateSessionResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface UpdateSessionCommandInput extends UpdateSessionRequest {}
|
|
@@ -502,6 +502,13 @@ export interface FlowTraceConditionNodeResultEvent {
|
|
|
502
502
|
timestamp: Date | undefined;
|
|
503
503
|
satisfiedConditions: FlowTraceCondition[] | undefined;
|
|
504
504
|
}
|
|
505
|
+
export interface FlowTraceNodeActionEvent {
|
|
506
|
+
nodeName: string | undefined;
|
|
507
|
+
timestamp: Date | undefined;
|
|
508
|
+
requestId: string | undefined;
|
|
509
|
+
serviceName: string | undefined;
|
|
510
|
+
operationName: string | undefined;
|
|
511
|
+
}
|
|
505
512
|
export type FlowTraceNodeInputContent =
|
|
506
513
|
| FlowTraceNodeInputContent.DocumentMember
|
|
507
514
|
| FlowTraceNodeInputContent.$UnknownMember;
|
|
@@ -558,6 +565,7 @@ export interface FlowTraceNodeOutputEvent {
|
|
|
558
565
|
}
|
|
559
566
|
export type FlowTrace =
|
|
560
567
|
| FlowTrace.ConditionNodeResultTraceMember
|
|
568
|
+
| FlowTrace.NodeActionTraceMember
|
|
561
569
|
| FlowTrace.NodeInputTraceMember
|
|
562
570
|
| FlowTrace.NodeOutputTraceMember
|
|
563
571
|
| FlowTrace.$UnknownMember;
|
|
@@ -566,30 +574,42 @@ export declare namespace FlowTrace {
|
|
|
566
574
|
nodeInputTrace: FlowTraceNodeInputEvent;
|
|
567
575
|
nodeOutputTrace?: never;
|
|
568
576
|
conditionNodeResultTrace?: never;
|
|
577
|
+
nodeActionTrace?: never;
|
|
569
578
|
$unknown?: never;
|
|
570
579
|
}
|
|
571
580
|
interface NodeOutputTraceMember {
|
|
572
581
|
nodeInputTrace?: never;
|
|
573
582
|
nodeOutputTrace: FlowTraceNodeOutputEvent;
|
|
574
583
|
conditionNodeResultTrace?: never;
|
|
584
|
+
nodeActionTrace?: never;
|
|
575
585
|
$unknown?: never;
|
|
576
586
|
}
|
|
577
587
|
interface ConditionNodeResultTraceMember {
|
|
578
588
|
nodeInputTrace?: never;
|
|
579
589
|
nodeOutputTrace?: never;
|
|
580
590
|
conditionNodeResultTrace: FlowTraceConditionNodeResultEvent;
|
|
591
|
+
nodeActionTrace?: never;
|
|
592
|
+
$unknown?: never;
|
|
593
|
+
}
|
|
594
|
+
interface NodeActionTraceMember {
|
|
595
|
+
nodeInputTrace?: never;
|
|
596
|
+
nodeOutputTrace?: never;
|
|
597
|
+
conditionNodeResultTrace?: never;
|
|
598
|
+
nodeActionTrace: FlowTraceNodeActionEvent;
|
|
581
599
|
$unknown?: never;
|
|
582
600
|
}
|
|
583
601
|
interface $UnknownMember {
|
|
584
602
|
nodeInputTrace?: never;
|
|
585
603
|
nodeOutputTrace?: never;
|
|
586
604
|
conditionNodeResultTrace?: never;
|
|
605
|
+
nodeActionTrace?: never;
|
|
587
606
|
$unknown: [string, any];
|
|
588
607
|
}
|
|
589
608
|
interface Visitor<T> {
|
|
590
609
|
nodeInputTrace: (value: FlowTraceNodeInputEvent) => T;
|
|
591
610
|
nodeOutputTrace: (value: FlowTraceNodeOutputEvent) => T;
|
|
592
611
|
conditionNodeResultTrace: (value: FlowTraceConditionNodeResultEvent) => T;
|
|
612
|
+
nodeActionTrace: (value: FlowTraceNodeActionEvent) => T;
|
|
593
613
|
_: (name: string, value: any) => T;
|
|
594
614
|
}
|
|
595
615
|
const visit: <T>(value: FlowTrace, visitor: Visitor<T>) => T;
|
|
@@ -3319,13 +3339,6 @@ export interface UpdateSessionRequest {
|
|
|
3319
3339
|
sessionMetadata?: Record<string, string> | undefined;
|
|
3320
3340
|
sessionIdentifier: string | undefined;
|
|
3321
3341
|
}
|
|
3322
|
-
export interface UpdateSessionResponse {
|
|
3323
|
-
sessionId: string | undefined;
|
|
3324
|
-
sessionArn: string | undefined;
|
|
3325
|
-
sessionStatus: SessionStatus | undefined;
|
|
3326
|
-
createdAt: Date | undefined;
|
|
3327
|
-
lastUpdatedAt: Date | undefined;
|
|
3328
|
-
}
|
|
3329
3342
|
export declare const ActionGroupInvocationInputFilterSensitiveLog: (
|
|
3330
3343
|
obj: ActionGroupInvocationInput
|
|
3331
3344
|
) => any;
|
|
@@ -3395,6 +3408,9 @@ export declare const FlowTraceConditionFilterSensitiveLog: (
|
|
|
3395
3408
|
export declare const FlowTraceConditionNodeResultEventFilterSensitiveLog: (
|
|
3396
3409
|
obj: FlowTraceConditionNodeResultEvent
|
|
3397
3410
|
) => any;
|
|
3411
|
+
export declare const FlowTraceNodeActionEventFilterSensitiveLog: (
|
|
3412
|
+
obj: FlowTraceNodeActionEvent
|
|
3413
|
+
) => any;
|
|
3398
3414
|
export declare const FlowTraceNodeInputContentFilterSensitiveLog: (
|
|
3399
3415
|
obj: FlowTraceNodeInputContent
|
|
3400
3416
|
) => any;
|
|
@@ -21,9 +21,17 @@ import {
|
|
|
21
21
|
RetrieveAndGenerateSessionConfiguration,
|
|
22
22
|
RetrieveAndGenerateType,
|
|
23
23
|
SearchType,
|
|
24
|
+
SessionStatus,
|
|
24
25
|
StreamingConfigurations,
|
|
25
26
|
VectorSearchRerankingConfiguration,
|
|
26
27
|
} from "./models_0";
|
|
28
|
+
export interface UpdateSessionResponse {
|
|
29
|
+
sessionId: string | undefined;
|
|
30
|
+
sessionArn: string | undefined;
|
|
31
|
+
sessionStatus: SessionStatus | undefined;
|
|
32
|
+
createdAt: Date | undefined;
|
|
33
|
+
lastUpdatedAt: Date | undefined;
|
|
34
|
+
}
|
|
27
35
|
export interface ListTagsForResourceRequest {
|
|
28
36
|
resourceArn: string | undefined;
|
|
29
37
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.0.2",
|