@aws-sdk/client-bedrock-agentcore-control 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.
- package/README.md +35 -0
- package/dist-cjs/index.js +99 -0
- package/dist-cjs/schemas/schemas_0.js +473 -133
- package/dist-es/BedrockAgentCoreControl.js +12 -0
- package/dist-es/commands/CreateHarnessCommand.js +16 -0
- package/dist-es/commands/DeleteHarnessCommand.js +16 -0
- package/dist-es/commands/GetHarnessCommand.js +16 -0
- package/dist-es/commands/ListHarnessesCommand.js +16 -0
- package/dist-es/commands/UpdateHarnessCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +22 -0
- package/dist-es/pagination/ListHarnessesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +462 -123
- package/dist-types/BedrockAgentCoreControl.d.ts +43 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +7 -2
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +2 -0
- package/dist-types/commands/CreateHarnessCommand.d.ts +451 -0
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +2 -2
- package/dist-types/commands/DeleteHarnessCommand.d.ts +276 -0
- package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +2 -2
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -0
- package/dist-types/commands/GetHarnessCommand.d.ts +272 -0
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +2 -2
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -0
- package/dist-types/commands/ListHarnessesCommand.d.ts +97 -0
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +2 -3
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHarnessCommand.d.ts +454 -0
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +46 -0
- package/dist-types/models/models_0.d.ts +1952 -1926
- package/dist-types/models/models_1.d.ts +1246 -13
- package/dist-types/pagination/ListHarnessesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +45 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +93 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateHarnessCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteHarnessCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHarnessCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHarnessesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOauth2CredentialProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateHarnessCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateOauth2CredentialProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/models_0.d.ts +470 -566
- package/dist-types/ts3.4/models/models_1.d.ts +574 -6
- package/dist-types/ts3.4/pagination/ListHarnessesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +45 -0
- package/package.json +18 -18
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentCoreControlClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentCoreControlClient";
|
|
8
|
+
import {
|
|
9
|
+
ListHarnessesRequest,
|
|
10
|
+
ListHarnessesResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListHarnessesCommandInput extends ListHarnessesRequest {}
|
|
15
|
+
export interface ListHarnessesCommandOutput
|
|
16
|
+
extends ListHarnessesResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListHarnessesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListHarnessesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListHarnessesCommandInput,
|
|
23
|
+
ListHarnessesCommandOutput,
|
|
24
|
+
BedrockAgentCoreControlClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListHarnessesCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListHarnessesCommandInput,
|
|
32
|
+
ListHarnessesCommandOutput,
|
|
33
|
+
BedrockAgentCoreControlClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListHarnessesCommand extends ListHarnessesCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListHarnessesRequest;
|
|
43
|
+
output: ListHarnessesResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListHarnessesCommandInput;
|
|
47
|
+
output: ListHarnessesCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListOauth2CredentialProvidersRequest,
|
|
10
10
|
ListOauth2CredentialProvidersResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListOauth2CredentialProvidersCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentCoreControlClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListOnlineEvaluationConfigsRequest,
|
|
10
|
+
ListOnlineEvaluationConfigsResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListOnlineEvaluationConfigsCommandInput
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockAgentCoreControlClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockAgentCoreControlClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateHarnessRequest,
|
|
10
|
+
UpdateHarnessResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateHarnessCommandInput extends UpdateHarnessRequest {}
|
|
15
|
+
export interface UpdateHarnessCommandOutput
|
|
16
|
+
extends UpdateHarnessResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateHarnessCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateHarnessCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateHarnessCommandInput,
|
|
23
|
+
UpdateHarnessCommandOutput,
|
|
24
|
+
BedrockAgentCoreControlClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UpdateHarnessCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateHarnessCommandInput,
|
|
32
|
+
UpdateHarnessCommandOutput,
|
|
33
|
+
BedrockAgentCoreControlClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateHarnessCommand extends UpdateHarnessCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateHarnessRequest;
|
|
43
|
+
output: UpdateHarnessResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateHarnessCommandInput;
|
|
47
|
+
output: UpdateHarnessCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UpdateOauth2CredentialProviderRequest,
|
|
10
10
|
UpdateOauth2CredentialProviderResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UpdateOauth2CredentialProviderCommandInput
|
|
@@ -7,6 +7,7 @@ export * from "./CreateCodeInterpreterCommand";
|
|
|
7
7
|
export * from "./CreateEvaluatorCommand";
|
|
8
8
|
export * from "./CreateGatewayCommand";
|
|
9
9
|
export * from "./CreateGatewayTargetCommand";
|
|
10
|
+
export * from "./CreateHarnessCommand";
|
|
10
11
|
export * from "./CreateMemoryCommand";
|
|
11
12
|
export * from "./CreateOauth2CredentialProviderCommand";
|
|
12
13
|
export * from "./CreateOnlineEvaluationConfigCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./DeleteCodeInterpreterCommand";
|
|
|
24
25
|
export * from "./DeleteEvaluatorCommand";
|
|
25
26
|
export * from "./DeleteGatewayCommand";
|
|
26
27
|
export * from "./DeleteGatewayTargetCommand";
|
|
28
|
+
export * from "./DeleteHarnessCommand";
|
|
27
29
|
export * from "./DeleteMemoryCommand";
|
|
28
30
|
export * from "./DeleteOauth2CredentialProviderCommand";
|
|
29
31
|
export * from "./DeleteOnlineEvaluationConfigCommand";
|
|
@@ -42,6 +44,7 @@ export * from "./GetCodeInterpreterCommand";
|
|
|
42
44
|
export * from "./GetEvaluatorCommand";
|
|
43
45
|
export * from "./GetGatewayCommand";
|
|
44
46
|
export * from "./GetGatewayTargetCommand";
|
|
47
|
+
export * from "./GetHarnessCommand";
|
|
45
48
|
export * from "./GetMemoryCommand";
|
|
46
49
|
export * from "./GetOauth2CredentialProviderCommand";
|
|
47
50
|
export * from "./GetOnlineEvaluationConfigCommand";
|
|
@@ -63,6 +66,7 @@ export * from "./ListCodeInterpretersCommand";
|
|
|
63
66
|
export * from "./ListEvaluatorsCommand";
|
|
64
67
|
export * from "./ListGatewayTargetsCommand";
|
|
65
68
|
export * from "./ListGatewaysCommand";
|
|
69
|
+
export * from "./ListHarnessesCommand";
|
|
66
70
|
export * from "./ListMemoriesCommand";
|
|
67
71
|
export * from "./ListOauth2CredentialProvidersCommand";
|
|
68
72
|
export * from "./ListOnlineEvaluationConfigsCommand";
|
|
@@ -87,6 +91,7 @@ export * from "./UpdateApiKeyCredentialProviderCommand";
|
|
|
87
91
|
export * from "./UpdateEvaluatorCommand";
|
|
88
92
|
export * from "./UpdateGatewayCommand";
|
|
89
93
|
export * from "./UpdateGatewayTargetCommand";
|
|
94
|
+
export * from "./UpdateHarnessCommand";
|
|
90
95
|
export * from "./UpdateMemoryCommand";
|
|
91
96
|
export * from "./UpdateOauth2CredentialProviderCommand";
|
|
92
97
|
export * from "./UpdateOnlineEvaluationConfigCommand";
|
|
@@ -246,6 +246,32 @@ export declare const KeyType: {
|
|
|
246
246
|
readonly ServiceManagedKey: "ServiceManagedKey";
|
|
247
247
|
};
|
|
248
248
|
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
249
|
+
export declare const HarnessToolType: {
|
|
250
|
+
readonly AGENTCORE_BROWSER: "agentcore_browser";
|
|
251
|
+
readonly AGENTCORE_CODE_INTERPRETER: "agentcore_code_interpreter";
|
|
252
|
+
readonly AGENTCORE_GATEWAY: "agentcore_gateway";
|
|
253
|
+
readonly INLINE_FUNCTION: "inline_function";
|
|
254
|
+
readonly REMOTE_MCP: "remote_mcp";
|
|
255
|
+
};
|
|
256
|
+
export type HarnessToolType =
|
|
257
|
+
(typeof HarnessToolType)[keyof typeof HarnessToolType];
|
|
258
|
+
export declare const HarnessTruncationStrategy: {
|
|
259
|
+
readonly NONE: "none";
|
|
260
|
+
readonly SLIDING_WINDOW: "sliding_window";
|
|
261
|
+
readonly SUMMARIZATION: "summarization";
|
|
262
|
+
};
|
|
263
|
+
export type HarnessTruncationStrategy =
|
|
264
|
+
(typeof HarnessTruncationStrategy)[keyof typeof HarnessTruncationStrategy];
|
|
265
|
+
export declare const HarnessStatus: {
|
|
266
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
267
|
+
readonly CREATING: "CREATING";
|
|
268
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
269
|
+
readonly DELETING: "DELETING";
|
|
270
|
+
readonly READY: "READY";
|
|
271
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
272
|
+
readonly UPDATING: "UPDATING";
|
|
273
|
+
};
|
|
274
|
+
export type HarnessStatus = (typeof HarnessStatus)[keyof typeof HarnessStatus];
|
|
249
275
|
export declare const ContentLevel: {
|
|
250
276
|
readonly FULL_CONTENT: "FULL_CONTENT";
|
|
251
277
|
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
@@ -344,6 +370,7 @@ export declare const OnlineEvaluationConfigStatus: {
|
|
|
344
370
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
345
371
|
readonly CREATING: "CREATING";
|
|
346
372
|
readonly DELETING: "DELETING";
|
|
373
|
+
readonly ERROR: "ERROR";
|
|
347
374
|
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
348
375
|
readonly UPDATING: "UPDATING";
|
|
349
376
|
};
|