@aws-sdk/client-bedrock-agentcore 3.1025.0 → 3.1027.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 +29 -0
- package/dist-cjs/schemas/schemas_0.js +159 -10
- package/dist-es/BedrockAgentCore.js +2 -0
- package/dist-es/commands/InvokeBrowserCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/schemas/schemas_0.js +155 -6
- package/dist-types/BedrockAgentCore.d.ts +7 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +3 -2
- package/dist-types/commands/InvokeBrowserCommand.d.ts +168 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +637 -1
- package/dist-types/schemas/schemas_0.d.ts +21 -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/InvokeBrowserCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +325 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +37 -37
|
@@ -9,6 +9,8 @@ const _ATT = "AccessTokenType";
|
|
|
9
9
|
const _AUT = "AuthorizationUrlType";
|
|
10
10
|
const _B = "Body";
|
|
11
11
|
const _BA = "BasicAuth";
|
|
12
|
+
const _BAR = "BrowserActionResult";
|
|
13
|
+
const _BAr = "BrowserAction";
|
|
12
14
|
const _BCMR = "BatchCreateMemoryRecords";
|
|
13
15
|
const _BCMRI = "BatchCreateMemoryRecordsInput";
|
|
14
16
|
const _BCMRO = "BatchCreateMemoryRecordsOutput";
|
|
@@ -123,6 +125,9 @@ const _IARCRn = "InvokeAgentRuntimeCommandResponse";
|
|
|
123
125
|
const _IARCSO = "InvokeAgentRuntimeCommandStreamOutput";
|
|
124
126
|
const _IARR = "InvokeAgentRuntimeRequest";
|
|
125
127
|
const _IARRn = "InvokeAgentRuntimeResponse";
|
|
128
|
+
const _IB = "InvokeBrowser";
|
|
129
|
+
const _IBR = "InvokeBrowserRequest";
|
|
130
|
+
const _IBRn = "InvokeBrowserResponse";
|
|
126
131
|
const _ICB = "InputContentBlock";
|
|
127
132
|
const _ICBL = "InputContentBlockList";
|
|
128
133
|
const _ICI = "InvokeCodeInterpreter";
|
|
@@ -130,6 +135,12 @@ const _ICIR = "InvokeCodeInterpreterRequest";
|
|
|
130
135
|
const _ICIRn = "InvokeCodeInterpreterResponse";
|
|
131
136
|
const _IIE = "InvalidInputException";
|
|
132
137
|
const _ISE = "InternalServerException";
|
|
138
|
+
const _KPA = "KeyPressArguments";
|
|
139
|
+
const _KPR = "KeyPressResult";
|
|
140
|
+
const _KSA = "KeyShortcutArguments";
|
|
141
|
+
const _KSR = "KeyShortcutResult";
|
|
142
|
+
const _KTA = "KeyTypeArguments";
|
|
143
|
+
const _KTR = "KeyTypeResult";
|
|
133
144
|
const _LA = "ListActors";
|
|
134
145
|
const _LAI = "ListActorsInput";
|
|
135
146
|
const _LAO = "ListActorsOutput";
|
|
@@ -154,10 +165,16 @@ const _LSI = "ListSessionsInput";
|
|
|
154
165
|
const _LSO = "ListSessionsOutput";
|
|
155
166
|
const _LVS = "LiveViewStream";
|
|
156
167
|
const _MC = "MemoryContent";
|
|
168
|
+
const _MCA = "MouseClickArguments";
|
|
169
|
+
const _MCR = "MouseClickResult";
|
|
170
|
+
const _MDA = "MouseDragArguments";
|
|
171
|
+
const _MDR = "MouseDragResult";
|
|
157
172
|
const _ML = "MessagesList";
|
|
158
173
|
const _MM = "MessageMetadata";
|
|
174
|
+
const _MMA = "MouseMoveArguments";
|
|
159
175
|
const _MMFE = "MemoryMetadataFilterExpression";
|
|
160
176
|
const _MMFL = "MemoryMetadataFilterList";
|
|
177
|
+
const _MMR = "MouseMoveResult";
|
|
161
178
|
const _MMe = "MetadataMap";
|
|
162
179
|
const _MPV = "Mcp-Protocol-Version";
|
|
163
180
|
const _MR = "MemoryRecord";
|
|
@@ -171,7 +188,9 @@ const _MRS = "MemoryRecordSummary";
|
|
|
171
188
|
const _MRSL = "MemoryRecordSummaryList";
|
|
172
189
|
const _MRUI = "MemoryRecordUpdateInput";
|
|
173
190
|
const _MRUIL = "MemoryRecordsUpdateInputList";
|
|
191
|
+
const _MSA = "MouseScrollArguments";
|
|
174
192
|
const _MSI = "Mcp-Session-Id";
|
|
193
|
+
const _MSR = "MouseScrollResult";
|
|
175
194
|
const _MV = "MetadataValue";
|
|
176
195
|
const _P = "Proxies";
|
|
177
196
|
const _PB = "ProxyBypass";
|
|
@@ -192,6 +211,7 @@ const _RMRO = "RetrieveMemoryRecordsOutput";
|
|
|
192
211
|
const _RNFE = "ResourceNotFoundException";
|
|
193
212
|
const _RS = "ResponseStream";
|
|
194
213
|
const _S = "State";
|
|
214
|
+
const _SA = "ScreenshotArguments";
|
|
195
215
|
const _SBS = "StartBrowserSession";
|
|
196
216
|
const _SBSP = "SaveBrowserSessionProfile";
|
|
197
217
|
const _SBSPR = "SaveBrowserSessionProfileRequest";
|
|
@@ -217,6 +237,7 @@ const _SMEJI = "StartMemoryExtractionJobInput";
|
|
|
217
237
|
const _SMEJO = "StartMemoryExtractionJobOutput";
|
|
218
238
|
const _SML = "SecretsManagerLocation";
|
|
219
239
|
const _SQEE = "ServiceQuotaExceededException";
|
|
240
|
+
const _SR = "ScreenshotResult";
|
|
220
241
|
const _SRS = "StopRuntimeSession";
|
|
221
242
|
const _SRSR = "StopRuntimeSessionRequest";
|
|
222
243
|
const _SRSRt = "StopRuntimeSessionResponse";
|
|
@@ -257,6 +278,7 @@ const _aSc = "actorSummaries";
|
|
|
257
278
|
const _aT = "accessToken";
|
|
258
279
|
const _aU = "authorizationUrl";
|
|
259
280
|
const _ac = "accept";
|
|
281
|
+
const _act = "action";
|
|
260
282
|
const _ar = "arguments";
|
|
261
283
|
const _b = "branch";
|
|
262
284
|
const _bA = "basicAuth";
|
|
@@ -264,11 +286,13 @@ const _bI = "browserIdentifier";
|
|
|
264
286
|
const _ba = "baggage";
|
|
265
287
|
const _bl = "blob";
|
|
266
288
|
const _bo = "body";
|
|
267
|
-
const _bu = "
|
|
289
|
+
const _bu = "button";
|
|
290
|
+
const _buc = "bucket";
|
|
268
291
|
const _by = "bypass";
|
|
269
292
|
const _c = "client";
|
|
270
293
|
const _cA = "createdAt";
|
|
271
|
-
const _cC = "
|
|
294
|
+
const _cC = "clickCount";
|
|
295
|
+
const _cCl = "clearContext";
|
|
272
296
|
const _cD = "contentDelta";
|
|
273
297
|
const _cE = "conflictException";
|
|
274
298
|
const _cII = "codeInterpreterIdentifier";
|
|
@@ -289,6 +313,8 @@ const _cr = "credentials";
|
|
|
289
313
|
const _d = "data";
|
|
290
314
|
const _dP = "domainPatterns";
|
|
291
315
|
const _dPi = "directoryPath";
|
|
316
|
+
const _dX = "deltaX";
|
|
317
|
+
const _dY = "deltaY";
|
|
292
318
|
const _de = "description";
|
|
293
319
|
const _e = "error";
|
|
294
320
|
const _eA = "evaluatorArn";
|
|
@@ -311,6 +337,8 @@ const _eT = "eventTimestamp";
|
|
|
311
337
|
const _eTv = "evaluationTarget";
|
|
312
338
|
const _eTx = "expectedTrajectory";
|
|
313
339
|
const _eTxe = "executionTime";
|
|
340
|
+
const _eX = "endX";
|
|
341
|
+
const _eY = "endY";
|
|
314
342
|
const _ev = "event";
|
|
315
343
|
const _eve = "events";
|
|
316
344
|
const _ex = "explanation";
|
|
@@ -320,6 +348,7 @@ const _fA = "forceAuthentication";
|
|
|
320
348
|
const _fL = "fieldList";
|
|
321
349
|
const _fR = "failedRecords";
|
|
322
350
|
const _fRa = "failureReason";
|
|
351
|
+
const _fo = "format";
|
|
323
352
|
const _h = "height";
|
|
324
353
|
const _hE = "httpError";
|
|
325
354
|
const _hH = "httpHeader";
|
|
@@ -336,6 +365,11 @@ const _iTn = "inputTokens";
|
|
|
336
365
|
const _j = "jobs";
|
|
337
366
|
const _jI = "jobId";
|
|
338
367
|
const _jID = "jobID";
|
|
368
|
+
const _k = "key";
|
|
369
|
+
const _kP = "keyPress";
|
|
370
|
+
const _kS = "keyShortcut";
|
|
371
|
+
const _kT = "keyType";
|
|
372
|
+
const _ke = "keys";
|
|
339
373
|
const _l = "location";
|
|
340
374
|
const _lUA = "lastUpdatedAt";
|
|
341
375
|
const _lVS = "liveViewStream";
|
|
@@ -343,16 +377,20 @@ const _la = "label";
|
|
|
343
377
|
const _lan = "language";
|
|
344
378
|
const _le = "left";
|
|
345
379
|
const _m = "message";
|
|
380
|
+
const _mC = "mouseClick";
|
|
381
|
+
const _mD = "mouseDrag";
|
|
346
382
|
const _mF = "metadataFilters";
|
|
347
383
|
const _mI = "memoryId";
|
|
348
384
|
const _mIe = "messageIndex";
|
|
349
385
|
const _mK = "metadataKey";
|
|
350
386
|
const _mL = "messagesList";
|
|
387
|
+
const _mM = "mouseMove";
|
|
351
388
|
const _mPV = "mcpProtocolVersion";
|
|
352
389
|
const _mR = "memoryRecord";
|
|
353
390
|
const _mRI = "memoryRecordId";
|
|
354
391
|
const _mRS = "memoryRecordSummaries";
|
|
355
392
|
const _mRa = "maxResults";
|
|
393
|
+
const _mS = "mouseScroll";
|
|
356
394
|
const _mSI = "mcpSessionId";
|
|
357
395
|
const _mSIe = "memoryStrategyId";
|
|
358
396
|
const _mT = "mimeType";
|
|
@@ -373,8 +411,9 @@ const _pI = "profileIdentifier";
|
|
|
373
411
|
const _pa = "path";
|
|
374
412
|
const _pat = "paths";
|
|
375
413
|
const _po = "port";
|
|
376
|
-
const _pr = "
|
|
414
|
+
const _pr = "presses";
|
|
377
415
|
const _pre = "prefix";
|
|
416
|
+
const _pro = "proxies";
|
|
378
417
|
const _q = "qualifier";
|
|
379
418
|
const _r = "reason";
|
|
380
419
|
const _rCE = "runtimeClientError";
|
|
@@ -416,9 +455,12 @@ const _sTS = "sessionTimeoutSeconds";
|
|
|
416
455
|
const _sU = "sessionUri";
|
|
417
456
|
const _sUt = "streamUpdate";
|
|
418
457
|
const _sV = "stringValue";
|
|
458
|
+
const _sX = "startX";
|
|
459
|
+
const _sY = "startY";
|
|
419
460
|
const _s_ = "s3";
|
|
420
461
|
const _sc = "scopes";
|
|
421
462
|
const _sco = "score";
|
|
463
|
+
const _scr = "screenshot";
|
|
422
464
|
const _se = "server";
|
|
423
465
|
const _sen = "sensitive";
|
|
424
466
|
const _si = "size";
|
|
@@ -458,7 +500,10 @@ const _w = "width";
|
|
|
458
500
|
const _wAT = "workloadAccessToken";
|
|
459
501
|
const _wIT = "workloadIdentityToken";
|
|
460
502
|
const _wN = "workloadName";
|
|
503
|
+
const _x = "x";
|
|
504
|
+
const _xabsi = "x-amzn-browser-session-id";
|
|
461
505
|
const _xacisi = "x-amzn-code-interpreter-session-id";
|
|
506
|
+
const _y = "y";
|
|
462
507
|
const n0 = "com.amazonaws.bedrockagentcore";
|
|
463
508
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
464
509
|
import { BedrockAgentCoreServiceException } from "../models/BedrockAgentCoreServiceException";
|
|
@@ -922,6 +967,16 @@ export var InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
|
|
|
922
967
|
[_cTo, _rSI, _mSI, _mPV, _tI, _tP, _tS, _ba, _resp, _sCt],
|
|
923
968
|
[[0, { [_hH]: _CT }], [0, { [_hH]: _XABARSI }], [0, { [_hH]: _MSI }], [0, { [_hH]: _MPV }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [() => ResponseStream, 16], [1, 32]], 1
|
|
924
969
|
];
|
|
970
|
+
export var InvokeBrowserRequest$ = [3, n0, _IBR,
|
|
971
|
+
0,
|
|
972
|
+
[_bI, _sI, _act],
|
|
973
|
+
[[0, 1], [0, { [_hH]: _xabsi }], () => BrowserAction$], 3
|
|
974
|
+
];
|
|
975
|
+
export var InvokeBrowserResponse$ = [3, n0, _IBRn,
|
|
976
|
+
0,
|
|
977
|
+
[_resu, _sI],
|
|
978
|
+
[() => BrowserActionResult$, [0, { [_hH]: _xabsi }]], 2
|
|
979
|
+
];
|
|
925
980
|
export var InvokeCodeInterpreterRequest$ = [3, n0, _ICIR,
|
|
926
981
|
0,
|
|
927
982
|
[_cII, _n, _sI, _tI, _tP, _ar],
|
|
@@ -932,6 +987,36 @@ export var InvokeCodeInterpreterResponse$ = [3, n0, _ICIRn,
|
|
|
932
987
|
[_stre, _sI],
|
|
933
988
|
[[() => CodeInterpreterStreamOutput$, 16], [0, { [_hH]: _xacisi }]], 1
|
|
934
989
|
];
|
|
990
|
+
export var KeyPressArguments$ = [3, n0, _KPA,
|
|
991
|
+
0,
|
|
992
|
+
[_k, _pr],
|
|
993
|
+
[0, 1], 1
|
|
994
|
+
];
|
|
995
|
+
export var KeyPressResult$ = [3, n0, _KPR,
|
|
996
|
+
0,
|
|
997
|
+
[_sta, _e],
|
|
998
|
+
[0, 0], 1
|
|
999
|
+
];
|
|
1000
|
+
export var KeyShortcutArguments$ = [3, n0, _KSA,
|
|
1001
|
+
0,
|
|
1002
|
+
[_ke],
|
|
1003
|
+
[64 | 0], 1
|
|
1004
|
+
];
|
|
1005
|
+
export var KeyShortcutResult$ = [3, n0, _KSR,
|
|
1006
|
+
0,
|
|
1007
|
+
[_sta, _e],
|
|
1008
|
+
[0, 0], 1
|
|
1009
|
+
];
|
|
1010
|
+
export var KeyTypeArguments$ = [3, n0, _KTA,
|
|
1011
|
+
0,
|
|
1012
|
+
[_te],
|
|
1013
|
+
[0], 1
|
|
1014
|
+
];
|
|
1015
|
+
export var KeyTypeResult$ = [3, n0, _KTR,
|
|
1016
|
+
0,
|
|
1017
|
+
[_sta, _e],
|
|
1018
|
+
[0, 0], 1
|
|
1019
|
+
];
|
|
935
1020
|
export var ListActorsInput$ = [3, n0, _LAI,
|
|
936
1021
|
0,
|
|
937
1022
|
[_mI, _mRa, _nT],
|
|
@@ -1047,6 +1132,46 @@ export var MessageMetadata$ = [3, n0, _MM,
|
|
|
1047
1132
|
[_eI, _mIe],
|
|
1048
1133
|
[0, 1], 2
|
|
1049
1134
|
];
|
|
1135
|
+
export var MouseClickArguments$ = [3, n0, _MCA,
|
|
1136
|
+
0,
|
|
1137
|
+
[_x, _y, _bu, _cC],
|
|
1138
|
+
[1, 1, 0, 1], 2
|
|
1139
|
+
];
|
|
1140
|
+
export var MouseClickResult$ = [3, n0, _MCR,
|
|
1141
|
+
0,
|
|
1142
|
+
[_sta, _e],
|
|
1143
|
+
[0, 0], 1
|
|
1144
|
+
];
|
|
1145
|
+
export var MouseDragArguments$ = [3, n0, _MDA,
|
|
1146
|
+
0,
|
|
1147
|
+
[_eX, _eY, _sX, _sY, _bu],
|
|
1148
|
+
[1, 1, 1, 1, 0], 4
|
|
1149
|
+
];
|
|
1150
|
+
export var MouseDragResult$ = [3, n0, _MDR,
|
|
1151
|
+
0,
|
|
1152
|
+
[_sta, _e],
|
|
1153
|
+
[0, 0], 1
|
|
1154
|
+
];
|
|
1155
|
+
export var MouseMoveArguments$ = [3, n0, _MMA,
|
|
1156
|
+
0,
|
|
1157
|
+
[_x, _y],
|
|
1158
|
+
[1, 1], 2
|
|
1159
|
+
];
|
|
1160
|
+
export var MouseMoveResult$ = [3, n0, _MMR,
|
|
1161
|
+
0,
|
|
1162
|
+
[_sta, _e],
|
|
1163
|
+
[0, 0], 1
|
|
1164
|
+
];
|
|
1165
|
+
export var MouseScrollArguments$ = [3, n0, _MSA,
|
|
1166
|
+
0,
|
|
1167
|
+
[_x, _y, _dX, _dY],
|
|
1168
|
+
[1, 1, 1, 1], 2
|
|
1169
|
+
];
|
|
1170
|
+
export var MouseScrollResult$ = [3, n0, _MSR,
|
|
1171
|
+
0,
|
|
1172
|
+
[_sta, _e],
|
|
1173
|
+
[0, 0], 1
|
|
1174
|
+
];
|
|
1050
1175
|
export var ProxyBypass$ = [3, n0, _PB,
|
|
1051
1176
|
0,
|
|
1052
1177
|
[_dP],
|
|
@@ -1054,7 +1179,7 @@ export var ProxyBypass$ = [3, n0, _PB,
|
|
|
1054
1179
|
];
|
|
1055
1180
|
export var ProxyConfiguration$ = [3, n0, _PC,
|
|
1056
1181
|
0,
|
|
1057
|
-
[
|
|
1182
|
+
[_pro, _by],
|
|
1058
1183
|
[() => Proxies, () => ProxyBypass$], 1
|
|
1059
1184
|
];
|
|
1060
1185
|
export var ResourceContent$ = [3, n0, _RC,
|
|
@@ -1079,7 +1204,7 @@ export var RetrieveMemoryRecordsOutput$ = [3, n0, _RMRO,
|
|
|
1079
1204
|
];
|
|
1080
1205
|
export var S3Location$ = [3, n0, _SL,
|
|
1081
1206
|
0,
|
|
1082
|
-
[
|
|
1207
|
+
[_buc, _pre, _vI],
|
|
1083
1208
|
[0, 0, 0], 2
|
|
1084
1209
|
];
|
|
1085
1210
|
export var SaveBrowserSessionProfileRequest$ = [3, n0, _SBSPR,
|
|
@@ -1092,6 +1217,16 @@ export var SaveBrowserSessionProfileResponse$ = [3, n0, _SBSPRa,
|
|
|
1092
1217
|
[_pI, _bI, _sI, _lUA],
|
|
1093
1218
|
[0, 0, 0, 5], 4
|
|
1094
1219
|
];
|
|
1220
|
+
export var ScreenshotArguments$ = [3, n0, _SA,
|
|
1221
|
+
0,
|
|
1222
|
+
[_fo],
|
|
1223
|
+
[0]
|
|
1224
|
+
];
|
|
1225
|
+
export var ScreenshotResult$ = [3, n0, _SR,
|
|
1226
|
+
0,
|
|
1227
|
+
[_sta, _e, _d],
|
|
1228
|
+
[0, 0, 21], 1
|
|
1229
|
+
];
|
|
1095
1230
|
export var SearchCriteria$ = [3, n0, _SC,
|
|
1096
1231
|
0,
|
|
1097
1232
|
[_sQ, _mSIe, _tK, _mF],
|
|
@@ -1184,7 +1319,7 @@ export var TokenUsage$ = [3, n0, _TU,
|
|
|
1184
1319
|
];
|
|
1185
1320
|
export var ToolArguments$ = [3, n0, _TA,
|
|
1186
1321
|
0,
|
|
1187
|
-
[_cod, _lan,
|
|
1322
|
+
[_cod, _lan, _cCl, _com, _pa, _pat, _co, _dPi, _tIa, _ru],
|
|
1188
1323
|
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0, 0]
|
|
1189
1324
|
];
|
|
1190
1325
|
export var ToolResultStructuredContent$ = [3, n0, _TRSC,
|
|
@@ -1260,6 +1395,7 @@ var InputContentBlockList = [1, n0, _ICBL,
|
|
|
1260
1395
|
0, [() => InputContentBlock$,
|
|
1261
1396
|
0]
|
|
1262
1397
|
];
|
|
1398
|
+
var KeyList = 64 | 0;
|
|
1263
1399
|
var MemoryMetadataFilterList = [1, n0, _MMFL,
|
|
1264
1400
|
0, () => MemoryMetadataFilterExpression$
|
|
1265
1401
|
];
|
|
@@ -1314,6 +1450,16 @@ var CustomRequestParametersType = [2, n0, _CRPT,
|
|
|
1314
1450
|
var MetadataMap = [2, n0, _MMe,
|
|
1315
1451
|
0, 0, () => MetadataValue$
|
|
1316
1452
|
];
|
|
1453
|
+
export var BrowserAction$ = [4, n0, _BAr,
|
|
1454
|
+
0,
|
|
1455
|
+
[_mC, _mM, _mD, _mS, _kT, _kP, _kS, _scr],
|
|
1456
|
+
[() => MouseClickArguments$, () => MouseMoveArguments$, () => MouseDragArguments$, () => MouseScrollArguments$, () => KeyTypeArguments$, () => KeyPressArguments$, () => KeyShortcutArguments$, () => ScreenshotArguments$]
|
|
1457
|
+
];
|
|
1458
|
+
export var BrowserActionResult$ = [4, n0, _BAR,
|
|
1459
|
+
0,
|
|
1460
|
+
[_mC, _mM, _mD, _mS, _kT, _kP, _kS, _scr],
|
|
1461
|
+
[() => MouseClickResult$, () => MouseMoveResult$, () => MouseDragResult$, () => MouseScrollResult$, () => KeyTypeResult$, () => KeyPressResult$, () => KeyShortcutResult$, () => ScreenshotResult$]
|
|
1462
|
+
];
|
|
1317
1463
|
export var CertificateLocation$ = [4, n0, _CL,
|
|
1318
1464
|
0,
|
|
1319
1465
|
[_sM],
|
|
@@ -1469,6 +1615,9 @@ export var InvokeAgentRuntime$ = [9, n0, _IAR,
|
|
|
1469
1615
|
export var InvokeAgentRuntimeCommand$ = [9, n0, _IARC,
|
|
1470
1616
|
{ [_ht]: ["POST", "/runtimes/{agentRuntimeArn}/commands", 200] }, () => InvokeAgentRuntimeCommandRequest$, () => InvokeAgentRuntimeCommandResponse$
|
|
1471
1617
|
];
|
|
1618
|
+
export var InvokeBrowser$ = [9, n0, _IB,
|
|
1619
|
+
{ [_ht]: ["POST", "/browsers/{browserIdentifier}/sessions/invoke", 200] }, () => InvokeBrowserRequest$, () => InvokeBrowserResponse$
|
|
1620
|
+
];
|
|
1472
1621
|
export var InvokeCodeInterpreter$ = [9, n0, _ICI,
|
|
1473
1622
|
{ [_ht]: ["POST", "/code-interpreters/{codeInterpreterIdentifier}/tools/invoke", 200] }, () => InvokeCodeInterpreterRequest$, () => InvokeCodeInterpreterResponse$
|
|
1474
1623
|
];
|
|
@@ -20,6 +20,7 @@ import { type GetWorkloadAccessTokenForJWTCommandInput, type GetWorkloadAccessTo
|
|
|
20
20
|
import { type GetWorkloadAccessTokenForUserIdCommandInput, type GetWorkloadAccessTokenForUserIdCommandOutput } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
|
|
21
21
|
import { type InvokeAgentRuntimeCommandInput, type InvokeAgentRuntimeCommandOutput } from "./commands/InvokeAgentRuntimeCommand";
|
|
22
22
|
import { type InvokeAgentRuntimeCommandCommandInput, type InvokeAgentRuntimeCommandCommandOutput } from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
23
|
+
import { type InvokeBrowserCommandInput, type InvokeBrowserCommandOutput } from "./commands/InvokeBrowserCommand";
|
|
23
24
|
import { type InvokeCodeInterpreterCommandInput, type InvokeCodeInterpreterCommandOutput } from "./commands/InvokeCodeInterpreterCommand";
|
|
24
25
|
import { type ListActorsCommandInput, type ListActorsCommandOutput } from "./commands/ListActorsCommand";
|
|
25
26
|
import { type ListBrowserSessionsCommandInput, type ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
|
|
@@ -158,6 +159,12 @@ export interface BedrockAgentCore {
|
|
|
158
159
|
invokeAgentRuntimeCommand(args: InvokeAgentRuntimeCommandCommandInput, options?: __HttpHandlerOptions): Promise<InvokeAgentRuntimeCommandCommandOutput>;
|
|
159
160
|
invokeAgentRuntimeCommand(args: InvokeAgentRuntimeCommandCommandInput, cb: (err: any, data?: InvokeAgentRuntimeCommandCommandOutput) => void): void;
|
|
160
161
|
invokeAgentRuntimeCommand(args: InvokeAgentRuntimeCommandCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeAgentRuntimeCommandCommandOutput) => void): void;
|
|
162
|
+
/**
|
|
163
|
+
* @see {@link InvokeBrowserCommand}
|
|
164
|
+
*/
|
|
165
|
+
invokeBrowser(args: InvokeBrowserCommandInput, options?: __HttpHandlerOptions): Promise<InvokeBrowserCommandOutput>;
|
|
166
|
+
invokeBrowser(args: InvokeBrowserCommandInput, cb: (err: any, data?: InvokeBrowserCommandOutput) => void): void;
|
|
167
|
+
invokeBrowser(args: InvokeBrowserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeBrowserCommandOutput) => void): void;
|
|
161
168
|
/**
|
|
162
169
|
* @see {@link InvokeCodeInterpreterCommand}
|
|
163
170
|
*/
|
|
@@ -28,6 +28,7 @@ import type { GetWorkloadAccessTokenForJWTCommandInput, GetWorkloadAccessTokenFo
|
|
|
28
28
|
import type { GetWorkloadAccessTokenForUserIdCommandInput, GetWorkloadAccessTokenForUserIdCommandOutput } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
|
|
29
29
|
import type { InvokeAgentRuntimeCommandInput, InvokeAgentRuntimeCommandOutput } from "./commands/InvokeAgentRuntimeCommand";
|
|
30
30
|
import type { InvokeAgentRuntimeCommandCommandInput, InvokeAgentRuntimeCommandCommandOutput } from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
31
|
+
import type { InvokeBrowserCommandInput, InvokeBrowserCommandOutput } from "./commands/InvokeBrowserCommand";
|
|
31
32
|
import type { InvokeCodeInterpreterCommandInput, InvokeCodeInterpreterCommandOutput } from "./commands/InvokeCodeInterpreterCommand";
|
|
32
33
|
import type { ListActorsCommandInput, ListActorsCommandOutput } from "./commands/ListActorsCommand";
|
|
33
34
|
import type { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
|
|
@@ -51,11 +52,11 @@ export { __Client };
|
|
|
51
52
|
/**
|
|
52
53
|
* @public
|
|
53
54
|
*/
|
|
54
|
-
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | EvaluateCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
|
|
55
|
+
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | EvaluateCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
|
|
55
56
|
/**
|
|
56
57
|
* @public
|
|
57
58
|
*/
|
|
58
|
-
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | EvaluateCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
59
|
+
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | EvaluateCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
59
60
|
/**
|
|
60
61
|
* @public
|
|
61
62
|
*/
|
|
@@ -0,0 +1,168 @@
|
|
|
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 { InvokeBrowserRequest, InvokeBrowserResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link InvokeBrowserCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface InvokeBrowserCommandInput extends InvokeBrowserRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link InvokeBrowserCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface InvokeBrowserCommandOutput extends InvokeBrowserResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const InvokeBrowserCommand_base: {
|
|
25
|
+
new (input: InvokeBrowserCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeBrowserCommandInput, InvokeBrowserCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: InvokeBrowserCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeBrowserCommandInput, InvokeBrowserCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Invokes an operating system-level action on a browser session in Amazon Bedrock AgentCore. This operation provides direct OS-level control over browser sessions, enabling mouse actions, keyboard input, and screenshots that the WebSocket-based Chrome DevTools Protocol (CDP) cannot handle — such as interacting with print dialogs, context menus, and JavaScript alerts.</p> <p>You send a request with exactly one action in the <code>BrowserAction</code> union, and receive a corresponding result in the <code>BrowserActionResult</code> union.</p> <p>The following operations are related to <code>InvokeBrowser</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> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</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, InvokeBrowserCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreClient, InvokeBrowserCommand } = 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 = { // InvokeBrowserRequest
|
|
40
|
+
* browserIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* sessionId: "STRING_VALUE", // required
|
|
42
|
+
* action: { // BrowserAction Union: only one key present
|
|
43
|
+
* mouseClick: { // MouseClickArguments
|
|
44
|
+
* x: Number("int"), // required
|
|
45
|
+
* y: Number("int"), // required
|
|
46
|
+
* button: "LEFT" || "RIGHT" || "MIDDLE",
|
|
47
|
+
* clickCount: Number("int"),
|
|
48
|
+
* },
|
|
49
|
+
* mouseMove: { // MouseMoveArguments
|
|
50
|
+
* x: Number("int"), // required
|
|
51
|
+
* y: Number("int"), // required
|
|
52
|
+
* },
|
|
53
|
+
* mouseDrag: { // MouseDragArguments
|
|
54
|
+
* endX: Number("int"), // required
|
|
55
|
+
* endY: Number("int"), // required
|
|
56
|
+
* startX: Number("int"), // required
|
|
57
|
+
* startY: Number("int"), // required
|
|
58
|
+
* button: "LEFT" || "RIGHT" || "MIDDLE",
|
|
59
|
+
* },
|
|
60
|
+
* mouseScroll: { // MouseScrollArguments
|
|
61
|
+
* x: Number("int"), // required
|
|
62
|
+
* y: Number("int"), // required
|
|
63
|
+
* deltaX: Number("int"),
|
|
64
|
+
* deltaY: Number("int"),
|
|
65
|
+
* },
|
|
66
|
+
* keyType: { // KeyTypeArguments
|
|
67
|
+
* text: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* keyPress: { // KeyPressArguments
|
|
70
|
+
* key: "STRING_VALUE", // required
|
|
71
|
+
* presses: Number("int"),
|
|
72
|
+
* },
|
|
73
|
+
* keyShortcut: { // KeyShortcutArguments
|
|
74
|
+
* keys: [ // KeyList // required
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* screenshot: { // ScreenshotArguments
|
|
79
|
+
* format: "PNG",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* };
|
|
83
|
+
* const command = new InvokeBrowserCommand(input);
|
|
84
|
+
* const response = await client.send(command);
|
|
85
|
+
* // { // InvokeBrowserResponse
|
|
86
|
+
* // result: { // BrowserActionResult Union: only one key present
|
|
87
|
+
* // mouseClick: { // MouseClickResult
|
|
88
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
89
|
+
* // error: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // mouseMove: { // MouseMoveResult
|
|
92
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
93
|
+
* // error: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // mouseDrag: { // MouseDragResult
|
|
96
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
97
|
+
* // error: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // mouseScroll: { // MouseScrollResult
|
|
100
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
101
|
+
* // error: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // keyType: { // KeyTypeResult
|
|
104
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
105
|
+
* // error: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // keyPress: { // KeyPressResult
|
|
108
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
109
|
+
* // error: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // keyShortcut: { // KeyShortcutResult
|
|
112
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
113
|
+
* // error: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // screenshot: { // ScreenshotResult
|
|
116
|
+
* // status: "SUCCESS" || "FAILED", // required
|
|
117
|
+
* // error: "STRING_VALUE",
|
|
118
|
+
* // data: new Uint8Array(),
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // sessionId: "STRING_VALUE", // required
|
|
122
|
+
* // };
|
|
123
|
+
*
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @param InvokeBrowserCommandInput - {@link InvokeBrowserCommandInput}
|
|
127
|
+
* @returns {@link InvokeBrowserCommandOutput}
|
|
128
|
+
* @see {@link InvokeBrowserCommandInput} for command's `input` shape.
|
|
129
|
+
* @see {@link InvokeBrowserCommandOutput} for command's `response` shape.
|
|
130
|
+
* @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
133
|
+
* <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>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link InternalServerException} (server fault)
|
|
136
|
+
* <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>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
139
|
+
* <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>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
142
|
+
* <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
145
|
+
* <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>
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link ValidationException} (client fault)
|
|
148
|
+
* <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>
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link BedrockAgentCoreServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
|
|
152
|
+
*
|
|
153
|
+
*
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export declare class InvokeBrowserCommand extends InvokeBrowserCommand_base {
|
|
157
|
+
/** @internal type navigation helper, not in runtime. */
|
|
158
|
+
protected static __types: {
|
|
159
|
+
api: {
|
|
160
|
+
input: InvokeBrowserRequest;
|
|
161
|
+
output: InvokeBrowserResponse;
|
|
162
|
+
};
|
|
163
|
+
sdk: {
|
|
164
|
+
input: InvokeBrowserCommandInput;
|
|
165
|
+
output: InvokeBrowserCommandOutput;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const ListSessionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists sessions in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListSessions</code> permission.</p>
|
|
30
|
+
* <p>Lists sessions in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.</p> <p>Empty sessions are automatically deleted after one day.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:ListSessions</code> permission.</p>
|
|
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 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 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>
|
|
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> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_InvokeBrowser.html">InvokeBrowser</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
|
|
@@ -18,6 +18,7 @@ export * from "./GetWorkloadAccessTokenForJWTCommand";
|
|
|
18
18
|
export * from "./GetWorkloadAccessTokenForUserIdCommand";
|
|
19
19
|
export * from "./InvokeAgentRuntimeCommand";
|
|
20
20
|
export * from "./InvokeAgentRuntimeCommandCommand";
|
|
21
|
+
export * from "./InvokeBrowserCommand";
|
|
21
22
|
export * from "./InvokeCodeInterpreterCommand";
|
|
22
23
|
export * from "./ListActorsCommand";
|
|
23
24
|
export * from "./ListBrowserSessionsCommand";
|
|
@@ -61,6 +61,42 @@ export declare const AutomationStreamStatus: {
|
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
63
|
export type AutomationStreamStatus = (typeof AutomationStreamStatus)[keyof typeof AutomationStreamStatus];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const MouseButton: {
|
|
69
|
+
readonly LEFT: "LEFT";
|
|
70
|
+
readonly MIDDLE: "MIDDLE";
|
|
71
|
+
readonly RIGHT: "RIGHT";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export type MouseButton = (typeof MouseButton)[keyof typeof MouseButton];
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* @enum
|
|
80
|
+
*/
|
|
81
|
+
export declare const ScreenshotFormat: {
|
|
82
|
+
readonly PNG: "PNG";
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export type ScreenshotFormat = (typeof ScreenshotFormat)[keyof typeof ScreenshotFormat];
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* @enum
|
|
91
|
+
*/
|
|
92
|
+
export declare const BrowserActionStatus: {
|
|
93
|
+
readonly FAILED: "FAILED";
|
|
94
|
+
readonly SUCCESS: "SUCCESS";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type BrowserActionStatus = (typeof BrowserActionStatus)[keyof typeof BrowserActionStatus];
|
|
64
100
|
/**
|
|
65
101
|
* @public
|
|
66
102
|
* @enum
|