@aws-sdk/client-bedrock-agentcore-control 3.1034.0 → 3.1036.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 +14 -14
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { CreateHarnessRequest, CreateHarnessResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateHarnessCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateHarnessCommandInput extends CreateHarnessRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateHarnessCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateHarnessCommandOutput extends CreateHarnessResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateHarnessCommand_base: {
|
|
25
|
+
new (input: CreateHarnessCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHarnessCommandInput, CreateHarnessCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateHarnessCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHarnessCommandInput, CreateHarnessCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Operation to create a Harness.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateHarnessCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateHarnessCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // CreateHarnessRequest
|
|
40
|
+
* harnessName: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* executionRoleArn: "STRING_VALUE", // required
|
|
43
|
+
* environment: { // HarnessEnvironmentProviderRequest Union: only one key present
|
|
44
|
+
* agentCoreRuntimeEnvironment: { // HarnessAgentCoreRuntimeEnvironmentRequest
|
|
45
|
+
* lifecycleConfiguration: { // LifecycleConfiguration
|
|
46
|
+
* idleRuntimeSessionTimeout: Number("int"),
|
|
47
|
+
* maxLifetime: Number("int"),
|
|
48
|
+
* },
|
|
49
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
50
|
+
* networkMode: "PUBLIC" || "VPC", // required
|
|
51
|
+
* networkModeConfig: { // VpcConfig
|
|
52
|
+
* securityGroups: [ // SecurityGroups // required
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* subnets: [ // Subnets // required
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* filesystemConfigurations: [ // FilesystemConfigurations
|
|
61
|
+
* { // FilesystemConfiguration Union: only one key present
|
|
62
|
+
* sessionStorage: { // SessionStorageConfiguration
|
|
63
|
+
* mountPath: "STRING_VALUE", // required
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* environmentArtifact: { // HarnessEnvironmentArtifact Union: only one key present
|
|
70
|
+
* containerConfiguration: { // ContainerConfiguration
|
|
71
|
+
* containerUri: "STRING_VALUE", // required
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* environmentVariables: { // EnvironmentVariablesMap
|
|
75
|
+
* "<keys>": "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
78
|
+
* customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
79
|
+
* discoveryUrl: "STRING_VALUE", // required
|
|
80
|
+
* allowedAudience: [ // AllowedAudienceList
|
|
81
|
+
* "STRING_VALUE",
|
|
82
|
+
* ],
|
|
83
|
+
* allowedClients: [ // AllowedClientsList
|
|
84
|
+
* "STRING_VALUE",
|
|
85
|
+
* ],
|
|
86
|
+
* allowedScopes: [ // AllowedScopesType
|
|
87
|
+
* "STRING_VALUE",
|
|
88
|
+
* ],
|
|
89
|
+
* customClaims: [ // CustomClaimValidationsType
|
|
90
|
+
* { // CustomClaimValidationType
|
|
91
|
+
* inboundTokenClaimName: "STRING_VALUE", // required
|
|
92
|
+
* inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
93
|
+
* authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
94
|
+
* claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
95
|
+
* matchValueString: "STRING_VALUE",
|
|
96
|
+
* matchValueStringList: [ // MatchValueStringList
|
|
97
|
+
* "STRING_VALUE",
|
|
98
|
+
* ],
|
|
99
|
+
* },
|
|
100
|
+
* claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* model: { // HarnessModelConfiguration Union: only one key present
|
|
107
|
+
* bedrockModelConfig: { // HarnessBedrockModelConfig
|
|
108
|
+
* modelId: "STRING_VALUE", // required
|
|
109
|
+
* maxTokens: Number("int"),
|
|
110
|
+
* temperature: Number("float"),
|
|
111
|
+
* topP: Number("float"),
|
|
112
|
+
* },
|
|
113
|
+
* openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
114
|
+
* modelId: "STRING_VALUE", // required
|
|
115
|
+
* apiKeyArn: "STRING_VALUE", // required
|
|
116
|
+
* maxTokens: Number("int"),
|
|
117
|
+
* temperature: Number("float"),
|
|
118
|
+
* topP: Number("float"),
|
|
119
|
+
* },
|
|
120
|
+
* geminiModelConfig: { // HarnessGeminiModelConfig
|
|
121
|
+
* modelId: "STRING_VALUE", // required
|
|
122
|
+
* apiKeyArn: "STRING_VALUE", // required
|
|
123
|
+
* maxTokens: Number("int"),
|
|
124
|
+
* temperature: Number("float"),
|
|
125
|
+
* topP: Number("float"),
|
|
126
|
+
* topK: Number("int"),
|
|
127
|
+
* },
|
|
128
|
+
* },
|
|
129
|
+
* systemPrompt: [ // HarnessSystemPrompt
|
|
130
|
+
* { // HarnessSystemContentBlock Union: only one key present
|
|
131
|
+
* text: "STRING_VALUE",
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* tools: [ // HarnessTools
|
|
135
|
+
* { // HarnessTool
|
|
136
|
+
* type: "remote_mcp" || "agentcore_browser" || "agentcore_gateway" || "inline_function" || "agentcore_code_interpreter", // required
|
|
137
|
+
* name: "STRING_VALUE",
|
|
138
|
+
* config: { // HarnessToolConfiguration Union: only one key present
|
|
139
|
+
* remoteMcp: { // HarnessRemoteMcpConfig
|
|
140
|
+
* url: "STRING_VALUE", // required
|
|
141
|
+
* headers: { // HttpHeadersMap
|
|
142
|
+
* "<keys>": "STRING_VALUE",
|
|
143
|
+
* },
|
|
144
|
+
* },
|
|
145
|
+
* agentCoreBrowser: { // HarnessAgentCoreBrowserConfig
|
|
146
|
+
* browserArn: "STRING_VALUE",
|
|
147
|
+
* },
|
|
148
|
+
* agentCoreGateway: { // HarnessAgentCoreGatewayConfig
|
|
149
|
+
* gatewayArn: "STRING_VALUE", // required
|
|
150
|
+
* outboundAuth: { // HarnessGatewayOutboundAuth Union: only one key present
|
|
151
|
+
* awsIam: {},
|
|
152
|
+
* none: {},
|
|
153
|
+
* oauth: { // OAuthCredentialProvider
|
|
154
|
+
* providerArn: "STRING_VALUE", // required
|
|
155
|
+
* scopes: [ // OAuthScopes // required
|
|
156
|
+
* "STRING_VALUE",
|
|
157
|
+
* ],
|
|
158
|
+
* customParameters: { // OAuthCustomParameters
|
|
159
|
+
* "<keys>": "STRING_VALUE",
|
|
160
|
+
* },
|
|
161
|
+
* grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
162
|
+
* defaultReturnUrl: "STRING_VALUE",
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* },
|
|
166
|
+
* inlineFunction: { // HarnessInlineFunctionConfig
|
|
167
|
+
* description: "STRING_VALUE", // required
|
|
168
|
+
* inputSchema: "DOCUMENT_VALUE", // required
|
|
169
|
+
* },
|
|
170
|
+
* agentCoreCodeInterpreter: { // HarnessAgentCoreCodeInterpreterConfig
|
|
171
|
+
* codeInterpreterArn: "STRING_VALUE",
|
|
172
|
+
* },
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
176
|
+
* skills: [ // HarnessSkills
|
|
177
|
+
* { // HarnessSkill Union: only one key present
|
|
178
|
+
* path: "STRING_VALUE",
|
|
179
|
+
* },
|
|
180
|
+
* ],
|
|
181
|
+
* allowedTools: [ // HarnessAllowedTools
|
|
182
|
+
* "STRING_VALUE",
|
|
183
|
+
* ],
|
|
184
|
+
* memory: { // HarnessMemoryConfiguration Union: only one key present
|
|
185
|
+
* agentCoreMemoryConfiguration: { // HarnessAgentCoreMemoryConfiguration
|
|
186
|
+
* arn: "STRING_VALUE", // required
|
|
187
|
+
* actorId: "STRING_VALUE",
|
|
188
|
+
* messagesCount: Number("int"),
|
|
189
|
+
* retrievalConfig: { // HarnessAgentCoreMemoryRetrievalConfigs
|
|
190
|
+
* "<keys>": { // HarnessAgentCoreMemoryRetrievalConfig
|
|
191
|
+
* topK: Number("int"),
|
|
192
|
+
* relevanceScore: Number("float"),
|
|
193
|
+
* strategyId: "STRING_VALUE",
|
|
194
|
+
* },
|
|
195
|
+
* },
|
|
196
|
+
* },
|
|
197
|
+
* },
|
|
198
|
+
* truncation: { // HarnessTruncationConfiguration
|
|
199
|
+
* strategy: "sliding_window" || "summarization" || "none", // required
|
|
200
|
+
* config: { // HarnessTruncationStrategyConfiguration Union: only one key present
|
|
201
|
+
* slidingWindow: { // HarnessSlidingWindowConfiguration
|
|
202
|
+
* messagesCount: Number("int"),
|
|
203
|
+
* },
|
|
204
|
+
* summarization: { // HarnessSummarizationConfiguration
|
|
205
|
+
* summaryRatio: Number("float"),
|
|
206
|
+
* preserveRecentMessages: Number("int"),
|
|
207
|
+
* summarizationSystemPrompt: "STRING_VALUE",
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
210
|
+
* },
|
|
211
|
+
* maxIterations: Number("int"),
|
|
212
|
+
* maxTokens: Number("int"),
|
|
213
|
+
* timeoutSeconds: Number("int"),
|
|
214
|
+
* tags: { // TagsMap
|
|
215
|
+
* "<keys>": "STRING_VALUE",
|
|
216
|
+
* },
|
|
217
|
+
* };
|
|
218
|
+
* const command = new CreateHarnessCommand(input);
|
|
219
|
+
* const response = await client.send(command);
|
|
220
|
+
* // { // CreateHarnessResponse
|
|
221
|
+
* // harness: { // Harness
|
|
222
|
+
* // harnessId: "STRING_VALUE", // required
|
|
223
|
+
* // harnessName: "STRING_VALUE", // required
|
|
224
|
+
* // arn: "STRING_VALUE", // required
|
|
225
|
+
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
|
|
226
|
+
* // executionRoleArn: "STRING_VALUE", // required
|
|
227
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
228
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
229
|
+
* // model: { // HarnessModelConfiguration Union: only one key present
|
|
230
|
+
* // bedrockModelConfig: { // HarnessBedrockModelConfig
|
|
231
|
+
* // modelId: "STRING_VALUE", // required
|
|
232
|
+
* // maxTokens: Number("int"),
|
|
233
|
+
* // temperature: Number("float"),
|
|
234
|
+
* // topP: Number("float"),
|
|
235
|
+
* // },
|
|
236
|
+
* // openAiModelConfig: { // HarnessOpenAiModelConfig
|
|
237
|
+
* // modelId: "STRING_VALUE", // required
|
|
238
|
+
* // apiKeyArn: "STRING_VALUE", // required
|
|
239
|
+
* // maxTokens: Number("int"),
|
|
240
|
+
* // temperature: Number("float"),
|
|
241
|
+
* // topP: Number("float"),
|
|
242
|
+
* // },
|
|
243
|
+
* // geminiModelConfig: { // HarnessGeminiModelConfig
|
|
244
|
+
* // modelId: "STRING_VALUE", // required
|
|
245
|
+
* // apiKeyArn: "STRING_VALUE", // required
|
|
246
|
+
* // maxTokens: Number("int"),
|
|
247
|
+
* // temperature: Number("float"),
|
|
248
|
+
* // topP: Number("float"),
|
|
249
|
+
* // topK: Number("int"),
|
|
250
|
+
* // },
|
|
251
|
+
* // },
|
|
252
|
+
* // systemPrompt: [ // HarnessSystemPrompt // required
|
|
253
|
+
* // { // HarnessSystemContentBlock Union: only one key present
|
|
254
|
+
* // text: "STRING_VALUE",
|
|
255
|
+
* // },
|
|
256
|
+
* // ],
|
|
257
|
+
* // tools: [ // HarnessTools // required
|
|
258
|
+
* // { // HarnessTool
|
|
259
|
+
* // type: "remote_mcp" || "agentcore_browser" || "agentcore_gateway" || "inline_function" || "agentcore_code_interpreter", // required
|
|
260
|
+
* // name: "STRING_VALUE",
|
|
261
|
+
* // config: { // HarnessToolConfiguration Union: only one key present
|
|
262
|
+
* // remoteMcp: { // HarnessRemoteMcpConfig
|
|
263
|
+
* // url: "STRING_VALUE", // required
|
|
264
|
+
* // headers: { // HttpHeadersMap
|
|
265
|
+
* // "<keys>": "STRING_VALUE",
|
|
266
|
+
* // },
|
|
267
|
+
* // },
|
|
268
|
+
* // agentCoreBrowser: { // HarnessAgentCoreBrowserConfig
|
|
269
|
+
* // browserArn: "STRING_VALUE",
|
|
270
|
+
* // },
|
|
271
|
+
* // agentCoreGateway: { // HarnessAgentCoreGatewayConfig
|
|
272
|
+
* // gatewayArn: "STRING_VALUE", // required
|
|
273
|
+
* // outboundAuth: { // HarnessGatewayOutboundAuth Union: only one key present
|
|
274
|
+
* // awsIam: {},
|
|
275
|
+
* // none: {},
|
|
276
|
+
* // oauth: { // OAuthCredentialProvider
|
|
277
|
+
* // providerArn: "STRING_VALUE", // required
|
|
278
|
+
* // scopes: [ // OAuthScopes // required
|
|
279
|
+
* // "STRING_VALUE",
|
|
280
|
+
* // ],
|
|
281
|
+
* // customParameters: { // OAuthCustomParameters
|
|
282
|
+
* // "<keys>": "STRING_VALUE",
|
|
283
|
+
* // },
|
|
284
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
285
|
+
* // defaultReturnUrl: "STRING_VALUE",
|
|
286
|
+
* // },
|
|
287
|
+
* // },
|
|
288
|
+
* // },
|
|
289
|
+
* // inlineFunction: { // HarnessInlineFunctionConfig
|
|
290
|
+
* // description: "STRING_VALUE", // required
|
|
291
|
+
* // inputSchema: "DOCUMENT_VALUE", // required
|
|
292
|
+
* // },
|
|
293
|
+
* // agentCoreCodeInterpreter: { // HarnessAgentCoreCodeInterpreterConfig
|
|
294
|
+
* // codeInterpreterArn: "STRING_VALUE",
|
|
295
|
+
* // },
|
|
296
|
+
* // },
|
|
297
|
+
* // },
|
|
298
|
+
* // ],
|
|
299
|
+
* // skills: [ // HarnessSkills // required
|
|
300
|
+
* // { // HarnessSkill Union: only one key present
|
|
301
|
+
* // path: "STRING_VALUE",
|
|
302
|
+
* // },
|
|
303
|
+
* // ],
|
|
304
|
+
* // allowedTools: [ // HarnessAllowedTools // required
|
|
305
|
+
* // "STRING_VALUE",
|
|
306
|
+
* // ],
|
|
307
|
+
* // truncation: { // HarnessTruncationConfiguration
|
|
308
|
+
* // strategy: "sliding_window" || "summarization" || "none", // required
|
|
309
|
+
* // config: { // HarnessTruncationStrategyConfiguration Union: only one key present
|
|
310
|
+
* // slidingWindow: { // HarnessSlidingWindowConfiguration
|
|
311
|
+
* // messagesCount: Number("int"),
|
|
312
|
+
* // },
|
|
313
|
+
* // summarization: { // HarnessSummarizationConfiguration
|
|
314
|
+
* // summaryRatio: Number("float"),
|
|
315
|
+
* // preserveRecentMessages: Number("int"),
|
|
316
|
+
* // summarizationSystemPrompt: "STRING_VALUE",
|
|
317
|
+
* // },
|
|
318
|
+
* // },
|
|
319
|
+
* // },
|
|
320
|
+
* // environment: { // HarnessEnvironmentProvider Union: only one key present
|
|
321
|
+
* // agentCoreRuntimeEnvironment: { // HarnessAgentCoreRuntimeEnvironment
|
|
322
|
+
* // agentRuntimeArn: "STRING_VALUE", // required
|
|
323
|
+
* // agentRuntimeName: "STRING_VALUE", // required
|
|
324
|
+
* // agentRuntimeId: "STRING_VALUE", // required
|
|
325
|
+
* // lifecycleConfiguration: { // LifecycleConfiguration
|
|
326
|
+
* // idleRuntimeSessionTimeout: Number("int"),
|
|
327
|
+
* // maxLifetime: Number("int"),
|
|
328
|
+
* // },
|
|
329
|
+
* // networkConfiguration: { // NetworkConfiguration
|
|
330
|
+
* // networkMode: "PUBLIC" || "VPC", // required
|
|
331
|
+
* // networkModeConfig: { // VpcConfig
|
|
332
|
+
* // securityGroups: [ // SecurityGroups // required
|
|
333
|
+
* // "STRING_VALUE",
|
|
334
|
+
* // ],
|
|
335
|
+
* // subnets: [ // Subnets // required
|
|
336
|
+
* // "STRING_VALUE",
|
|
337
|
+
* // ],
|
|
338
|
+
* // },
|
|
339
|
+
* // },
|
|
340
|
+
* // filesystemConfigurations: [ // FilesystemConfigurations
|
|
341
|
+
* // { // FilesystemConfiguration Union: only one key present
|
|
342
|
+
* // sessionStorage: { // SessionStorageConfiguration
|
|
343
|
+
* // mountPath: "STRING_VALUE", // required
|
|
344
|
+
* // },
|
|
345
|
+
* // },
|
|
346
|
+
* // ],
|
|
347
|
+
* // },
|
|
348
|
+
* // },
|
|
349
|
+
* // environmentArtifact: { // HarnessEnvironmentArtifact Union: only one key present
|
|
350
|
+
* // containerConfiguration: { // ContainerConfiguration
|
|
351
|
+
* // containerUri: "STRING_VALUE", // required
|
|
352
|
+
* // },
|
|
353
|
+
* // },
|
|
354
|
+
* // environmentVariables: { // EnvironmentVariablesMap
|
|
355
|
+
* // "<keys>": "STRING_VALUE",
|
|
356
|
+
* // },
|
|
357
|
+
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
358
|
+
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
359
|
+
* // discoveryUrl: "STRING_VALUE", // required
|
|
360
|
+
* // allowedAudience: [ // AllowedAudienceList
|
|
361
|
+
* // "STRING_VALUE",
|
|
362
|
+
* // ],
|
|
363
|
+
* // allowedClients: [ // AllowedClientsList
|
|
364
|
+
* // "STRING_VALUE",
|
|
365
|
+
* // ],
|
|
366
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
367
|
+
* // "STRING_VALUE",
|
|
368
|
+
* // ],
|
|
369
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
370
|
+
* // { // CustomClaimValidationType
|
|
371
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
372
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
373
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
374
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
375
|
+
* // matchValueString: "STRING_VALUE",
|
|
376
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
377
|
+
* // "STRING_VALUE",
|
|
378
|
+
* // ],
|
|
379
|
+
* // },
|
|
380
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
381
|
+
* // },
|
|
382
|
+
* // },
|
|
383
|
+
* // ],
|
|
384
|
+
* // },
|
|
385
|
+
* // },
|
|
386
|
+
* // memory: { // HarnessMemoryConfiguration Union: only one key present
|
|
387
|
+
* // agentCoreMemoryConfiguration: { // HarnessAgentCoreMemoryConfiguration
|
|
388
|
+
* // arn: "STRING_VALUE", // required
|
|
389
|
+
* // actorId: "STRING_VALUE",
|
|
390
|
+
* // messagesCount: Number("int"),
|
|
391
|
+
* // retrievalConfig: { // HarnessAgentCoreMemoryRetrievalConfigs
|
|
392
|
+
* // "<keys>": { // HarnessAgentCoreMemoryRetrievalConfig
|
|
393
|
+
* // topK: Number("int"),
|
|
394
|
+
* // relevanceScore: Number("float"),
|
|
395
|
+
* // strategyId: "STRING_VALUE",
|
|
396
|
+
* // },
|
|
397
|
+
* // },
|
|
398
|
+
* // },
|
|
399
|
+
* // },
|
|
400
|
+
* // maxIterations: Number("int"),
|
|
401
|
+
* // maxTokens: Number("int"),
|
|
402
|
+
* // timeoutSeconds: Number("int"),
|
|
403
|
+
* // failureReason: "STRING_VALUE",
|
|
404
|
+
* // },
|
|
405
|
+
* // };
|
|
406
|
+
*
|
|
407
|
+
* ```
|
|
408
|
+
*
|
|
409
|
+
* @param CreateHarnessCommandInput - {@link CreateHarnessCommandInput}
|
|
410
|
+
* @returns {@link CreateHarnessCommandOutput}
|
|
411
|
+
* @see {@link CreateHarnessCommandInput} for command's `input` shape.
|
|
412
|
+
* @see {@link CreateHarnessCommandOutput} for command's `response` shape.
|
|
413
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
414
|
+
*
|
|
415
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
416
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
417
|
+
*
|
|
418
|
+
* @throws {@link ConflictException} (client fault)
|
|
419
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
420
|
+
*
|
|
421
|
+
* @throws {@link InternalServerException} (server fault)
|
|
422
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
423
|
+
*
|
|
424
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
425
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
426
|
+
*
|
|
427
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
428
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
429
|
+
*
|
|
430
|
+
* @throws {@link ValidationException} (client fault)
|
|
431
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
432
|
+
*
|
|
433
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
434
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
435
|
+
*
|
|
436
|
+
*
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
export declare class CreateHarnessCommand extends CreateHarnessCommand_base {
|
|
440
|
+
/** @internal type navigation helper, not in runtime. */
|
|
441
|
+
protected static __types: {
|
|
442
|
+
api: {
|
|
443
|
+
input: CreateHarnessRequest;
|
|
444
|
+
output: CreateHarnessResponse;
|
|
445
|
+
};
|
|
446
|
+
sdk: {
|
|
447
|
+
input: CreateHarnessCommandInput;
|
|
448
|
+
output: CreateHarnessCommandOutput;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { CreateOauth2CredentialProviderRequest, CreateOauth2CredentialProviderResponse } from "../models/
|
|
4
|
+
import type { CreateOauth2CredentialProviderRequest, CreateOauth2CredentialProviderResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { CreateOnlineEvaluationConfigRequest, CreateOnlineEvaluationConfigResponse } from "../models/
|
|
4
|
+
import type { CreateOnlineEvaluationConfigRequest, CreateOnlineEvaluationConfigResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -91,7 +91,7 @@ declare const CreateOnlineEvaluationConfigCommand_base: {
|
|
|
91
91
|
* // logGroupName: "STRING_VALUE", // required
|
|
92
92
|
* // },
|
|
93
93
|
* // },
|
|
94
|
-
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
94
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ERROR", // required
|
|
95
95
|
* // executionStatus: "ENABLED" || "DISABLED", // required
|
|
96
96
|
* // failureReason: "STRING_VALUE",
|
|
97
97
|
* // };
|