@aws-sdk/client-bedrock-agentcore 3.983.0 → 3.985.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/README.md +7 -0
- package/dist-cjs/index.js +46 -4
- package/dist-es/BedrockAgentCore.js +2 -0
- package/dist-es/commands/SaveBrowserSessionProfileCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +28 -4
- package/dist-types/BedrockAgentCore.d.ts +7 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +3 -2
- package/dist-types/commands/GetBrowserSessionCommand.d.ts +4 -1
- package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +1 -1
- package/dist-types/commands/ListBrowserSessionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +1 -1
- package/dist-types/commands/SaveBrowserSessionProfileCommand.d.ts +100 -0
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +4 -1
- package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopBrowserSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +101 -20
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SaveBrowserSessionProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -397,6 +397,13 @@ RetrieveMemoryRecords
|
|
|
397
397
|
</details>
|
|
398
398
|
<details>
|
|
399
399
|
<summary>
|
|
400
|
+
SaveBrowserSessionProfile
|
|
401
|
+
</summary>
|
|
402
|
+
|
|
403
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/SaveBrowserSessionProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/SaveBrowserSessionProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/SaveBrowserSessionProfileCommandOutput/)
|
|
404
|
+
</details>
|
|
405
|
+
<details>
|
|
406
|
+
<summary>
|
|
400
407
|
StartBrowserSession
|
|
401
408
|
</summary>
|
|
402
409
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -312,6 +312,7 @@ const _BDMRO = "BatchDeleteMemoryRecordsOutput";
|
|
|
312
312
|
const _BE = "BrowserExtension";
|
|
313
313
|
const _BEr = "BrowserExtensions";
|
|
314
314
|
const _BF = "BranchFilter";
|
|
315
|
+
const _BPC = "BrowserProfileConfiguration";
|
|
315
316
|
const _BSS = "BrowserSessionStream";
|
|
316
317
|
const _BSSr = "BrowserSessionSummary";
|
|
317
318
|
const _BSSro = "BrowserSessionSummaries";
|
|
@@ -461,6 +462,9 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
461
462
|
const _RS = "ResponseStream";
|
|
462
463
|
const _S = "State";
|
|
463
464
|
const _SBS = "StartBrowserSession";
|
|
465
|
+
const _SBSP = "SaveBrowserSessionProfile";
|
|
466
|
+
const _SBSPR = "SaveBrowserSessionProfileRequest";
|
|
467
|
+
const _SBSPRa = "SaveBrowserSessionProfileResponse";
|
|
464
468
|
const _SBSR = "StartBrowserSessionRequest";
|
|
465
469
|
const _SBSRt = "StartBrowserSessionResponse";
|
|
466
470
|
const _SBSRto = "StopBrowserSessionRequest";
|
|
@@ -612,6 +616,8 @@ const _o = "operator";
|
|
|
612
616
|
const _oF = "oauth2Flow";
|
|
613
617
|
const _oT = "outputTokens";
|
|
614
618
|
const _p = "payload";
|
|
619
|
+
const _pC = "profileConfiguration";
|
|
620
|
+
const _pI = "profileIdentifier";
|
|
615
621
|
const _pa = "path";
|
|
616
622
|
const _pat = "paths";
|
|
617
623
|
const _pr = "prefix";
|
|
@@ -772,6 +778,11 @@ var BrowserExtension$ = [3, n0, _BE,
|
|
|
772
778
|
[_l],
|
|
773
779
|
[() => ResourceLocation$], 1
|
|
774
780
|
];
|
|
781
|
+
var BrowserProfileConfiguration$ = [3, n0, _BPC,
|
|
782
|
+
0,
|
|
783
|
+
[_pI],
|
|
784
|
+
[0], 1
|
|
785
|
+
];
|
|
775
786
|
var BrowserSessionStream$ = [3, n0, _BSS,
|
|
776
787
|
0,
|
|
777
788
|
[_aS, _lVS],
|
|
@@ -916,8 +927,8 @@ var GetBrowserSessionRequest$ = [3, n0, _GBSR,
|
|
|
916
927
|
];
|
|
917
928
|
var GetBrowserSessionResponse$ = [3, n0, _GBSRe,
|
|
918
929
|
0,
|
|
919
|
-
[_bI, _sI, _cA, _n, _vP, _ext, _sTS, _sta, _str, _sRA, _lUA],
|
|
920
|
-
[0, 0, 5, 0, () => ViewPort$, () => BrowserExtensions, 1, 0, () => BrowserSessionStream$, 0, 5], 3
|
|
930
|
+
[_bI, _sI, _cA, _n, _vP, _ext, _pC, _sTS, _sta, _str, _sRA, _lUA],
|
|
931
|
+
[0, 0, 5, 0, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, 1, 0, () => BrowserSessionStream$, 0, 5], 3
|
|
921
932
|
];
|
|
922
933
|
var GetCodeInterpreterSessionRequest$ = [3, n0, _GCISR,
|
|
923
934
|
0,
|
|
@@ -1189,6 +1200,16 @@ var S3Location$ = [3, n0, _SL,
|
|
|
1189
1200
|
[_bu, _pr, _vI],
|
|
1190
1201
|
[0, 0, 0], 2
|
|
1191
1202
|
];
|
|
1203
|
+
var SaveBrowserSessionProfileRequest$ = [3, n0, _SBSPR,
|
|
1204
|
+
0,
|
|
1205
|
+
[_pI, _bI, _sI, _tI, _tP, _cT],
|
|
1206
|
+
[[0, 1], 0, 0, [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, 4]], 3
|
|
1207
|
+
];
|
|
1208
|
+
var SaveBrowserSessionProfileResponse$ = [3, n0, _SBSPRa,
|
|
1209
|
+
0,
|
|
1210
|
+
[_pI, _bI, _sI, _lUA],
|
|
1211
|
+
[0, 0, 0, 5], 4
|
|
1212
|
+
];
|
|
1192
1213
|
var SearchCriteria$ = [3, n0, _SC,
|
|
1193
1214
|
0,
|
|
1194
1215
|
[_sQ, _mSIe, _tK, _mF],
|
|
@@ -1218,8 +1239,8 @@ var SpanContext$ = [3, n0, _SCp,
|
|
|
1218
1239
|
];
|
|
1219
1240
|
var StartBrowserSessionRequest$ = [3, n0, _SBSR,
|
|
1220
1241
|
0,
|
|
1221
|
-
[_bI, _tI, _tP, _n, _sTS, _vP, _ext, _cT],
|
|
1222
|
-
[[0, 1], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], 0, 1, () => ViewPort$, () => BrowserExtensions, [0, 4]], 1
|
|
1242
|
+
[_bI, _tI, _tP, _n, _sTS, _vP, _ext, _pC, _cT],
|
|
1243
|
+
[[0, 1], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], 0, 1, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, [0, 4]], 1
|
|
1223
1244
|
];
|
|
1224
1245
|
var StartBrowserSessionResponse$ = [3, n0, _SBSRt,
|
|
1225
1246
|
0,
|
|
@@ -1570,6 +1591,9 @@ var ListSessions$ = [9, n0, _LS,
|
|
|
1570
1591
|
var RetrieveMemoryRecords$ = [9, n0, _RMR,
|
|
1571
1592
|
{ [_ht]: ["POST", "/memories/{memoryId}/retrieve", 200] }, () => RetrieveMemoryRecordsInput$, () => RetrieveMemoryRecordsOutput$
|
|
1572
1593
|
];
|
|
1594
|
+
var SaveBrowserSessionProfile$ = [9, n0, _SBSP,
|
|
1595
|
+
{ [_ht]: ["PUT", "/browser-profiles/{profileIdentifier}/save", 200] }, () => SaveBrowserSessionProfileRequest$, () => SaveBrowserSessionProfileResponse$
|
|
1596
|
+
];
|
|
1573
1597
|
var StartBrowserSession$ = [9, n0, _SBS,
|
|
1574
1598
|
{ [_ht]: ["PUT", "/browsers/{browserIdentifier}/sessions/start", 200] }, () => StartBrowserSessionRequest$, () => StartBrowserSessionResponse$
|
|
1575
1599
|
];
|
|
@@ -1932,6 +1956,18 @@ class RetrieveMemoryRecordsCommand extends smithyClient.Command
|
|
|
1932
1956
|
.build() {
|
|
1933
1957
|
}
|
|
1934
1958
|
|
|
1959
|
+
class SaveBrowserSessionProfileCommand extends smithyClient.Command
|
|
1960
|
+
.classBuilder()
|
|
1961
|
+
.ep(commonParams)
|
|
1962
|
+
.m(function (Command, cs, config, o) {
|
|
1963
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1964
|
+
})
|
|
1965
|
+
.s("AmazonBedrockAgentCore", "SaveBrowserSessionProfile", {})
|
|
1966
|
+
.n("BedrockAgentCoreClient", "SaveBrowserSessionProfileCommand")
|
|
1967
|
+
.sc(SaveBrowserSessionProfile$)
|
|
1968
|
+
.build() {
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1935
1971
|
class StartBrowserSessionCommand extends smithyClient.Command
|
|
1936
1972
|
.classBuilder()
|
|
1937
1973
|
.ep(commonParams)
|
|
@@ -2057,6 +2093,7 @@ const commands = {
|
|
|
2057
2093
|
ListMemoryRecordsCommand,
|
|
2058
2094
|
ListSessionsCommand,
|
|
2059
2095
|
RetrieveMemoryRecordsCommand,
|
|
2096
|
+
SaveBrowserSessionProfileCommand,
|
|
2060
2097
|
StartBrowserSessionCommand,
|
|
2061
2098
|
StartCodeInterpreterSessionCommand,
|
|
2062
2099
|
StartMemoryExtractionJobCommand,
|
|
@@ -2189,6 +2226,7 @@ exports.BedrockAgentCoreServiceException$ = BedrockAgentCoreServiceException$;
|
|
|
2189
2226
|
exports.Branch$ = Branch$;
|
|
2190
2227
|
exports.BranchFilter$ = BranchFilter$;
|
|
2191
2228
|
exports.BrowserExtension$ = BrowserExtension$;
|
|
2229
|
+
exports.BrowserProfileConfiguration$ = BrowserProfileConfiguration$;
|
|
2192
2230
|
exports.BrowserSessionStatus = BrowserSessionStatus;
|
|
2193
2231
|
exports.BrowserSessionStream$ = BrowserSessionStream$;
|
|
2194
2232
|
exports.BrowserSessionSummary$ = BrowserSessionSummary$;
|
|
@@ -2350,6 +2388,10 @@ exports.Role = Role;
|
|
|
2350
2388
|
exports.RuntimeClientError = RuntimeClientError;
|
|
2351
2389
|
exports.RuntimeClientError$ = RuntimeClientError$;
|
|
2352
2390
|
exports.S3Location$ = S3Location$;
|
|
2391
|
+
exports.SaveBrowserSessionProfile$ = SaveBrowserSessionProfile$;
|
|
2392
|
+
exports.SaveBrowserSessionProfileCommand = SaveBrowserSessionProfileCommand;
|
|
2393
|
+
exports.SaveBrowserSessionProfileRequest$ = SaveBrowserSessionProfileRequest$;
|
|
2394
|
+
exports.SaveBrowserSessionProfileResponse$ = SaveBrowserSessionProfileResponse$;
|
|
2353
2395
|
exports.SearchCriteria$ = SearchCriteria$;
|
|
2354
2396
|
exports.ServiceException = ServiceException;
|
|
2355
2397
|
exports.ServiceException$ = ServiceException$;
|
|
@@ -28,6 +28,7 @@ import { ListMemoryExtractionJobsCommand, } from "./commands/ListMemoryExtractio
|
|
|
28
28
|
import { ListMemoryRecordsCommand, } from "./commands/ListMemoryRecordsCommand";
|
|
29
29
|
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
30
30
|
import { RetrieveMemoryRecordsCommand, } from "./commands/RetrieveMemoryRecordsCommand";
|
|
31
|
+
import { SaveBrowserSessionProfileCommand, } from "./commands/SaveBrowserSessionProfileCommand";
|
|
31
32
|
import { StartBrowserSessionCommand, } from "./commands/StartBrowserSessionCommand";
|
|
32
33
|
import { StartCodeInterpreterSessionCommand, } from "./commands/StartCodeInterpreterSessionCommand";
|
|
33
34
|
import { StartMemoryExtractionJobCommand, } from "./commands/StartMemoryExtractionJobCommand";
|
|
@@ -70,6 +71,7 @@ const commands = {
|
|
|
70
71
|
ListMemoryRecordsCommand,
|
|
71
72
|
ListSessionsCommand,
|
|
72
73
|
RetrieveMemoryRecordsCommand,
|
|
74
|
+
SaveBrowserSessionProfileCommand,
|
|
73
75
|
StartBrowserSessionCommand,
|
|
74
76
|
StartCodeInterpreterSessionCommand,
|
|
75
77
|
StartMemoryExtractionJobCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SaveBrowserSessionProfile$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SaveBrowserSessionProfileCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "SaveBrowserSessionProfile", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "SaveBrowserSessionProfileCommand")
|
|
14
|
+
.sc(SaveBrowserSessionProfile$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from "./ListMemoryExtractionJobsCommand";
|
|
|
26
26
|
export * from "./ListMemoryRecordsCommand";
|
|
27
27
|
export * from "./ListSessionsCommand";
|
|
28
28
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
29
|
+
export * from "./SaveBrowserSessionProfileCommand";
|
|
29
30
|
export * from "./StartBrowserSessionCommand";
|
|
30
31
|
export * from "./StartCodeInterpreterSessionCommand";
|
|
31
32
|
export * from "./StartMemoryExtractionJobCommand";
|
|
@@ -17,6 +17,7 @@ const _BDMRO = "BatchDeleteMemoryRecordsOutput";
|
|
|
17
17
|
const _BE = "BrowserExtension";
|
|
18
18
|
const _BEr = "BrowserExtensions";
|
|
19
19
|
const _BF = "BranchFilter";
|
|
20
|
+
const _BPC = "BrowserProfileConfiguration";
|
|
20
21
|
const _BSS = "BrowserSessionStream";
|
|
21
22
|
const _BSSr = "BrowserSessionSummary";
|
|
22
23
|
const _BSSro = "BrowserSessionSummaries";
|
|
@@ -166,6 +167,9 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
166
167
|
const _RS = "ResponseStream";
|
|
167
168
|
const _S = "State";
|
|
168
169
|
const _SBS = "StartBrowserSession";
|
|
170
|
+
const _SBSP = "SaveBrowserSessionProfile";
|
|
171
|
+
const _SBSPR = "SaveBrowserSessionProfileRequest";
|
|
172
|
+
const _SBSPRa = "SaveBrowserSessionProfileResponse";
|
|
169
173
|
const _SBSR = "StartBrowserSessionRequest";
|
|
170
174
|
const _SBSRt = "StartBrowserSessionResponse";
|
|
171
175
|
const _SBSRto = "StopBrowserSessionRequest";
|
|
@@ -317,6 +321,8 @@ const _o = "operator";
|
|
|
317
321
|
const _oF = "oauth2Flow";
|
|
318
322
|
const _oT = "outputTokens";
|
|
319
323
|
const _p = "payload";
|
|
324
|
+
const _pC = "profileConfiguration";
|
|
325
|
+
const _pI = "profileIdentifier";
|
|
320
326
|
const _pa = "path";
|
|
321
327
|
const _pat = "paths";
|
|
322
328
|
const _pr = "prefix";
|
|
@@ -480,6 +486,11 @@ export var BrowserExtension$ = [3, n0, _BE,
|
|
|
480
486
|
[_l],
|
|
481
487
|
[() => ResourceLocation$], 1
|
|
482
488
|
];
|
|
489
|
+
export var BrowserProfileConfiguration$ = [3, n0, _BPC,
|
|
490
|
+
0,
|
|
491
|
+
[_pI],
|
|
492
|
+
[0], 1
|
|
493
|
+
];
|
|
483
494
|
export var BrowserSessionStream$ = [3, n0, _BSS,
|
|
484
495
|
0,
|
|
485
496
|
[_aS, _lVS],
|
|
@@ -624,8 +635,8 @@ export var GetBrowserSessionRequest$ = [3, n0, _GBSR,
|
|
|
624
635
|
];
|
|
625
636
|
export var GetBrowserSessionResponse$ = [3, n0, _GBSRe,
|
|
626
637
|
0,
|
|
627
|
-
[_bI, _sI, _cA, _n, _vP, _ext, _sTS, _sta, _str, _sRA, _lUA],
|
|
628
|
-
[0, 0, 5, 0, () => ViewPort$, () => BrowserExtensions, 1, 0, () => BrowserSessionStream$, 0, 5], 3
|
|
638
|
+
[_bI, _sI, _cA, _n, _vP, _ext, _pC, _sTS, _sta, _str, _sRA, _lUA],
|
|
639
|
+
[0, 0, 5, 0, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, 1, 0, () => BrowserSessionStream$, 0, 5], 3
|
|
629
640
|
];
|
|
630
641
|
export var GetCodeInterpreterSessionRequest$ = [3, n0, _GCISR,
|
|
631
642
|
0,
|
|
@@ -897,6 +908,16 @@ export var S3Location$ = [3, n0, _SL,
|
|
|
897
908
|
[_bu, _pr, _vI],
|
|
898
909
|
[0, 0, 0], 2
|
|
899
910
|
];
|
|
911
|
+
export var SaveBrowserSessionProfileRequest$ = [3, n0, _SBSPR,
|
|
912
|
+
0,
|
|
913
|
+
[_pI, _bI, _sI, _tI, _tP, _cT],
|
|
914
|
+
[[0, 1], 0, 0, [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, 4]], 3
|
|
915
|
+
];
|
|
916
|
+
export var SaveBrowserSessionProfileResponse$ = [3, n0, _SBSPRa,
|
|
917
|
+
0,
|
|
918
|
+
[_pI, _bI, _sI, _lUA],
|
|
919
|
+
[0, 0, 0, 5], 4
|
|
920
|
+
];
|
|
900
921
|
export var SearchCriteria$ = [3, n0, _SC,
|
|
901
922
|
0,
|
|
902
923
|
[_sQ, _mSIe, _tK, _mF],
|
|
@@ -926,8 +947,8 @@ export var SpanContext$ = [3, n0, _SCp,
|
|
|
926
947
|
];
|
|
927
948
|
export var StartBrowserSessionRequest$ = [3, n0, _SBSR,
|
|
928
949
|
0,
|
|
929
|
-
[_bI, _tI, _tP, _n, _sTS, _vP, _ext, _cT],
|
|
930
|
-
[[0, 1], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], 0, 1, () => ViewPort$, () => BrowserExtensions, [0, 4]], 1
|
|
950
|
+
[_bI, _tI, _tP, _n, _sTS, _vP, _ext, _pC, _cT],
|
|
951
|
+
[[0, 1], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], 0, 1, () => ViewPort$, () => BrowserExtensions, () => BrowserProfileConfiguration$, [0, 4]], 1
|
|
931
952
|
];
|
|
932
953
|
export var StartBrowserSessionResponse$ = [3, n0, _SBSRt,
|
|
933
954
|
0,
|
|
@@ -1283,6 +1304,9 @@ export var ListSessions$ = [9, n0, _LS,
|
|
|
1283
1304
|
export var RetrieveMemoryRecords$ = [9, n0, _RMR,
|
|
1284
1305
|
{ [_ht]: ["POST", "/memories/{memoryId}/retrieve", 200] }, () => RetrieveMemoryRecordsInput$, () => RetrieveMemoryRecordsOutput$
|
|
1285
1306
|
];
|
|
1307
|
+
export var SaveBrowserSessionProfile$ = [9, n0, _SBSP,
|
|
1308
|
+
{ [_ht]: ["PUT", "/browser-profiles/{profileIdentifier}/save", 200] }, () => SaveBrowserSessionProfileRequest$, () => SaveBrowserSessionProfileResponse$
|
|
1309
|
+
];
|
|
1286
1310
|
export var StartBrowserSession$ = [9, n0, _SBS,
|
|
1287
1311
|
{ [_ht]: ["PUT", "/browsers/{browserIdentifier}/sessions/start", 200] }, () => StartBrowserSessionRequest$, () => StartBrowserSessionResponse$
|
|
1288
1312
|
];
|
|
@@ -28,6 +28,7 @@ import { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOu
|
|
|
28
28
|
import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
|
|
29
29
|
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
30
30
|
import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
|
|
31
|
+
import { SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
|
|
31
32
|
import { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
|
|
32
33
|
import { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
|
|
33
34
|
import { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
|
|
@@ -204,6 +205,12 @@ export interface BedrockAgentCore {
|
|
|
204
205
|
retrieveMemoryRecords(args: RetrieveMemoryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<RetrieveMemoryRecordsCommandOutput>;
|
|
205
206
|
retrieveMemoryRecords(args: RetrieveMemoryRecordsCommandInput, cb: (err: any, data?: RetrieveMemoryRecordsCommandOutput) => void): void;
|
|
206
207
|
retrieveMemoryRecords(args: RetrieveMemoryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetrieveMemoryRecordsCommandOutput) => void): void;
|
|
208
|
+
/**
|
|
209
|
+
* @see {@link SaveBrowserSessionProfileCommand}
|
|
210
|
+
*/
|
|
211
|
+
saveBrowserSessionProfile(args: SaveBrowserSessionProfileCommandInput, options?: __HttpHandlerOptions): Promise<SaveBrowserSessionProfileCommandOutput>;
|
|
212
|
+
saveBrowserSessionProfile(args: SaveBrowserSessionProfileCommandInput, cb: (err: any, data?: SaveBrowserSessionProfileCommandOutput) => void): void;
|
|
213
|
+
saveBrowserSessionProfile(args: SaveBrowserSessionProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SaveBrowserSessionProfileCommandOutput) => void): void;
|
|
207
214
|
/**
|
|
208
215
|
* @see {@link StartBrowserSessionCommand}
|
|
209
216
|
*/
|
|
@@ -36,6 +36,7 @@ import { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOu
|
|
|
36
36
|
import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
|
|
37
37
|
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
38
38
|
import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
|
|
39
|
+
import { SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
|
|
39
40
|
import { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
|
|
40
41
|
import { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
|
|
41
42
|
import { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
|
|
@@ -49,11 +50,11 @@ export { __Client };
|
|
|
49
50
|
/**
|
|
50
51
|
* @public
|
|
51
52
|
*/
|
|
52
|
-
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | EvaluateCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
|
|
53
|
+
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | EvaluateCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
|
|
53
54
|
/**
|
|
54
55
|
* @public
|
|
55
56
|
*/
|
|
56
|
-
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | EvaluateCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
57
|
+
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | EvaluateCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
57
58
|
/**
|
|
58
59
|
* @public
|
|
59
60
|
*/
|
|
@@ -27,7 +27,7 @@ declare const GetBrowserSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves detailed information about a specific browser session in Amazon Bedrock. This operation returns the session's configuration, current status, associated streams, and metadata.</p> <p>To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.</p> <p>The following operations are related to <code>GetBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListBrowserSessions.html">ListBrowserSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, associated streams, and metadata.</p> <p>To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.</p> <p>The following operations are related to <code>GetBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListBrowserSessions.html">ListBrowserSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -62,6 +62,9 @@ declare const GetBrowserSessionCommand_base: {
|
|
|
62
62
|
* // },
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
|
+
* // profileConfiguration: { // BrowserProfileConfiguration
|
|
66
|
+
* // profileIdentifier: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
65
68
|
* // sessionTimeoutSeconds: Number("int"),
|
|
66
69
|
* // status: "READY" || "TERMINATED",
|
|
67
70
|
* // streams: { // BrowserSessionStream
|
|
@@ -27,7 +27,7 @@ declare const GetCodeInterpreterSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves detailed information about a specific code interpreter session in Amazon Bedrock. This operation returns the session's configuration, current status, and metadata.</p> <p>To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.</p> <p>The following operations are related to <code>GetCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListCodeInterpreterSessions.html">ListCodeInterpreterSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html">StopCodeInterpreterSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.</p> <p>To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.</p> <p>The following operations are related to <code>GetCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListCodeInterpreterSessions.html">ListCodeInterpreterSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html">StopCodeInterpreterSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const InvokeCodeInterpreterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Executes code within an active code interpreter session in Amazon Bedrock. This operation processes the provided code, runs it in a secure environment, and returns the execution results including output, errors, and generated visualizations.</p> <p>To execute code, you must specify the code interpreter identifier, session ID, and the code to run in the arguments parameter. The operation returns a stream containing the execution results, which can include text output, error messages, and data visualizations.</p> <p>This operation is subject to request rate limiting based on your account's service quotas.</p> <p>The following operations are related to <code>InvokeCodeInterpreter</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Executes code within an active code interpreter session in Amazon Bedrock AgentCore. This operation processes the provided code, runs it in a secure environment, and returns the execution results including output, errors, and generated visualizations.</p> <p>To execute code, you must specify the code interpreter identifier, session ID, and the code to run in the arguments parameter. The operation returns a stream containing the execution results, which can include text output, error messages, and data visualizations.</p> <p>This operation is subject to request rate limiting based on your account's service quotas.</p> <p>The following operations are related to <code>InvokeCodeInterpreter</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListBrowserSessionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves a list of browser sessions in Amazon Bedrock that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.</p> <p>You can filter the results by browser identifier and session status. The operation supports pagination to handle large result sets efficiently.</p> <p>We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.</p> <p>The following operations are related to <code>ListBrowserSessions</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Retrieves a list of browser sessions in Amazon Bedrock AgentCore that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.</p> <p>You can filter the results by browser identifier and session status. The operation supports pagination to handle large result sets efficiently.</p> <p>We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.</p> <p>The following operations are related to <code>ListBrowserSessions</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const ListCodeInterpreterSessionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves a list of code interpreter sessions in Amazon Bedrock that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.</p> <p>You can filter the results by code interpreter identifier and session status. The operation supports pagination to handle large result sets efficiently.</p> <p>We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.</p> <p>The following operations are related to <code>ListCodeInterpreterSessions</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Retrieves a list of code interpreter sessions in Amazon Bedrock AgentCore that match the specified criteria. This operation returns summary information about each session, including identifiers, status, and timestamps.</p> <p>You can filter the results by code interpreter identifier and session status. The operation supports pagination to handle large result sets efficiently.</p> <p>We recommend using pagination to ensure that the operation returns quickly and successfully when retrieving large numbers of sessions.</p> <p>The following operations are related to <code>ListCodeInterpreterSessions</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
|
|
4
|
+
import type { SaveBrowserSessionProfileRequest, SaveBrowserSessionProfileResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SaveBrowserSessionProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SaveBrowserSessionProfileCommandInput extends SaveBrowserSessionProfileRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SaveBrowserSessionProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SaveBrowserSessionProfileCommandOutput extends SaveBrowserSessionProfileResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SaveBrowserSessionProfileCommand_base: {
|
|
25
|
+
new (input: SaveBrowserSessionProfileCommandInput): import("@smithy/smithy-client").CommandImpl<SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SaveBrowserSessionProfileCommandInput): import("@smithy/smithy-client").CommandImpl<SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore. A browser profile captures persistent browser data such as cookies and local storage from an active session, enabling you to reuse this data in future browser sessions.</p> <p>To save a browser session profile, you must specify the profile identifier, browser identifier, and session ID. The session must be active when saving the profile. Once saved, the profile can be used with the <code>StartBrowserSession</code> operation to initialize new sessions with the stored browser state.</p> <p>Browser profiles are useful for scenarios that require persistent authentication, maintaining user preferences across sessions, or continuing tasks that depend on previously stored browser data.</p> <p>The following operations are related to <code>SaveBrowserSessionProfile</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> </ul>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreClient, SaveBrowserSessionProfileCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreClient, SaveBrowserSessionProfileCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreClient(config);
|
|
39
|
+
* const input = { // SaveBrowserSessionProfileRequest
|
|
40
|
+
* traceId: "STRING_VALUE",
|
|
41
|
+
* traceParent: "STRING_VALUE",
|
|
42
|
+
* profileIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* browserIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* sessionId: "STRING_VALUE", // required
|
|
45
|
+
* clientToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new SaveBrowserSessionProfileCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // SaveBrowserSessionProfileResponse
|
|
50
|
+
* // profileIdentifier: "STRING_VALUE", // required
|
|
51
|
+
* // browserIdentifier: "STRING_VALUE", // required
|
|
52
|
+
* // sessionId: "STRING_VALUE", // required
|
|
53
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param SaveBrowserSessionProfileCommandInput - {@link SaveBrowserSessionProfileCommandInput}
|
|
59
|
+
* @returns {@link SaveBrowserSessionProfileCommandOutput}
|
|
60
|
+
* @see {@link SaveBrowserSessionProfileCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link SaveBrowserSessionProfileCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BedrockAgentCoreServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class SaveBrowserSessionProfileCommand extends SaveBrowserSessionProfileCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: SaveBrowserSessionProfileRequest;
|
|
93
|
+
output: SaveBrowserSessionProfileResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: SaveBrowserSessionProfileCommandInput;
|
|
97
|
+
output: SaveBrowserSessionProfileCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const StartBrowserSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates and initializes a browser session in Amazon Bedrock. The session enables agents to navigate and interact with web content, extract information from websites, and perform web-based tasks as part of their response generation.</p> <p>To create a session, you must specify a browser identifier and a name. You can also configure the viewport dimensions to control the visible area of web content. The session remains active until it times out or you explicitly stop it using the <code>StopBrowserSession</code> operation.</p> <p>The following operations are related to <code>StartBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_UpdateBrowserStream.html">UpdateBrowserStream</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Creates and initializes a browser session in Amazon Bedrock AgentCore. The session enables agents to navigate and interact with web content, extract information from websites, and perform web-based tasks as part of their response generation.</p> <p>To create a session, you must specify a browser identifier and a name. You can also configure the viewport dimensions to control the visible area of web content. The session remains active until it times out or you explicitly stop it using the <code>StopBrowserSession</code> operation.</p> <p>The following operations are related to <code>StartBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_UpdateBrowserStream.html">UpdateBrowserStream</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_SaveBrowserSessionProfile.html">SaveBrowserSessionProfile</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -57,6 +57,9 @@ declare const StartBrowserSessionCommand_base: {
|
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
59
|
* ],
|
|
60
|
+
* profileConfiguration: { // BrowserProfileConfiguration
|
|
61
|
+
* profileIdentifier: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
60
63
|
* clientToken: "STRING_VALUE",
|
|
61
64
|
* };
|
|
62
65
|
* const command = new StartBrowserSessionCommand(input);
|
|
@@ -27,7 +27,7 @@ declare const StartCodeInterpreterSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates and initializes a code interpreter session in Amazon Bedrock. The session enables agents to execute code as part of their response generation, supporting programming languages such as Python for data analysis, visualization, and computation tasks.</p> <p>To create a session, you must specify a code interpreter identifier and a name. The session remains active until it times out or you explicitly stop it using the <code>StopCodeInterpreterSession</code> operation.</p> <p>The following operations are related to <code>StartCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_InvokeCodeInterpreter.html">InvokeCodeInterpreter</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html">StopCodeInterpreterSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Creates and initializes a code interpreter session in Amazon Bedrock AgentCore. The session enables agents to execute code as part of their response generation, supporting programming languages such as Python for data analysis, visualization, and computation tasks.</p> <p>To create a session, you must specify a code interpreter identifier and a name. The session remains active until it times out or you explicitly stop it using the <code>StopCodeInterpreterSession</code> operation.</p> <p>The following operations are related to <code>StartCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_InvokeCodeInterpreter.html">InvokeCodeInterpreter</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html">StopCodeInterpreterSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const StopBrowserSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Terminates an active browser session in Amazon Bedrock. This operation stops the session, releases associated resources, and makes the session unavailable for further use.</p> <p>To stop a browser session, you must specify both the browser identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using <code>StartBrowserSession</code>.</p> <p>The following operations are related to <code>StopBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Terminates an active browser session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.</p> <p>To stop a browser session, you must specify both the browser identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using <code>StartBrowserSession</code>.</p> <p>The following operations are related to <code>StopBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html">GetBrowserSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const StopCodeInterpreterSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Terminates an active code interpreter session in Amazon Bedrock. This operation stops the session, releases associated resources, and makes the session unavailable for further use.</p> <p>To stop a code interpreter session, you must specify both the code interpreter identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using <code>StartCodeInterpreterSession</code>.</p> <p>The following operations are related to <code>StopCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> </ul>
|
|
30
|
+
* <p>Terminates an active code interpreter session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.</p> <p>To stop a code interpreter session, you must specify both the code interpreter identifier and the session ID. Once stopped, a session cannot be restarted; you must create a new session using <code>StartCodeInterpreterSession</code>.</p> <p>The following operations are related to <code>StopCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetCodeInterpreterSession.html">GetCodeInterpreterSession</a> </p> </li> </ul>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -26,6 +26,7 @@ export * from "./ListMemoryExtractionJobsCommand";
|
|
|
26
26
|
export * from "./ListMemoryRecordsCommand";
|
|
27
27
|
export * from "./ListSessionsCommand";
|
|
28
28
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
29
|
+
export * from "./SaveBrowserSessionProfileCommand";
|
|
29
30
|
export * from "./StartBrowserSessionCommand";
|
|
30
31
|
export * from "./StartCodeInterpreterSessionCommand";
|
|
31
32
|
export * from "./StartMemoryExtractionJobCommand";
|
|
@@ -123,12 +123,12 @@ export interface InvokeAgentRuntimeRequest {
|
|
|
123
123
|
*/
|
|
124
124
|
baggage?: string | undefined;
|
|
125
125
|
/**
|
|
126
|
-
* <p>The Amazon Web Services Resource Name (ARN) of the agent runtime to invoke. The ARN uniquely identifies the agent runtime resource in Amazon Bedrock.</p>
|
|
126
|
+
* <p>The Amazon Web Services Resource Name (ARN) of the agent runtime to invoke. The ARN uniquely identifies the agent runtime resource in Amazon Bedrock AgentCore.</p>
|
|
127
127
|
* @public
|
|
128
128
|
*/
|
|
129
129
|
agentRuntimeArn: string | undefined;
|
|
130
130
|
/**
|
|
131
|
-
* <p>The qualifier to use for the agent runtime. This can be a version number or an endpoint name that points to a specific version. If not specified, Amazon Bedrock uses the default version of the agent runtime.</p>
|
|
131
|
+
* <p>The qualifier to use for the agent runtime. This can be a version number or an endpoint name that points to a specific version. If not specified, Amazon Bedrock AgentCore uses the default version of the agent runtime.</p>
|
|
132
132
|
* @public
|
|
133
133
|
*/
|
|
134
134
|
qualifier?: string | undefined;
|
|
@@ -238,6 +238,66 @@ export interface StopRuntimeSessionResponse {
|
|
|
238
238
|
*/
|
|
239
239
|
statusCode?: number | undefined;
|
|
240
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
export interface SaveBrowserSessionProfileRequest {
|
|
245
|
+
/**
|
|
246
|
+
* <p>The trace identifier for request tracking.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
traceId?: string | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The parent trace information for distributed tracing.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
traceParent?: string | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* <p>The unique identifier for the browser profile. This identifier is used to reference the profile when starting new browser sessions. The identifier must follow the pattern of an alphanumeric name (up to 48 characters) followed by a hyphen and a 10-character alphanumeric suffix.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
profileIdentifier: string | undefined;
|
|
260
|
+
/**
|
|
261
|
+
* <p>The unique identifier of the browser associated with the session from which to save the profile.</p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
browserIdentifier: string | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* <p>The unique identifier of the browser session from which to save the profile. The session must be active when saving the profile.</p>
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
sessionId: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error.</p>
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
clientToken?: string | undefined;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export interface SaveBrowserSessionProfileResponse {
|
|
280
|
+
/**
|
|
281
|
+
* <p>The unique identifier of the saved browser profile.</p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
profileIdentifier: string | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* <p>The unique identifier of the browser associated with the session from which the profile was saved.</p>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
browserIdentifier: string | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* <p>The unique identifier of the browser session from which the profile was saved.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
sessionId: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>The timestamp when the browser profile was last updated. This value is in ISO 8601 format.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
lastUpdatedAt: Date | undefined;
|
|
300
|
+
}
|
|
241
301
|
/**
|
|
242
302
|
* @public
|
|
243
303
|
*/
|
|
@@ -319,7 +379,18 @@ export interface BrowserExtension {
|
|
|
319
379
|
location: ResourceLocation | undefined;
|
|
320
380
|
}
|
|
321
381
|
/**
|
|
322
|
-
* <p>The configuration for a
|
|
382
|
+
* <p>The configuration for a browser profile in Amazon Bedrock AgentCore. A browser profile contains persistent browser data such as cookies and local storage that can be saved from one browser session and reused in subsequent sessions. Browser profiles enable continuity for tasks that require authentication, maintain user preferences, or depend on previously stored browser state.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
export interface BrowserProfileConfiguration {
|
|
386
|
+
/**
|
|
387
|
+
* <p>The unique identifier of the browser profile. This identifier is used to reference the profile when starting new browser sessions or saving session data to the profile.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
profileIdentifier: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* <p>The configuration for a stream that enables programmatic control of a browser session in Amazon Bedrock AgentCore. This stream provides a bidirectional communication channel for sending commands to the browser and receiving responses, allowing agents to automate web interactions such as navigation, form filling, and element clicking.</p>
|
|
323
394
|
* @public
|
|
324
395
|
*/
|
|
325
396
|
export interface AutomationStream {
|
|
@@ -335,7 +406,7 @@ export interface AutomationStream {
|
|
|
335
406
|
streamStatus: AutomationStreamStatus | undefined;
|
|
336
407
|
}
|
|
337
408
|
/**
|
|
338
|
-
* <p>The configuration for a stream that provides a visual representation of a browser session in Amazon Bedrock. This stream enables agents to observe the current state of the browser, including rendered web pages, visual elements, and the results of interactions.</p>
|
|
409
|
+
* <p>The configuration for a stream that provides a visual representation of a browser session in Amazon Bedrock AgentCore. This stream enables agents to observe the current state of the browser, including rendered web pages, visual elements, and the results of interactions.</p>
|
|
339
410
|
* @public
|
|
340
411
|
*/
|
|
341
412
|
export interface LiveViewStream {
|
|
@@ -346,7 +417,7 @@ export interface LiveViewStream {
|
|
|
346
417
|
streamEndpoint?: string | undefined;
|
|
347
418
|
}
|
|
348
419
|
/**
|
|
349
|
-
* <p>The collection of streams associated with a browser session in Amazon Bedrock. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.</p>
|
|
420
|
+
* <p>The collection of streams associated with a browser session in Amazon Bedrock AgentCore. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.</p>
|
|
350
421
|
* @public
|
|
351
422
|
*/
|
|
352
423
|
export interface BrowserSessionStream {
|
|
@@ -411,6 +482,11 @@ export interface GetBrowserSessionResponse {
|
|
|
411
482
|
* @public
|
|
412
483
|
*/
|
|
413
484
|
extensions?: BrowserExtension[] | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* <p>The browser profile configuration associated with this session. Contains the profile identifier that links to persistent browser data such as cookies and local storage.</p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
profileConfiguration?: BrowserProfileConfiguration | undefined;
|
|
414
490
|
/**
|
|
415
491
|
* <p>The timeout period for the browser session in seconds.</p>
|
|
416
492
|
* @public
|
|
@@ -452,7 +528,7 @@ export interface ListBrowserSessionsRequest {
|
|
|
452
528
|
*/
|
|
453
529
|
maxResults?: number | undefined;
|
|
454
530
|
/**
|
|
455
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. If not specified, Amazon Bedrock returns the first page of results.</p>
|
|
531
|
+
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. If not specified, Amazon Bedrock AgentCore returns the first page of results.</p>
|
|
456
532
|
* @public
|
|
457
533
|
*/
|
|
458
534
|
nextToken?: string | undefined;
|
|
@@ -463,7 +539,7 @@ export interface ListBrowserSessionsRequest {
|
|
|
463
539
|
status?: BrowserSessionStatus | undefined;
|
|
464
540
|
}
|
|
465
541
|
/**
|
|
466
|
-
* <p>A condensed representation of a browser session in Amazon Bedrock. This structure contains key information about a browser session, including identifiers, status, and timestamps, without the full details of the session configuration and streams.</p>
|
|
542
|
+
* <p>A condensed representation of a browser session in Amazon Bedrock AgentCore. This structure contains key information about a browser session, including identifiers, status, and timestamps, without the full details of the session configuration and streams.</p>
|
|
467
543
|
* @public
|
|
468
544
|
*/
|
|
469
545
|
export interface BrowserSessionSummary {
|
|
@@ -543,7 +619,7 @@ export interface StartBrowserSessionRequest {
|
|
|
543
619
|
*/
|
|
544
620
|
sessionTimeoutSeconds?: number | undefined;
|
|
545
621
|
/**
|
|
546
|
-
* <p>The dimensions of the browser viewport for this session. This determines the visible area of the web content and affects how web pages are rendered. If not specified, Amazon Bedrock uses a default viewport size.</p>
|
|
622
|
+
* <p>The dimensions of the browser viewport for this session. This determines the visible area of the web content and affects how web pages are rendered. If not specified, Amazon Bedrock AgentCore uses a default viewport size.</p>
|
|
547
623
|
* @public
|
|
548
624
|
*/
|
|
549
625
|
viewPort?: ViewPort | undefined;
|
|
@@ -553,7 +629,12 @@ export interface StartBrowserSessionRequest {
|
|
|
553
629
|
*/
|
|
554
630
|
extensions?: BrowserExtension[] | undefined;
|
|
555
631
|
/**
|
|
556
|
-
* <p>
|
|
632
|
+
* <p>The browser profile configuration to use for this session. A browser profile contains persistent data such as cookies and local storage that can be reused across multiple browser sessions. If specified, the session initializes with the profile's stored data, enabling continuity for tasks that require authentication or personalized settings.</p>
|
|
633
|
+
* @public
|
|
634
|
+
*/
|
|
635
|
+
profileConfiguration?: BrowserProfileConfiguration | undefined;
|
|
636
|
+
/**
|
|
637
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.</p>
|
|
557
638
|
* @public
|
|
558
639
|
*/
|
|
559
640
|
clientToken?: string | undefined;
|
|
@@ -608,7 +689,7 @@ export interface StopBrowserSessionRequest {
|
|
|
608
689
|
*/
|
|
609
690
|
sessionId: string | undefined;
|
|
610
691
|
/**
|
|
611
|
-
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.</p>
|
|
692
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error.</p>
|
|
612
693
|
* @public
|
|
613
694
|
*/
|
|
614
695
|
clientToken?: string | undefined;
|
|
@@ -717,7 +798,7 @@ export interface UpdateBrowserStreamResponse {
|
|
|
717
798
|
*/
|
|
718
799
|
sessionId: string | undefined;
|
|
719
800
|
/**
|
|
720
|
-
* <p>The collection of streams associated with a browser session in Amazon Bedrock. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.</p>
|
|
801
|
+
* <p>The collection of streams associated with a browser session in Amazon Bedrock AgentCore. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.</p>
|
|
721
802
|
* @public
|
|
722
803
|
*/
|
|
723
804
|
streams: BrowserSessionStream | undefined;
|
|
@@ -792,7 +873,7 @@ export interface ListCodeInterpreterSessionsRequest {
|
|
|
792
873
|
*/
|
|
793
874
|
maxResults?: number | undefined;
|
|
794
875
|
/**
|
|
795
|
-
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. If not specified, Amazon Bedrock returns the first page of results.</p>
|
|
876
|
+
* <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. If not specified, Amazon Bedrock AgentCore returns the first page of results.</p>
|
|
796
877
|
* @public
|
|
797
878
|
*/
|
|
798
879
|
nextToken?: string | undefined;
|
|
@@ -803,7 +884,7 @@ export interface ListCodeInterpreterSessionsRequest {
|
|
|
803
884
|
status?: CodeInterpreterSessionStatus | undefined;
|
|
804
885
|
}
|
|
805
886
|
/**
|
|
806
|
-
* <p>A condensed representation of a code interpreter session in Amazon Bedrock. This structure contains key information about a code interpreter session, including identifiers, status, and timestamps, without the full details of the session configuration.</p>
|
|
887
|
+
* <p>A condensed representation of a code interpreter session in Amazon Bedrock AgentCore. This structure contains key information about a code interpreter session, including identifiers, status, and timestamps, without the full details of the session configuration.</p>
|
|
807
888
|
* @public
|
|
808
889
|
*/
|
|
809
890
|
export interface CodeInterpreterSessionSummary {
|
|
@@ -883,7 +964,7 @@ export interface StartCodeInterpreterSessionRequest {
|
|
|
883
964
|
*/
|
|
884
965
|
sessionTimeoutSeconds?: number | undefined;
|
|
885
966
|
/**
|
|
886
|
-
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.</p>
|
|
967
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.</p>
|
|
887
968
|
* @public
|
|
888
969
|
*/
|
|
889
970
|
clientToken?: string | undefined;
|
|
@@ -933,7 +1014,7 @@ export interface StopCodeInterpreterSessionRequest {
|
|
|
933
1014
|
*/
|
|
934
1015
|
sessionId: string | undefined;
|
|
935
1016
|
/**
|
|
936
|
-
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.</p>
|
|
1017
|
+
* <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error.</p>
|
|
937
1018
|
* @public
|
|
938
1019
|
*/
|
|
939
1020
|
clientToken?: string | undefined;
|
|
@@ -1454,7 +1535,7 @@ export interface InputContentBlock {
|
|
|
1454
1535
|
blob?: Uint8Array | undefined;
|
|
1455
1536
|
}
|
|
1456
1537
|
/**
|
|
1457
|
-
* <p>The collection of arguments that specify the operation to perform and its parameters when invoking a tool in Amazon Bedrock. Different tools require different arguments, and this structure provides a flexible way to pass the appropriate arguments to each tool type.</p>
|
|
1538
|
+
* <p>The collection of arguments that specify the operation to perform and its parameters when invoking a tool in Amazon Bedrock AgentCore. Different tools require different arguments, and this structure provides a flexible way to pass the appropriate arguments to each tool type.</p>
|
|
1458
1539
|
* @public
|
|
1459
1540
|
*/
|
|
1460
1541
|
export interface ToolArguments {
|
|
@@ -1658,7 +1739,7 @@ export interface ToolResultStructuredContent {
|
|
|
1658
1739
|
executionTime?: number | undefined;
|
|
1659
1740
|
}
|
|
1660
1741
|
/**
|
|
1661
|
-
* <p>The output produced by executing code in a code interpreter session in Amazon Bedrock. This structure contains the results of code execution, including textual output, structured data, and error information. Agents use these results to generate responses that incorporate computation, data analysis, and visualization.</p>
|
|
1742
|
+
* <p>The output produced by executing code in a code interpreter session in Amazon Bedrock AgentCore. This structure contains the results of code execution, including textual output, structured data, and error information. Agents use these results to generate responses that incorporate computation, data analysis, and visualization.</p>
|
|
1662
1743
|
* @public
|
|
1663
1744
|
*/
|
|
1664
1745
|
export interface CodeInterpreterResult {
|
|
@@ -1688,7 +1769,7 @@ export type CodeInterpreterStreamOutput = CodeInterpreterStreamOutput.AccessDeni
|
|
|
1688
1769
|
*/
|
|
1689
1770
|
export declare namespace CodeInterpreterStreamOutput {
|
|
1690
1771
|
/**
|
|
1691
|
-
* <p>The output produced by executing code in a code interpreter session in Amazon Bedrock. This structure contains the results of code execution, including textual output, structured data, and error information. Agents use these results to generate responses that incorporate computation, data analysis, and visualization.</p>
|
|
1772
|
+
* <p>The output produced by executing code in a code interpreter session in Amazon Bedrock AgentCore. This structure contains the results of code execution, including textual output, structured data, and error information. Agents use these results to generate responses that incorporate computation, data analysis, and visualization.</p>
|
|
1692
1773
|
* @public
|
|
1693
1774
|
*/
|
|
1694
1775
|
interface ResultMember {
|
|
@@ -2859,7 +2940,7 @@ export interface ListMemoryRecordsInput {
|
|
|
2859
2940
|
*/
|
|
2860
2941
|
memoryId: string | undefined;
|
|
2861
2942
|
/**
|
|
2862
|
-
* <p>The namespace to filter memory records by.
|
|
2943
|
+
* <p>The namespace prefix to filter memory records by. Returns all memory records in namespaces that start with the provided prefix.</p>
|
|
2863
2944
|
* @public
|
|
2864
2945
|
*/
|
|
2865
2946
|
namespace: string | undefined;
|
|
@@ -3053,7 +3134,7 @@ export interface RetrieveMemoryRecordsInput {
|
|
|
3053
3134
|
*/
|
|
3054
3135
|
memoryId: string | undefined;
|
|
3055
3136
|
/**
|
|
3056
|
-
* <p>The namespace to filter memory records by.</p>
|
|
3137
|
+
* <p>The namespace prefix to filter memory records by. Searches for memory records in namespaces that start with the provided prefix.</p>
|
|
3057
3138
|
* @public
|
|
3058
3139
|
*/
|
|
3059
3140
|
namespace: string | undefined;
|
|
@@ -12,6 +12,7 @@ export declare var BatchUpdateMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
12
12
|
export declare var Branch$: StaticStructureSchema;
|
|
13
13
|
export declare var BranchFilter$: StaticStructureSchema;
|
|
14
14
|
export declare var BrowserExtension$: StaticStructureSchema;
|
|
15
|
+
export declare var BrowserProfileConfiguration$: StaticStructureSchema;
|
|
15
16
|
export declare var BrowserSessionStream$: StaticStructureSchema;
|
|
16
17
|
export declare var BrowserSessionSummary$: StaticStructureSchema;
|
|
17
18
|
export declare var CodeInterpreterResult$: StaticStructureSchema;
|
|
@@ -94,6 +95,8 @@ export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
94
95
|
export declare var RetryableConflictException$: StaticErrorSchema;
|
|
95
96
|
export declare var RuntimeClientError$: StaticErrorSchema;
|
|
96
97
|
export declare var S3Location$: StaticStructureSchema;
|
|
98
|
+
export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
|
|
99
|
+
export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
97
100
|
export declare var SearchCriteria$: StaticStructureSchema;
|
|
98
101
|
export declare var ServiceException$: StaticErrorSchema;
|
|
99
102
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
@@ -165,6 +168,7 @@ export declare var ListMemoryExtractionJobs$: StaticOperationSchema;
|
|
|
165
168
|
export declare var ListMemoryRecords$: StaticOperationSchema;
|
|
166
169
|
export declare var ListSessions$: StaticOperationSchema;
|
|
167
170
|
export declare var RetrieveMemoryRecords$: StaticOperationSchema;
|
|
171
|
+
export declare var SaveBrowserSessionProfile$: StaticOperationSchema;
|
|
168
172
|
export declare var StartBrowserSession$: StaticOperationSchema;
|
|
169
173
|
export declare var StartCodeInterpreterSession$: StaticOperationSchema;
|
|
170
174
|
export declare var StartMemoryExtractionJob$: StaticOperationSchema;
|
|
@@ -116,6 +116,10 @@ import {
|
|
|
116
116
|
RetrieveMemoryRecordsCommandInput,
|
|
117
117
|
RetrieveMemoryRecordsCommandOutput,
|
|
118
118
|
} from "./commands/RetrieveMemoryRecordsCommand";
|
|
119
|
+
import {
|
|
120
|
+
SaveBrowserSessionProfileCommandInput,
|
|
121
|
+
SaveBrowserSessionProfileCommandOutput,
|
|
122
|
+
} from "./commands/SaveBrowserSessionProfileCommand";
|
|
119
123
|
import {
|
|
120
124
|
StartBrowserSessionCommandInput,
|
|
121
125
|
StartBrowserSessionCommandOutput,
|
|
@@ -509,6 +513,19 @@ export interface BedrockAgentCore {
|
|
|
509
513
|
options: __HttpHandlerOptions,
|
|
510
514
|
cb: (err: any, data?: RetrieveMemoryRecordsCommandOutput) => void
|
|
511
515
|
): void;
|
|
516
|
+
saveBrowserSessionProfile(
|
|
517
|
+
args: SaveBrowserSessionProfileCommandInput,
|
|
518
|
+
options?: __HttpHandlerOptions
|
|
519
|
+
): Promise<SaveBrowserSessionProfileCommandOutput>;
|
|
520
|
+
saveBrowserSessionProfile(
|
|
521
|
+
args: SaveBrowserSessionProfileCommandInput,
|
|
522
|
+
cb: (err: any, data?: SaveBrowserSessionProfileCommandOutput) => void
|
|
523
|
+
): void;
|
|
524
|
+
saveBrowserSessionProfile(
|
|
525
|
+
args: SaveBrowserSessionProfileCommandInput,
|
|
526
|
+
options: __HttpHandlerOptions,
|
|
527
|
+
cb: (err: any, data?: SaveBrowserSessionProfileCommandOutput) => void
|
|
528
|
+
): void;
|
|
512
529
|
startBrowserSession(
|
|
513
530
|
args: StartBrowserSessionCommandInput,
|
|
514
531
|
options?: __HttpHandlerOptions
|
|
@@ -163,6 +163,10 @@ import {
|
|
|
163
163
|
RetrieveMemoryRecordsCommandInput,
|
|
164
164
|
RetrieveMemoryRecordsCommandOutput,
|
|
165
165
|
} from "./commands/RetrieveMemoryRecordsCommand";
|
|
166
|
+
import {
|
|
167
|
+
SaveBrowserSessionProfileCommandInput,
|
|
168
|
+
SaveBrowserSessionProfileCommandOutput,
|
|
169
|
+
} from "./commands/SaveBrowserSessionProfileCommand";
|
|
166
170
|
import {
|
|
167
171
|
StartBrowserSessionCommandInput,
|
|
168
172
|
StartBrowserSessionCommandOutput,
|
|
@@ -227,6 +231,7 @@ export type ServiceInputTypes =
|
|
|
227
231
|
| ListMemoryRecordsCommandInput
|
|
228
232
|
| ListSessionsCommandInput
|
|
229
233
|
| RetrieveMemoryRecordsCommandInput
|
|
234
|
+
| SaveBrowserSessionProfileCommandInput
|
|
230
235
|
| StartBrowserSessionCommandInput
|
|
231
236
|
| StartCodeInterpreterSessionCommandInput
|
|
232
237
|
| StartMemoryExtractionJobCommandInput
|
|
@@ -263,6 +268,7 @@ export type ServiceOutputTypes =
|
|
|
263
268
|
| ListMemoryRecordsCommandOutput
|
|
264
269
|
| ListSessionsCommandOutput
|
|
265
270
|
| RetrieveMemoryRecordsCommandOutput
|
|
271
|
+
| SaveBrowserSessionProfileCommandOutput
|
|
266
272
|
| StartBrowserSessionCommandOutput
|
|
267
273
|
| StartCodeInterpreterSessionCommandOutput
|
|
268
274
|
| StartMemoryExtractionJobCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentCoreClient";
|
|
8
|
+
import {
|
|
9
|
+
SaveBrowserSessionProfileRequest,
|
|
10
|
+
SaveBrowserSessionProfileResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface SaveBrowserSessionProfileCommandInput
|
|
15
|
+
extends SaveBrowserSessionProfileRequest {}
|
|
16
|
+
export interface SaveBrowserSessionProfileCommandOutput
|
|
17
|
+
extends SaveBrowserSessionProfileResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const SaveBrowserSessionProfileCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: SaveBrowserSessionProfileCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
SaveBrowserSessionProfileCommandInput,
|
|
24
|
+
SaveBrowserSessionProfileCommandOutput,
|
|
25
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: SaveBrowserSessionProfileCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
SaveBrowserSessionProfileCommandInput,
|
|
33
|
+
SaveBrowserSessionProfileCommandOutput,
|
|
34
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class SaveBrowserSessionProfileCommand extends SaveBrowserSessionProfileCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: SaveBrowserSessionProfileRequest;
|
|
44
|
+
output: SaveBrowserSessionProfileResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: SaveBrowserSessionProfileCommandInput;
|
|
48
|
+
output: SaveBrowserSessionProfileCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from "./ListMemoryExtractionJobsCommand";
|
|
|
26
26
|
export * from "./ListMemoryRecordsCommand";
|
|
27
27
|
export * from "./ListSessionsCommand";
|
|
28
28
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
29
|
+
export * from "./SaveBrowserSessionProfileCommand";
|
|
29
30
|
export * from "./StartBrowserSessionCommand";
|
|
30
31
|
export * from "./StartCodeInterpreterSessionCommand";
|
|
31
32
|
export * from "./StartMemoryExtractionJobCommand";
|
|
@@ -82,6 +82,20 @@ export interface StopRuntimeSessionResponse {
|
|
|
82
82
|
runtimeSessionId?: string | undefined;
|
|
83
83
|
statusCode?: number | undefined;
|
|
84
84
|
}
|
|
85
|
+
export interface SaveBrowserSessionProfileRequest {
|
|
86
|
+
traceId?: string | undefined;
|
|
87
|
+
traceParent?: string | undefined;
|
|
88
|
+
profileIdentifier: string | undefined;
|
|
89
|
+
browserIdentifier: string | undefined;
|
|
90
|
+
sessionId: string | undefined;
|
|
91
|
+
clientToken?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface SaveBrowserSessionProfileResponse {
|
|
94
|
+
profileIdentifier: string | undefined;
|
|
95
|
+
browserIdentifier: string | undefined;
|
|
96
|
+
sessionId: string | undefined;
|
|
97
|
+
lastUpdatedAt: Date | undefined;
|
|
98
|
+
}
|
|
85
99
|
export interface GetBrowserSessionRequest {
|
|
86
100
|
browserIdentifier: string | undefined;
|
|
87
101
|
sessionId: string | undefined;
|
|
@@ -111,6 +125,9 @@ export declare namespace ResourceLocation {
|
|
|
111
125
|
export interface BrowserExtension {
|
|
112
126
|
location: ResourceLocation | undefined;
|
|
113
127
|
}
|
|
128
|
+
export interface BrowserProfileConfiguration {
|
|
129
|
+
profileIdentifier: string | undefined;
|
|
130
|
+
}
|
|
114
131
|
export interface AutomationStream {
|
|
115
132
|
streamEndpoint: string | undefined;
|
|
116
133
|
streamStatus: AutomationStreamStatus | undefined;
|
|
@@ -133,6 +150,7 @@ export interface GetBrowserSessionResponse {
|
|
|
133
150
|
createdAt: Date | undefined;
|
|
134
151
|
viewPort?: ViewPort | undefined;
|
|
135
152
|
extensions?: BrowserExtension[] | undefined;
|
|
153
|
+
profileConfiguration?: BrowserProfileConfiguration | undefined;
|
|
136
154
|
sessionTimeoutSeconds?: number | undefined;
|
|
137
155
|
status?: BrowserSessionStatus | undefined;
|
|
138
156
|
streams?: BrowserSessionStream | undefined;
|
|
@@ -165,6 +183,7 @@ export interface StartBrowserSessionRequest {
|
|
|
165
183
|
sessionTimeoutSeconds?: number | undefined;
|
|
166
184
|
viewPort?: ViewPort | undefined;
|
|
167
185
|
extensions?: BrowserExtension[] | undefined;
|
|
186
|
+
profileConfiguration?: BrowserProfileConfiguration | undefined;
|
|
168
187
|
clientToken?: string | undefined;
|
|
169
188
|
}
|
|
170
189
|
export interface StartBrowserSessionResponse {
|
|
@@ -17,6 +17,7 @@ export declare var BatchUpdateMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
17
17
|
export declare var Branch$: StaticStructureSchema;
|
|
18
18
|
export declare var BranchFilter$: StaticStructureSchema;
|
|
19
19
|
export declare var BrowserExtension$: StaticStructureSchema;
|
|
20
|
+
export declare var BrowserProfileConfiguration$: StaticStructureSchema;
|
|
20
21
|
export declare var BrowserSessionStream$: StaticStructureSchema;
|
|
21
22
|
export declare var BrowserSessionSummary$: StaticStructureSchema;
|
|
22
23
|
export declare var CodeInterpreterResult$: StaticStructureSchema;
|
|
@@ -99,6 +100,8 @@ export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
99
100
|
export declare var RetryableConflictException$: StaticErrorSchema;
|
|
100
101
|
export declare var RuntimeClientError$: StaticErrorSchema;
|
|
101
102
|
export declare var S3Location$: StaticStructureSchema;
|
|
103
|
+
export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
|
|
104
|
+
export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
102
105
|
export declare var SearchCriteria$: StaticStructureSchema;
|
|
103
106
|
export declare var ServiceException$: StaticErrorSchema;
|
|
104
107
|
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
@@ -170,6 +173,7 @@ export declare var ListMemoryExtractionJobs$: StaticOperationSchema;
|
|
|
170
173
|
export declare var ListMemoryRecords$: StaticOperationSchema;
|
|
171
174
|
export declare var ListSessions$: StaticOperationSchema;
|
|
172
175
|
export declare var RetrieveMemoryRecords$: StaticOperationSchema;
|
|
176
|
+
export declare var SaveBrowserSessionProfile$: StaticOperationSchema;
|
|
173
177
|
export declare var StartBrowserSession$: StaticOperationSchema;
|
|
174
178
|
export declare var StartCodeInterpreterSession$: StaticOperationSchema;
|
|
175
179
|
export declare var StartMemoryExtractionJob$: StaticOperationSchema;
|
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.985.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.7",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.6",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.7",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.985.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.5",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.22.
|
|
36
|
+
"@smithy/core": "^3.22.1",
|
|
37
37
|
"@smithy/eventstream-serde-browser": "^4.2.8",
|
|
38
38
|
"@smithy/eventstream-serde-config-resolver": "^4.3.8",
|
|
39
39
|
"@smithy/eventstream-serde-node": "^4.2.8",
|
|
@@ -41,25 +41,25 @@
|
|
|
41
41
|
"@smithy/hash-node": "^4.2.8",
|
|
42
42
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
43
43
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
44
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
45
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.4.13",
|
|
45
|
+
"@smithy/middleware-retry": "^4.4.30",
|
|
46
46
|
"@smithy/middleware-serde": "^4.2.9",
|
|
47
47
|
"@smithy/middleware-stack": "^4.2.8",
|
|
48
48
|
"@smithy/node-config-provider": "^4.3.8",
|
|
49
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
+
"@smithy/node-http-handler": "^4.4.9",
|
|
50
50
|
"@smithy/protocol-http": "^5.3.8",
|
|
51
|
-
"@smithy/smithy-client": "^4.11.
|
|
51
|
+
"@smithy/smithy-client": "^4.11.2",
|
|
52
52
|
"@smithy/types": "^4.12.0",
|
|
53
53
|
"@smithy/url-parser": "^4.2.8",
|
|
54
54
|
"@smithy/util-base64": "^4.3.0",
|
|
55
55
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
56
56
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.29",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.32",
|
|
59
59
|
"@smithy/util-endpoints": "^3.2.8",
|
|
60
60
|
"@smithy/util-middleware": "^4.2.8",
|
|
61
61
|
"@smithy/util-retry": "^4.2.8",
|
|
62
|
-
"@smithy/util-stream": "^4.5.
|
|
62
|
+
"@smithy/util-stream": "^4.5.11",
|
|
63
63
|
"@smithy/util-utf8": "^4.2.0",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|