@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
@@ -9,6 +9,7 @@ import { CreateCodeInterpreterCommand, } from "./commands/CreateCodeInterpreterC
9
9
  import { CreateEvaluatorCommand, } from "./commands/CreateEvaluatorCommand";
10
10
  import { CreateGatewayCommand, } from "./commands/CreateGatewayCommand";
11
11
  import { CreateGatewayTargetCommand, } from "./commands/CreateGatewayTargetCommand";
12
+ import { CreateHarnessCommand, } from "./commands/CreateHarnessCommand";
12
13
  import { CreateMemoryCommand, } from "./commands/CreateMemoryCommand";
13
14
  import { CreateOauth2CredentialProviderCommand, } from "./commands/CreateOauth2CredentialProviderCommand";
14
15
  import { CreateOnlineEvaluationConfigCommand, } from "./commands/CreateOnlineEvaluationConfigCommand";
@@ -26,6 +27,7 @@ import { DeleteCodeInterpreterCommand, } from "./commands/DeleteCodeInterpreterC
26
27
  import { DeleteEvaluatorCommand, } from "./commands/DeleteEvaluatorCommand";
27
28
  import { DeleteGatewayCommand, } from "./commands/DeleteGatewayCommand";
28
29
  import { DeleteGatewayTargetCommand, } from "./commands/DeleteGatewayTargetCommand";
30
+ import { DeleteHarnessCommand, } from "./commands/DeleteHarnessCommand";
29
31
  import { DeleteMemoryCommand, } from "./commands/DeleteMemoryCommand";
30
32
  import { DeleteOauth2CredentialProviderCommand, } from "./commands/DeleteOauth2CredentialProviderCommand";
31
33
  import { DeleteOnlineEvaluationConfigCommand, } from "./commands/DeleteOnlineEvaluationConfigCommand";
@@ -44,6 +46,7 @@ import { GetCodeInterpreterCommand, } from "./commands/GetCodeInterpreterCommand
44
46
  import { GetEvaluatorCommand, } from "./commands/GetEvaluatorCommand";
45
47
  import { GetGatewayCommand, } from "./commands/GetGatewayCommand";
46
48
  import { GetGatewayTargetCommand, } from "./commands/GetGatewayTargetCommand";
49
+ import { GetHarnessCommand, } from "./commands/GetHarnessCommand";
47
50
  import { GetMemoryCommand } from "./commands/GetMemoryCommand";
48
51
  import { GetOauth2CredentialProviderCommand, } from "./commands/GetOauth2CredentialProviderCommand";
49
52
  import { GetOnlineEvaluationConfigCommand, } from "./commands/GetOnlineEvaluationConfigCommand";
@@ -65,6 +68,7 @@ import { ListCodeInterpretersCommand, } from "./commands/ListCodeInterpretersCom
65
68
  import { ListEvaluatorsCommand, } from "./commands/ListEvaluatorsCommand";
66
69
  import { ListGatewaysCommand, } from "./commands/ListGatewaysCommand";
67
70
  import { ListGatewayTargetsCommand, } from "./commands/ListGatewayTargetsCommand";
71
+ import { ListHarnessesCommand, } from "./commands/ListHarnessesCommand";
68
72
  import { ListMemoriesCommand, } from "./commands/ListMemoriesCommand";
69
73
  import { ListOauth2CredentialProvidersCommand, } from "./commands/ListOauth2CredentialProvidersCommand";
70
74
  import { ListOnlineEvaluationConfigsCommand, } from "./commands/ListOnlineEvaluationConfigsCommand";
@@ -89,6 +93,7 @@ import { UpdateApiKeyCredentialProviderCommand, } from "./commands/UpdateApiKeyC
89
93
  import { UpdateEvaluatorCommand, } from "./commands/UpdateEvaluatorCommand";
90
94
  import { UpdateGatewayCommand, } from "./commands/UpdateGatewayCommand";
91
95
  import { UpdateGatewayTargetCommand, } from "./commands/UpdateGatewayTargetCommand";
96
+ import { UpdateHarnessCommand, } from "./commands/UpdateHarnessCommand";
92
97
  import { UpdateMemoryCommand, } from "./commands/UpdateMemoryCommand";
93
98
  import { UpdateOauth2CredentialProviderCommand, } from "./commands/UpdateOauth2CredentialProviderCommand";
94
99
  import { UpdateOnlineEvaluationConfigCommand, } from "./commands/UpdateOnlineEvaluationConfigCommand";
@@ -108,6 +113,7 @@ import { paginateListCodeInterpreters } from "./pagination/ListCodeInterpretersP
108
113
  import { paginateListEvaluators } from "./pagination/ListEvaluatorsPaginator";
109
114
  import { paginateListGateways } from "./pagination/ListGatewaysPaginator";
110
115
  import { paginateListGatewayTargets } from "./pagination/ListGatewayTargetsPaginator";
116
+ import { paginateListHarnesses } from "./pagination/ListHarnessesPaginator";
111
117
  import { paginateListMemories } from "./pagination/ListMemoriesPaginator";
112
118
  import { paginateListOauth2CredentialProviders } from "./pagination/ListOauth2CredentialProvidersPaginator";
113
119
  import { paginateListOnlineEvaluationConfigs } from "./pagination/ListOnlineEvaluationConfigsPaginator";
@@ -134,6 +140,7 @@ const commands = {
134
140
  CreateEvaluatorCommand,
135
141
  CreateGatewayCommand,
136
142
  CreateGatewayTargetCommand,
143
+ CreateHarnessCommand,
137
144
  CreateMemoryCommand,
138
145
  CreateOauth2CredentialProviderCommand,
139
146
  CreateOnlineEvaluationConfigCommand,
@@ -151,6 +158,7 @@ const commands = {
151
158
  DeleteEvaluatorCommand,
152
159
  DeleteGatewayCommand,
153
160
  DeleteGatewayTargetCommand,
161
+ DeleteHarnessCommand,
154
162
  DeleteMemoryCommand,
155
163
  DeleteOauth2CredentialProviderCommand,
156
164
  DeleteOnlineEvaluationConfigCommand,
@@ -169,6 +177,7 @@ const commands = {
169
177
  GetEvaluatorCommand,
170
178
  GetGatewayCommand,
171
179
  GetGatewayTargetCommand,
180
+ GetHarnessCommand,
172
181
  GetMemoryCommand,
173
182
  GetOauth2CredentialProviderCommand,
174
183
  GetOnlineEvaluationConfigCommand,
@@ -190,6 +199,7 @@ const commands = {
190
199
  ListEvaluatorsCommand,
191
200
  ListGatewaysCommand,
192
201
  ListGatewayTargetsCommand,
202
+ ListHarnessesCommand,
193
203
  ListMemoriesCommand,
194
204
  ListOauth2CredentialProvidersCommand,
195
205
  ListOnlineEvaluationConfigsCommand,
@@ -214,6 +224,7 @@ const commands = {
214
224
  UpdateEvaluatorCommand,
215
225
  UpdateGatewayCommand,
216
226
  UpdateGatewayTargetCommand,
227
+ UpdateHarnessCommand,
217
228
  UpdateMemoryCommand,
218
229
  UpdateOauth2CredentialProviderCommand,
219
230
  UpdateOnlineEvaluationConfigCommand,
@@ -235,6 +246,7 @@ const paginators = {
235
246
  paginateListEvaluators,
236
247
  paginateListGateways,
237
248
  paginateListGatewayTargets,
249
+ paginateListHarnesses,
238
250
  paginateListMemories,
239
251
  paginateListOauth2CredentialProviders,
240
252
  paginateListOnlineEvaluationConfigs,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateHarness$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateHarnessCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "CreateHarness", {})
13
+ .n("BedrockAgentCoreControlClient", "CreateHarnessCommand")
14
+ .sc(CreateHarness$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteHarness$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteHarnessCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "DeleteHarness", {})
13
+ .n("BedrockAgentCoreControlClient", "DeleteHarnessCommand")
14
+ .sc(DeleteHarness$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetHarness$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetHarnessCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "GetHarness", {})
13
+ .n("BedrockAgentCoreControlClient", "GetHarnessCommand")
14
+ .sc(GetHarness$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListHarnesses$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListHarnessesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "ListHarnesses", {})
13
+ .n("BedrockAgentCoreControlClient", "ListHarnessesCommand")
14
+ .sc(ListHarnesses$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateHarness$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateHarnessCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "UpdateHarness", {})
13
+ .n("BedrockAgentCoreControlClient", "UpdateHarnessCommand")
14
+ .sc(UpdateHarness$)
15
+ .build() {
16
+ }
@@ -7,6 +7,7 @@ export * from "./CreateCodeInterpreterCommand";
7
7
  export * from "./CreateEvaluatorCommand";
8
8
  export * from "./CreateGatewayCommand";
9
9
  export * from "./CreateGatewayTargetCommand";
10
+ export * from "./CreateHarnessCommand";
10
11
  export * from "./CreateMemoryCommand";
11
12
  export * from "./CreateOauth2CredentialProviderCommand";
12
13
  export * from "./CreateOnlineEvaluationConfigCommand";
@@ -24,6 +25,7 @@ export * from "./DeleteCodeInterpreterCommand";
24
25
  export * from "./DeleteEvaluatorCommand";
25
26
  export * from "./DeleteGatewayCommand";
26
27
  export * from "./DeleteGatewayTargetCommand";
28
+ export * from "./DeleteHarnessCommand";
27
29
  export * from "./DeleteMemoryCommand";
28
30
  export * from "./DeleteOauth2CredentialProviderCommand";
29
31
  export * from "./DeleteOnlineEvaluationConfigCommand";
@@ -42,6 +44,7 @@ export * from "./GetCodeInterpreterCommand";
42
44
  export * from "./GetEvaluatorCommand";
43
45
  export * from "./GetGatewayCommand";
44
46
  export * from "./GetGatewayTargetCommand";
47
+ export * from "./GetHarnessCommand";
45
48
  export * from "./GetMemoryCommand";
46
49
  export * from "./GetOauth2CredentialProviderCommand";
47
50
  export * from "./GetOnlineEvaluationConfigCommand";
@@ -63,6 +66,7 @@ export * from "./ListCodeInterpretersCommand";
63
66
  export * from "./ListEvaluatorsCommand";
64
67
  export * from "./ListGatewayTargetsCommand";
65
68
  export * from "./ListGatewaysCommand";
69
+ export * from "./ListHarnessesCommand";
66
70
  export * from "./ListMemoriesCommand";
67
71
  export * from "./ListOauth2CredentialProvidersCommand";
68
72
  export * from "./ListOnlineEvaluationConfigsCommand";
@@ -87,6 +91,7 @@ export * from "./UpdateApiKeyCredentialProviderCommand";
87
91
  export * from "./UpdateEvaluatorCommand";
88
92
  export * from "./UpdateGatewayCommand";
89
93
  export * from "./UpdateGatewayTargetCommand";
94
+ export * from "./UpdateHarnessCommand";
90
95
  export * from "./UpdateMemoryCommand";
91
96
  export * from "./UpdateOauth2CredentialProviderCommand";
92
97
  export * from "./UpdateOnlineEvaluationConfigCommand";
@@ -189,6 +189,27 @@ export const KeyType = {
189
189
  CustomerManagedKey: "CustomerManagedKey",
190
190
  ServiceManagedKey: "ServiceManagedKey",
191
191
  };
192
+ export const HarnessToolType = {
193
+ AGENTCORE_BROWSER: "agentcore_browser",
194
+ AGENTCORE_CODE_INTERPRETER: "agentcore_code_interpreter",
195
+ AGENTCORE_GATEWAY: "agentcore_gateway",
196
+ INLINE_FUNCTION: "inline_function",
197
+ REMOTE_MCP: "remote_mcp",
198
+ };
199
+ export const HarnessTruncationStrategy = {
200
+ NONE: "none",
201
+ SLIDING_WINDOW: "sliding_window",
202
+ SUMMARIZATION: "summarization",
203
+ };
204
+ export const HarnessStatus = {
205
+ CREATE_FAILED: "CREATE_FAILED",
206
+ CREATING: "CREATING",
207
+ DELETE_FAILED: "DELETE_FAILED",
208
+ DELETING: "DELETING",
209
+ READY: "READY",
210
+ UPDATE_FAILED: "UPDATE_FAILED",
211
+ UPDATING: "UPDATING",
212
+ };
192
213
  export const ContentLevel = {
193
214
  FULL_CONTENT: "FULL_CONTENT",
194
215
  METADATA_ONLY: "METADATA_ONLY",
@@ -272,6 +293,7 @@ export const OnlineEvaluationConfigStatus = {
272
293
  CREATE_FAILED: "CREATE_FAILED",
273
294
  CREATING: "CREATING",
274
295
  DELETING: "DELETING",
296
+ ERROR: "ERROR",
275
297
  UPDATE_FAILED: "UPDATE_FAILED",
276
298
  UPDATING: "UPDATING",
277
299
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
3
+ import { ListHarnessesCommand, } from "../commands/ListHarnessesCommand";
4
+ export const paginateListHarnesses = createPaginator(BedrockAgentCoreControlClient, ListHarnessesCommand, "nextToken", "nextToken", "maxResults");
@@ -9,6 +9,7 @@ export * from "./ListCodeInterpretersPaginator";
9
9
  export * from "./ListEvaluatorsPaginator";
10
10
  export * from "./ListGatewaysPaginator";
11
11
  export * from "./ListGatewayTargetsPaginator";
12
+ export * from "./ListHarnessesPaginator";
12
13
  export * from "./ListMemoriesPaginator";
13
14
  export * from "./ListOauth2CredentialProvidersPaginator";
14
15
  export * from "./ListOnlineEvaluationConfigsPaginator";