@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
|
@@ -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(),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EvaluateRequest$ = exports.DeleteMemoryRecordOutput$ = exports.DeleteMemoryRecordInput$ = exports.DeleteEventOutput$ = exports.DeleteEventInput$ = exports.CreateEventOutput$ = exports.CreateEventInput$ = exports.Conversational$ = exports.ContentStopEvent$ = exports.ContentStartEvent$ = exports.ContentDeltaEvent$ = exports.ContentBlock$ = exports.CompleteResourceTokenAuthResponse$ = exports.CompleteResourceTokenAuthRequest$ = exports.CodeInterpreterSessionSummary$ = exports.CodeInterpreterResult$ = exports.Certificate$ = exports.BrowserSessionSummary$ = exports.BrowserSessionStream$ = exports.BrowserProfileConfiguration$ = exports.BrowserExtension$ = exports.BrowserEnterprisePolicy$ = exports.BranchFilter$ = exports.Branch$ = exports.BatchUpdateMemoryRecordsOutput$ = exports.BatchUpdateMemoryRecordsInput$ = exports.BatchDeleteMemoryRecordsOutput$ = exports.BatchDeleteMemoryRecordsInput$ = exports.BatchCreateMemoryRecordsOutput$ = exports.BatchCreateMemoryRecordsInput$ = exports.BasicAuth$ = exports.AutomationStreamUpdate$ = exports.AutomationStream$ = exports.ActorSummary$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnauthorizedException$ = exports.ThrottlingException$ = exports.ThrottledException$ = exports.ServiceQuotaExceededException$ = exports.ServiceException$ = exports.RuntimeClientError$ = exports.RetryableConflictException$ = exports.ResourceNotFoundException$ = exports.InvalidInputException$ = exports.InternalServerException$ = exports.DuplicateIdException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.BedrockAgentCoreServiceException$ = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateBrowserStream$ = exports.StopRuntimeSession$ = exports.StopCodeInterpreterSession$ = exports.StopBrowserSession$ = exports.StartMemoryExtractionJob$ = exports.StartCodeInterpreterSession$ = exports.StartBrowserSession$ = exports.SaveBrowserSessionProfile$ = exports.RetrieveMemoryRecords$ = exports.ListSessions$ = exports.ListMemoryRecords$ = exports.ListMemoryExtractionJobs$ = exports.ListEvents$ = exports.ListCodeInterpreterSessions$ = exports.ListBrowserSessions$ = exports.ListActors$ = exports.InvokeCodeInterpreter$ = exports.InvokeAgentRuntimeCommand$ = exports.InvokeAgentRuntime$ = exports.GetWorkloadAccessTokenForUserId$ = exports.GetWorkloadAccessTokenForJWT$ = exports.GetWorkloadAccessToken$ = exports.GetResourceOauth2Token$ = exports.GetResourceApiKey$ = exports.GetMemoryRecord$ = exports.GetEvent$ = exports.GetCodeInterpreterSession$ = exports.GetBrowserSession$ = exports.GetAgentCard$ = exports.Evaluate$ = exports.DeleteMemoryRecord$ = exports.DeleteEvent$ = exports.CreateEvent$ = exports.CompleteResourceTokenAuth$ = exports.BatchUpdateMemoryRecords$ = exports.BatchDeleteMemoryRecords$ = exports.BatchCreateMemoryRecords$ = exports.UserIdentifier$ = exports.StreamUpdate$ = exports.RightExpression$ = exports.ResourceLocation$ = exports.ProxyCredentials$ = exports.Proxy$ = exports.PayloadType$ = exports.MetadataValue$ = exports.MemoryContent$ = exports.LeftExpression$ = void 0;
|
|
4
|
+
exports.ListMemoryRecordsInput$ = exports.ListMemoryExtractionJobsOutput$ = exports.ListMemoryExtractionJobsInput$ = exports.ListEventsOutput$ = exports.ListEventsInput$ = exports.ListCodeInterpreterSessionsResponse$ = exports.ListCodeInterpreterSessionsRequest$ = exports.ListBrowserSessionsResponse$ = exports.ListBrowserSessionsRequest$ = exports.ListActorsOutput$ = exports.ListActorsInput$ = exports.InvokeCodeInterpreterResponse$ = exports.InvokeCodeInterpreterRequest$ = exports.InvokeAgentRuntimeResponse$ = exports.InvokeAgentRuntimeRequest$ = exports.InvokeAgentRuntimeCommandResponse$ = exports.InvokeAgentRuntimeCommandRequestBody$ = exports.InvokeAgentRuntimeCommandRequest$ = exports.InputContentBlock$ = exports.GetWorkloadAccessTokenResponse$ = exports.GetWorkloadAccessTokenRequest$ = exports.GetWorkloadAccessTokenForUserIdResponse$ = exports.GetWorkloadAccessTokenForUserIdRequest$ = exports.GetWorkloadAccessTokenForJWTResponse$ = exports.GetWorkloadAccessTokenForJWTRequest$ = exports.GetResourceOauth2TokenResponse$ = exports.GetResourceOauth2TokenRequest$ = exports.GetResourceApiKeyResponse$ = exports.GetResourceApiKeyRequest$ = exports.GetMemoryRecordOutput$ = exports.GetMemoryRecordInput$ = exports.GetEventOutput$ = exports.GetEventInput$ = exports.GetCodeInterpreterSessionResponse$ = exports.GetCodeInterpreterSessionRequest$ = exports.GetBrowserSessionResponse$ = exports.GetBrowserSessionRequest$ = exports.GetAgentCardResponse$ = exports.GetAgentCardRequest$ = exports.FilterInput$ = exports.ExtractionJobMetadata$ = exports.ExtractionJobFilterInput$ = exports.ExtractionJob$ = exports.ExternalProxy$ = exports.EventMetadataFilterExpression$ = exports.Event$ = exports.EvaluationResultContent$ = exports.EvaluationReferenceInput$ = exports.EvaluationExpectedTrajectory$ = exports.EvaluateResponse$ = void 0;
|
|
5
|
+
exports.EvaluationInput$ = exports.EvaluationContent$ = exports.Context$ = exports.Content$ = exports.CodeInterpreterStreamOutput$ = exports.CertificateLocation$ = exports.ViewPort$ = exports.ValidationExceptionField$ = exports.UpdateBrowserStreamResponse$ = exports.UpdateBrowserStreamRequest$ = exports.ToolResultStructuredContent$ = exports.ToolArguments$ = exports.TokenUsage$ = exports.StopRuntimeSessionResponse$ = exports.StopRuntimeSessionRequest$ = exports.StopCodeInterpreterSessionResponse$ = exports.StopCodeInterpreterSessionRequest$ = exports.StopBrowserSessionResponse$ = exports.StopBrowserSessionRequest$ = exports.StartMemoryExtractionJobOutput$ = exports.StartMemoryExtractionJobInput$ = exports.StartCodeInterpreterSessionResponse$ = exports.StartCodeInterpreterSessionRequest$ = exports.StartBrowserSessionResponse$ = exports.StartBrowserSessionRequest$ = exports.SpanContext$ = exports.SessionSummary$ = exports.SecretsManagerLocation$ = exports.SearchCriteria$ = exports.SaveBrowserSessionProfileResponse$ = exports.SaveBrowserSessionProfileRequest$ = exports.S3Location$ = exports.RetrieveMemoryRecordsOutput$ = exports.RetrieveMemoryRecordsInput$ = exports.ResponseChunk$ = exports.ResourceContent$ = exports.ProxyConfiguration$ = exports.ProxyBypass$ = exports.MessageMetadata$ = exports.MemoryRecordUpdateInput$ = exports.MemoryRecordSummary$ = exports.MemoryRecordOutput$ = exports.MemoryRecordDeleteInput$ = exports.MemoryRecordCreateInput$ = exports.MemoryRecord$ = exports.MemoryMetadataFilterExpression$ = exports.LiveViewStream$ = exports.ListSessionsOutput$ = exports.ListSessionsInput$ = exports.ListMemoryRecordsOutput$ = void 0;
|
|
6
|
+
exports.UpdateBrowserStream$ = exports.StopRuntimeSession$ = exports.StopCodeInterpreterSession$ = exports.StopBrowserSession$ = exports.StartMemoryExtractionJob$ = exports.StartCodeInterpreterSession$ = exports.StartBrowserSession$ = exports.SaveBrowserSessionProfile$ = exports.RetrieveMemoryRecords$ = exports.ListSessions$ = exports.ListMemoryRecords$ = exports.ListMemoryExtractionJobs$ = exports.ListEvents$ = exports.ListCodeInterpreterSessions$ = exports.ListBrowserSessions$ = exports.ListActors$ = exports.InvokeCodeInterpreter$ = exports.InvokeAgentRuntimeCommand$ = exports.InvokeAgentRuntime$ = exports.GetWorkloadAccessTokenForUserId$ = exports.GetWorkloadAccessTokenForJWT$ = exports.GetWorkloadAccessToken$ = exports.GetResourceOauth2Token$ = exports.GetResourceApiKey$ = exports.GetMemoryRecord$ = exports.GetEvent$ = exports.GetCodeInterpreterSession$ = exports.GetBrowserSession$ = exports.GetAgentCard$ = exports.Evaluate$ = exports.DeleteMemoryRecord$ = exports.DeleteEvent$ = exports.CreateEvent$ = exports.CompleteResourceTokenAuth$ = exports.BatchUpdateMemoryRecords$ = exports.BatchDeleteMemoryRecords$ = exports.BatchCreateMemoryRecords$ = exports.UserIdentifier$ = exports.StreamUpdate$ = exports.RightExpression$ = exports.ResourceLocation$ = exports.ProxyCredentials$ = exports.Proxy$ = exports.PayloadType$ = exports.MetadataValue$ = exports.MemoryContent$ = exports.LeftExpression$ = exports.InvokeAgentRuntimeCommandStreamOutput$ = exports.ExtractionJobMessages$ = exports.EvaluationTarget$ = void 0;
|
|
7
7
|
const _A = "Accept";
|
|
8
8
|
const _ADE = "AccessDeniedException";
|
|
9
9
|
const _AKT = "ApiKeyType";
|
|
@@ -68,7 +68,10 @@ const _DMR = "DeleteMemoryRecord";
|
|
|
68
68
|
const _DMRI = "DeleteMemoryRecordInput";
|
|
69
69
|
const _DMRO = "DeleteMemoryRecordOutput";
|
|
70
70
|
const _E = "Event";
|
|
71
|
+
const _EC = "EvaluationContent";
|
|
72
|
+
const _ECL = "EvaluationContentList";
|
|
71
73
|
const _EE = "EvaluationExplanation";
|
|
74
|
+
const _EET = "EvaluationExpectedTrajectory";
|
|
72
75
|
const _EI = "EvaluationInput";
|
|
73
76
|
const _EJ = "ExtractionJob";
|
|
74
77
|
const _EJFI = "ExtractionJobFilterInput";
|
|
@@ -81,6 +84,8 @@ const _EMFL = "EventMetadataFilterList";
|
|
|
81
84
|
const _EP = "ExternalProxy";
|
|
82
85
|
const _ER = "EvaluateRequest";
|
|
83
86
|
const _ERC = "EvaluationResultContent";
|
|
87
|
+
const _ERI = "EvaluationReferenceInput";
|
|
88
|
+
const _ERIv = "EvaluationReferenceInputs";
|
|
84
89
|
const _ERv = "EvaluateResponse";
|
|
85
90
|
const _ERva = "EvaluationResults";
|
|
86
91
|
const _ET = "EvaluationTarget";
|
|
@@ -244,7 +249,7 @@ const _WITT = "WorkloadIdentityTokenType";
|
|
|
244
249
|
const _XABARSI = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id";
|
|
245
250
|
const _XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id";
|
|
246
251
|
const _XATI = "X-Amzn-Trace-Id";
|
|
247
|
-
const _a = "
|
|
252
|
+
const _a = "assertions";
|
|
248
253
|
const _aC = "agentCard";
|
|
249
254
|
const _aDE = "accessDeniedException";
|
|
250
255
|
const _aI = "actorId";
|
|
@@ -256,6 +261,7 @@ const _aSU = "automationStreamUpdate";
|
|
|
256
261
|
const _aSc = "actorSummaries";
|
|
257
262
|
const _aT = "accessToken";
|
|
258
263
|
const _aU = "authorizationUrl";
|
|
264
|
+
const _ac = "accept";
|
|
259
265
|
const _ar = "arguments";
|
|
260
266
|
const _b = "branch";
|
|
261
267
|
const _bA = "basicAuth";
|
|
@@ -303,9 +309,12 @@ const _eN = "evaluatorName";
|
|
|
303
309
|
const _eP = "enterprisePolicies";
|
|
304
310
|
const _ePx = "externalProxy";
|
|
305
311
|
const _eR = "evaluationResults";
|
|
312
|
+
const _eRI = "evaluationReferenceInputs";
|
|
313
|
+
const _eRx = "expectedResponse";
|
|
306
314
|
const _eT = "eventTimestamp";
|
|
307
315
|
const _eTv = "evaluationTarget";
|
|
308
|
-
const _eTx = "
|
|
316
|
+
const _eTx = "expectedTrajectory";
|
|
317
|
+
const _eTxe = "executionTime";
|
|
309
318
|
const _ev = "event";
|
|
310
319
|
const _eve = "events";
|
|
311
320
|
const _ex = "explanation";
|
|
@@ -324,6 +333,7 @@ const _i = "items";
|
|
|
324
333
|
const _iE = "isError";
|
|
325
334
|
const _iP = "includePayloads";
|
|
326
335
|
const _iPB = "includeParentBranches";
|
|
336
|
+
const _iRIF = "ignoredReferenceInputFields";
|
|
327
337
|
const _iSE = "internalServerException";
|
|
328
338
|
const _iT = "idempotencyToken";
|
|
329
339
|
const _iTn = "inputTokens";
|
|
@@ -385,6 +395,7 @@ const _resp = "response";
|
|
|
385
395
|
const _resu = "result";
|
|
386
396
|
const _ri = "right";
|
|
387
397
|
const _ro = "role";
|
|
398
|
+
const _ru = "runtime";
|
|
388
399
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
|
|
389
400
|
const _sA = "secretArn";
|
|
390
401
|
const _sC = "structuredContent";
|
|
@@ -427,6 +438,7 @@ const _tI = "traceId";
|
|
|
427
438
|
const _tIa = "taskId";
|
|
428
439
|
const _tIr = "traceIds";
|
|
429
440
|
const _tK = "topK";
|
|
441
|
+
const _tN = "toolNames";
|
|
430
442
|
const _tP = "traceParent";
|
|
431
443
|
const _tS = "traceState";
|
|
432
444
|
const _tSa = "taskStatus";
|
|
@@ -726,18 +738,28 @@ exports.DeleteMemoryRecordOutput$ = [3, n0, _DMRO,
|
|
|
726
738
|
];
|
|
727
739
|
exports.EvaluateRequest$ = [3, n0, _ER,
|
|
728
740
|
0,
|
|
729
|
-
[_eIv, _eIva, _eTv],
|
|
730
|
-
[[0, 1], [() => exports.EvaluationInput$, 0], () => exports.EvaluationTarget
|
|
741
|
+
[_eIv, _eIva, _eTv, _eRI],
|
|
742
|
+
[[0, 1], [() => exports.EvaluationInput$, 0], () => exports.EvaluationTarget$, [() => EvaluationReferenceInputs, 0]], 2
|
|
731
743
|
];
|
|
732
744
|
exports.EvaluateResponse$ = [3, n0, _ERv,
|
|
733
745
|
0,
|
|
734
746
|
[_eR],
|
|
735
747
|
[[() => EvaluationResults, 0]], 1
|
|
736
748
|
];
|
|
749
|
+
exports.EvaluationExpectedTrajectory$ = [3, n0, _EET,
|
|
750
|
+
0,
|
|
751
|
+
[_tN],
|
|
752
|
+
[64 | 0]
|
|
753
|
+
];
|
|
754
|
+
exports.EvaluationReferenceInput$ = [3, n0, _ERI,
|
|
755
|
+
0,
|
|
756
|
+
[_con, _eRx, _a, _eTx],
|
|
757
|
+
[() => exports.Context$, () => exports.EvaluationContent$, () => EvaluationContentList, () => exports.EvaluationExpectedTrajectory$], 1
|
|
758
|
+
];
|
|
737
759
|
exports.EvaluationResultContent$ = [3, n0, _ERC,
|
|
738
760
|
0,
|
|
739
|
-
[_eA, _eIv, _eN, _con, _ex, _v, _la, _tU, _eM, _eCr],
|
|
740
|
-
[0, 0, 0, () => exports.Context$, [() => EvaluationExplanation, 0], 1, 0, () => exports.TokenUsage$, 0, 0], 4
|
|
761
|
+
[_eA, _eIv, _eN, _con, _ex, _v, _la, _tU, _eM, _eCr, _iRIF],
|
|
762
|
+
[0, 0, 0, () => exports.Context$, [() => EvaluationExplanation, 0], 1, 0, () => exports.TokenUsage$, 0, 0, 64 | 0], 4
|
|
741
763
|
];
|
|
742
764
|
exports.Event$ = [3, n0, _E,
|
|
743
765
|
0,
|
|
@@ -881,7 +903,7 @@ exports.InputContentBlock$ = [3, n0, _ICB,
|
|
|
881
903
|
];
|
|
882
904
|
exports.InvokeAgentRuntimeCommandRequest$ = [3, n0, _IARCR,
|
|
883
905
|
0,
|
|
884
|
-
[_aRA, _bo, _cTo,
|
|
906
|
+
[_aRA, _bo, _cTo, _ac, _rSI, _tI, _tP, _tS, _ba, _q, _aIc],
|
|
885
907
|
[[0, 1], [() => exports.InvokeAgentRuntimeCommandRequestBody$, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _A }], [0, { [_hH]: _XABARSI, [_iT]: 1 }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [0, { [_hQ]: _q }], [0, { [_hQ]: _aIc }]], 2
|
|
886
908
|
];
|
|
887
909
|
exports.InvokeAgentRuntimeCommandRequestBody$ = [3, n0, _IARCRB,
|
|
@@ -896,7 +918,7 @@ exports.InvokeAgentRuntimeCommandResponse$ = [3, n0, _IARCRn,
|
|
|
896
918
|
];
|
|
897
919
|
exports.InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
|
|
898
920
|
0,
|
|
899
|
-
[_aRA, _p, _cTo,
|
|
921
|
+
[_aRA, _p, _cTo, _ac, _mSI, _rSI, _mPV, _rUI, _tI, _tP, _tS, _ba, _q, _aIc],
|
|
900
922
|
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _A }], [0, { [_hH]: _MSI }], [0, { [_hH]: _XABARSI, [_iT]: 1 }], [0, { [_hH]: _MPV }], [0, { [_hH]: _XABARUI }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [0, { [_hQ]: _q }], [0, { [_hQ]: _aIc }]], 2
|
|
901
923
|
];
|
|
902
924
|
exports.InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
|
|
@@ -1161,12 +1183,12 @@ exports.TokenUsage$ = [3, n0, _TU,
|
|
|
1161
1183
|
];
|
|
1162
1184
|
exports.ToolArguments$ = [3, n0, _TA,
|
|
1163
1185
|
0,
|
|
1164
|
-
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa],
|
|
1165
|
-
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0]
|
|
1186
|
+
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa, _ru],
|
|
1187
|
+
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0, 0]
|
|
1166
1188
|
];
|
|
1167
1189
|
exports.ToolResultStructuredContent$ = [3, n0, _TRSC,
|
|
1168
1190
|
0,
|
|
1169
|
-
[_tIa, _tSa, _std, _stde, _eC,
|
|
1191
|
+
[_tIa, _tSa, _std, _stde, _eC, _eTxe],
|
|
1170
1192
|
[0, 0, 0, 0, 1, 1]
|
|
1171
1193
|
];
|
|
1172
1194
|
exports.UpdateBrowserStreamRequest$ = [3, n0, _UBSR,
|
|
@@ -1211,10 +1233,17 @@ var ContentBlockList = [1, n0, _CBL,
|
|
|
1211
1233
|
0, () => exports.ContentBlock$
|
|
1212
1234
|
];
|
|
1213
1235
|
var DomainPatterns = 64 | 0;
|
|
1236
|
+
var EvaluationContentList = [1, n0, _ECL,
|
|
1237
|
+
0, () => exports.EvaluationContent$
|
|
1238
|
+
];
|
|
1239
|
+
var EvaluationReferenceInputs = [1, n0, _ERIv,
|
|
1240
|
+
8, () => exports.EvaluationReferenceInput$
|
|
1241
|
+
];
|
|
1214
1242
|
var EvaluationResults = [1, n0, _ERva,
|
|
1215
1243
|
0, [() => exports.EvaluationResultContent$,
|
|
1216
1244
|
0]
|
|
1217
1245
|
];
|
|
1246
|
+
var EvaluationToolNames = 64 | 0;
|
|
1218
1247
|
var EventList = [1, n0, _EL,
|
|
1219
1248
|
0, [() => exports.Event$,
|
|
1220
1249
|
0]
|
|
@@ -1225,6 +1254,7 @@ var EventMetadataFilterList = [1, n0, _EMFL,
|
|
|
1225
1254
|
var ExtractionJobMetadataList = [1, n0, _EJML,
|
|
1226
1255
|
0, () => exports.ExtractionJobMetadata$
|
|
1227
1256
|
];
|
|
1257
|
+
var IgnoredReferenceInputFields = 64 | 0;
|
|
1228
1258
|
var InputContentBlockList = [1, n0, _ICBL,
|
|
1229
1259
|
0, [() => exports.InputContentBlock$,
|
|
1230
1260
|
0]
|
|
@@ -1303,6 +1333,11 @@ exports.Context$ = [4, n0, _Cont,
|
|
|
1303
1333
|
[_sCp],
|
|
1304
1334
|
[() => exports.SpanContext$]
|
|
1305
1335
|
];
|
|
1336
|
+
exports.EvaluationContent$ = [4, n0, _EC,
|
|
1337
|
+
0,
|
|
1338
|
+
[_te],
|
|
1339
|
+
[0]
|
|
1340
|
+
];
|
|
1306
1341
|
exports.EvaluationInput$ = [4, n0, _EI,
|
|
1307
1342
|
0,
|
|
1308
1343
|
[_sSess],
|
|
@@ -4,8 +4,8 @@ import { BatchCreateMemoryRecordsCommand, } from "./commands/BatchCreateMemoryRe
|
|
|
4
4
|
import { BatchDeleteMemoryRecordsCommand, } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
5
5
|
import { BatchUpdateMemoryRecordsCommand, } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
6
6
|
import { CompleteResourceTokenAuthCommand, } from "./commands/CompleteResourceTokenAuthCommand";
|
|
7
|
-
import { CreateEventCommand } from "./commands/CreateEventCommand";
|
|
8
|
-
import { DeleteEventCommand } from "./commands/DeleteEventCommand";
|
|
7
|
+
import { CreateEventCommand, } from "./commands/CreateEventCommand";
|
|
8
|
+
import { DeleteEventCommand, } from "./commands/DeleteEventCommand";
|
|
9
9
|
import { DeleteMemoryRecordCommand, } from "./commands/DeleteMemoryRecordCommand";
|
|
10
10
|
import { EvaluateCommand } from "./commands/EvaluateCommand";
|
|
11
11
|
import { GetAgentCardCommand, } from "./commands/GetAgentCardCommand";
|
|
@@ -21,10 +21,10 @@ import { GetWorkloadAccessTokenForUserIdCommand, } from "./commands/GetWorkloadA
|
|
|
21
21
|
import { InvokeAgentRuntimeCommand, } from "./commands/InvokeAgentRuntimeCommand";
|
|
22
22
|
import { InvokeAgentRuntimeCommandCommand, } from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
23
23
|
import { InvokeCodeInterpreterCommand, } from "./commands/InvokeCodeInterpreterCommand";
|
|
24
|
-
import { ListActorsCommand } from "./commands/ListActorsCommand";
|
|
24
|
+
import { ListActorsCommand, } from "./commands/ListActorsCommand";
|
|
25
25
|
import { ListBrowserSessionsCommand, } from "./commands/ListBrowserSessionsCommand";
|
|
26
26
|
import { ListCodeInterpreterSessionsCommand, } from "./commands/ListCodeInterpreterSessionsCommand";
|
|
27
|
-
import { ListEventsCommand } from "./commands/ListEventsCommand";
|
|
27
|
+
import { ListEventsCommand, } from "./commands/ListEventsCommand";
|
|
28
28
|
import { ListMemoryExtractionJobsCommand, } from "./commands/ListMemoryExtractionJobsCommand";
|
|
29
29
|
import { ListMemoryRecordsCommand, } from "./commands/ListMemoryRecordsCommand";
|
|
30
30
|
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
@@ -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";
|
|
@@ -62,7 +62,10 @@ const _DMR = "DeleteMemoryRecord";
|
|
|
62
62
|
const _DMRI = "DeleteMemoryRecordInput";
|
|
63
63
|
const _DMRO = "DeleteMemoryRecordOutput";
|
|
64
64
|
const _E = "Event";
|
|
65
|
+
const _EC = "EvaluationContent";
|
|
66
|
+
const _ECL = "EvaluationContentList";
|
|
65
67
|
const _EE = "EvaluationExplanation";
|
|
68
|
+
const _EET = "EvaluationExpectedTrajectory";
|
|
66
69
|
const _EI = "EvaluationInput";
|
|
67
70
|
const _EJ = "ExtractionJob";
|
|
68
71
|
const _EJFI = "ExtractionJobFilterInput";
|
|
@@ -75,6 +78,8 @@ const _EMFL = "EventMetadataFilterList";
|
|
|
75
78
|
const _EP = "ExternalProxy";
|
|
76
79
|
const _ER = "EvaluateRequest";
|
|
77
80
|
const _ERC = "EvaluationResultContent";
|
|
81
|
+
const _ERI = "EvaluationReferenceInput";
|
|
82
|
+
const _ERIv = "EvaluationReferenceInputs";
|
|
78
83
|
const _ERv = "EvaluateResponse";
|
|
79
84
|
const _ERva = "EvaluationResults";
|
|
80
85
|
const _ET = "EvaluationTarget";
|
|
@@ -238,7 +243,7 @@ const _WITT = "WorkloadIdentityTokenType";
|
|
|
238
243
|
const _XABARSI = "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id";
|
|
239
244
|
const _XABARUI = "X-Amzn-Bedrock-AgentCore-Runtime-User-Id";
|
|
240
245
|
const _XATI = "X-Amzn-Trace-Id";
|
|
241
|
-
const _a = "
|
|
246
|
+
const _a = "assertions";
|
|
242
247
|
const _aC = "agentCard";
|
|
243
248
|
const _aDE = "accessDeniedException";
|
|
244
249
|
const _aI = "actorId";
|
|
@@ -250,6 +255,7 @@ const _aSU = "automationStreamUpdate";
|
|
|
250
255
|
const _aSc = "actorSummaries";
|
|
251
256
|
const _aT = "accessToken";
|
|
252
257
|
const _aU = "authorizationUrl";
|
|
258
|
+
const _ac = "accept";
|
|
253
259
|
const _ar = "arguments";
|
|
254
260
|
const _b = "branch";
|
|
255
261
|
const _bA = "basicAuth";
|
|
@@ -297,9 +303,12 @@ const _eN = "evaluatorName";
|
|
|
297
303
|
const _eP = "enterprisePolicies";
|
|
298
304
|
const _ePx = "externalProxy";
|
|
299
305
|
const _eR = "evaluationResults";
|
|
306
|
+
const _eRI = "evaluationReferenceInputs";
|
|
307
|
+
const _eRx = "expectedResponse";
|
|
300
308
|
const _eT = "eventTimestamp";
|
|
301
309
|
const _eTv = "evaluationTarget";
|
|
302
|
-
const _eTx = "
|
|
310
|
+
const _eTx = "expectedTrajectory";
|
|
311
|
+
const _eTxe = "executionTime";
|
|
303
312
|
const _ev = "event";
|
|
304
313
|
const _eve = "events";
|
|
305
314
|
const _ex = "explanation";
|
|
@@ -318,6 +327,7 @@ const _i = "items";
|
|
|
318
327
|
const _iE = "isError";
|
|
319
328
|
const _iP = "includePayloads";
|
|
320
329
|
const _iPB = "includeParentBranches";
|
|
330
|
+
const _iRIF = "ignoredReferenceInputFields";
|
|
321
331
|
const _iSE = "internalServerException";
|
|
322
332
|
const _iT = "idempotencyToken";
|
|
323
333
|
const _iTn = "inputTokens";
|
|
@@ -379,6 +389,7 @@ const _resp = "response";
|
|
|
379
389
|
const _resu = "result";
|
|
380
390
|
const _ri = "right";
|
|
381
391
|
const _ro = "role";
|
|
392
|
+
const _ru = "runtime";
|
|
382
393
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockagentcore";
|
|
383
394
|
const _sA = "secretArn";
|
|
384
395
|
const _sC = "structuredContent";
|
|
@@ -421,6 +432,7 @@ const _tI = "traceId";
|
|
|
421
432
|
const _tIa = "taskId";
|
|
422
433
|
const _tIr = "traceIds";
|
|
423
434
|
const _tK = "topK";
|
|
435
|
+
const _tN = "toolNames";
|
|
424
436
|
const _tP = "traceParent";
|
|
425
437
|
const _tS = "traceState";
|
|
426
438
|
const _tSa = "taskStatus";
|
|
@@ -720,18 +732,28 @@ export var DeleteMemoryRecordOutput$ = [3, n0, _DMRO,
|
|
|
720
732
|
];
|
|
721
733
|
export var EvaluateRequest$ = [3, n0, _ER,
|
|
722
734
|
0,
|
|
723
|
-
[_eIv, _eIva, _eTv],
|
|
724
|
-
[[0, 1], [() => EvaluationInput$, 0], () => EvaluationTarget
|
|
735
|
+
[_eIv, _eIva, _eTv, _eRI],
|
|
736
|
+
[[0, 1], [() => EvaluationInput$, 0], () => EvaluationTarget$, [() => EvaluationReferenceInputs, 0]], 2
|
|
725
737
|
];
|
|
726
738
|
export var EvaluateResponse$ = [3, n0, _ERv,
|
|
727
739
|
0,
|
|
728
740
|
[_eR],
|
|
729
741
|
[[() => EvaluationResults, 0]], 1
|
|
730
742
|
];
|
|
743
|
+
export var EvaluationExpectedTrajectory$ = [3, n0, _EET,
|
|
744
|
+
0,
|
|
745
|
+
[_tN],
|
|
746
|
+
[64 | 0]
|
|
747
|
+
];
|
|
748
|
+
export var EvaluationReferenceInput$ = [3, n0, _ERI,
|
|
749
|
+
0,
|
|
750
|
+
[_con, _eRx, _a, _eTx],
|
|
751
|
+
[() => Context$, () => EvaluationContent$, () => EvaluationContentList, () => EvaluationExpectedTrajectory$], 1
|
|
752
|
+
];
|
|
731
753
|
export var EvaluationResultContent$ = [3, n0, _ERC,
|
|
732
754
|
0,
|
|
733
|
-
[_eA, _eIv, _eN, _con, _ex, _v, _la, _tU, _eM, _eCr],
|
|
734
|
-
[0, 0, 0, () => Context$, [() => EvaluationExplanation, 0], 1, 0, () => TokenUsage$, 0, 0], 4
|
|
755
|
+
[_eA, _eIv, _eN, _con, _ex, _v, _la, _tU, _eM, _eCr, _iRIF],
|
|
756
|
+
[0, 0, 0, () => Context$, [() => EvaluationExplanation, 0], 1, 0, () => TokenUsage$, 0, 0, 64 | 0], 4
|
|
735
757
|
];
|
|
736
758
|
export var Event$ = [3, n0, _E,
|
|
737
759
|
0,
|
|
@@ -875,7 +897,7 @@ export var InputContentBlock$ = [3, n0, _ICB,
|
|
|
875
897
|
];
|
|
876
898
|
export var InvokeAgentRuntimeCommandRequest$ = [3, n0, _IARCR,
|
|
877
899
|
0,
|
|
878
|
-
[_aRA, _bo, _cTo,
|
|
900
|
+
[_aRA, _bo, _cTo, _ac, _rSI, _tI, _tP, _tS, _ba, _q, _aIc],
|
|
879
901
|
[[0, 1], [() => InvokeAgentRuntimeCommandRequestBody$, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _A }], [0, { [_hH]: _XABARSI, [_iT]: 1 }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [0, { [_hQ]: _q }], [0, { [_hQ]: _aIc }]], 2
|
|
880
902
|
];
|
|
881
903
|
export var InvokeAgentRuntimeCommandRequestBody$ = [3, n0, _IARCRB,
|
|
@@ -890,7 +912,7 @@ export var InvokeAgentRuntimeCommandResponse$ = [3, n0, _IARCRn,
|
|
|
890
912
|
];
|
|
891
913
|
export var InvokeAgentRuntimeRequest$ = [3, n0, _IARR,
|
|
892
914
|
0,
|
|
893
|
-
[_aRA, _p, _cTo,
|
|
915
|
+
[_aRA, _p, _cTo, _ac, _mSI, _rSI, _mPV, _rUI, _tI, _tP, _tS, _ba, _q, _aIc],
|
|
894
916
|
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT }], [0, { [_hH]: _A }], [0, { [_hH]: _MSI }], [0, { [_hH]: _XABARSI, [_iT]: 1 }], [0, { [_hH]: _MPV }], [0, { [_hH]: _XABARUI }], [0, { [_hH]: _XATI }], [0, { [_hH]: _tr }], [0, { [_hH]: _tra }], [0, { [_hH]: _ba }], [0, { [_hQ]: _q }], [0, { [_hQ]: _aIc }]], 2
|
|
895
917
|
];
|
|
896
918
|
export var InvokeAgentRuntimeResponse$ = [3, n0, _IARRn,
|
|
@@ -1155,12 +1177,12 @@ export var TokenUsage$ = [3, n0, _TU,
|
|
|
1155
1177
|
];
|
|
1156
1178
|
export var ToolArguments$ = [3, n0, _TA,
|
|
1157
1179
|
0,
|
|
1158
|
-
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa],
|
|
1159
|
-
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0]
|
|
1180
|
+
[_cod, _lan, _cC, _com, _pa, _pat, _co, _dPi, _tIa, _ru],
|
|
1181
|
+
[0, 0, 2, 0, 0, 64 | 0, [() => InputContentBlockList, 0], 0, 0, 0]
|
|
1160
1182
|
];
|
|
1161
1183
|
export var ToolResultStructuredContent$ = [3, n0, _TRSC,
|
|
1162
1184
|
0,
|
|
1163
|
-
[_tIa, _tSa, _std, _stde, _eC,
|
|
1185
|
+
[_tIa, _tSa, _std, _stde, _eC, _eTxe],
|
|
1164
1186
|
[0, 0, 0, 0, 1, 1]
|
|
1165
1187
|
];
|
|
1166
1188
|
export var UpdateBrowserStreamRequest$ = [3, n0, _UBSR,
|
|
@@ -1205,10 +1227,17 @@ var ContentBlockList = [1, n0, _CBL,
|
|
|
1205
1227
|
0, () => ContentBlock$
|
|
1206
1228
|
];
|
|
1207
1229
|
var DomainPatterns = 64 | 0;
|
|
1230
|
+
var EvaluationContentList = [1, n0, _ECL,
|
|
1231
|
+
0, () => EvaluationContent$
|
|
1232
|
+
];
|
|
1233
|
+
var EvaluationReferenceInputs = [1, n0, _ERIv,
|
|
1234
|
+
8, () => EvaluationReferenceInput$
|
|
1235
|
+
];
|
|
1208
1236
|
var EvaluationResults = [1, n0, _ERva,
|
|
1209
1237
|
0, [() => EvaluationResultContent$,
|
|
1210
1238
|
0]
|
|
1211
1239
|
];
|
|
1240
|
+
var EvaluationToolNames = 64 | 0;
|
|
1212
1241
|
var EventList = [1, n0, _EL,
|
|
1213
1242
|
0, [() => Event$,
|
|
1214
1243
|
0]
|
|
@@ -1219,6 +1248,7 @@ var EventMetadataFilterList = [1, n0, _EMFL,
|
|
|
1219
1248
|
var ExtractionJobMetadataList = [1, n0, _EJML,
|
|
1220
1249
|
0, () => ExtractionJobMetadata$
|
|
1221
1250
|
];
|
|
1251
|
+
var IgnoredReferenceInputFields = 64 | 0;
|
|
1222
1252
|
var InputContentBlockList = [1, n0, _ICBL,
|
|
1223
1253
|
0, [() => InputContentBlock$,
|
|
1224
1254
|
0]
|
|
@@ -1297,6 +1327,11 @@ export var Context$ = [4, n0, _Cont,
|
|
|
1297
1327
|
[_sCp],
|
|
1298
1328
|
[() => SpanContext$]
|
|
1299
1329
|
];
|
|
1330
|
+
export var EvaluationContent$ = [4, n0, _EC,
|
|
1331
|
+
0,
|
|
1332
|
+
[_te],
|
|
1333
|
+
[0]
|
|
1334
|
+
];
|
|
1300
1335
|
export var EvaluationInput$ = [4, n0, _EI,
|
|
1301
1336
|
0,
|
|
1302
1337
|
[_sSess],
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BedrockAgentCoreClient } from "./BedrockAgentCoreClient";
|
|
3
|
-
import { BatchCreateMemoryRecordsCommandInput, BatchCreateMemoryRecordsCommandOutput } from "./commands/BatchCreateMemoryRecordsCommand";
|
|
4
|
-
import { BatchDeleteMemoryRecordsCommandInput, BatchDeleteMemoryRecordsCommandOutput } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
5
|
-
import { BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsCommandOutput } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
6
|
-
import { CompleteResourceTokenAuthCommandInput, CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
|
|
7
|
-
import { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
|
|
8
|
-
import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
9
|
-
import { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
|
|
10
|
-
import { EvaluateCommandInput, EvaluateCommandOutput } from "./commands/EvaluateCommand";
|
|
11
|
-
import { GetAgentCardCommandInput, GetAgentCardCommandOutput } from "./commands/GetAgentCardCommand";
|
|
12
|
-
import { GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput } from "./commands/GetBrowserSessionCommand";
|
|
13
|
-
import { GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
|
|
14
|
-
import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
|
|
15
|
-
import { GetMemoryRecordCommandInput, GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
|
|
16
|
-
import { GetResourceApiKeyCommandInput, GetResourceApiKeyCommandOutput } from "./commands/GetResourceApiKeyCommand";
|
|
17
|
-
import { GetResourceOauth2TokenCommandInput, GetResourceOauth2TokenCommandOutput } from "./commands/GetResourceOauth2TokenCommand";
|
|
18
|
-
import { GetWorkloadAccessTokenCommandInput, GetWorkloadAccessTokenCommandOutput } from "./commands/GetWorkloadAccessTokenCommand";
|
|
19
|
-
import { GetWorkloadAccessTokenForJWTCommandInput, GetWorkloadAccessTokenForJWTCommandOutput } from "./commands/GetWorkloadAccessTokenForJWTCommand";
|
|
20
|
-
import { GetWorkloadAccessTokenForUserIdCommandInput, GetWorkloadAccessTokenForUserIdCommandOutput } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
|
|
21
|
-
import { InvokeAgentRuntimeCommandInput, InvokeAgentRuntimeCommandOutput } from "./commands/InvokeAgentRuntimeCommand";
|
|
22
|
-
import { InvokeAgentRuntimeCommandCommandInput, InvokeAgentRuntimeCommandCommandOutput } from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
23
|
-
import { InvokeCodeInterpreterCommandInput, InvokeCodeInterpreterCommandOutput } from "./commands/InvokeCodeInterpreterCommand";
|
|
24
|
-
import { ListActorsCommandInput, ListActorsCommandOutput } from "./commands/ListActorsCommand";
|
|
25
|
-
import { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
|
|
26
|
-
import { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
|
|
27
|
-
import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
|
|
28
|
-
import { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
|
|
29
|
-
import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
|
|
30
|
-
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
31
|
-
import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
|
|
32
|
-
import { SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
|
|
33
|
-
import { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
|
|
34
|
-
import { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
|
|
35
|
-
import { StartMemoryExtractionJobCommandInput, StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
|
|
36
|
-
import { StopBrowserSessionCommandInput, StopBrowserSessionCommandOutput } from "./commands/StopBrowserSessionCommand";
|
|
37
|
-
import { StopCodeInterpreterSessionCommandInput, StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
|
|
38
|
-
import { StopRuntimeSessionCommandInput, StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
|
|
39
|
-
import { UpdateBrowserStreamCommandInput, UpdateBrowserStreamCommandOutput } from "./commands/UpdateBrowserStreamCommand";
|
|
3
|
+
import { type BatchCreateMemoryRecordsCommandInput, type BatchCreateMemoryRecordsCommandOutput } from "./commands/BatchCreateMemoryRecordsCommand";
|
|
4
|
+
import { type BatchDeleteMemoryRecordsCommandInput, type BatchDeleteMemoryRecordsCommandOutput } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
5
|
+
import { type BatchUpdateMemoryRecordsCommandInput, type BatchUpdateMemoryRecordsCommandOutput } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
6
|
+
import { type CompleteResourceTokenAuthCommandInput, type CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
|
|
7
|
+
import { type CreateEventCommandInput, type CreateEventCommandOutput } from "./commands/CreateEventCommand";
|
|
8
|
+
import { type DeleteEventCommandInput, type DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
9
|
+
import { type DeleteMemoryRecordCommandInput, type DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
|
|
10
|
+
import { type EvaluateCommandInput, type EvaluateCommandOutput } from "./commands/EvaluateCommand";
|
|
11
|
+
import { type GetAgentCardCommandInput, type GetAgentCardCommandOutput } from "./commands/GetAgentCardCommand";
|
|
12
|
+
import { type GetBrowserSessionCommandInput, type GetBrowserSessionCommandOutput } from "./commands/GetBrowserSessionCommand";
|
|
13
|
+
import { type GetCodeInterpreterSessionCommandInput, type GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
|
|
14
|
+
import { type GetEventCommandInput, type GetEventCommandOutput } from "./commands/GetEventCommand";
|
|
15
|
+
import { type GetMemoryRecordCommandInput, type GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
|
|
16
|
+
import { type GetResourceApiKeyCommandInput, type GetResourceApiKeyCommandOutput } from "./commands/GetResourceApiKeyCommand";
|
|
17
|
+
import { type GetResourceOauth2TokenCommandInput, type GetResourceOauth2TokenCommandOutput } from "./commands/GetResourceOauth2TokenCommand";
|
|
18
|
+
import { type GetWorkloadAccessTokenCommandInput, type GetWorkloadAccessTokenCommandOutput } from "./commands/GetWorkloadAccessTokenCommand";
|
|
19
|
+
import { type GetWorkloadAccessTokenForJWTCommandInput, type GetWorkloadAccessTokenForJWTCommandOutput } from "./commands/GetWorkloadAccessTokenForJWTCommand";
|
|
20
|
+
import { type GetWorkloadAccessTokenForUserIdCommandInput, type GetWorkloadAccessTokenForUserIdCommandOutput } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
|
|
21
|
+
import { type InvokeAgentRuntimeCommandInput, type InvokeAgentRuntimeCommandOutput } from "./commands/InvokeAgentRuntimeCommand";
|
|
22
|
+
import { type InvokeAgentRuntimeCommandCommandInput, type InvokeAgentRuntimeCommandCommandOutput } from "./commands/InvokeAgentRuntimeCommandCommand";
|
|
23
|
+
import { type InvokeCodeInterpreterCommandInput, type InvokeCodeInterpreterCommandOutput } from "./commands/InvokeCodeInterpreterCommand";
|
|
24
|
+
import { type ListActorsCommandInput, type ListActorsCommandOutput } from "./commands/ListActorsCommand";
|
|
25
|
+
import { type ListBrowserSessionsCommandInput, type ListBrowserSessionsCommandOutput } from "./commands/ListBrowserSessionsCommand";
|
|
26
|
+
import { type ListCodeInterpreterSessionsCommandInput, type ListCodeInterpreterSessionsCommandOutput } from "./commands/ListCodeInterpreterSessionsCommand";
|
|
27
|
+
import { type ListEventsCommandInput, type ListEventsCommandOutput } from "./commands/ListEventsCommand";
|
|
28
|
+
import { type ListMemoryExtractionJobsCommandInput, type ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
|
|
29
|
+
import { type ListMemoryRecordsCommandInput, type ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
|
|
30
|
+
import { type ListSessionsCommandInput, type ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
31
|
+
import { type RetrieveMemoryRecordsCommandInput, type RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
|
|
32
|
+
import { type SaveBrowserSessionProfileCommandInput, type SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
|
|
33
|
+
import { type StartBrowserSessionCommandInput, type StartBrowserSessionCommandOutput } from "./commands/StartBrowserSessionCommand";
|
|
34
|
+
import { type StartCodeInterpreterSessionCommandInput, type StartCodeInterpreterSessionCommandOutput } from "./commands/StartCodeInterpreterSessionCommand";
|
|
35
|
+
import { type StartMemoryExtractionJobCommandInput, type StartMemoryExtractionJobCommandOutput } from "./commands/StartMemoryExtractionJobCommand";
|
|
36
|
+
import { type StopBrowserSessionCommandInput, type StopBrowserSessionCommandOutput } from "./commands/StopBrowserSessionCommand";
|
|
37
|
+
import { type StopCodeInterpreterSessionCommandInput, type StopCodeInterpreterSessionCommandOutput } from "./commands/StopCodeInterpreterSessionCommand";
|
|
38
|
+
import { type StopRuntimeSessionCommandInput, type StopRuntimeSessionCommandOutput } from "./commands/StopRuntimeSessionCommand";
|
|
39
|
+
import { type UpdateBrowserStreamCommandInput, type UpdateBrowserStreamCommandOutput } from "./commands/UpdateBrowserStreamCommand";
|
|
40
40
|
export interface BedrockAgentCore {
|
|
41
41
|
/**
|
|
42
42
|
* @see {@link BatchCreateMemoryRecordsCommand}
|