@aws-sdk/client-bedrock-agentcore 3.1018.0 → 3.1020.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/index.js +6 -0
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +49 -14
- package/dist-es/BedrockAgentCore.js +4 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/models/enums.js +5 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-es/schemas/schemas_0.js +46 -11
- package/dist-types/BedrockAgentCore.d.ts +37 -37
- package/dist-types/BedrockAgentCoreClient.d.ts +40 -40
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/EvaluateCommand.d.ts +27 -0
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentRuntimeCommandCommand.d.ts +1 -2
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +1 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +155 -71
- package/dist-types/pagination/ListActorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMemoryExtractionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMemoryRecordsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/RetrieveMemoryRecordsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -20
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +14 -14
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
CommandExecutionStatus,
|
|
11
11
|
ContentBlockType,
|
|
12
12
|
ExtractionJobStatus,
|
|
13
|
+
LanguageRuntime,
|
|
13
14
|
MemoryRecordStatus,
|
|
14
15
|
Oauth2FlowType,
|
|
15
16
|
OperatorType,
|
|
@@ -588,6 +589,52 @@ export declare namespace EvaluationInput {
|
|
|
588
589
|
_: (name: string, value: any) => T;
|
|
589
590
|
}
|
|
590
591
|
}
|
|
592
|
+
export type EvaluationContent =
|
|
593
|
+
| EvaluationContent.TextMember
|
|
594
|
+
| EvaluationContent.$UnknownMember;
|
|
595
|
+
export declare namespace EvaluationContent {
|
|
596
|
+
interface TextMember {
|
|
597
|
+
text: string;
|
|
598
|
+
$unknown?: never;
|
|
599
|
+
}
|
|
600
|
+
interface $UnknownMember {
|
|
601
|
+
text?: never;
|
|
602
|
+
$unknown: [string, any];
|
|
603
|
+
}
|
|
604
|
+
interface Visitor<T> {
|
|
605
|
+
text: (value: string) => T;
|
|
606
|
+
_: (name: string, value: any) => T;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
export interface SpanContext {
|
|
610
|
+
sessionId: string | undefined;
|
|
611
|
+
traceId?: string | undefined;
|
|
612
|
+
spanId?: string | undefined;
|
|
613
|
+
}
|
|
614
|
+
export type Context = Context.SpanContextMember | Context.$UnknownMember;
|
|
615
|
+
export declare namespace Context {
|
|
616
|
+
interface SpanContextMember {
|
|
617
|
+
spanContext: SpanContext;
|
|
618
|
+
$unknown?: never;
|
|
619
|
+
}
|
|
620
|
+
interface $UnknownMember {
|
|
621
|
+
spanContext?: never;
|
|
622
|
+
$unknown: [string, any];
|
|
623
|
+
}
|
|
624
|
+
interface Visitor<T> {
|
|
625
|
+
spanContext: (value: SpanContext) => T;
|
|
626
|
+
_: (name: string, value: any) => T;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
export interface EvaluationExpectedTrajectory {
|
|
630
|
+
toolNames?: string[] | undefined;
|
|
631
|
+
}
|
|
632
|
+
export interface EvaluationReferenceInput {
|
|
633
|
+
context: Context | undefined;
|
|
634
|
+
expectedResponse?: EvaluationContent | undefined;
|
|
635
|
+
assertions?: EvaluationContent[] | undefined;
|
|
636
|
+
expectedTrajectory?: EvaluationExpectedTrajectory | undefined;
|
|
637
|
+
}
|
|
591
638
|
export type EvaluationTarget =
|
|
592
639
|
| EvaluationTarget.SpanIdsMember
|
|
593
640
|
| EvaluationTarget.TraceIdsMember
|
|
@@ -618,26 +665,7 @@ export interface EvaluateRequest {
|
|
|
618
665
|
evaluatorId: string | undefined;
|
|
619
666
|
evaluationInput: EvaluationInput | undefined;
|
|
620
667
|
evaluationTarget?: EvaluationTarget | undefined;
|
|
621
|
-
|
|
622
|
-
export interface SpanContext {
|
|
623
|
-
sessionId: string | undefined;
|
|
624
|
-
traceId?: string | undefined;
|
|
625
|
-
spanId?: string | undefined;
|
|
626
|
-
}
|
|
627
|
-
export type Context = Context.SpanContextMember | Context.$UnknownMember;
|
|
628
|
-
export declare namespace Context {
|
|
629
|
-
interface SpanContextMember {
|
|
630
|
-
spanContext: SpanContext;
|
|
631
|
-
$unknown?: never;
|
|
632
|
-
}
|
|
633
|
-
interface $UnknownMember {
|
|
634
|
-
spanContext?: never;
|
|
635
|
-
$unknown: [string, any];
|
|
636
|
-
}
|
|
637
|
-
interface Visitor<T> {
|
|
638
|
-
spanContext: (value: SpanContext) => T;
|
|
639
|
-
_: (name: string, value: any) => T;
|
|
640
|
-
}
|
|
668
|
+
evaluationReferenceInputs?: EvaluationReferenceInput[] | undefined;
|
|
641
669
|
}
|
|
642
670
|
export interface TokenUsage {
|
|
643
671
|
inputTokens?: number | undefined;
|
|
@@ -655,6 +683,7 @@ export interface EvaluationResultContent {
|
|
|
655
683
|
tokenUsage?: TokenUsage | undefined;
|
|
656
684
|
errorMessage?: string | undefined;
|
|
657
685
|
errorCode?: string | undefined;
|
|
686
|
+
ignoredReferenceInputFields?: string[] | undefined;
|
|
658
687
|
}
|
|
659
688
|
export interface EvaluateResponse {
|
|
660
689
|
evaluationResults: EvaluationResultContent[] | undefined;
|
|
@@ -718,6 +747,7 @@ export interface ToolArguments {
|
|
|
718
747
|
content?: InputContentBlock[] | undefined;
|
|
719
748
|
directoryPath?: string | undefined;
|
|
720
749
|
taskId?: string | undefined;
|
|
750
|
+
runtime?: LanguageRuntime | undefined;
|
|
721
751
|
}
|
|
722
752
|
export interface InvokeCodeInterpreterRequest {
|
|
723
753
|
codeInterpreterIdentifier: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (
|
|
|
33
33
|
protocol:
|
|
34
34
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
35
35
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
36
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
37
37
|
protocolSettings: {
|
|
38
38
|
defaultNamespace?: string;
|
|
39
39
|
[setting: string]: unknown;
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (
|
|
|
33
33
|
protocol:
|
|
34
34
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
35
35
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
36
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
37
37
|
protocolSettings: {
|
|
38
38
|
defaultNamespace?: string;
|
|
39
39
|
[setting: string]: unknown;
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (
|
|
|
14
14
|
protocol:
|
|
15
15
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
16
16
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
17
|
-
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
17
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
18
18
|
protocolSettings: {
|
|
19
19
|
defaultNamespace?: string;
|
|
20
20
|
[setting: string]: unknown;
|
|
@@ -56,6 +56,8 @@ export declare var DeleteMemoryRecordInput$: StaticStructureSchema;
|
|
|
56
56
|
export declare var DeleteMemoryRecordOutput$: StaticStructureSchema;
|
|
57
57
|
export declare var EvaluateRequest$: StaticStructureSchema;
|
|
58
58
|
export declare var EvaluateResponse$: StaticStructureSchema;
|
|
59
|
+
export declare var EvaluationExpectedTrajectory$: StaticStructureSchema;
|
|
60
|
+
export declare var EvaluationReferenceInput$: StaticStructureSchema;
|
|
59
61
|
export declare var EvaluationResultContent$: StaticStructureSchema;
|
|
60
62
|
export declare var Event$: StaticStructureSchema;
|
|
61
63
|
export declare var EventMetadataFilterExpression$: StaticStructureSchema;
|
|
@@ -151,6 +153,7 @@ export declare var CertificateLocation$: StaticUnionSchema;
|
|
|
151
153
|
export declare var CodeInterpreterStreamOutput$: StaticUnionSchema;
|
|
152
154
|
export declare var Content$: StaticUnionSchema;
|
|
153
155
|
export declare var Context$: StaticUnionSchema;
|
|
156
|
+
export declare var EvaluationContent$: StaticUnionSchema;
|
|
154
157
|
export declare var EvaluationInput$: StaticUnionSchema;
|
|
155
158
|
export declare var EvaluationTarget$: StaticUnionSchema;
|
|
156
159
|
export declare var ExtractionJobMessages$: StaticUnionSchema;
|
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.1020.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.26",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.28",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.27",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.13",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.13",
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
36
|
+
"@smithy/core": "^3.23.13",
|
|
37
37
|
"@smithy/eventstream-serde-browser": "^4.2.12",
|
|
38
38
|
"@smithy/eventstream-serde-config-resolver": "^4.3.12",
|
|
39
39
|
"@smithy/eventstream-serde-node": "^4.2.12",
|
|
@@ -41,25 +41,25 @@
|
|
|
41
41
|
"@smithy/hash-node": "^4.2.12",
|
|
42
42
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
43
43
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
44
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
45
|
-
"@smithy/middleware-retry": "^4.4.
|
|
46
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
45
|
+
"@smithy/middleware-retry": "^4.4.45",
|
|
46
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
47
47
|
"@smithy/middleware-stack": "^4.2.12",
|
|
48
48
|
"@smithy/node-config-provider": "^4.3.12",
|
|
49
|
-
"@smithy/node-http-handler": "^4.5.
|
|
49
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
50
50
|
"@smithy/protocol-http": "^5.3.12",
|
|
51
|
-
"@smithy/smithy-client": "^4.12.
|
|
51
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
52
52
|
"@smithy/types": "^4.13.1",
|
|
53
53
|
"@smithy/url-parser": "^4.2.12",
|
|
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.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
59
59
|
"@smithy/util-endpoints": "^3.3.3",
|
|
60
60
|
"@smithy/util-middleware": "^4.2.12",
|
|
61
61
|
"@smithy/util-retry": "^4.2.12",
|
|
62
|
-
"@smithy/util-stream": "^4.5.
|
|
62
|
+
"@smithy/util-stream": "^4.5.21",
|
|
63
63
|
"@smithy/util-utf8": "^4.2.2",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|