@aws-sdk/client-bedrock-agentcore 3.906.0 → 3.908.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 +20 -10
- package/dist-es/protocols/Aws_restJson1.js +20 -10
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +2 -0
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +2 -0
- package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +2 -0
- package/dist-types/commands/StopBrowserSessionCommand.d.ts +2 -0
- package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +16 -16
package/dist-cjs/index.js
CHANGED
|
@@ -845,6 +845,8 @@ const se_InvokeCodeInterpreterCommand = async (input, context) => {
|
|
|
845
845
|
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
846
846
|
"content-type": "application/json",
|
|
847
847
|
[_xacisi]: input[_sI],
|
|
848
|
+
[_xati]: input[_tI],
|
|
849
|
+
[_t]: input[_tP],
|
|
848
850
|
});
|
|
849
851
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/tools/invoke");
|
|
850
852
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
@@ -974,9 +976,11 @@ const se_RetrieveMemoryRecordsCommand = async (input, context) => {
|
|
|
974
976
|
};
|
|
975
977
|
const se_StartBrowserSessionCommand = async (input, context) => {
|
|
976
978
|
const b = core.requestBuilder(input, context);
|
|
977
|
-
const headers = {
|
|
979
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
978
980
|
"content-type": "application/json",
|
|
979
|
-
|
|
981
|
+
[_xati]: input[_tI],
|
|
982
|
+
[_t]: input[_tP],
|
|
983
|
+
});
|
|
980
984
|
b.bp("/browsers/{browserIdentifier}/sessions/start");
|
|
981
985
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
982
986
|
let body;
|
|
@@ -991,9 +995,11 @@ const se_StartBrowserSessionCommand = async (input, context) => {
|
|
|
991
995
|
};
|
|
992
996
|
const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
993
997
|
const b = core.requestBuilder(input, context);
|
|
994
|
-
const headers = {
|
|
998
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
995
999
|
"content-type": "application/json",
|
|
996
|
-
|
|
1000
|
+
[_xati]: input[_tI],
|
|
1001
|
+
[_t]: input[_tP],
|
|
1002
|
+
});
|
|
997
1003
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/start");
|
|
998
1004
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
999
1005
|
let body;
|
|
@@ -1007,9 +1013,11 @@ const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
|
1007
1013
|
};
|
|
1008
1014
|
const se_StopBrowserSessionCommand = async (input, context) => {
|
|
1009
1015
|
const b = core.requestBuilder(input, context);
|
|
1010
|
-
const headers = {
|
|
1016
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1011
1017
|
"content-type": "application/json",
|
|
1012
|
-
|
|
1018
|
+
[_xati]: input[_tI],
|
|
1019
|
+
[_t]: input[_tP],
|
|
1020
|
+
});
|
|
1013
1021
|
b.bp("/browsers/{browserIdentifier}/sessions/stop");
|
|
1014
1022
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
1015
1023
|
const query = smithyClient.map({
|
|
@@ -1024,9 +1032,11 @@ const se_StopBrowserSessionCommand = async (input, context) => {
|
|
|
1024
1032
|
};
|
|
1025
1033
|
const se_StopCodeInterpreterSessionCommand = async (input, context) => {
|
|
1026
1034
|
const b = core.requestBuilder(input, context);
|
|
1027
|
-
const headers = {
|
|
1035
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1028
1036
|
"content-type": "application/json",
|
|
1029
|
-
|
|
1037
|
+
[_xati]: input[_tI],
|
|
1038
|
+
[_t]: input[_tP],
|
|
1039
|
+
});
|
|
1030
1040
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/stop");
|
|
1031
1041
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
1032
1042
|
const query = smithyClient.map({
|
|
@@ -1076,7 +1086,7 @@ const se_UpdateBrowserStreamCommand = async (input, context) => {
|
|
|
1076
1086
|
return b.build();
|
|
1077
1087
|
};
|
|
1078
1088
|
const de_BatchCreateMemoryRecordsCommand = async (output, context) => {
|
|
1079
|
-
if (output.statusCode !==
|
|
1089
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1080
1090
|
return de_CommandError(output, context);
|
|
1081
1091
|
}
|
|
1082
1092
|
const contents = smithyClient.map({
|
|
@@ -1121,7 +1131,7 @@ const de_BatchUpdateMemoryRecordsCommand = async (output, context) => {
|
|
|
1121
1131
|
return contents;
|
|
1122
1132
|
};
|
|
1123
1133
|
const de_CreateEventCommand = async (output, context) => {
|
|
1124
|
-
if (output.statusCode !==
|
|
1134
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1125
1135
|
return de_CommandError(output, context);
|
|
1126
1136
|
}
|
|
1127
1137
|
const contents = smithyClient.map({
|
|
@@ -254,6 +254,8 @@ export const se_InvokeCodeInterpreterCommand = async (input, context) => {
|
|
|
254
254
|
const headers = map({}, isSerializableHeaderValue, {
|
|
255
255
|
"content-type": "application/json",
|
|
256
256
|
[_xacisi]: input[_sI],
|
|
257
|
+
[_xati]: input[_tI],
|
|
258
|
+
[_t]: input[_tP],
|
|
257
259
|
});
|
|
258
260
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/tools/invoke");
|
|
259
261
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
@@ -383,9 +385,11 @@ export const se_RetrieveMemoryRecordsCommand = async (input, context) => {
|
|
|
383
385
|
};
|
|
384
386
|
export const se_StartBrowserSessionCommand = async (input, context) => {
|
|
385
387
|
const b = rb(input, context);
|
|
386
|
-
const headers = {
|
|
388
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
387
389
|
"content-type": "application/json",
|
|
388
|
-
|
|
390
|
+
[_xati]: input[_tI],
|
|
391
|
+
[_t]: input[_tP],
|
|
392
|
+
});
|
|
389
393
|
b.bp("/browsers/{browserIdentifier}/sessions/start");
|
|
390
394
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
391
395
|
let body;
|
|
@@ -400,9 +404,11 @@ export const se_StartBrowserSessionCommand = async (input, context) => {
|
|
|
400
404
|
};
|
|
401
405
|
export const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
402
406
|
const b = rb(input, context);
|
|
403
|
-
const headers = {
|
|
407
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
404
408
|
"content-type": "application/json",
|
|
405
|
-
|
|
409
|
+
[_xati]: input[_tI],
|
|
410
|
+
[_t]: input[_tP],
|
|
411
|
+
});
|
|
406
412
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/start");
|
|
407
413
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
408
414
|
let body;
|
|
@@ -416,9 +422,11 @@ export const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
|
416
422
|
};
|
|
417
423
|
export const se_StopBrowserSessionCommand = async (input, context) => {
|
|
418
424
|
const b = rb(input, context);
|
|
419
|
-
const headers = {
|
|
425
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
420
426
|
"content-type": "application/json",
|
|
421
|
-
|
|
427
|
+
[_xati]: input[_tI],
|
|
428
|
+
[_t]: input[_tP],
|
|
429
|
+
});
|
|
422
430
|
b.bp("/browsers/{browserIdentifier}/sessions/stop");
|
|
423
431
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
424
432
|
const query = map({
|
|
@@ -433,9 +441,11 @@ export const se_StopBrowserSessionCommand = async (input, context) => {
|
|
|
433
441
|
};
|
|
434
442
|
export const se_StopCodeInterpreterSessionCommand = async (input, context) => {
|
|
435
443
|
const b = rb(input, context);
|
|
436
|
-
const headers = {
|
|
444
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
437
445
|
"content-type": "application/json",
|
|
438
|
-
|
|
446
|
+
[_xati]: input[_tI],
|
|
447
|
+
[_t]: input[_tP],
|
|
448
|
+
});
|
|
439
449
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/stop");
|
|
440
450
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
441
451
|
const query = map({
|
|
@@ -485,7 +495,7 @@ export const se_UpdateBrowserStreamCommand = async (input, context) => {
|
|
|
485
495
|
return b.build();
|
|
486
496
|
};
|
|
487
497
|
export const de_BatchCreateMemoryRecordsCommand = async (output, context) => {
|
|
488
|
-
if (output.statusCode !==
|
|
498
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
489
499
|
return de_CommandError(output, context);
|
|
490
500
|
}
|
|
491
501
|
const contents = map({
|
|
@@ -530,7 +540,7 @@ export const de_BatchUpdateMemoryRecordsCommand = async (output, context) => {
|
|
|
530
540
|
return contents;
|
|
531
541
|
};
|
|
532
542
|
export const de_CreateEventCommand = async (output, context) => {
|
|
533
|
-
if (output.statusCode !==
|
|
543
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
534
544
|
return de_CommandError(output, context);
|
|
535
545
|
}
|
|
536
546
|
const contents = map({
|
|
@@ -34,7 +34,7 @@ declare const InvokeAgentRuntimeCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p>Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time. </p> <p>To invoke an agent you must specify the AgentCore Runtime ARN and provide a payload containing your request. You can optionally specify a qualifier to target a specific version or endpoint of the agent.</p> <p>This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.</p> <p>For example code, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-invoke-agent.html">Invoke an AgentCore Runtime agent</a>. </p> <p>If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call <code>InvokeAgentRuntime</code>. Instead, make a HTTPS request to <code>InvokeAgentRuntime</code>. For an example, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-oauth.html">Authenticate and authorize with Inbound Auth and Outbound Auth</a>.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:InvokeAgentRuntime</code> permission
|
|
37
|
+
* <p>Sends a request to an agent or tool hosted in an Amazon Bedrock AgentCore Runtime and receives responses in real-time. </p> <p>To invoke an agent you must specify the AgentCore Runtime ARN and provide a payload containing your request. You can optionally specify a qualifier to target a specific version or endpoint of the agent.</p> <p>This operation supports streaming responses, allowing you to receive partial responses as they become available. We recommend using pagination to ensure that the operation returns quickly and successfully when processing large responses.</p> <p>For example code, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-invoke-agent.html">Invoke an AgentCore Runtime agent</a>. </p> <p>If you're integrating your agent with OAuth, you can't use the Amazon Web Services SDK to call <code>InvokeAgentRuntime</code>. Instead, make a HTTPS request to <code>InvokeAgentRuntime</code>. For an example, see <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-oauth.html">Authenticate and authorize with Inbound Auth and Outbound Auth</a>.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:InvokeAgentRuntime</code> permission. If you are making a call to <code>InvokeAgentRuntime</code> on behalf of a user ID with the <code>X-Amzn-Bedrock-AgentCore-Runtime-User-Id</code> header, You require permissions to both actions (<code>bedrock-agentcore:InvokeAgentRuntime</code> and <code>bedrock-agentcore:InvokeAgentRuntimeForUser</code>). </p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -39,6 +39,8 @@ declare const InvokeCodeInterpreterCommand_base: {
|
|
|
39
39
|
* const input = { // InvokeCodeInterpreterRequest
|
|
40
40
|
* codeInterpreterIdentifier: "STRING_VALUE", // required
|
|
41
41
|
* sessionId: "STRING_VALUE",
|
|
42
|
+
* traceId: "STRING_VALUE",
|
|
43
|
+
* traceParent: "STRING_VALUE",
|
|
42
44
|
* name: "executeCode" || "executeCommand" || "readFiles" || "listFiles" || "removeFiles" || "writeFiles" || "startCommandExecution" || "getTask" || "stopTask", // required
|
|
43
45
|
* arguments: { // ToolArguments
|
|
44
46
|
* code: "STRING_VALUE",
|
|
@@ -37,6 +37,8 @@ declare const StartBrowserSessionCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
38
38
|
* const client = new BedrockAgentCoreClient(config);
|
|
39
39
|
* const input = { // StartBrowserSessionRequest
|
|
40
|
+
* traceId: "STRING_VALUE",
|
|
41
|
+
* traceParent: "STRING_VALUE",
|
|
40
42
|
* browserIdentifier: "STRING_VALUE", // required
|
|
41
43
|
* name: "STRING_VALUE",
|
|
42
44
|
* sessionTimeoutSeconds: Number("int"),
|
|
@@ -37,6 +37,8 @@ declare const StartCodeInterpreterSessionCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
38
38
|
* const client = new BedrockAgentCoreClient(config);
|
|
39
39
|
* const input = { // StartCodeInterpreterSessionRequest
|
|
40
|
+
* traceId: "STRING_VALUE",
|
|
41
|
+
* traceParent: "STRING_VALUE",
|
|
40
42
|
* codeInterpreterIdentifier: "STRING_VALUE", // required
|
|
41
43
|
* name: "STRING_VALUE",
|
|
42
44
|
* sessionTimeoutSeconds: Number("int"),
|
|
@@ -37,6 +37,8 @@ declare const StopBrowserSessionCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
38
38
|
* const client = new BedrockAgentCoreClient(config);
|
|
39
39
|
* const input = { // StopBrowserSessionRequest
|
|
40
|
+
* traceId: "STRING_VALUE",
|
|
41
|
+
* traceParent: "STRING_VALUE",
|
|
40
42
|
* browserIdentifier: "STRING_VALUE", // required
|
|
41
43
|
* sessionId: "STRING_VALUE", // required
|
|
42
44
|
* clientToken: "STRING_VALUE",
|
|
@@ -37,6 +37,8 @@ declare const StopCodeInterpreterSessionCommand_base: {
|
|
|
37
37
|
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
38
38
|
* const client = new BedrockAgentCoreClient(config);
|
|
39
39
|
* const input = { // StopCodeInterpreterSessionRequest
|
|
40
|
+
* traceId: "STRING_VALUE",
|
|
41
|
+
* traceParent: "STRING_VALUE",
|
|
40
42
|
* codeInterpreterIdentifier: "STRING_VALUE", // required
|
|
41
43
|
* sessionId: "STRING_VALUE", // required
|
|
42
44
|
* clientToken: "STRING_VALUE",
|
|
@@ -591,6 +591,16 @@ export interface ListBrowserSessionsResponse {
|
|
|
591
591
|
* @public
|
|
592
592
|
*/
|
|
593
593
|
export interface StartBrowserSessionRequest {
|
|
594
|
+
/**
|
|
595
|
+
* <p>The trace identifier for request tracking.</p>
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
598
|
+
traceId?: string | undefined;
|
|
599
|
+
/**
|
|
600
|
+
* <p>The parent trace information for distributed tracing.</p>
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
603
|
+
traceParent?: string | undefined;
|
|
594
604
|
/**
|
|
595
605
|
* <p>The unique identifier of the browser to use for this session. This identifier specifies which browser environment to initialize for the session.</p>
|
|
596
606
|
* @public
|
|
@@ -646,6 +656,16 @@ export interface StartBrowserSessionResponse {
|
|
|
646
656
|
* @public
|
|
647
657
|
*/
|
|
648
658
|
export interface StopBrowserSessionRequest {
|
|
659
|
+
/**
|
|
660
|
+
* <p>The trace identifier for request tracking.</p>
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
traceId?: string | undefined;
|
|
664
|
+
/**
|
|
665
|
+
* <p>The parent trace information for distributed tracing.</p>
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
traceParent?: string | undefined;
|
|
649
669
|
/**
|
|
650
670
|
* <p>The unique identifier of the browser associated with the session.</p>
|
|
651
671
|
* @public
|
|
@@ -915,6 +935,16 @@ export interface ListCodeInterpreterSessionsResponse {
|
|
|
915
935
|
* @public
|
|
916
936
|
*/
|
|
917
937
|
export interface StartCodeInterpreterSessionRequest {
|
|
938
|
+
/**
|
|
939
|
+
* <p>The trace identifier for request tracking.</p>
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
traceId?: string | undefined;
|
|
943
|
+
/**
|
|
944
|
+
* <p>The parent trace information for distributed tracing.</p>
|
|
945
|
+
* @public
|
|
946
|
+
*/
|
|
947
|
+
traceParent?: string | undefined;
|
|
918
948
|
/**
|
|
919
949
|
* <p>The unique identifier of the code interpreter to use for this session. This identifier specifies which code interpreter environment to initialize for the session.</p>
|
|
920
950
|
* @public
|
|
@@ -960,6 +990,16 @@ export interface StartCodeInterpreterSessionResponse {
|
|
|
960
990
|
* @public
|
|
961
991
|
*/
|
|
962
992
|
export interface StopCodeInterpreterSessionRequest {
|
|
993
|
+
/**
|
|
994
|
+
* <p>The trace identifier for request tracking.</p>
|
|
995
|
+
* @public
|
|
996
|
+
*/
|
|
997
|
+
traceId?: string | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* <p>The parent trace information for distributed tracing.</p>
|
|
1000
|
+
* @public
|
|
1001
|
+
*/
|
|
1002
|
+
traceParent?: string | undefined;
|
|
963
1003
|
/**
|
|
964
1004
|
* <p>The unique identifier of the code interpreter associated with the session.</p>
|
|
965
1005
|
* @public
|
|
@@ -1276,6 +1316,16 @@ export interface InvokeCodeInterpreterRequest {
|
|
|
1276
1316
|
* @public
|
|
1277
1317
|
*/
|
|
1278
1318
|
sessionId?: string | undefined;
|
|
1319
|
+
/**
|
|
1320
|
+
* <p>The trace identifier for request tracking.</p>
|
|
1321
|
+
* @public
|
|
1322
|
+
*/
|
|
1323
|
+
traceId?: string | undefined;
|
|
1324
|
+
/**
|
|
1325
|
+
* <p>The parent trace information for distributed tracing.</p>
|
|
1326
|
+
* @public
|
|
1327
|
+
*/
|
|
1328
|
+
traceParent?: string | undefined;
|
|
1279
1329
|
/**
|
|
1280
1330
|
* <p>The name of the code interpreter to invoke.</p>
|
|
1281
1331
|
* @public
|
|
@@ -190,6 +190,8 @@ export interface ListBrowserSessionsResponse {
|
|
|
190
190
|
nextToken?: string | undefined;
|
|
191
191
|
}
|
|
192
192
|
export interface StartBrowserSessionRequest {
|
|
193
|
+
traceId?: string | undefined;
|
|
194
|
+
traceParent?: string | undefined;
|
|
193
195
|
browserIdentifier: string | undefined;
|
|
194
196
|
name?: string | undefined;
|
|
195
197
|
sessionTimeoutSeconds?: number | undefined;
|
|
@@ -203,6 +205,8 @@ export interface StartBrowserSessionResponse {
|
|
|
203
205
|
streams?: BrowserSessionStream | undefined;
|
|
204
206
|
}
|
|
205
207
|
export interface StopBrowserSessionRequest {
|
|
208
|
+
traceId?: string | undefined;
|
|
209
|
+
traceParent?: string | undefined;
|
|
206
210
|
browserIdentifier: string | undefined;
|
|
207
211
|
sessionId: string | undefined;
|
|
208
212
|
clientToken?: string | undefined;
|
|
@@ -282,6 +286,8 @@ export interface ListCodeInterpreterSessionsResponse {
|
|
|
282
286
|
nextToken?: string | undefined;
|
|
283
287
|
}
|
|
284
288
|
export interface StartCodeInterpreterSessionRequest {
|
|
289
|
+
traceId?: string | undefined;
|
|
290
|
+
traceParent?: string | undefined;
|
|
285
291
|
codeInterpreterIdentifier: string | undefined;
|
|
286
292
|
name?: string | undefined;
|
|
287
293
|
sessionTimeoutSeconds?: number | undefined;
|
|
@@ -293,6 +299,8 @@ export interface StartCodeInterpreterSessionResponse {
|
|
|
293
299
|
createdAt: Date | undefined;
|
|
294
300
|
}
|
|
295
301
|
export interface StopCodeInterpreterSessionRequest {
|
|
302
|
+
traceId?: string | undefined;
|
|
303
|
+
traceParent?: string | undefined;
|
|
296
304
|
codeInterpreterIdentifier: string | undefined;
|
|
297
305
|
sessionId: string | undefined;
|
|
298
306
|
clientToken?: string | undefined;
|
|
@@ -386,6 +394,8 @@ export type ToolName = (typeof ToolName)[keyof typeof ToolName];
|
|
|
386
394
|
export interface InvokeCodeInterpreterRequest {
|
|
387
395
|
codeInterpreterIdentifier: string | undefined;
|
|
388
396
|
sessionId?: string | undefined;
|
|
397
|
+
traceId?: string | undefined;
|
|
398
|
+
traceParent?: string | undefined;
|
|
389
399
|
name: ToolName | undefined;
|
|
390
400
|
arguments?: ToolArguments | undefined;
|
|
391
401
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.908.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-agentcore",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.908.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.908.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.901.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.908.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
30
30
|
"@aws-sdk/types": "3.901.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.901.0",
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.907.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.908.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.3.0",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.15.0",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.2.0",
|
|
37
37
|
"@smithy/eventstream-serde-config-resolver": "^4.3.0",
|
|
38
38
|
"@smithy/eventstream-serde-node": "^4.2.0",
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.1",
|
|
40
40
|
"@smithy/hash-node": "^4.2.0",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.0",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.0",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.1",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.1",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.0",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.0",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.0",
|
|
48
48
|
"@smithy/node-http-handler": "^4.3.0",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.0",
|
|
50
|
-
"@smithy/smithy-client": "^4.7.
|
|
50
|
+
"@smithy/smithy-client": "^4.7.1",
|
|
51
51
|
"@smithy/types": "^4.6.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.0",
|
|
53
|
-
"@smithy/util-base64": "^4.
|
|
53
|
+
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.0",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.1",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.0",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.0",
|
|
60
60
|
"@smithy/util-retry": "^4.2.0",
|
|
61
|
-
"@smithy/util-stream": "^4.
|
|
61
|
+
"@smithy/util-stream": "^4.5.0",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.0",
|
|
63
63
|
"@smithy/uuid": "^1.1.0",
|
|
64
64
|
"tslib": "^2.6.2"
|