@aws-sdk/client-bedrock-agentcore 3.1025.0 → 3.1026.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
|
@@ -84,6 +84,10 @@ import {
|
|
|
84
84
|
InvokeAgentRuntimeCommandCommandInput,
|
|
85
85
|
InvokeAgentRuntimeCommandCommandOutput,
|
|
86
86
|
} from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
87
|
+
import {
|
|
88
|
+
InvokeBrowserCommandInput,
|
|
89
|
+
InvokeBrowserCommandOutput,
|
|
90
|
+
} from "./commands/InvokeBrowserCommand";
|
|
87
91
|
import {
|
|
88
92
|
InvokeCodeInterpreterCommandInput,
|
|
89
93
|
InvokeCodeInterpreterCommandOutput,
|
|
@@ -413,6 +417,19 @@ export interface BedrockAgentCore {
|
|
|
413
417
|
options: __HttpHandlerOptions,
|
|
414
418
|
cb: (err: any, data?: InvokeAgentRuntimeCommandCommandOutput) => void
|
|
415
419
|
): void;
|
|
420
|
+
invokeBrowser(
|
|
421
|
+
args: InvokeBrowserCommandInput,
|
|
422
|
+
options?: __HttpHandlerOptions
|
|
423
|
+
): Promise<InvokeBrowserCommandOutput>;
|
|
424
|
+
invokeBrowser(
|
|
425
|
+
args: InvokeBrowserCommandInput,
|
|
426
|
+
cb: (err: any, data?: InvokeBrowserCommandOutput) => void
|
|
427
|
+
): void;
|
|
428
|
+
invokeBrowser(
|
|
429
|
+
args: InvokeBrowserCommandInput,
|
|
430
|
+
options: __HttpHandlerOptions,
|
|
431
|
+
cb: (err: any, data?: InvokeBrowserCommandOutput) => void
|
|
432
|
+
): void;
|
|
416
433
|
invokeCodeInterpreter(
|
|
417
434
|
args: InvokeCodeInterpreterCommandInput,
|
|
418
435
|
options?: __HttpHandlerOptions
|
|
@@ -130,6 +130,10 @@ import {
|
|
|
130
130
|
InvokeAgentRuntimeCommandCommandInput,
|
|
131
131
|
InvokeAgentRuntimeCommandCommandOutput,
|
|
132
132
|
} from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
133
|
+
import {
|
|
134
|
+
InvokeBrowserCommandInput,
|
|
135
|
+
InvokeBrowserCommandOutput,
|
|
136
|
+
} from "./commands/InvokeBrowserCommand";
|
|
133
137
|
import {
|
|
134
138
|
InvokeCodeInterpreterCommandInput,
|
|
135
139
|
InvokeCodeInterpreterCommandOutput,
|
|
@@ -226,6 +230,7 @@ export type ServiceInputTypes =
|
|
|
226
230
|
| GetWorkloadAccessTokenForUserIdCommandInput
|
|
227
231
|
| InvokeAgentRuntimeCommandCommandInput
|
|
228
232
|
| InvokeAgentRuntimeCommandInput
|
|
233
|
+
| InvokeBrowserCommandInput
|
|
229
234
|
| InvokeCodeInterpreterCommandInput
|
|
230
235
|
| ListActorsCommandInput
|
|
231
236
|
| ListBrowserSessionsCommandInput
|
|
@@ -264,6 +269,7 @@ export type ServiceOutputTypes =
|
|
|
264
269
|
| GetWorkloadAccessTokenForUserIdCommandOutput
|
|
265
270
|
| InvokeAgentRuntimeCommandCommandOutput
|
|
266
271
|
| InvokeAgentRuntimeCommandOutput
|
|
272
|
+
| InvokeBrowserCommandOutput
|
|
267
273
|
| InvokeCodeInterpreterCommandOutput
|
|
268
274
|
| ListActorsCommandOutput
|
|
269
275
|
| ListBrowserSessionsCommandOutput
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
InvokeBrowserRequest,
|
|
10
|
+
InvokeBrowserResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface InvokeBrowserCommandInput extends InvokeBrowserRequest {}
|
|
15
|
+
export interface InvokeBrowserCommandOutput
|
|
16
|
+
extends InvokeBrowserResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const InvokeBrowserCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: InvokeBrowserCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
InvokeBrowserCommandInput,
|
|
23
|
+
InvokeBrowserCommandOutput,
|
|
24
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: InvokeBrowserCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
InvokeBrowserCommandInput,
|
|
32
|
+
InvokeBrowserCommandOutput,
|
|
33
|
+
BedrockAgentCoreClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class InvokeBrowserCommand extends InvokeBrowserCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: InvokeBrowserRequest;
|
|
43
|
+
output: InvokeBrowserResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: InvokeBrowserCommandInput;
|
|
47
|
+
output: InvokeBrowserCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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";
|
|
@@ -31,6 +31,23 @@ export declare const AutomationStreamStatus: {
|
|
|
31
31
|
};
|
|
32
32
|
export type AutomationStreamStatus =
|
|
33
33
|
(typeof AutomationStreamStatus)[keyof typeof AutomationStreamStatus];
|
|
34
|
+
export declare const MouseButton: {
|
|
35
|
+
readonly LEFT: "LEFT";
|
|
36
|
+
readonly MIDDLE: "MIDDLE";
|
|
37
|
+
readonly RIGHT: "RIGHT";
|
|
38
|
+
};
|
|
39
|
+
export type MouseButton = (typeof MouseButton)[keyof typeof MouseButton];
|
|
40
|
+
export declare const ScreenshotFormat: {
|
|
41
|
+
readonly PNG: "PNG";
|
|
42
|
+
};
|
|
43
|
+
export type ScreenshotFormat =
|
|
44
|
+
(typeof ScreenshotFormat)[keyof typeof ScreenshotFormat];
|
|
45
|
+
export declare const BrowserActionStatus: {
|
|
46
|
+
readonly FAILED: "FAILED";
|
|
47
|
+
readonly SUCCESS: "SUCCESS";
|
|
48
|
+
};
|
|
49
|
+
export type BrowserActionStatus =
|
|
50
|
+
(typeof BrowserActionStatus)[keyof typeof BrowserActionStatus];
|
|
34
51
|
export declare const CodeInterpreterSessionStatus: {
|
|
35
52
|
readonly READY: "READY";
|
|
36
53
|
readonly TERMINATED: "TERMINATED";
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
} from "@smithy/types";
|
|
5
5
|
import {
|
|
6
6
|
AutomationStreamStatus,
|
|
7
|
+
BrowserActionStatus,
|
|
7
8
|
BrowserEnterprisePolicyType,
|
|
8
9
|
BrowserSessionStatus,
|
|
9
10
|
CodeInterpreterSessionStatus,
|
|
@@ -13,11 +14,13 @@ import {
|
|
|
13
14
|
ExtractionJobStatus,
|
|
14
15
|
LanguageRuntime,
|
|
15
16
|
MemoryRecordStatus,
|
|
17
|
+
MouseButton,
|
|
16
18
|
Oauth2FlowType,
|
|
17
19
|
OperatorType,
|
|
18
20
|
ProgrammingLanguage,
|
|
19
21
|
ResourceContentType,
|
|
20
22
|
Role,
|
|
23
|
+
ScreenshotFormat,
|
|
21
24
|
SessionStatus,
|
|
22
25
|
TaskStatus,
|
|
23
26
|
ToolName,
|
|
@@ -403,6 +406,328 @@ export interface GetBrowserSessionResponse {
|
|
|
403
406
|
sessionReplayArtifact?: string | undefined;
|
|
404
407
|
lastUpdatedAt?: Date | undefined;
|
|
405
408
|
}
|
|
409
|
+
export interface KeyPressArguments {
|
|
410
|
+
key: string | undefined;
|
|
411
|
+
presses?: number | undefined;
|
|
412
|
+
}
|
|
413
|
+
export interface KeyShortcutArguments {
|
|
414
|
+
keys: string[] | undefined;
|
|
415
|
+
}
|
|
416
|
+
export interface KeyTypeArguments {
|
|
417
|
+
text: string | undefined;
|
|
418
|
+
}
|
|
419
|
+
export interface MouseClickArguments {
|
|
420
|
+
x: number | undefined;
|
|
421
|
+
y: number | undefined;
|
|
422
|
+
button?: MouseButton | undefined;
|
|
423
|
+
clickCount?: number | undefined;
|
|
424
|
+
}
|
|
425
|
+
export interface MouseDragArguments {
|
|
426
|
+
endX: number | undefined;
|
|
427
|
+
endY: number | undefined;
|
|
428
|
+
startX: number | undefined;
|
|
429
|
+
startY: number | undefined;
|
|
430
|
+
button?: MouseButton | undefined;
|
|
431
|
+
}
|
|
432
|
+
export interface MouseMoveArguments {
|
|
433
|
+
x: number | undefined;
|
|
434
|
+
y: number | undefined;
|
|
435
|
+
}
|
|
436
|
+
export interface MouseScrollArguments {
|
|
437
|
+
x: number | undefined;
|
|
438
|
+
y: number | undefined;
|
|
439
|
+
deltaX?: number | undefined;
|
|
440
|
+
deltaY?: number | undefined;
|
|
441
|
+
}
|
|
442
|
+
export interface ScreenshotArguments {
|
|
443
|
+
format?: ScreenshotFormat | undefined;
|
|
444
|
+
}
|
|
445
|
+
export type BrowserAction =
|
|
446
|
+
| BrowserAction.KeyPressMember
|
|
447
|
+
| BrowserAction.KeyShortcutMember
|
|
448
|
+
| BrowserAction.KeyTypeMember
|
|
449
|
+
| BrowserAction.MouseClickMember
|
|
450
|
+
| BrowserAction.MouseDragMember
|
|
451
|
+
| BrowserAction.MouseMoveMember
|
|
452
|
+
| BrowserAction.MouseScrollMember
|
|
453
|
+
| BrowserAction.ScreenshotMember
|
|
454
|
+
| BrowserAction.$UnknownMember;
|
|
455
|
+
export declare namespace BrowserAction {
|
|
456
|
+
interface MouseClickMember {
|
|
457
|
+
mouseClick: MouseClickArguments;
|
|
458
|
+
mouseMove?: never;
|
|
459
|
+
mouseDrag?: never;
|
|
460
|
+
mouseScroll?: never;
|
|
461
|
+
keyType?: never;
|
|
462
|
+
keyPress?: never;
|
|
463
|
+
keyShortcut?: never;
|
|
464
|
+
screenshot?: never;
|
|
465
|
+
$unknown?: never;
|
|
466
|
+
}
|
|
467
|
+
interface MouseMoveMember {
|
|
468
|
+
mouseClick?: never;
|
|
469
|
+
mouseMove: MouseMoveArguments;
|
|
470
|
+
mouseDrag?: never;
|
|
471
|
+
mouseScroll?: never;
|
|
472
|
+
keyType?: never;
|
|
473
|
+
keyPress?: never;
|
|
474
|
+
keyShortcut?: never;
|
|
475
|
+
screenshot?: never;
|
|
476
|
+
$unknown?: never;
|
|
477
|
+
}
|
|
478
|
+
interface MouseDragMember {
|
|
479
|
+
mouseClick?: never;
|
|
480
|
+
mouseMove?: never;
|
|
481
|
+
mouseDrag: MouseDragArguments;
|
|
482
|
+
mouseScroll?: never;
|
|
483
|
+
keyType?: never;
|
|
484
|
+
keyPress?: never;
|
|
485
|
+
keyShortcut?: never;
|
|
486
|
+
screenshot?: never;
|
|
487
|
+
$unknown?: never;
|
|
488
|
+
}
|
|
489
|
+
interface MouseScrollMember {
|
|
490
|
+
mouseClick?: never;
|
|
491
|
+
mouseMove?: never;
|
|
492
|
+
mouseDrag?: never;
|
|
493
|
+
mouseScroll: MouseScrollArguments;
|
|
494
|
+
keyType?: never;
|
|
495
|
+
keyPress?: never;
|
|
496
|
+
keyShortcut?: never;
|
|
497
|
+
screenshot?: never;
|
|
498
|
+
$unknown?: never;
|
|
499
|
+
}
|
|
500
|
+
interface KeyTypeMember {
|
|
501
|
+
mouseClick?: never;
|
|
502
|
+
mouseMove?: never;
|
|
503
|
+
mouseDrag?: never;
|
|
504
|
+
mouseScroll?: never;
|
|
505
|
+
keyType: KeyTypeArguments;
|
|
506
|
+
keyPress?: never;
|
|
507
|
+
keyShortcut?: never;
|
|
508
|
+
screenshot?: never;
|
|
509
|
+
$unknown?: never;
|
|
510
|
+
}
|
|
511
|
+
interface KeyPressMember {
|
|
512
|
+
mouseClick?: never;
|
|
513
|
+
mouseMove?: never;
|
|
514
|
+
mouseDrag?: never;
|
|
515
|
+
mouseScroll?: never;
|
|
516
|
+
keyType?: never;
|
|
517
|
+
keyPress: KeyPressArguments;
|
|
518
|
+
keyShortcut?: never;
|
|
519
|
+
screenshot?: never;
|
|
520
|
+
$unknown?: never;
|
|
521
|
+
}
|
|
522
|
+
interface KeyShortcutMember {
|
|
523
|
+
mouseClick?: never;
|
|
524
|
+
mouseMove?: never;
|
|
525
|
+
mouseDrag?: never;
|
|
526
|
+
mouseScroll?: never;
|
|
527
|
+
keyType?: never;
|
|
528
|
+
keyPress?: never;
|
|
529
|
+
keyShortcut: KeyShortcutArguments;
|
|
530
|
+
screenshot?: never;
|
|
531
|
+
$unknown?: never;
|
|
532
|
+
}
|
|
533
|
+
interface ScreenshotMember {
|
|
534
|
+
mouseClick?: never;
|
|
535
|
+
mouseMove?: never;
|
|
536
|
+
mouseDrag?: never;
|
|
537
|
+
mouseScroll?: never;
|
|
538
|
+
keyType?: never;
|
|
539
|
+
keyPress?: never;
|
|
540
|
+
keyShortcut?: never;
|
|
541
|
+
screenshot: ScreenshotArguments;
|
|
542
|
+
$unknown?: never;
|
|
543
|
+
}
|
|
544
|
+
interface $UnknownMember {
|
|
545
|
+
mouseClick?: never;
|
|
546
|
+
mouseMove?: never;
|
|
547
|
+
mouseDrag?: never;
|
|
548
|
+
mouseScroll?: never;
|
|
549
|
+
keyType?: never;
|
|
550
|
+
keyPress?: never;
|
|
551
|
+
keyShortcut?: never;
|
|
552
|
+
screenshot?: never;
|
|
553
|
+
$unknown: [string, any];
|
|
554
|
+
}
|
|
555
|
+
interface Visitor<T> {
|
|
556
|
+
mouseClick: (value: MouseClickArguments) => T;
|
|
557
|
+
mouseMove: (value: MouseMoveArguments) => T;
|
|
558
|
+
mouseDrag: (value: MouseDragArguments) => T;
|
|
559
|
+
mouseScroll: (value: MouseScrollArguments) => T;
|
|
560
|
+
keyType: (value: KeyTypeArguments) => T;
|
|
561
|
+
keyPress: (value: KeyPressArguments) => T;
|
|
562
|
+
keyShortcut: (value: KeyShortcutArguments) => T;
|
|
563
|
+
screenshot: (value: ScreenshotArguments) => T;
|
|
564
|
+
_: (name: string, value: any) => T;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
export interface InvokeBrowserRequest {
|
|
568
|
+
browserIdentifier: string | undefined;
|
|
569
|
+
sessionId: string | undefined;
|
|
570
|
+
action: BrowserAction | undefined;
|
|
571
|
+
}
|
|
572
|
+
export interface KeyPressResult {
|
|
573
|
+
status: BrowserActionStatus | undefined;
|
|
574
|
+
error?: string | undefined;
|
|
575
|
+
}
|
|
576
|
+
export interface KeyShortcutResult {
|
|
577
|
+
status: BrowserActionStatus | undefined;
|
|
578
|
+
error?: string | undefined;
|
|
579
|
+
}
|
|
580
|
+
export interface KeyTypeResult {
|
|
581
|
+
status: BrowserActionStatus | undefined;
|
|
582
|
+
error?: string | undefined;
|
|
583
|
+
}
|
|
584
|
+
export interface MouseClickResult {
|
|
585
|
+
status: BrowserActionStatus | undefined;
|
|
586
|
+
error?: string | undefined;
|
|
587
|
+
}
|
|
588
|
+
export interface MouseDragResult {
|
|
589
|
+
status: BrowserActionStatus | undefined;
|
|
590
|
+
error?: string | undefined;
|
|
591
|
+
}
|
|
592
|
+
export interface MouseMoveResult {
|
|
593
|
+
status: BrowserActionStatus | undefined;
|
|
594
|
+
error?: string | undefined;
|
|
595
|
+
}
|
|
596
|
+
export interface MouseScrollResult {
|
|
597
|
+
status: BrowserActionStatus | undefined;
|
|
598
|
+
error?: string | undefined;
|
|
599
|
+
}
|
|
600
|
+
export interface ScreenshotResult {
|
|
601
|
+
status: BrowserActionStatus | undefined;
|
|
602
|
+
error?: string | undefined;
|
|
603
|
+
data?: Uint8Array | undefined;
|
|
604
|
+
}
|
|
605
|
+
export type BrowserActionResult =
|
|
606
|
+
| BrowserActionResult.KeyPressMember
|
|
607
|
+
| BrowserActionResult.KeyShortcutMember
|
|
608
|
+
| BrowserActionResult.KeyTypeMember
|
|
609
|
+
| BrowserActionResult.MouseClickMember
|
|
610
|
+
| BrowserActionResult.MouseDragMember
|
|
611
|
+
| BrowserActionResult.MouseMoveMember
|
|
612
|
+
| BrowserActionResult.MouseScrollMember
|
|
613
|
+
| BrowserActionResult.ScreenshotMember
|
|
614
|
+
| BrowserActionResult.$UnknownMember;
|
|
615
|
+
export declare namespace BrowserActionResult {
|
|
616
|
+
interface MouseClickMember {
|
|
617
|
+
mouseClick: MouseClickResult;
|
|
618
|
+
mouseMove?: never;
|
|
619
|
+
mouseDrag?: never;
|
|
620
|
+
mouseScroll?: never;
|
|
621
|
+
keyType?: never;
|
|
622
|
+
keyPress?: never;
|
|
623
|
+
keyShortcut?: never;
|
|
624
|
+
screenshot?: never;
|
|
625
|
+
$unknown?: never;
|
|
626
|
+
}
|
|
627
|
+
interface MouseMoveMember {
|
|
628
|
+
mouseClick?: never;
|
|
629
|
+
mouseMove: MouseMoveResult;
|
|
630
|
+
mouseDrag?: never;
|
|
631
|
+
mouseScroll?: never;
|
|
632
|
+
keyType?: never;
|
|
633
|
+
keyPress?: never;
|
|
634
|
+
keyShortcut?: never;
|
|
635
|
+
screenshot?: never;
|
|
636
|
+
$unknown?: never;
|
|
637
|
+
}
|
|
638
|
+
interface MouseDragMember {
|
|
639
|
+
mouseClick?: never;
|
|
640
|
+
mouseMove?: never;
|
|
641
|
+
mouseDrag: MouseDragResult;
|
|
642
|
+
mouseScroll?: never;
|
|
643
|
+
keyType?: never;
|
|
644
|
+
keyPress?: never;
|
|
645
|
+
keyShortcut?: never;
|
|
646
|
+
screenshot?: never;
|
|
647
|
+
$unknown?: never;
|
|
648
|
+
}
|
|
649
|
+
interface MouseScrollMember {
|
|
650
|
+
mouseClick?: never;
|
|
651
|
+
mouseMove?: never;
|
|
652
|
+
mouseDrag?: never;
|
|
653
|
+
mouseScroll: MouseScrollResult;
|
|
654
|
+
keyType?: never;
|
|
655
|
+
keyPress?: never;
|
|
656
|
+
keyShortcut?: never;
|
|
657
|
+
screenshot?: never;
|
|
658
|
+
$unknown?: never;
|
|
659
|
+
}
|
|
660
|
+
interface KeyTypeMember {
|
|
661
|
+
mouseClick?: never;
|
|
662
|
+
mouseMove?: never;
|
|
663
|
+
mouseDrag?: never;
|
|
664
|
+
mouseScroll?: never;
|
|
665
|
+
keyType: KeyTypeResult;
|
|
666
|
+
keyPress?: never;
|
|
667
|
+
keyShortcut?: never;
|
|
668
|
+
screenshot?: never;
|
|
669
|
+
$unknown?: never;
|
|
670
|
+
}
|
|
671
|
+
interface KeyPressMember {
|
|
672
|
+
mouseClick?: never;
|
|
673
|
+
mouseMove?: never;
|
|
674
|
+
mouseDrag?: never;
|
|
675
|
+
mouseScroll?: never;
|
|
676
|
+
keyType?: never;
|
|
677
|
+
keyPress: KeyPressResult;
|
|
678
|
+
keyShortcut?: never;
|
|
679
|
+
screenshot?: never;
|
|
680
|
+
$unknown?: never;
|
|
681
|
+
}
|
|
682
|
+
interface KeyShortcutMember {
|
|
683
|
+
mouseClick?: never;
|
|
684
|
+
mouseMove?: never;
|
|
685
|
+
mouseDrag?: never;
|
|
686
|
+
mouseScroll?: never;
|
|
687
|
+
keyType?: never;
|
|
688
|
+
keyPress?: never;
|
|
689
|
+
keyShortcut: KeyShortcutResult;
|
|
690
|
+
screenshot?: never;
|
|
691
|
+
$unknown?: never;
|
|
692
|
+
}
|
|
693
|
+
interface ScreenshotMember {
|
|
694
|
+
mouseClick?: never;
|
|
695
|
+
mouseMove?: never;
|
|
696
|
+
mouseDrag?: never;
|
|
697
|
+
mouseScroll?: never;
|
|
698
|
+
keyType?: never;
|
|
699
|
+
keyPress?: never;
|
|
700
|
+
keyShortcut?: never;
|
|
701
|
+
screenshot: ScreenshotResult;
|
|
702
|
+
$unknown?: never;
|
|
703
|
+
}
|
|
704
|
+
interface $UnknownMember {
|
|
705
|
+
mouseClick?: never;
|
|
706
|
+
mouseMove?: never;
|
|
707
|
+
mouseDrag?: never;
|
|
708
|
+
mouseScroll?: never;
|
|
709
|
+
keyType?: never;
|
|
710
|
+
keyPress?: never;
|
|
711
|
+
keyShortcut?: never;
|
|
712
|
+
screenshot?: never;
|
|
713
|
+
$unknown: [string, any];
|
|
714
|
+
}
|
|
715
|
+
interface Visitor<T> {
|
|
716
|
+
mouseClick: (value: MouseClickResult) => T;
|
|
717
|
+
mouseMove: (value: MouseMoveResult) => T;
|
|
718
|
+
mouseDrag: (value: MouseDragResult) => T;
|
|
719
|
+
mouseScroll: (value: MouseScrollResult) => T;
|
|
720
|
+
keyType: (value: KeyTypeResult) => T;
|
|
721
|
+
keyPress: (value: KeyPressResult) => T;
|
|
722
|
+
keyShortcut: (value: KeyShortcutResult) => T;
|
|
723
|
+
screenshot: (value: ScreenshotResult) => T;
|
|
724
|
+
_: (name: string, value: any) => T;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
export interface InvokeBrowserResponse {
|
|
728
|
+
result: BrowserActionResult | undefined;
|
|
729
|
+
sessionId: string | undefined;
|
|
730
|
+
}
|
|
406
731
|
export interface ListBrowserSessionsRequest {
|
|
407
732
|
browserIdentifier: string | undefined;
|
|
408
733
|
maxResults?: number | undefined;
|
|
@@ -92,8 +92,16 @@ export declare var InvokeAgentRuntimeCommandRequestBody$: StaticStructureSchema;
|
|
|
92
92
|
export declare var InvokeAgentRuntimeCommandResponse$: StaticStructureSchema;
|
|
93
93
|
export declare var InvokeAgentRuntimeRequest$: StaticStructureSchema;
|
|
94
94
|
export declare var InvokeAgentRuntimeResponse$: StaticStructureSchema;
|
|
95
|
+
export declare var InvokeBrowserRequest$: StaticStructureSchema;
|
|
96
|
+
export declare var InvokeBrowserResponse$: StaticStructureSchema;
|
|
95
97
|
export declare var InvokeCodeInterpreterRequest$: StaticStructureSchema;
|
|
96
98
|
export declare var InvokeCodeInterpreterResponse$: StaticStructureSchema;
|
|
99
|
+
export declare var KeyPressArguments$: StaticStructureSchema;
|
|
100
|
+
export declare var KeyPressResult$: StaticStructureSchema;
|
|
101
|
+
export declare var KeyShortcutArguments$: StaticStructureSchema;
|
|
102
|
+
export declare var KeyShortcutResult$: StaticStructureSchema;
|
|
103
|
+
export declare var KeyTypeArguments$: StaticStructureSchema;
|
|
104
|
+
export declare var KeyTypeResult$: StaticStructureSchema;
|
|
97
105
|
export declare var ListActorsInput$: StaticStructureSchema;
|
|
98
106
|
export declare var ListActorsOutput$: StaticStructureSchema;
|
|
99
107
|
export declare var ListBrowserSessionsRequest$: StaticStructureSchema;
|
|
@@ -117,6 +125,14 @@ export declare var MemoryRecordOutput$: StaticStructureSchema;
|
|
|
117
125
|
export declare var MemoryRecordSummary$: StaticStructureSchema;
|
|
118
126
|
export declare var MemoryRecordUpdateInput$: StaticStructureSchema;
|
|
119
127
|
export declare var MessageMetadata$: StaticStructureSchema;
|
|
128
|
+
export declare var MouseClickArguments$: StaticStructureSchema;
|
|
129
|
+
export declare var MouseClickResult$: StaticStructureSchema;
|
|
130
|
+
export declare var MouseDragArguments$: StaticStructureSchema;
|
|
131
|
+
export declare var MouseDragResult$: StaticStructureSchema;
|
|
132
|
+
export declare var MouseMoveArguments$: StaticStructureSchema;
|
|
133
|
+
export declare var MouseMoveResult$: StaticStructureSchema;
|
|
134
|
+
export declare var MouseScrollArguments$: StaticStructureSchema;
|
|
135
|
+
export declare var MouseScrollResult$: StaticStructureSchema;
|
|
120
136
|
export declare var ProxyBypass$: StaticStructureSchema;
|
|
121
137
|
export declare var ProxyConfiguration$: StaticStructureSchema;
|
|
122
138
|
export declare var ResourceContent$: StaticStructureSchema;
|
|
@@ -126,6 +142,8 @@ export declare var RetrieveMemoryRecordsOutput$: StaticStructureSchema;
|
|
|
126
142
|
export declare var S3Location$: StaticStructureSchema;
|
|
127
143
|
export declare var SaveBrowserSessionProfileRequest$: StaticStructureSchema;
|
|
128
144
|
export declare var SaveBrowserSessionProfileResponse$: StaticStructureSchema;
|
|
145
|
+
export declare var ScreenshotArguments$: StaticStructureSchema;
|
|
146
|
+
export declare var ScreenshotResult$: StaticStructureSchema;
|
|
129
147
|
export declare var SearchCriteria$: StaticStructureSchema;
|
|
130
148
|
export declare var SecretsManagerLocation$: StaticStructureSchema;
|
|
131
149
|
export declare var SessionFilter$: StaticStructureSchema;
|
|
@@ -150,6 +168,8 @@ export declare var UpdateBrowserStreamRequest$: StaticStructureSchema;
|
|
|
150
168
|
export declare var UpdateBrowserStreamResponse$: StaticStructureSchema;
|
|
151
169
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
152
170
|
export declare var ViewPort$: StaticStructureSchema;
|
|
171
|
+
export declare var BrowserAction$: StaticUnionSchema;
|
|
172
|
+
export declare var BrowserActionResult$: StaticUnionSchema;
|
|
153
173
|
export declare var CertificateLocation$: StaticUnionSchema;
|
|
154
174
|
export declare var CodeInterpreterStreamOutput$: StaticUnionSchema;
|
|
155
175
|
export declare var Content$: StaticUnionSchema;
|
|
@@ -189,6 +209,7 @@ export declare var GetWorkloadAccessTokenForJWT$: StaticOperationSchema;
|
|
|
189
209
|
export declare var GetWorkloadAccessTokenForUserId$: StaticOperationSchema;
|
|
190
210
|
export declare var InvokeAgentRuntime$: StaticOperationSchema;
|
|
191
211
|
export declare var InvokeAgentRuntimeCommand$: StaticOperationSchema;
|
|
212
|
+
export declare var InvokeBrowser$: StaticOperationSchema;
|
|
192
213
|
export declare var InvokeCodeInterpreter$: StaticOperationSchema;
|
|
193
214
|
export declare var ListActors$: StaticOperationSchema;
|
|
194
215
|
export declare var ListBrowserSessions$: 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.1026.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,45 +21,45 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
37
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
38
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
39
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
40
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
41
|
-
"@smithy/hash-node": "^4.2.
|
|
42
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
43
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
44
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
45
|
-
"@smithy/middleware-retry": "^4.
|
|
46
|
-
"@smithy/middleware-serde": "^4.2.
|
|
47
|
-
"@smithy/middleware-stack": "^4.2.
|
|
48
|
-
"@smithy/node-config-provider": "^4.3.
|
|
49
|
-
"@smithy/node-http-handler": "^4.5.
|
|
50
|
-
"@smithy/protocol-http": "^5.3.
|
|
51
|
-
"@smithy/smithy-client": "^4.12.
|
|
52
|
-
"@smithy/types": "^4.
|
|
53
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "^3.973.27",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.30",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.9",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.9",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.10",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.29",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.11",
|
|
31
|
+
"@aws-sdk/types": "^3.973.7",
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.6",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.9",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.15",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.14",
|
|
36
|
+
"@smithy/core": "^3.23.14",
|
|
37
|
+
"@smithy/eventstream-serde-browser": "^4.2.13",
|
|
38
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.13",
|
|
39
|
+
"@smithy/eventstream-serde-node": "^4.2.13",
|
|
40
|
+
"@smithy/fetch-http-handler": "^5.3.16",
|
|
41
|
+
"@smithy/hash-node": "^4.2.13",
|
|
42
|
+
"@smithy/invalid-dependency": "^4.2.13",
|
|
43
|
+
"@smithy/middleware-content-length": "^4.2.13",
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.4.29",
|
|
45
|
+
"@smithy/middleware-retry": "^4.5.0",
|
|
46
|
+
"@smithy/middleware-serde": "^4.2.17",
|
|
47
|
+
"@smithy/middleware-stack": "^4.2.13",
|
|
48
|
+
"@smithy/node-config-provider": "^4.3.13",
|
|
49
|
+
"@smithy/node-http-handler": "^4.5.2",
|
|
50
|
+
"@smithy/protocol-http": "^5.3.13",
|
|
51
|
+
"@smithy/smithy-client": "^4.12.9",
|
|
52
|
+
"@smithy/types": "^4.14.0",
|
|
53
|
+
"@smithy/url-parser": "^4.2.13",
|
|
54
54
|
"@smithy/util-base64": "^4.3.2",
|
|
55
55
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
56
56
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
59
|
-
"@smithy/util-endpoints": "^3.3.
|
|
60
|
-
"@smithy/util-middleware": "^4.2.
|
|
61
|
-
"@smithy/util-retry": "^4.
|
|
62
|
-
"@smithy/util-stream": "^4.5.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.45",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.49",
|
|
59
|
+
"@smithy/util-endpoints": "^3.3.4",
|
|
60
|
+
"@smithy/util-middleware": "^4.2.13",
|
|
61
|
+
"@smithy/util-retry": "^4.3.0",
|
|
62
|
+
"@smithy/util-stream": "^4.5.22",
|
|
63
63
|
"@smithy/util-utf8": "^4.2.2",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|