@aws-sdk/client-bedrock-agentcore-control 3.1054.0 → 3.1056.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/index.js +11 -0
- package/dist-cjs/schemas/schemas_0.js +58 -24
- package/dist-es/models/enums.js +9 -0
- package/dist-es/schemas/schemas_0.js +47 -13
- package/dist-types/commands/CreateHarnessCommand.d.ts +48 -0
- package/dist-types/commands/DeleteHarnessCommand.d.ts +24 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +2 -1
- package/dist-types/commands/GetHarnessCommand.d.ts +24 -0
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationBundlesCommand.d.ts +1 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +1 -2
- package/dist-types/commands/UpdateHarnessCommand.d.ts +48 -0
- package/dist-types/models/enums.d.ts +40 -0
- package/dist-types/models/models_0.d.ts +160 -68
- package/dist-types/models/models_1.d.ts +65 -61
- package/dist-types/models/models_2.d.ts +60 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -16
- package/dist-types/ts3.4/models/models_1.d.ts +16 -19
- package/dist-types/ts3.4/models/models_2.d.ts +15 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +6 -6
|
@@ -59,6 +59,8 @@ declare const DeleteHarnessCommand_base: {
|
|
|
59
59
|
* // maxTokens: Number("int"),
|
|
60
60
|
* // temperature: Number("float"),
|
|
61
61
|
* // topP: Number("float"),
|
|
62
|
+
* // apiFormat: "converse_stream" || "responses" || "chat_completions",
|
|
63
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
62
64
|
* // },
|
|
63
65
|
* // openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
64
66
|
* // modelId: "STRING_VALUE", // required
|
|
@@ -66,6 +68,8 @@ declare const DeleteHarnessCommand_base: {
|
|
|
66
68
|
* // maxTokens: Number("int"),
|
|
67
69
|
* // temperature: Number("float"),
|
|
68
70
|
* // topP: Number("float"),
|
|
71
|
+
* // apiFormat: "chat_completions" || "responses",
|
|
72
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
69
73
|
* // },
|
|
70
74
|
* // geminiModelConfig: { // HarnessGeminiModelConfig
|
|
71
75
|
* // modelId: "STRING_VALUE", // required
|
|
@@ -75,6 +79,15 @@ declare const DeleteHarnessCommand_base: {
|
|
|
75
79
|
* // topP: Number("float"),
|
|
76
80
|
* // topK: Number("int"),
|
|
77
81
|
* // },
|
|
82
|
+
* // liteLlmModelConfig: { // HarnessLiteLlmModelConfig
|
|
83
|
+
* // modelId: "STRING_VALUE", // required
|
|
84
|
+
* // apiKeyArn: "STRING_VALUE",
|
|
85
|
+
* // apiBase: "STRING_VALUE",
|
|
86
|
+
* // maxTokens: Number("int"),
|
|
87
|
+
* // temperature: Number("float"),
|
|
88
|
+
* // topP: Number("float"),
|
|
89
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
90
|
+
* // },
|
|
78
91
|
* // },
|
|
79
92
|
* // systemPrompt: [ // HarnessSystemPrompt // required
|
|
80
93
|
* // { // HarnessSystemContentBlock Union: only one key present
|
|
@@ -126,6 +139,17 @@ declare const DeleteHarnessCommand_base: {
|
|
|
126
139
|
* // skills: [ // HarnessSkills // required
|
|
127
140
|
* // { // HarnessSkill Union: only one key present
|
|
128
141
|
* // path: "STRING_VALUE",
|
|
142
|
+
* // s3: { // HarnessSkillS3Source
|
|
143
|
+
* // uri: "STRING_VALUE", // required
|
|
144
|
+
* // },
|
|
145
|
+
* // git: { // HarnessSkillGitSource
|
|
146
|
+
* // url: "STRING_VALUE", // required
|
|
147
|
+
* // path: "STRING_VALUE",
|
|
148
|
+
* // auth: { // HarnessSkillGitAuth
|
|
149
|
+
* // credentialArn: "STRING_VALUE", // required
|
|
150
|
+
* // username: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
129
153
|
* // },
|
|
130
154
|
* // ],
|
|
131
155
|
* // allowedTools: [ // HarnessAllowedTools // required
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { DeleteWorkloadIdentityRequest
|
|
4
|
+
import type { DeleteWorkloadIdentityRequest } from "../models/models_1";
|
|
5
|
+
import type { DeleteWorkloadIdentityResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -58,6 +58,8 @@ declare const GetHarnessCommand_base: {
|
|
|
58
58
|
* // maxTokens: Number("int"),
|
|
59
59
|
* // temperature: Number("float"),
|
|
60
60
|
* // topP: Number("float"),
|
|
61
|
+
* // apiFormat: "converse_stream" || "responses" || "chat_completions",
|
|
62
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
61
63
|
* // },
|
|
62
64
|
* // openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
63
65
|
* // modelId: "STRING_VALUE", // required
|
|
@@ -65,6 +67,8 @@ declare const GetHarnessCommand_base: {
|
|
|
65
67
|
* // maxTokens: Number("int"),
|
|
66
68
|
* // temperature: Number("float"),
|
|
67
69
|
* // topP: Number("float"),
|
|
70
|
+
* // apiFormat: "chat_completions" || "responses",
|
|
71
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
68
72
|
* // },
|
|
69
73
|
* // geminiModelConfig: { // HarnessGeminiModelConfig
|
|
70
74
|
* // modelId: "STRING_VALUE", // required
|
|
@@ -74,6 +78,15 @@ declare const GetHarnessCommand_base: {
|
|
|
74
78
|
* // topP: Number("float"),
|
|
75
79
|
* // topK: Number("int"),
|
|
76
80
|
* // },
|
|
81
|
+
* // liteLlmModelConfig: { // HarnessLiteLlmModelConfig
|
|
82
|
+
* // modelId: "STRING_VALUE", // required
|
|
83
|
+
* // apiKeyArn: "STRING_VALUE",
|
|
84
|
+
* // apiBase: "STRING_VALUE",
|
|
85
|
+
* // maxTokens: Number("int"),
|
|
86
|
+
* // temperature: Number("float"),
|
|
87
|
+
* // topP: Number("float"),
|
|
88
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
89
|
+
* // },
|
|
77
90
|
* // },
|
|
78
91
|
* // systemPrompt: [ // HarnessSystemPrompt // required
|
|
79
92
|
* // { // HarnessSystemContentBlock Union: only one key present
|
|
@@ -125,6 +138,17 @@ declare const GetHarnessCommand_base: {
|
|
|
125
138
|
* // skills: [ // HarnessSkills // required
|
|
126
139
|
* // { // HarnessSkill Union: only one key present
|
|
127
140
|
* // path: "STRING_VALUE",
|
|
141
|
+
* // s3: { // HarnessSkillS3Source
|
|
142
|
+
* // uri: "STRING_VALUE", // required
|
|
143
|
+
* // },
|
|
144
|
+
* // git: { // HarnessSkillGitSource
|
|
145
|
+
* // url: "STRING_VALUE", // required
|
|
146
|
+
* // path: "STRING_VALUE",
|
|
147
|
+
* // auth: { // HarnessSkillGitAuth
|
|
148
|
+
* // credentialArn: "STRING_VALUE", // required
|
|
149
|
+
* // username: "STRING_VALUE",
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
128
152
|
* // },
|
|
129
153
|
* // ],
|
|
130
154
|
* // allowedTools: [ // HarnessAllowedTools // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { GetWorkloadIdentityRequest, GetWorkloadIdentityResponse } from "../models/
|
|
4
|
+
import type { GetWorkloadIdentityRequest, GetWorkloadIdentityResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -51,6 +51,7 @@ declare const ListConfigurationBundlesCommand_base: {
|
|
|
51
51
|
* // bundleId: "STRING_VALUE", // required
|
|
52
52
|
* // bundleName: "STRING_VALUE", // required
|
|
53
53
|
* // description: "STRING_VALUE",
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
54
55
|
* // },
|
|
55
56
|
* // ],
|
|
56
57
|
* // nextToken: "STRING_VALUE",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { ListWorkloadIdentitiesRequest } from "../models/
|
|
5
|
-
import type { ListWorkloadIdentitiesResponse } from "../models/models_2";
|
|
4
|
+
import type { ListWorkloadIdentitiesRequest, ListWorkloadIdentitiesResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -167,6 +167,8 @@ declare const UpdateHarnessCommand_base: {
|
|
|
167
167
|
* maxTokens: Number("int"),
|
|
168
168
|
* temperature: Number("float"),
|
|
169
169
|
* topP: Number("float"),
|
|
170
|
+
* apiFormat: "converse_stream" || "responses" || "chat_completions",
|
|
171
|
+
* additionalParams: "DOCUMENT_VALUE",
|
|
170
172
|
* },
|
|
171
173
|
* openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
172
174
|
* modelId: "STRING_VALUE", // required
|
|
@@ -174,6 +176,8 @@ declare const UpdateHarnessCommand_base: {
|
|
|
174
176
|
* maxTokens: Number("int"),
|
|
175
177
|
* temperature: Number("float"),
|
|
176
178
|
* topP: Number("float"),
|
|
179
|
+
* apiFormat: "chat_completions" || "responses",
|
|
180
|
+
* additionalParams: "DOCUMENT_VALUE",
|
|
177
181
|
* },
|
|
178
182
|
* geminiModelConfig: { // HarnessGeminiModelConfig
|
|
179
183
|
* modelId: "STRING_VALUE", // required
|
|
@@ -183,6 +187,15 @@ declare const UpdateHarnessCommand_base: {
|
|
|
183
187
|
* topP: Number("float"),
|
|
184
188
|
* topK: Number("int"),
|
|
185
189
|
* },
|
|
190
|
+
* liteLlmModelConfig: { // HarnessLiteLlmModelConfig
|
|
191
|
+
* modelId: "STRING_VALUE", // required
|
|
192
|
+
* apiKeyArn: "STRING_VALUE",
|
|
193
|
+
* apiBase: "STRING_VALUE",
|
|
194
|
+
* maxTokens: Number("int"),
|
|
195
|
+
* temperature: Number("float"),
|
|
196
|
+
* topP: Number("float"),
|
|
197
|
+
* additionalParams: "DOCUMENT_VALUE",
|
|
198
|
+
* },
|
|
186
199
|
* },
|
|
187
200
|
* systemPrompt: [ // HarnessSystemPrompt
|
|
188
201
|
* { // HarnessSystemContentBlock Union: only one key present
|
|
@@ -234,6 +247,17 @@ declare const UpdateHarnessCommand_base: {
|
|
|
234
247
|
* skills: [ // HarnessSkills
|
|
235
248
|
* { // HarnessSkill Union: only one key present
|
|
236
249
|
* path: "STRING_VALUE",
|
|
250
|
+
* s3: { // HarnessSkillS3Source
|
|
251
|
+
* uri: "STRING_VALUE", // required
|
|
252
|
+
* },
|
|
253
|
+
* git: { // HarnessSkillGitSource
|
|
254
|
+
* url: "STRING_VALUE", // required
|
|
255
|
+
* path: "STRING_VALUE",
|
|
256
|
+
* auth: { // HarnessSkillGitAuth
|
|
257
|
+
* credentialArn: "STRING_VALUE", // required
|
|
258
|
+
* username: "STRING_VALUE",
|
|
259
|
+
* },
|
|
260
|
+
* },
|
|
237
261
|
* },
|
|
238
262
|
* ],
|
|
239
263
|
* allowedTools: [ // HarnessAllowedTools
|
|
@@ -289,6 +313,8 @@ declare const UpdateHarnessCommand_base: {
|
|
|
289
313
|
* // maxTokens: Number("int"),
|
|
290
314
|
* // temperature: Number("float"),
|
|
291
315
|
* // topP: Number("float"),
|
|
316
|
+
* // apiFormat: "converse_stream" || "responses" || "chat_completions",
|
|
317
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
292
318
|
* // },
|
|
293
319
|
* // openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
294
320
|
* // modelId: "STRING_VALUE", // required
|
|
@@ -296,6 +322,8 @@ declare const UpdateHarnessCommand_base: {
|
|
|
296
322
|
* // maxTokens: Number("int"),
|
|
297
323
|
* // temperature: Number("float"),
|
|
298
324
|
* // topP: Number("float"),
|
|
325
|
+
* // apiFormat: "chat_completions" || "responses",
|
|
326
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
299
327
|
* // },
|
|
300
328
|
* // geminiModelConfig: { // HarnessGeminiModelConfig
|
|
301
329
|
* // modelId: "STRING_VALUE", // required
|
|
@@ -305,6 +333,15 @@ declare const UpdateHarnessCommand_base: {
|
|
|
305
333
|
* // topP: Number("float"),
|
|
306
334
|
* // topK: Number("int"),
|
|
307
335
|
* // },
|
|
336
|
+
* // liteLlmModelConfig: { // HarnessLiteLlmModelConfig
|
|
337
|
+
* // modelId: "STRING_VALUE", // required
|
|
338
|
+
* // apiKeyArn: "STRING_VALUE",
|
|
339
|
+
* // apiBase: "STRING_VALUE",
|
|
340
|
+
* // maxTokens: Number("int"),
|
|
341
|
+
* // temperature: Number("float"),
|
|
342
|
+
* // topP: Number("float"),
|
|
343
|
+
* // additionalParams: "DOCUMENT_VALUE",
|
|
344
|
+
* // },
|
|
308
345
|
* // },
|
|
309
346
|
* // systemPrompt: [ // HarnessSystemPrompt // required
|
|
310
347
|
* // { // HarnessSystemContentBlock Union: only one key present
|
|
@@ -356,6 +393,17 @@ declare const UpdateHarnessCommand_base: {
|
|
|
356
393
|
* // skills: [ // HarnessSkills // required
|
|
357
394
|
* // { // HarnessSkill Union: only one key present
|
|
358
395
|
* // path: "STRING_VALUE",
|
|
396
|
+
* // s3: { // HarnessSkillS3Source
|
|
397
|
+
* // uri: "STRING_VALUE", // required
|
|
398
|
+
* // },
|
|
399
|
+
* // git: { // HarnessSkillGitSource
|
|
400
|
+
* // url: "STRING_VALUE", // required
|
|
401
|
+
* // path: "STRING_VALUE",
|
|
402
|
+
* // auth: { // HarnessSkillGitAuth
|
|
403
|
+
* // credentialArn: "STRING_VALUE", // required
|
|
404
|
+
* // username: "STRING_VALUE",
|
|
405
|
+
* // },
|
|
406
|
+
* // },
|
|
359
407
|
* // },
|
|
360
408
|
* // ],
|
|
361
409
|
* // allowedTools: [ // HarnessAllowedTools // required
|
|
@@ -634,6 +634,46 @@ export declare const KeyType: {
|
|
|
634
634
|
* @public
|
|
635
635
|
*/
|
|
636
636
|
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
637
|
+
/**
|
|
638
|
+
* @public
|
|
639
|
+
* @enum
|
|
640
|
+
*/
|
|
641
|
+
export declare const HarnessBedrockApiFormat: {
|
|
642
|
+
/**
|
|
643
|
+
* <p>Use the Chat Completions API format.</p>
|
|
644
|
+
*/
|
|
645
|
+
readonly CHAT_COMPLETIONS: "chat_completions";
|
|
646
|
+
/**
|
|
647
|
+
* <p>Use the Bedrock Converse Stream API format.</p>
|
|
648
|
+
*/
|
|
649
|
+
readonly CONVERSE_STREAM: "converse_stream";
|
|
650
|
+
/**
|
|
651
|
+
* <p>Use the Responses API format.</p>
|
|
652
|
+
*/
|
|
653
|
+
readonly RESPONSES: "responses";
|
|
654
|
+
};
|
|
655
|
+
/**
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
export type HarnessBedrockApiFormat = (typeof HarnessBedrockApiFormat)[keyof typeof HarnessBedrockApiFormat];
|
|
659
|
+
/**
|
|
660
|
+
* @public
|
|
661
|
+
* @enum
|
|
662
|
+
*/
|
|
663
|
+
export declare const HarnessOpenAiApiFormat: {
|
|
664
|
+
/**
|
|
665
|
+
* <p>Use the Chat Completions API format.</p>
|
|
666
|
+
*/
|
|
667
|
+
readonly CHAT_COMPLETIONS: "chat_completions";
|
|
668
|
+
/**
|
|
669
|
+
* <p>Use the Responses API format.</p>
|
|
670
|
+
*/
|
|
671
|
+
readonly RESPONSES: "responses";
|
|
672
|
+
};
|
|
673
|
+
/**
|
|
674
|
+
* @public
|
|
675
|
+
*/
|
|
676
|
+
export type HarnessOpenAiApiFormat = (typeof HarnessOpenAiApiFormat)[keyof typeof HarnessOpenAiApiFormat];
|
|
637
677
|
/**
|
|
638
678
|
* @public
|
|
639
679
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, InboundTokenClaimValueType, IncludedData, KeyType, ListingMode, MetadataValueType, NetworkMode, OAuthGrantType, PrincipalMatchOperator, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
2
|
+
import type { AgentManagedRuntimeType, AgentRuntimeEndpointStatus, AgentRuntimeStatus, ApiKeyCredentialLocation, AuthorizerType, BrowserEnterprisePolicyType, BrowserNetworkMode, BrowserProfileStatus, BrowserStatus, ClaimMatchOperatorType, CodeInterpreterNetworkMode, CodeInterpreterStatus, ConfigurationBundleStatus, CredentialProviderType, DatasetSchemaType, DatasetStatus, DraftStatus, EndpointIpAddressType, EvaluatorLevel, EvaluatorStatus, EvaluatorType, ExceptionLevel, GatewayInterceptionPoint, GatewayPolicyEngineMode, GatewayProtocolType, GatewayRuleStatus, GatewayStatus, HarnessBedrockApiFormat, HarnessOpenAiApiFormat, HarnessStatus, HarnessToolType, HarnessTruncationStrategy, InboundTokenClaimValueType, IncludedData, KeyType, ListingMode, MetadataValueType, NetworkMode, OAuthGrantType, PrincipalMatchOperator, ResourceType, RestApiMethod, SearchType, ServerProtocol, TargetStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The agent card definition for an A2A descriptor. Contains the schema version and inline content for the agent card.</p>
|
|
5
5
|
* @public
|
|
@@ -3404,6 +3404,11 @@ export interface ConfigurationBundleSummary {
|
|
|
3404
3404
|
* @public
|
|
3405
3405
|
*/
|
|
3406
3406
|
description?: string | undefined;
|
|
3407
|
+
/**
|
|
3408
|
+
* <p>The timestamp when the configuration bundle was created.</p>
|
|
3409
|
+
* @public
|
|
3410
|
+
*/
|
|
3411
|
+
createdAt?: Date | undefined;
|
|
3407
3412
|
}
|
|
3408
3413
|
/**
|
|
3409
3414
|
* @public
|
|
@@ -6950,6 +6955,16 @@ export interface HarnessBedrockModelConfig {
|
|
|
6950
6955
|
* @public
|
|
6951
6956
|
*/
|
|
6952
6957
|
topP?: number | undefined;
|
|
6958
|
+
/**
|
|
6959
|
+
* <p>The API format to use when calling the Bedrock provider.</p>
|
|
6960
|
+
* @public
|
|
6961
|
+
*/
|
|
6962
|
+
apiFormat?: HarnessBedrockApiFormat | undefined;
|
|
6963
|
+
/**
|
|
6964
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
6965
|
+
* @public
|
|
6966
|
+
*/
|
|
6967
|
+
additionalParams?: __DocumentType | undefined;
|
|
6953
6968
|
}
|
|
6954
6969
|
/**
|
|
6955
6970
|
* <p>Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
@@ -6987,6 +7002,47 @@ export interface HarnessGeminiModelConfig {
|
|
|
6987
7002
|
*/
|
|
6988
7003
|
topK?: number | undefined;
|
|
6989
7004
|
}
|
|
7005
|
+
/**
|
|
7006
|
+
* <p>Configuration for a LiteLLM model provider, enabling connection to third-party model providers.</p>
|
|
7007
|
+
* @public
|
|
7008
|
+
*/
|
|
7009
|
+
export interface HarnessLiteLlmModelConfig {
|
|
7010
|
+
/**
|
|
7011
|
+
* <p>The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").</p>
|
|
7012
|
+
* @public
|
|
7013
|
+
*/
|
|
7014
|
+
modelId: string | undefined;
|
|
7015
|
+
/**
|
|
7016
|
+
* <p>The ARN of the API key in AgentCore Identity for authenticating with the model provider.</p>
|
|
7017
|
+
* @public
|
|
7018
|
+
*/
|
|
7019
|
+
apiKeyArn?: string | undefined;
|
|
7020
|
+
/**
|
|
7021
|
+
* <p>The base URL for the model provider's API endpoint.</p>
|
|
7022
|
+
* @public
|
|
7023
|
+
*/
|
|
7024
|
+
apiBase?: string | undefined;
|
|
7025
|
+
/**
|
|
7026
|
+
* <p>The maximum number of tokens to allow in the generated response per iteration.</p>
|
|
7027
|
+
* @public
|
|
7028
|
+
*/
|
|
7029
|
+
maxTokens?: number | undefined;
|
|
7030
|
+
/**
|
|
7031
|
+
* <p>The temperature to set when calling the model.</p>
|
|
7032
|
+
* @public
|
|
7033
|
+
*/
|
|
7034
|
+
temperature?: number | undefined;
|
|
7035
|
+
/**
|
|
7036
|
+
* <p>The topP set when calling the model.</p>
|
|
7037
|
+
* @public
|
|
7038
|
+
*/
|
|
7039
|
+
topP?: number | undefined;
|
|
7040
|
+
/**
|
|
7041
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
7042
|
+
* @public
|
|
7043
|
+
*/
|
|
7044
|
+
additionalParams?: __DocumentType | undefined;
|
|
7045
|
+
}
|
|
6990
7046
|
/**
|
|
6991
7047
|
* <p>Configuration for an OpenAI model provider. Requires an API key stored in AgentCore Identity.</p>
|
|
6992
7048
|
* @public
|
|
@@ -7017,12 +7073,22 @@ export interface HarnessOpenAiModelConfig {
|
|
|
7017
7073
|
* @public
|
|
7018
7074
|
*/
|
|
7019
7075
|
topP?: number | undefined;
|
|
7076
|
+
/**
|
|
7077
|
+
* <p>The API format to use when calling the OpenAI provider.</p>
|
|
7078
|
+
* @public
|
|
7079
|
+
*/
|
|
7080
|
+
apiFormat?: HarnessOpenAiApiFormat | undefined;
|
|
7081
|
+
/**
|
|
7082
|
+
* <p>Provider-specific parameters passed through to the model provider unchanged.</p>
|
|
7083
|
+
* @public
|
|
7084
|
+
*/
|
|
7085
|
+
additionalParams?: __DocumentType | undefined;
|
|
7020
7086
|
}
|
|
7021
7087
|
/**
|
|
7022
7088
|
* <p>Specification of which model to use.</p>
|
|
7023
7089
|
* @public
|
|
7024
7090
|
*/
|
|
7025
|
-
export type HarnessModelConfiguration = HarnessModelConfiguration.BedrockModelConfigMember | HarnessModelConfiguration.GeminiModelConfigMember | HarnessModelConfiguration.OpenAiModelConfigMember | HarnessModelConfiguration.$UnknownMember;
|
|
7091
|
+
export type HarnessModelConfiguration = HarnessModelConfiguration.BedrockModelConfigMember | HarnessModelConfiguration.GeminiModelConfigMember | HarnessModelConfiguration.LiteLlmModelConfigMember | HarnessModelConfiguration.OpenAiModelConfigMember | HarnessModelConfiguration.$UnknownMember;
|
|
7026
7092
|
/**
|
|
7027
7093
|
* @public
|
|
7028
7094
|
*/
|
|
@@ -7035,6 +7101,7 @@ export declare namespace HarnessModelConfiguration {
|
|
|
7035
7101
|
bedrockModelConfig: HarnessBedrockModelConfig;
|
|
7036
7102
|
openAiModelConfig?: never;
|
|
7037
7103
|
geminiModelConfig?: never;
|
|
7104
|
+
liteLlmModelConfig?: never;
|
|
7038
7105
|
$unknown?: never;
|
|
7039
7106
|
}
|
|
7040
7107
|
/**
|
|
@@ -7045,6 +7112,7 @@ export declare namespace HarnessModelConfiguration {
|
|
|
7045
7112
|
bedrockModelConfig?: never;
|
|
7046
7113
|
openAiModelConfig: HarnessOpenAiModelConfig;
|
|
7047
7114
|
geminiModelConfig?: never;
|
|
7115
|
+
liteLlmModelConfig?: never;
|
|
7048
7116
|
$unknown?: never;
|
|
7049
7117
|
}
|
|
7050
7118
|
/**
|
|
@@ -7055,6 +7123,18 @@ export declare namespace HarnessModelConfiguration {
|
|
|
7055
7123
|
bedrockModelConfig?: never;
|
|
7056
7124
|
openAiModelConfig?: never;
|
|
7057
7125
|
geminiModelConfig: HarnessGeminiModelConfig;
|
|
7126
|
+
liteLlmModelConfig?: never;
|
|
7127
|
+
$unknown?: never;
|
|
7128
|
+
}
|
|
7129
|
+
/**
|
|
7130
|
+
* <p>The LiteLLM model configuration for connecting to third-party model providers.</p>
|
|
7131
|
+
* @public
|
|
7132
|
+
*/
|
|
7133
|
+
interface LiteLlmModelConfigMember {
|
|
7134
|
+
bedrockModelConfig?: never;
|
|
7135
|
+
openAiModelConfig?: never;
|
|
7136
|
+
geminiModelConfig?: never;
|
|
7137
|
+
liteLlmModelConfig: HarnessLiteLlmModelConfig;
|
|
7058
7138
|
$unknown?: never;
|
|
7059
7139
|
}
|
|
7060
7140
|
/**
|
|
@@ -7064,6 +7144,7 @@ export declare namespace HarnessModelConfiguration {
|
|
|
7064
7144
|
bedrockModelConfig?: never;
|
|
7065
7145
|
openAiModelConfig?: never;
|
|
7066
7146
|
geminiModelConfig?: never;
|
|
7147
|
+
liteLlmModelConfig?: never;
|
|
7067
7148
|
$unknown: [string, any];
|
|
7068
7149
|
}
|
|
7069
7150
|
/**
|
|
@@ -7074,14 +7155,63 @@ export declare namespace HarnessModelConfiguration {
|
|
|
7074
7155
|
bedrockModelConfig: (value: HarnessBedrockModelConfig) => T;
|
|
7075
7156
|
openAiModelConfig: (value: HarnessOpenAiModelConfig) => T;
|
|
7076
7157
|
geminiModelConfig: (value: HarnessGeminiModelConfig) => T;
|
|
7158
|
+
liteLlmModelConfig: (value: HarnessLiteLlmModelConfig) => T;
|
|
7077
7159
|
_: (name: string, value: any) => T;
|
|
7078
7160
|
}
|
|
7079
7161
|
}
|
|
7162
|
+
/**
|
|
7163
|
+
* <p>Authentication configuration for accessing a private git repository.</p>
|
|
7164
|
+
* @public
|
|
7165
|
+
*/
|
|
7166
|
+
export interface HarnessSkillGitAuth {
|
|
7167
|
+
/**
|
|
7168
|
+
* <p>The ARN of the credential in AgentCore Identity containing the password or personal access token.</p>
|
|
7169
|
+
* @public
|
|
7170
|
+
*/
|
|
7171
|
+
credentialArn: string | undefined;
|
|
7172
|
+
/**
|
|
7173
|
+
* <p>Username for authentication. Defaults to 'oauth2' if not specified.</p>
|
|
7174
|
+
* @public
|
|
7175
|
+
*/
|
|
7176
|
+
username?: string | undefined;
|
|
7177
|
+
}
|
|
7178
|
+
/**
|
|
7179
|
+
* <p>A git repository source for a skill.</p>
|
|
7180
|
+
* @public
|
|
7181
|
+
*/
|
|
7182
|
+
export interface HarnessSkillGitSource {
|
|
7183
|
+
/**
|
|
7184
|
+
* <p>The HTTPS URL of the git repository.</p>
|
|
7185
|
+
* @public
|
|
7186
|
+
*/
|
|
7187
|
+
url: string | undefined;
|
|
7188
|
+
/**
|
|
7189
|
+
* <p>Subdirectory within the repository containing the skill.</p>
|
|
7190
|
+
* @public
|
|
7191
|
+
*/
|
|
7192
|
+
path?: string | undefined;
|
|
7193
|
+
/**
|
|
7194
|
+
* <p>Authentication configuration for private repositories.</p>
|
|
7195
|
+
* @public
|
|
7196
|
+
*/
|
|
7197
|
+
auth?: HarnessSkillGitAuth | undefined;
|
|
7198
|
+
}
|
|
7199
|
+
/**
|
|
7200
|
+
* <p>An S3 source for a skill.</p>
|
|
7201
|
+
* @public
|
|
7202
|
+
*/
|
|
7203
|
+
export interface HarnessSkillS3Source {
|
|
7204
|
+
/**
|
|
7205
|
+
* <p>The S3 URI pointing to the skill directory (e.g., s3://bucket/skills/my-skill/).</p>
|
|
7206
|
+
* @public
|
|
7207
|
+
*/
|
|
7208
|
+
uri: string | undefined;
|
|
7209
|
+
}
|
|
7080
7210
|
/**
|
|
7081
7211
|
* <p>A skill available to the agent.</p>
|
|
7082
7212
|
* @public
|
|
7083
7213
|
*/
|
|
7084
|
-
export type HarnessSkill = HarnessSkill.PathMember | HarnessSkill.$UnknownMember;
|
|
7214
|
+
export type HarnessSkill = HarnessSkill.GitMember | HarnessSkill.PathMember | HarnessSkill.S3Member | HarnessSkill.$UnknownMember;
|
|
7085
7215
|
/**
|
|
7086
7216
|
* @public
|
|
7087
7217
|
*/
|
|
@@ -7092,6 +7222,28 @@ export declare namespace HarnessSkill {
|
|
|
7092
7222
|
*/
|
|
7093
7223
|
interface PathMember {
|
|
7094
7224
|
path: string;
|
|
7225
|
+
s3?: never;
|
|
7226
|
+
git?: never;
|
|
7227
|
+
$unknown?: never;
|
|
7228
|
+
}
|
|
7229
|
+
/**
|
|
7230
|
+
* <p>An S3 source containing the skill.</p>
|
|
7231
|
+
* @public
|
|
7232
|
+
*/
|
|
7233
|
+
interface S3Member {
|
|
7234
|
+
path?: never;
|
|
7235
|
+
s3: HarnessSkillS3Source;
|
|
7236
|
+
git?: never;
|
|
7237
|
+
$unknown?: never;
|
|
7238
|
+
}
|
|
7239
|
+
/**
|
|
7240
|
+
* <p>A git repository containing the skill.</p>
|
|
7241
|
+
* @public
|
|
7242
|
+
*/
|
|
7243
|
+
interface GitMember {
|
|
7244
|
+
path?: never;
|
|
7245
|
+
s3?: never;
|
|
7246
|
+
git: HarnessSkillGitSource;
|
|
7095
7247
|
$unknown?: never;
|
|
7096
7248
|
}
|
|
7097
7249
|
/**
|
|
@@ -7099,6 +7251,8 @@ export declare namespace HarnessSkill {
|
|
|
7099
7251
|
*/
|
|
7100
7252
|
interface $UnknownMember {
|
|
7101
7253
|
path?: never;
|
|
7254
|
+
s3?: never;
|
|
7255
|
+
git?: never;
|
|
7102
7256
|
$unknown: [string, any];
|
|
7103
7257
|
}
|
|
7104
7258
|
/**
|
|
@@ -7107,6 +7261,8 @@ export declare namespace HarnessSkill {
|
|
|
7107
7261
|
*/
|
|
7108
7262
|
interface Visitor<T> {
|
|
7109
7263
|
path: (value: string) => T;
|
|
7264
|
+
s3: (value: HarnessSkillS3Source) => T;
|
|
7265
|
+
git: (value: HarnessSkillGitSource) => T;
|
|
7110
7266
|
_: (name: string, value: any) => T;
|
|
7111
7267
|
}
|
|
7112
7268
|
}
|
|
@@ -7200,7 +7356,7 @@ export declare namespace HarnessGatewayOutboundAuth {
|
|
|
7200
7356
|
$unknown?: never;
|
|
7201
7357
|
}
|
|
7202
7358
|
/**
|
|
7203
|
-
* <p>
|
|
7359
|
+
* <p>Use OAuth credentials for outbound authentication to the gateway.</p>
|
|
7204
7360
|
* @public
|
|
7205
7361
|
*/
|
|
7206
7362
|
interface OauthMember {
|
|
@@ -8054,67 +8210,3 @@ export interface IndexedKey {
|
|
|
8054
8210
|
*/
|
|
8055
8211
|
type: MetadataValueType | undefined;
|
|
8056
8212
|
}
|
|
8057
|
-
/**
|
|
8058
|
-
* <p>Configurations for overriding the consolidation step of the episodic memory strategy.</p>
|
|
8059
|
-
* @public
|
|
8060
|
-
*/
|
|
8061
|
-
export interface EpisodicOverrideConsolidationConfigurationInput {
|
|
8062
|
-
/**
|
|
8063
|
-
* <p>The text to append to the prompt for the consolidation step of the episodic memory strategy.</p>
|
|
8064
|
-
* @public
|
|
8065
|
-
*/
|
|
8066
|
-
appendToPrompt: string | undefined;
|
|
8067
|
-
/**
|
|
8068
|
-
* <p>The model ID to use for the consolidation step of the episodic memory strategy.</p>
|
|
8069
|
-
* @public
|
|
8070
|
-
*/
|
|
8071
|
-
modelId: string | undefined;
|
|
8072
|
-
}
|
|
8073
|
-
/**
|
|
8074
|
-
* <p>Configurations for overriding the extraction step of the episodic memory strategy.</p>
|
|
8075
|
-
* @public
|
|
8076
|
-
*/
|
|
8077
|
-
export interface EpisodicOverrideExtractionConfigurationInput {
|
|
8078
|
-
/**
|
|
8079
|
-
* <p>The text to append to the prompt for the extraction step of the episodic memory strategy.</p>
|
|
8080
|
-
* @public
|
|
8081
|
-
*/
|
|
8082
|
-
appendToPrompt: string | undefined;
|
|
8083
|
-
/**
|
|
8084
|
-
* <p>The model ID to use for the extraction step of the episodic memory strategy.</p>
|
|
8085
|
-
* @public
|
|
8086
|
-
*/
|
|
8087
|
-
modelId: string | undefined;
|
|
8088
|
-
}
|
|
8089
|
-
/**
|
|
8090
|
-
* <p>Validation for NUMBER fields.</p>
|
|
8091
|
-
* @public
|
|
8092
|
-
*/
|
|
8093
|
-
export interface NumberValidation {
|
|
8094
|
-
/**
|
|
8095
|
-
* <p>Minimum allowed value.</p>
|
|
8096
|
-
* @public
|
|
8097
|
-
*/
|
|
8098
|
-
minValue?: number | undefined;
|
|
8099
|
-
/**
|
|
8100
|
-
* <p>Maximum allowed value.</p>
|
|
8101
|
-
* @public
|
|
8102
|
-
*/
|
|
8103
|
-
maxValue?: number | undefined;
|
|
8104
|
-
}
|
|
8105
|
-
/**
|
|
8106
|
-
* <p>Validation for STRINGLIST fields.</p>
|
|
8107
|
-
* @public
|
|
8108
|
-
*/
|
|
8109
|
-
export interface StringListValidation {
|
|
8110
|
-
/**
|
|
8111
|
-
* <p>Allowed values for items in this STRINGLIST field.</p>
|
|
8112
|
-
* @public
|
|
8113
|
-
*/
|
|
8114
|
-
allowedValues?: string[] | undefined;
|
|
8115
|
-
/**
|
|
8116
|
-
* <p>Maximum number of items in the string list.</p>
|
|
8117
|
-
* @public
|
|
8118
|
-
*/
|
|
8119
|
-
maxItems?: number | undefined;
|
|
8120
|
-
}
|