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