@aws-sdk/client-bedrock-agentcore-control 3.1034.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.
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 +5 -5
@@ -0,0 +1,276 @@
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 { DeleteHarnessRequest, DeleteHarnessResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteHarnessCommand}.
14
+ */
15
+ export interface DeleteHarnessCommandInput extends DeleteHarnessRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteHarnessCommand}.
21
+ */
22
+ export interface DeleteHarnessCommandOutput extends DeleteHarnessResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteHarnessCommand_base: {
25
+ new (input: DeleteHarnessCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHarnessCommandInput, DeleteHarnessCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteHarnessCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHarnessCommandInput, DeleteHarnessCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Operation to delete 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, DeleteHarnessCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, DeleteHarnessCommand } = 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 = { // DeleteHarnessRequest
40
+ * harnessId: "STRING_VALUE", // required
41
+ * clientToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new DeleteHarnessCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DeleteHarnessResponse
46
+ * // harness: { // Harness
47
+ * // harnessId: "STRING_VALUE", // required
48
+ * // harnessName: "STRING_VALUE", // required
49
+ * // arn: "STRING_VALUE", // required
50
+ * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
51
+ * // executionRoleArn: "STRING_VALUE", // required
52
+ * // createdAt: new Date("TIMESTAMP"), // required
53
+ * // updatedAt: new Date("TIMESTAMP"), // required
54
+ * // model: { // HarnessModelConfiguration Union: only one key present
55
+ * // bedrockModelConfig: { // HarnessBedrockModelConfig
56
+ * // modelId: "STRING_VALUE", // required
57
+ * // maxTokens: Number("int"),
58
+ * // temperature: Number("float"),
59
+ * // topP: Number("float"),
60
+ * // },
61
+ * // openAiModelConfig: { // HarnessOpenAiModelConfig
62
+ * // modelId: "STRING_VALUE", // required
63
+ * // apiKeyArn: "STRING_VALUE", // required
64
+ * // maxTokens: Number("int"),
65
+ * // temperature: Number("float"),
66
+ * // topP: Number("float"),
67
+ * // },
68
+ * // geminiModelConfig: { // HarnessGeminiModelConfig
69
+ * // modelId: "STRING_VALUE", // required
70
+ * // apiKeyArn: "STRING_VALUE", // required
71
+ * // maxTokens: Number("int"),
72
+ * // temperature: Number("float"),
73
+ * // topP: Number("float"),
74
+ * // topK: Number("int"),
75
+ * // },
76
+ * // },
77
+ * // systemPrompt: [ // HarnessSystemPrompt // required
78
+ * // { // HarnessSystemContentBlock Union: only one key present
79
+ * // text: "STRING_VALUE",
80
+ * // },
81
+ * // ],
82
+ * // tools: [ // HarnessTools // required
83
+ * // { // HarnessTool
84
+ * // type: "remote_mcp" || "agentcore_browser" || "agentcore_gateway" || "inline_function" || "agentcore_code_interpreter", // required
85
+ * // name: "STRING_VALUE",
86
+ * // config: { // HarnessToolConfiguration Union: only one key present
87
+ * // remoteMcp: { // HarnessRemoteMcpConfig
88
+ * // url: "STRING_VALUE", // required
89
+ * // headers: { // HttpHeadersMap
90
+ * // "<keys>": "STRING_VALUE",
91
+ * // },
92
+ * // },
93
+ * // agentCoreBrowser: { // HarnessAgentCoreBrowserConfig
94
+ * // browserArn: "STRING_VALUE",
95
+ * // },
96
+ * // agentCoreGateway: { // HarnessAgentCoreGatewayConfig
97
+ * // gatewayArn: "STRING_VALUE", // required
98
+ * // outboundAuth: { // HarnessGatewayOutboundAuth Union: only one key present
99
+ * // awsIam: {},
100
+ * // none: {},
101
+ * // oauth: { // OAuthCredentialProvider
102
+ * // providerArn: "STRING_VALUE", // required
103
+ * // scopes: [ // OAuthScopes // required
104
+ * // "STRING_VALUE",
105
+ * // ],
106
+ * // customParameters: { // OAuthCustomParameters
107
+ * // "<keys>": "STRING_VALUE",
108
+ * // },
109
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
110
+ * // defaultReturnUrl: "STRING_VALUE",
111
+ * // },
112
+ * // },
113
+ * // },
114
+ * // inlineFunction: { // HarnessInlineFunctionConfig
115
+ * // description: "STRING_VALUE", // required
116
+ * // inputSchema: "DOCUMENT_VALUE", // required
117
+ * // },
118
+ * // agentCoreCodeInterpreter: { // HarnessAgentCoreCodeInterpreterConfig
119
+ * // codeInterpreterArn: "STRING_VALUE",
120
+ * // },
121
+ * // },
122
+ * // },
123
+ * // ],
124
+ * // skills: [ // HarnessSkills // required
125
+ * // { // HarnessSkill Union: only one key present
126
+ * // path: "STRING_VALUE",
127
+ * // },
128
+ * // ],
129
+ * // allowedTools: [ // HarnessAllowedTools // required
130
+ * // "STRING_VALUE",
131
+ * // ],
132
+ * // truncation: { // HarnessTruncationConfiguration
133
+ * // strategy: "sliding_window" || "summarization" || "none", // required
134
+ * // config: { // HarnessTruncationStrategyConfiguration Union: only one key present
135
+ * // slidingWindow: { // HarnessSlidingWindowConfiguration
136
+ * // messagesCount: Number("int"),
137
+ * // },
138
+ * // summarization: { // HarnessSummarizationConfiguration
139
+ * // summaryRatio: Number("float"),
140
+ * // preserveRecentMessages: Number("int"),
141
+ * // summarizationSystemPrompt: "STRING_VALUE",
142
+ * // },
143
+ * // },
144
+ * // },
145
+ * // environment: { // HarnessEnvironmentProvider Union: only one key present
146
+ * // agentCoreRuntimeEnvironment: { // HarnessAgentCoreRuntimeEnvironment
147
+ * // agentRuntimeArn: "STRING_VALUE", // required
148
+ * // agentRuntimeName: "STRING_VALUE", // required
149
+ * // agentRuntimeId: "STRING_VALUE", // required
150
+ * // lifecycleConfiguration: { // LifecycleConfiguration
151
+ * // idleRuntimeSessionTimeout: Number("int"),
152
+ * // maxLifetime: Number("int"),
153
+ * // },
154
+ * // networkConfiguration: { // NetworkConfiguration
155
+ * // networkMode: "PUBLIC" || "VPC", // required
156
+ * // networkModeConfig: { // VpcConfig
157
+ * // securityGroups: [ // SecurityGroups // required
158
+ * // "STRING_VALUE",
159
+ * // ],
160
+ * // subnets: [ // Subnets // required
161
+ * // "STRING_VALUE",
162
+ * // ],
163
+ * // },
164
+ * // },
165
+ * // filesystemConfigurations: [ // FilesystemConfigurations
166
+ * // { // FilesystemConfiguration Union: only one key present
167
+ * // sessionStorage: { // SessionStorageConfiguration
168
+ * // mountPath: "STRING_VALUE", // required
169
+ * // },
170
+ * // },
171
+ * // ],
172
+ * // },
173
+ * // },
174
+ * // environmentArtifact: { // HarnessEnvironmentArtifact Union: only one key present
175
+ * // containerConfiguration: { // ContainerConfiguration
176
+ * // containerUri: "STRING_VALUE", // required
177
+ * // },
178
+ * // },
179
+ * // environmentVariables: { // EnvironmentVariablesMap
180
+ * // "<keys>": "STRING_VALUE",
181
+ * // },
182
+ * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
183
+ * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
184
+ * // discoveryUrl: "STRING_VALUE", // required
185
+ * // allowedAudience: [ // AllowedAudienceList
186
+ * // "STRING_VALUE",
187
+ * // ],
188
+ * // allowedClients: [ // AllowedClientsList
189
+ * // "STRING_VALUE",
190
+ * // ],
191
+ * // allowedScopes: [ // AllowedScopesType
192
+ * // "STRING_VALUE",
193
+ * // ],
194
+ * // customClaims: [ // CustomClaimValidationsType
195
+ * // { // CustomClaimValidationType
196
+ * // inboundTokenClaimName: "STRING_VALUE", // required
197
+ * // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
198
+ * // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
199
+ * // claimMatchValue: { // ClaimMatchValueType Union: only one key present
200
+ * // matchValueString: "STRING_VALUE",
201
+ * // matchValueStringList: [ // MatchValueStringList
202
+ * // "STRING_VALUE",
203
+ * // ],
204
+ * // },
205
+ * // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
206
+ * // },
207
+ * // },
208
+ * // ],
209
+ * // },
210
+ * // },
211
+ * // memory: { // HarnessMemoryConfiguration Union: only one key present
212
+ * // agentCoreMemoryConfiguration: { // HarnessAgentCoreMemoryConfiguration
213
+ * // arn: "STRING_VALUE", // required
214
+ * // actorId: "STRING_VALUE",
215
+ * // messagesCount: Number("int"),
216
+ * // retrievalConfig: { // HarnessAgentCoreMemoryRetrievalConfigs
217
+ * // "<keys>": { // HarnessAgentCoreMemoryRetrievalConfig
218
+ * // topK: Number("int"),
219
+ * // relevanceScore: Number("float"),
220
+ * // strategyId: "STRING_VALUE",
221
+ * // },
222
+ * // },
223
+ * // },
224
+ * // },
225
+ * // maxIterations: Number("int"),
226
+ * // maxTokens: Number("int"),
227
+ * // timeoutSeconds: Number("int"),
228
+ * // failureReason: "STRING_VALUE",
229
+ * // },
230
+ * // };
231
+ *
232
+ * ```
233
+ *
234
+ * @param DeleteHarnessCommandInput - {@link DeleteHarnessCommandInput}
235
+ * @returns {@link DeleteHarnessCommandOutput}
236
+ * @see {@link DeleteHarnessCommandInput} for command's `input` shape.
237
+ * @see {@link DeleteHarnessCommandOutput} for command's `response` shape.
238
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
239
+ *
240
+ * @throws {@link AccessDeniedException} (client fault)
241
+ * <p>This exception is thrown when a request is denied per access permissions</p>
242
+ *
243
+ * @throws {@link ConflictException} (client fault)
244
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
245
+ *
246
+ * @throws {@link InternalServerException} (server fault)
247
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
248
+ *
249
+ * @throws {@link ResourceNotFoundException} (client fault)
250
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
251
+ *
252
+ * @throws {@link ThrottlingException} (client fault)
253
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
254
+ *
255
+ * @throws {@link ValidationException} (client fault)
256
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
257
+ *
258
+ * @throws {@link BedrockAgentCoreControlServiceException}
259
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
260
+ *
261
+ *
262
+ * @public
263
+ */
264
+ export declare class DeleteHarnessCommand extends DeleteHarnessCommand_base {
265
+ /** @internal type navigation helper, not in runtime. */
266
+ protected static __types: {
267
+ api: {
268
+ input: DeleteHarnessRequest;
269
+ output: DeleteHarnessResponse;
270
+ };
271
+ sdk: {
272
+ input: DeleteHarnessCommandInput;
273
+ output: DeleteHarnessCommandOutput;
274
+ };
275
+ };
276
+ }
@@ -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 { DeleteOauth2CredentialProviderRequest, DeleteOauth2CredentialProviderResponse } from "../models/models_0";
4
+ import type { DeleteOauth2CredentialProviderRequest, DeleteOauth2CredentialProviderResponse } 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 { DeleteOnlineEvaluationConfigRequest, DeleteOnlineEvaluationConfigResponse } from "../models/models_0";
4
+ import type { DeleteOnlineEvaluationConfigRequest, DeleteOnlineEvaluationConfigResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -44,7 +44,7 @@ declare const DeleteOnlineEvaluationConfigCommand_base: {
44
44
  * // { // DeleteOnlineEvaluationConfigResponse
45
45
  * // onlineEvaluationConfigArn: "STRING_VALUE", // required
46
46
  * // onlineEvaluationConfigId: "STRING_VALUE", // required
47
- * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
47
+ * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ERROR", // required
48
48
  * // };
49
49
  *
50
50
  * ```
@@ -116,6 +116,7 @@ declare const GetGatewayTargetCommand_base: {
116
116
  * // },
117
117
  * // inlinePayload: "STRING_VALUE",
118
118
  * // },
119
+ * // resourcePriority: Number("int"),
119
120
  * // listingMode: "DEFAULT" || "DYNAMIC",
120
121
  * // },
121
122
  * // apiGateway: { // ApiGatewayTargetConfiguration
@@ -0,0 +1,272 @@
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 { GetHarnessRequest, GetHarnessResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetHarnessCommand}.
14
+ */
15
+ export interface GetHarnessCommandInput extends GetHarnessRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetHarnessCommand}.
21
+ */
22
+ export interface GetHarnessCommandOutput extends GetHarnessResponse, __MetadataBearer {
23
+ }
24
+ declare const GetHarnessCommand_base: {
25
+ new (input: GetHarnessCommandInput): import("@smithy/smithy-client").CommandImpl<GetHarnessCommandInput, GetHarnessCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetHarnessCommandInput): import("@smithy/smithy-client").CommandImpl<GetHarnessCommandInput, GetHarnessCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Operation to get a single 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, GetHarnessCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
35
+ * // const { BedrockAgentCoreControlClient, GetHarnessCommand } = 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 = { // GetHarnessRequest
40
+ * harnessId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetHarnessCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetHarnessResponse
45
+ * // harness: { // Harness
46
+ * // harnessId: "STRING_VALUE", // required
47
+ * // harnessName: "STRING_VALUE", // required
48
+ * // arn: "STRING_VALUE", // required
49
+ * // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
50
+ * // executionRoleArn: "STRING_VALUE", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // updatedAt: new Date("TIMESTAMP"), // required
53
+ * // model: { // HarnessModelConfiguration Union: only one key present
54
+ * // bedrockModelConfig: { // HarnessBedrockModelConfig
55
+ * // modelId: "STRING_VALUE", // required
56
+ * // maxTokens: Number("int"),
57
+ * // temperature: Number("float"),
58
+ * // topP: Number("float"),
59
+ * // },
60
+ * // openAiModelConfig: { // HarnessOpenAiModelConfig
61
+ * // modelId: "STRING_VALUE", // required
62
+ * // apiKeyArn: "STRING_VALUE", // required
63
+ * // maxTokens: Number("int"),
64
+ * // temperature: Number("float"),
65
+ * // topP: Number("float"),
66
+ * // },
67
+ * // geminiModelConfig: { // HarnessGeminiModelConfig
68
+ * // modelId: "STRING_VALUE", // required
69
+ * // apiKeyArn: "STRING_VALUE", // required
70
+ * // maxTokens: Number("int"),
71
+ * // temperature: Number("float"),
72
+ * // topP: Number("float"),
73
+ * // topK: Number("int"),
74
+ * // },
75
+ * // },
76
+ * // systemPrompt: [ // HarnessSystemPrompt // required
77
+ * // { // HarnessSystemContentBlock Union: only one key present
78
+ * // text: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // tools: [ // HarnessTools // required
82
+ * // { // HarnessTool
83
+ * // type: "remote_mcp" || "agentcore_browser" || "agentcore_gateway" || "inline_function" || "agentcore_code_interpreter", // required
84
+ * // name: "STRING_VALUE",
85
+ * // config: { // HarnessToolConfiguration Union: only one key present
86
+ * // remoteMcp: { // HarnessRemoteMcpConfig
87
+ * // url: "STRING_VALUE", // required
88
+ * // headers: { // HttpHeadersMap
89
+ * // "<keys>": "STRING_VALUE",
90
+ * // },
91
+ * // },
92
+ * // agentCoreBrowser: { // HarnessAgentCoreBrowserConfig
93
+ * // browserArn: "STRING_VALUE",
94
+ * // },
95
+ * // agentCoreGateway: { // HarnessAgentCoreGatewayConfig
96
+ * // gatewayArn: "STRING_VALUE", // required
97
+ * // outboundAuth: { // HarnessGatewayOutboundAuth Union: only one key present
98
+ * // awsIam: {},
99
+ * // none: {},
100
+ * // oauth: { // OAuthCredentialProvider
101
+ * // providerArn: "STRING_VALUE", // required
102
+ * // scopes: [ // OAuthScopes // required
103
+ * // "STRING_VALUE",
104
+ * // ],
105
+ * // customParameters: { // OAuthCustomParameters
106
+ * // "<keys>": "STRING_VALUE",
107
+ * // },
108
+ * // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
109
+ * // defaultReturnUrl: "STRING_VALUE",
110
+ * // },
111
+ * // },
112
+ * // },
113
+ * // inlineFunction: { // HarnessInlineFunctionConfig
114
+ * // description: "STRING_VALUE", // required
115
+ * // inputSchema: "DOCUMENT_VALUE", // required
116
+ * // },
117
+ * // agentCoreCodeInterpreter: { // HarnessAgentCoreCodeInterpreterConfig
118
+ * // codeInterpreterArn: "STRING_VALUE",
119
+ * // },
120
+ * // },
121
+ * // },
122
+ * // ],
123
+ * // skills: [ // HarnessSkills // required
124
+ * // { // HarnessSkill Union: only one key present
125
+ * // path: "STRING_VALUE",
126
+ * // },
127
+ * // ],
128
+ * // allowedTools: [ // HarnessAllowedTools // required
129
+ * // "STRING_VALUE",
130
+ * // ],
131
+ * // truncation: { // HarnessTruncationConfiguration
132
+ * // strategy: "sliding_window" || "summarization" || "none", // required
133
+ * // config: { // HarnessTruncationStrategyConfiguration Union: only one key present
134
+ * // slidingWindow: { // HarnessSlidingWindowConfiguration
135
+ * // messagesCount: Number("int"),
136
+ * // },
137
+ * // summarization: { // HarnessSummarizationConfiguration
138
+ * // summaryRatio: Number("float"),
139
+ * // preserveRecentMessages: Number("int"),
140
+ * // summarizationSystemPrompt: "STRING_VALUE",
141
+ * // },
142
+ * // },
143
+ * // },
144
+ * // environment: { // HarnessEnvironmentProvider Union: only one key present
145
+ * // agentCoreRuntimeEnvironment: { // HarnessAgentCoreRuntimeEnvironment
146
+ * // agentRuntimeArn: "STRING_VALUE", // required
147
+ * // agentRuntimeName: "STRING_VALUE", // required
148
+ * // agentRuntimeId: "STRING_VALUE", // required
149
+ * // lifecycleConfiguration: { // LifecycleConfiguration
150
+ * // idleRuntimeSessionTimeout: Number("int"),
151
+ * // maxLifetime: Number("int"),
152
+ * // },
153
+ * // networkConfiguration: { // NetworkConfiguration
154
+ * // networkMode: "PUBLIC" || "VPC", // required
155
+ * // networkModeConfig: { // VpcConfig
156
+ * // securityGroups: [ // SecurityGroups // required
157
+ * // "STRING_VALUE",
158
+ * // ],
159
+ * // subnets: [ // Subnets // required
160
+ * // "STRING_VALUE",
161
+ * // ],
162
+ * // },
163
+ * // },
164
+ * // filesystemConfigurations: [ // FilesystemConfigurations
165
+ * // { // FilesystemConfiguration Union: only one key present
166
+ * // sessionStorage: { // SessionStorageConfiguration
167
+ * // mountPath: "STRING_VALUE", // required
168
+ * // },
169
+ * // },
170
+ * // ],
171
+ * // },
172
+ * // },
173
+ * // environmentArtifact: { // HarnessEnvironmentArtifact Union: only one key present
174
+ * // containerConfiguration: { // ContainerConfiguration
175
+ * // containerUri: "STRING_VALUE", // required
176
+ * // },
177
+ * // },
178
+ * // environmentVariables: { // EnvironmentVariablesMap
179
+ * // "<keys>": "STRING_VALUE",
180
+ * // },
181
+ * // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
182
+ * // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
183
+ * // discoveryUrl: "STRING_VALUE", // required
184
+ * // allowedAudience: [ // AllowedAudienceList
185
+ * // "STRING_VALUE",
186
+ * // ],
187
+ * // allowedClients: [ // AllowedClientsList
188
+ * // "STRING_VALUE",
189
+ * // ],
190
+ * // allowedScopes: [ // AllowedScopesType
191
+ * // "STRING_VALUE",
192
+ * // ],
193
+ * // customClaims: [ // CustomClaimValidationsType
194
+ * // { // CustomClaimValidationType
195
+ * // inboundTokenClaimName: "STRING_VALUE", // required
196
+ * // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
197
+ * // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
198
+ * // claimMatchValue: { // ClaimMatchValueType Union: only one key present
199
+ * // matchValueString: "STRING_VALUE",
200
+ * // matchValueStringList: [ // MatchValueStringList
201
+ * // "STRING_VALUE",
202
+ * // ],
203
+ * // },
204
+ * // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
205
+ * // },
206
+ * // },
207
+ * // ],
208
+ * // },
209
+ * // },
210
+ * // memory: { // HarnessMemoryConfiguration Union: only one key present
211
+ * // agentCoreMemoryConfiguration: { // HarnessAgentCoreMemoryConfiguration
212
+ * // arn: "STRING_VALUE", // required
213
+ * // actorId: "STRING_VALUE",
214
+ * // messagesCount: Number("int"),
215
+ * // retrievalConfig: { // HarnessAgentCoreMemoryRetrievalConfigs
216
+ * // "<keys>": { // HarnessAgentCoreMemoryRetrievalConfig
217
+ * // topK: Number("int"),
218
+ * // relevanceScore: Number("float"),
219
+ * // strategyId: "STRING_VALUE",
220
+ * // },
221
+ * // },
222
+ * // },
223
+ * // },
224
+ * // maxIterations: Number("int"),
225
+ * // maxTokens: Number("int"),
226
+ * // timeoutSeconds: Number("int"),
227
+ * // failureReason: "STRING_VALUE",
228
+ * // },
229
+ * // };
230
+ *
231
+ * ```
232
+ *
233
+ * @param GetHarnessCommandInput - {@link GetHarnessCommandInput}
234
+ * @returns {@link GetHarnessCommandOutput}
235
+ * @see {@link GetHarnessCommandInput} for command's `input` shape.
236
+ * @see {@link GetHarnessCommandOutput} for command's `response` shape.
237
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
238
+ *
239
+ * @throws {@link AccessDeniedException} (client fault)
240
+ * <p>This exception is thrown when a request is denied per access permissions</p>
241
+ *
242
+ * @throws {@link InternalServerException} (server fault)
243
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
244
+ *
245
+ * @throws {@link ResourceNotFoundException} (client fault)
246
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
247
+ *
248
+ * @throws {@link ThrottlingException} (client fault)
249
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
250
+ *
251
+ * @throws {@link ValidationException} (client fault)
252
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
253
+ *
254
+ * @throws {@link BedrockAgentCoreControlServiceException}
255
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
256
+ *
257
+ *
258
+ * @public
259
+ */
260
+ export declare class GetHarnessCommand extends GetHarnessCommand_base {
261
+ /** @internal type navigation helper, not in runtime. */
262
+ protected static __types: {
263
+ api: {
264
+ input: GetHarnessRequest;
265
+ output: GetHarnessResponse;
266
+ };
267
+ sdk: {
268
+ input: GetHarnessCommandInput;
269
+ output: GetHarnessCommandOutput;
270
+ };
271
+ };
272
+ }
@@ -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 { GetOauth2CredentialProviderRequest, GetOauth2CredentialProviderResponse } from "../models/models_0";
4
+ import type { GetOauth2CredentialProviderRequest, GetOauth2CredentialProviderResponse } 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 { GetOnlineEvaluationConfigRequest, GetOnlineEvaluationConfigResponse } from "../models/models_0";
4
+ import type { GetOnlineEvaluationConfigRequest, GetOnlineEvaluationConfigResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -86,7 +86,7 @@ declare const GetOnlineEvaluationConfigCommand_base: {
86
86
  * // },
87
87
  * // },
88
88
  * // evaluationExecutionRoleArn: "STRING_VALUE",
89
- * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
89
+ * // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "ERROR", // required
90
90
  * // executionStatus: "ENABLED" || "DISABLED", // required
91
91
  * // createdAt: new Date("TIMESTAMP"), // required
92
92
  * // updatedAt: new Date("TIMESTAMP"), // required
@@ -52,6 +52,7 @@ declare const ListGatewayTargetsCommand_base: {
52
52
  * // description: "STRING_VALUE",
53
53
  * // createdAt: new Date("TIMESTAMP"), // required
54
54
  * // updatedAt: new Date("TIMESTAMP"), // required
55
+ * // resourcePriority: Number("int"),
55
56
  * // },
56
57
  * // ],
57
58
  * // nextToken: "STRING_VALUE",