@aws-sdk/client-bedrock-agentcore 3.1033.0 → 3.1035.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.
@@ -91,6 +91,30 @@ export declare var GetWorkloadAccessTokenForUserIdRequest$: StaticStructureSchem
91
91
  export declare var GetWorkloadAccessTokenForUserIdResponse$: StaticStructureSchema;
92
92
  export declare var GetWorkloadAccessTokenRequest$: StaticStructureSchema;
93
93
  export declare var GetWorkloadAccessTokenResponse$: StaticStructureSchema;
94
+ export declare var HarnessAgentCoreBrowserConfig$: StaticStructureSchema;
95
+ export declare var HarnessAgentCoreCodeInterpreterConfig$: StaticStructureSchema;
96
+ export declare var HarnessAgentCoreGatewayConfig$: StaticStructureSchema;
97
+ export declare var HarnessBedrockModelConfig$: StaticStructureSchema;
98
+ export declare var HarnessContentBlockDeltaEvent$: StaticStructureSchema;
99
+ export declare var HarnessContentBlockStartEvent$: StaticStructureSchema;
100
+ export declare var HarnessContentBlockStopEvent$: StaticStructureSchema;
101
+ export declare var HarnessGeminiModelConfig$: StaticStructureSchema;
102
+ export declare var HarnessInlineFunctionConfig$: StaticStructureSchema;
103
+ export declare var HarnessMessage$: StaticStructureSchema;
104
+ export declare var HarnessMessageStartEvent$: StaticStructureSchema;
105
+ export declare var HarnessMessageStopEvent$: StaticStructureSchema;
106
+ export declare var HarnessMetadataEvent$: StaticStructureSchema;
107
+ export declare var HarnessOpenAiModelConfig$: StaticStructureSchema;
108
+ export declare var HarnessReasoningTextBlock$: StaticStructureSchema;
109
+ export declare var HarnessRemoteMcpConfig$: StaticStructureSchema;
110
+ export declare var HarnessStreamMetrics$: StaticStructureSchema;
111
+ export declare var HarnessTokenUsage$: StaticStructureSchema;
112
+ export declare var HarnessTool$: StaticStructureSchema;
113
+ export declare var HarnessToolResultBlock$: StaticStructureSchema;
114
+ export declare var HarnessToolResultBlockStart$: StaticStructureSchema;
115
+ export declare var HarnessToolUseBlock$: StaticStructureSchema;
116
+ export declare var HarnessToolUseBlockDelta$: StaticStructureSchema;
117
+ export declare var HarnessToolUseBlockStart$: StaticStructureSchema;
94
118
  export declare var InputContentBlock$: StaticStructureSchema;
95
119
  export declare var InvokeAgentRuntimeCommandRequest$: StaticStructureSchema;
96
120
  export declare var InvokeAgentRuntimeCommandRequestBody$: StaticStructureSchema;
@@ -101,6 +125,8 @@ export declare var InvokeBrowserRequest$: StaticStructureSchema;
101
125
  export declare var InvokeBrowserResponse$: StaticStructureSchema;
102
126
  export declare var InvokeCodeInterpreterRequest$: StaticStructureSchema;
103
127
  export declare var InvokeCodeInterpreterResponse$: StaticStructureSchema;
128
+ export declare var InvokeHarnessRequest$: StaticStructureSchema;
129
+ export declare var InvokeHarnessResponse$: StaticStructureSchema;
104
130
  export declare var KeyPressArguments$: StaticStructureSchema;
105
131
  export declare var KeyPressResult$: StaticStructureSchema;
106
132
  export declare var KeyShortcutArguments$: StaticStructureSchema;
@@ -139,6 +165,7 @@ export declare var MouseMoveArguments$: StaticStructureSchema;
139
165
  export declare var MouseMoveResult$: StaticStructureSchema;
140
166
  export declare var MouseScrollArguments$: StaticStructureSchema;
141
167
  export declare var MouseScrollResult$: StaticStructureSchema;
168
+ export declare var OAuthCredentialProvider$: StaticStructureSchema;
142
169
  export declare var ProxyBypass$: StaticStructureSchema;
143
170
  export declare var ProxyConfiguration$: StaticStructureSchema;
144
171
  export declare var RegistryRecordSummary$: StaticStructureSchema;
@@ -191,7 +218,20 @@ export declare var EvaluationContent$: StaticUnionSchema;
191
218
  export declare var EvaluationInput$: StaticUnionSchema;
192
219
  export declare var EvaluationTarget$: StaticUnionSchema;
193
220
  export declare var ExtractionJobMessages$: StaticUnionSchema;
221
+ export declare var HarnessContentBlock$: StaticUnionSchema;
222
+ export declare var HarnessContentBlockDelta$: StaticUnionSchema;
223
+ export declare var HarnessContentBlockStart$: StaticUnionSchema;
224
+ export declare var HarnessGatewayOutboundAuth$: StaticUnionSchema;
225
+ export declare var HarnessModelConfiguration$: StaticUnionSchema;
226
+ export declare var HarnessReasoningContentBlock$: StaticUnionSchema;
227
+ export declare var HarnessReasoningContentBlockDelta$: StaticUnionSchema;
228
+ export declare var HarnessSkill$: StaticUnionSchema;
229
+ export declare var HarnessSystemContentBlock$: StaticUnionSchema;
230
+ export declare var HarnessToolConfiguration$: StaticUnionSchema;
231
+ export declare var HarnessToolResultBlockDelta$: StaticUnionSchema;
232
+ export declare var HarnessToolResultContentBlock$: StaticUnionSchema;
194
233
  export declare var InvokeAgentRuntimeCommandStreamOutput$: StaticUnionSchema;
234
+ export declare var InvokeHarnessStreamOutput$: StaticUnionSchema;
195
235
  export declare var LeftExpression$: StaticUnionSchema;
196
236
  export declare var MemoryContent$: StaticUnionSchema;
197
237
  export declare var MetadataValue$: StaticUnionSchema;
@@ -224,6 +264,7 @@ export declare var InvokeAgentRuntime$: StaticOperationSchema;
224
264
  export declare var InvokeAgentRuntimeCommand$: StaticOperationSchema;
225
265
  export declare var InvokeBrowser$: StaticOperationSchema;
226
266
  export declare var InvokeCodeInterpreter$: StaticOperationSchema;
267
+ export declare var InvokeHarness$: StaticOperationSchema;
227
268
  export declare var ListActors$: StaticOperationSchema;
228
269
  export declare var ListBrowserSessions$: StaticOperationSchema;
229
270
  export declare var ListCodeInterpreterSessions$: StaticOperationSchema;
@@ -92,6 +92,10 @@ import {
92
92
  InvokeCodeInterpreterCommandInput,
93
93
  InvokeCodeInterpreterCommandOutput,
94
94
  } from "./commands/InvokeCodeInterpreterCommand";
95
+ import {
96
+ InvokeHarnessCommandInput,
97
+ InvokeHarnessCommandOutput,
98
+ } from "./commands/InvokeHarnessCommand";
95
99
  import {
96
100
  ListActorsCommandInput,
97
101
  ListActorsCommandOutput,
@@ -447,6 +451,19 @@ export interface BedrockAgentCore {
447
451
  options: __HttpHandlerOptions,
448
452
  cb: (err: any, data?: InvokeCodeInterpreterCommandOutput) => void
449
453
  ): void;
454
+ invokeHarness(
455
+ args: InvokeHarnessCommandInput,
456
+ options?: __HttpHandlerOptions
457
+ ): Promise<InvokeHarnessCommandOutput>;
458
+ invokeHarness(
459
+ args: InvokeHarnessCommandInput,
460
+ cb: (err: any, data?: InvokeHarnessCommandOutput) => void
461
+ ): void;
462
+ invokeHarness(
463
+ args: InvokeHarnessCommandInput,
464
+ options: __HttpHandlerOptions,
465
+ cb: (err: any, data?: InvokeHarnessCommandOutput) => void
466
+ ): void;
450
467
  listActors(
451
468
  args: ListActorsCommandInput,
452
469
  options?: __HttpHandlerOptions
@@ -138,6 +138,10 @@ import {
138
138
  InvokeCodeInterpreterCommandInput,
139
139
  InvokeCodeInterpreterCommandOutput,
140
140
  } from "./commands/InvokeCodeInterpreterCommand";
141
+ import {
142
+ InvokeHarnessCommandInput,
143
+ InvokeHarnessCommandOutput,
144
+ } from "./commands/InvokeHarnessCommand";
141
145
  import {
142
146
  ListActorsCommandInput,
143
147
  ListActorsCommandOutput,
@@ -236,6 +240,7 @@ export type ServiceInputTypes =
236
240
  | InvokeAgentRuntimeCommandInput
237
241
  | InvokeBrowserCommandInput
238
242
  | InvokeCodeInterpreterCommandInput
243
+ | InvokeHarnessCommandInput
239
244
  | ListActorsCommandInput
240
245
  | ListBrowserSessionsCommandInput
241
246
  | ListCodeInterpreterSessionsCommandInput
@@ -276,6 +281,7 @@ export type ServiceOutputTypes =
276
281
  | InvokeAgentRuntimeCommandOutput
277
282
  | InvokeBrowserCommandOutput
278
283
  | InvokeCodeInterpreterCommandOutput
284
+ | InvokeHarnessCommandOutput
279
285
  | ListActorsCommandOutput
280
286
  | ListBrowserSessionsCommandOutput
281
287
  | ListCodeInterpreterSessionsCommandOutput
@@ -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
+ InvokeHarnessRequest,
10
+ InvokeHarnessResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface InvokeHarnessCommandInput extends InvokeHarnessRequest {}
15
+ export interface InvokeHarnessCommandOutput
16
+ extends InvokeHarnessResponse,
17
+ __MetadataBearer {}
18
+ declare const InvokeHarnessCommand_base: {
19
+ new (
20
+ input: InvokeHarnessCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ InvokeHarnessCommandInput,
23
+ InvokeHarnessCommandOutput,
24
+ BedrockAgentCoreClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: InvokeHarnessCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ InvokeHarnessCommandInput,
32
+ InvokeHarnessCommandOutput,
33
+ BedrockAgentCoreClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class InvokeHarnessCommand extends InvokeHarnessCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: InvokeHarnessRequest;
43
+ output: InvokeHarnessResponse;
44
+ };
45
+ sdk: {
46
+ input: InvokeHarnessCommandInput;
47
+ output: InvokeHarnessCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -20,6 +20,7 @@ export * from "./InvokeAgentRuntimeCommand";
20
20
  export * from "./InvokeAgentRuntimeCommandCommand";
21
21
  export * from "./InvokeBrowserCommand";
22
22
  export * from "./InvokeCodeInterpreterCommand";
23
+ export * from "./InvokeHarnessCommand";
23
24
  export * from "./ListActorsCommand";
24
25
  export * from "./ListBrowserSessionsCommand";
25
26
  export * from "./ListCodeInterpreterSessionsCommand";
@@ -113,6 +113,58 @@ export declare const TaskStatus: {
113
113
  readonly WORKING: "working";
114
114
  };
115
115
  export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
116
+ export declare const HarnessToolUseStatus: {
117
+ readonly ERROR: "error";
118
+ readonly SUCCESS: "success";
119
+ };
120
+ export type HarnessToolUseStatus =
121
+ (typeof HarnessToolUseStatus)[keyof typeof HarnessToolUseStatus];
122
+ export declare const HarnessToolUseType: {
123
+ readonly MCP_TOOL_USE: "mcp_tool_use";
124
+ readonly SERVER_TOOL_USE: "server_tool_use";
125
+ readonly TOOL_USE: "tool_use";
126
+ };
127
+ export type HarnessToolUseType =
128
+ (typeof HarnessToolUseType)[keyof typeof HarnessToolUseType];
129
+ export declare const HarnessConversationRole: {
130
+ readonly ASSISTANT: "assistant";
131
+ readonly USER: "user";
132
+ };
133
+ export type HarnessConversationRole =
134
+ (typeof HarnessConversationRole)[keyof typeof HarnessConversationRole];
135
+ export declare const OAuthGrantType: {
136
+ readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
137
+ readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
138
+ };
139
+ export type OAuthGrantType =
140
+ (typeof OAuthGrantType)[keyof typeof OAuthGrantType];
141
+ export declare const HarnessToolType: {
142
+ readonly AGENTCORE_BROWSER: "agentcore_browser";
143
+ readonly AGENTCORE_CODE_INTERPRETER: "agentcore_code_interpreter";
144
+ readonly AGENTCORE_GATEWAY: "agentcore_gateway";
145
+ readonly INLINE_FUNCTION: "inline_function";
146
+ readonly REMOTE_MCP: "remote_mcp";
147
+ };
148
+ export type HarnessToolType =
149
+ (typeof HarnessToolType)[keyof typeof HarnessToolType];
150
+ export declare const HarnessStopReason: {
151
+ readonly CONTENT_FILTERED: "content_filtered";
152
+ readonly END_TURN: "end_turn";
153
+ readonly INTERRUPTED: "interrupted";
154
+ readonly MALFORMED_MODEL_OUTPUT: "malformed_model_output";
155
+ readonly MALFORMED_TOOL_USE: "malformed_tool_use";
156
+ readonly MAX_ITERATIONS_EXCEEDED: "max_iterations_exceeded";
157
+ readonly MAX_OUTPUT_TOKENS_EXCEEDED: "max_output_tokens_exceeded";
158
+ readonly MAX_TOKENS: "max_tokens";
159
+ readonly MODEL_CONTEXT_WINDOW_EXCEEDED: "model_context_window_exceeded";
160
+ readonly PARTIAL_TURN: "partial_turn";
161
+ readonly STOP_SEQUENCE: "stop_sequence";
162
+ readonly TIMEOUT_EXCEEDED: "timeout_exceeded";
163
+ readonly TOOL_RESULT: "tool_result";
164
+ readonly TOOL_USE: "tool_use";
165
+ };
166
+ export type HarnessStopReason =
167
+ (typeof HarnessStopReason)[keyof typeof HarnessStopReason];
116
168
  export declare const MemoryRecordStatus: {
117
169
  readonly FAILED: "FAILED";
118
170
  readonly SUCCEEDED: "SUCCEEDED";