@aws-sdk/client-bedrock-agentcore 3.1017.0 → 3.1019.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 +3 -2
- 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 +3 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +8 -3
- 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/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 +2 -0
- 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/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultBedrockAgentCoreHttpAuthSchemeProvider = exports.defaultBedrockAgentCoreHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultBedrockAgentCoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultBedrockAgentCoreHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultBedrockAgentCoreHttpAuthSchemeProvider = defaultBedrockAgentCoreHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
package/dist-cjs/index.js
CHANGED
|
@@ -670,6 +670,11 @@ const ProgrammingLanguage = {
|
|
|
670
670
|
PYTHON: "python",
|
|
671
671
|
TYPESCRIPT: "typescript",
|
|
672
672
|
};
|
|
673
|
+
const LanguageRuntime = {
|
|
674
|
+
DENO: "deno",
|
|
675
|
+
NODEJS: "nodejs",
|
|
676
|
+
PYTHON: "python",
|
|
677
|
+
};
|
|
673
678
|
const ToolName = {
|
|
674
679
|
EXECUTE_CODE: "executeCode",
|
|
675
680
|
EXECUTE_COMMAND: "executeCommand",
|
|
@@ -750,6 +755,7 @@ exports.GetWorkloadAccessTokenForUserIdCommand = GetWorkloadAccessTokenForUserId
|
|
|
750
755
|
exports.InvokeAgentRuntimeCommand = InvokeAgentRuntimeCommand;
|
|
751
756
|
exports.InvokeAgentRuntimeCommandCommand = InvokeAgentRuntimeCommandCommand;
|
|
752
757
|
exports.InvokeCodeInterpreterCommand = InvokeCodeInterpreterCommand;
|
|
758
|
+
exports.LanguageRuntime = LanguageRuntime;
|
|
753
759
|
exports.ListActorsCommand = ListActorsCommand;
|
|
754
760
|
exports.ListBrowserSessionsCommand = ListBrowserSessionsCommand;
|
|
755
761
|
exports.ListCodeInterpreterSessionsCommand = ListCodeInterpreterSessionsCommand;
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
@@ -22,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
-
(0,
|
|
26
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
27
|
const loaderConfig = {
|
|
27
28
|
profile: config?.profile,
|
|
28
29
|
logger: clientSharedValues.logger,
|
|
@@ -32,7 +33,7 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
...config,
|
|
33
34
|
runtime: "node",
|
|
34
35
|
defaultsMode,
|
|
35
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
36
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
36
37
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
37
38
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
38
39
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -24,7 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
{
|
|
25
25
|
schemeId: "aws.auth#sigv4",
|
|
26
26
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
27
|
-
signer: new
|
|
27
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
28
28
|
},
|
|
29
29
|
],
|
|
30
30
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
@@ -385,6 +385,7 @@ const _resp = "response";
|
|
|
385
385
|
const _resu = "result";
|
|
386
386
|
const _ri = "right";
|
|
387
387
|
const _ro = "role";
|
|
388
|
+
const _ru = "runtime";
|
|
388
389
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
|
|
389
390
|
const _sA = "secretArn";
|
|
390
391
|
const _sC = "structuredContent";
|
|
@@ -1161,8 +1162,8 @@ exports.TokenUsage$ = [3, n0, _TU,
|
|
|
1161
1162
|
];
|
|
1162
1163
|
exports.ToolArguments$ = [3, n0, _TA,
|
|
1163
1164
|
0,
|
|
1164
|
-
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa],
|
|
1165
|
-
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0]
|
|
1165
|
+
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa, _ru],
|
|
1166
|
+
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0, 0]
|
|
1166
1167
|
];
|
|
1167
1168
|
exports.ToolResultStructuredContent$ = [3, n0, _TRSC,
|
|
1168
1169
|
0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultBedrockAgentCoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/models/enums.js
CHANGED
|
@@ -38,6 +38,11 @@ export const ProgrammingLanguage = {
|
|
|
38
38
|
PYTHON: "python",
|
|
39
39
|
TYPESCRIPT: "typescript",
|
|
40
40
|
};
|
|
41
|
+
export const LanguageRuntime = {
|
|
42
|
+
DENO: "deno",
|
|
43
|
+
NODEJS: "nodejs",
|
|
44
|
+
PYTHON: "python",
|
|
45
|
+
};
|
|
41
46
|
export const ToolName = {
|
|
42
47
|
EXECUTE_CODE: "executeCode",
|
|
43
48
|
EXECUTE_COMMAND: "executeCommand",
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -379,6 +379,7 @@ const _resp = "response";
|
|
|
379
379
|
const _resu = "result";
|
|
380
380
|
const _ri = "right";
|
|
381
381
|
const _ro = "role";
|
|
382
|
+
const _ru = "runtime";
|
|
382
383
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
|
|
383
384
|
const _sA = "secretArn";
|
|
384
385
|
const _sC = "structuredContent";
|
|
@@ -1155,8 +1156,8 @@ export var TokenUsage$ = [3, n0, _TU,
|
|
|
1155
1156
|
];
|
|
1156
1157
|
export var ToolArguments$ = [3, n0, _TA,
|
|
1157
1158
|
0,
|
|
1158
|
-
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa],
|
|
1159
|
-
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0]
|
|
1159
|
+
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa, _ru],
|
|
1160
|
+
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0, 0]
|
|
1160
1161
|
];
|
|
1161
1162
|
export var ToolResultStructuredContent$ = [3, n0, _TRSC,
|
|
1162
1163
|
0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { type BedrockAgentCoreClientResolvedConfig } from "../BedrockAgentCoreClient";
|
|
4
4
|
/**
|
|
@@ -110,6 +110,19 @@ export declare const ProgrammingLanguage: {
|
|
|
110
110
|
* @public
|
|
111
111
|
*/
|
|
112
112
|
export type ProgrammingLanguage = (typeof ProgrammingLanguage)[keyof typeof ProgrammingLanguage];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const LanguageRuntime: {
|
|
118
|
+
readonly DENO: "deno";
|
|
119
|
+
readonly NODEJS: "nodejs";
|
|
120
|
+
readonly PYTHON: "python";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type LanguageRuntime = (typeof LanguageRuntime)[keyof typeof LanguageRuntime];
|
|
113
126
|
/**
|
|
114
127
|
* @public
|
|
115
128
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
|
|
2
|
-
import { AutomationStreamStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionJobStatus, MemoryRecordStatus, Oauth2FlowType, OperatorType, ProgrammingLanguage, ResourceContentType, Role, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
2
|
+
import { AutomationStreamStatus, BrowserEnterprisePolicyType, BrowserSessionStatus, CodeInterpreterSessionStatus, CommandExecutionStatus, ContentBlockType, ExtractionJobStatus, LanguageRuntime, MemoryRecordStatus, Oauth2FlowType, OperatorType, ProgrammingLanguage, ResourceContentType, Role, SessionStatus, TaskStatus, ToolName } from "./enums";
|
|
3
3
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, RuntimeClientError, ServiceQuotaExceededException, ThrottlingException, ValidationException } from "./errors";
|
|
4
4
|
/**
|
|
5
5
|
* <p>Contains summary information about an actor in an AgentCore Memory resource.</p>
|
|
@@ -1770,7 +1770,7 @@ export declare namespace EvaluationTarget {
|
|
|
1770
1770
|
*/
|
|
1771
1771
|
export interface EvaluateRequest {
|
|
1772
1772
|
/**
|
|
1773
|
-
* <p> The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., <code>Builtin.Helpfulness</code>, <code>Builtin.Correctness</code>) or a custom evaluator
|
|
1773
|
+
* <p> The unique identifier of the evaluator to use for scoring. Can be a built-in evaluator (e.g., <code>Builtin.Helpfulness</code>, <code>Builtin.Correctness</code>) or a custom evaluator Id created through the control plane API. </p>
|
|
1774
1774
|
* @public
|
|
1775
1775
|
*/
|
|
1776
1776
|
evaluatorId: string | undefined;
|
|
@@ -2128,7 +2128,7 @@ export interface ToolArguments {
|
|
|
2128
2128
|
*/
|
|
2129
2129
|
code?: string | undefined;
|
|
2130
2130
|
/**
|
|
2131
|
-
* <p>The programming language of the code to execute. This tells the code interpreter which language runtime to use for execution
|
|
2131
|
+
* <p>The programming language of the code to execute. This tells the code interpreter which language runtime to use for execution.</p>
|
|
2132
2132
|
* @public
|
|
2133
2133
|
*/
|
|
2134
2134
|
language?: ProgrammingLanguage | undefined;
|
|
@@ -2167,6 +2167,11 @@ export interface ToolArguments {
|
|
|
2167
2167
|
* @public
|
|
2168
2168
|
*/
|
|
2169
2169
|
taskId?: string | undefined;
|
|
2170
|
+
/**
|
|
2171
|
+
* <p>The runtime environment to use for code execution. If not specified, defaults to <code>deno</code> for JavaScript and TypeScript.</p>
|
|
2172
|
+
* @public
|
|
2173
|
+
*/
|
|
2174
|
+
runtime?: LanguageRuntime | undefined;
|
|
2170
2175
|
}
|
|
2171
2176
|
/**
|
|
2172
2177
|
* @public
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
23
23
|
protocolSettings: {
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
[setting: string]: unknown;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
|
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
25
25
|
protocolSettings: {
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
[setting: string]: unknown;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) =>
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -55,6 +55,13 @@ export declare const ProgrammingLanguage: {
|
|
|
55
55
|
};
|
|
56
56
|
export type ProgrammingLanguage =
|
|
57
57
|
(typeof ProgrammingLanguage)[keyof typeof ProgrammingLanguage];
|
|
58
|
+
export declare const LanguageRuntime: {
|
|
59
|
+
readonly DENO: "deno";
|
|
60
|
+
readonly NODEJS: "nodejs";
|
|
61
|
+
readonly PYTHON: "python";
|
|
62
|
+
};
|
|
63
|
+
export type LanguageRuntime =
|
|
64
|
+
(typeof LanguageRuntime)[keyof typeof LanguageRuntime];
|
|
58
65
|
export declare const ToolName: {
|
|
59
66
|
readonly EXECUTE_CODE: "executeCode";
|
|
60
67
|
readonly EXECUTE_COMMAND: "executeCommand";
|
|
@@ -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,
|
|
@@ -718,6 +719,7 @@ export interface ToolArguments {
|
|
|
718
719
|
content?: InputContentBlock[] | undefined;
|
|
719
720
|
directoryPath?: string | undefined;
|
|
720
721
|
taskId?: string | undefined;
|
|
722
|
+
runtime?: LanguageRuntime | undefined;
|
|
721
723
|
}
|
|
722
724
|
export interface InvokeCodeInterpreterRequest {
|
|
723
725
|
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;
|
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.1019.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,17 +21,17 @@
|
|
|
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.25",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.27",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.26",
|
|
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.12",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.13",
|
|
36
36
|
"@smithy/core": "^3.23.12",
|
|
37
37
|
"@smithy/eventstream-serde-browser": "^4.2.12",
|