@aws-sdk/client-bedrock-agentcore-control 3.1051.0 → 3.1052.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 (85) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +188 -2
  3. package/dist-cjs/schemas/schemas_0.js +334 -92
  4. package/dist-es/BedrockAgentCoreControl.js +28 -0
  5. package/dist-es/commands/AddDatasetExamplesCommand.js +16 -0
  6. package/dist-es/commands/CreateDatasetCommand.js +16 -0
  7. package/dist-es/commands/CreateDatasetVersionCommand.js +16 -0
  8. package/dist-es/commands/DeleteDatasetCommand.js +16 -0
  9. package/dist-es/commands/DeleteDatasetExamplesCommand.js +16 -0
  10. package/dist-es/commands/GetDatasetCommand.js +16 -0
  11. package/dist-es/commands/ListDatasetExamplesCommand.js +16 -0
  12. package/dist-es/commands/ListDatasetVersionsCommand.js +16 -0
  13. package/dist-es/commands/ListDatasetsCommand.js +16 -0
  14. package/dist-es/commands/UpdateDatasetCommand.js +16 -0
  15. package/dist-es/commands/UpdateDatasetExamplesCommand.js +16 -0
  16. package/dist-es/commands/index.js +11 -0
  17. package/dist-es/index.js +1 -0
  18. package/dist-es/models/enums.js +19 -2
  19. package/dist-es/models/models_2.js +1 -0
  20. package/dist-es/pagination/ListDatasetExamplesPaginator.js +4 -0
  21. package/dist-es/pagination/ListDatasetVersionsPaginator.js +4 -0
  22. package/dist-es/pagination/ListDatasetsPaginator.js +4 -0
  23. package/dist-es/pagination/index.js +3 -0
  24. package/dist-es/schemas/schemas_0.js +318 -77
  25. package/dist-types/BedrockAgentCoreControl.d.ts +99 -0
  26. package/dist-types/BedrockAgentCoreControlClient.d.ts +13 -2
  27. package/dist-types/commands/AddDatasetExamplesCommand.d.ts +127 -0
  28. package/dist-types/commands/CreateDatasetCommand.d.ts +117 -0
  29. package/dist-types/commands/CreateDatasetVersionCommand.d.ts +113 -0
  30. package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteDatasetCommand.d.ts +123 -0
  32. package/dist-types/commands/DeleteDatasetExamplesCommand.d.ts +112 -0
  33. package/dist-types/commands/GetDatasetCommand.d.ts +130 -0
  34. package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
  35. package/dist-types/commands/ListDatasetExamplesCommand.d.ts +111 -0
  36. package/dist-types/commands/ListDatasetVersionsCommand.d.ts +103 -0
  37. package/dist-types/commands/ListDatasetsCommand.d.ts +103 -0
  38. package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +2 -1
  39. package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateDatasetCommand.d.ts +104 -0
  41. package/dist-types/commands/UpdateDatasetExamplesCommand.d.ts +120 -0
  42. package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
  44. package/dist-types/commands/index.d.ts +11 -0
  45. package/dist-types/index.d.ts +1 -0
  46. package/dist-types/models/enums.d.ts +91 -3
  47. package/dist-types/models/models_0.d.ts +2382 -2324
  48. package/dist-types/models/models_1.d.ts +4111 -4197
  49. package/dist-types/models/models_2.d.ts +775 -0
  50. package/dist-types/pagination/ListDatasetExamplesPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListDatasetVersionsPaginator.d.ts +7 -0
  52. package/dist-types/pagination/ListDatasetsPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +3 -0
  54. package/dist-types/schemas/schemas_0.d.ts +38 -0
  55. package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +209 -0
  56. package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +66 -0
  57. package/dist-types/ts3.4/commands/AddDatasetExamplesCommand.d.ts +53 -0
  58. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +52 -0
  59. package/dist-types/ts3.4/commands/CreateDatasetVersionCommand.d.ts +53 -0
  60. package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +52 -0
  62. package/dist-types/ts3.4/commands/DeleteDatasetExamplesCommand.d.ts +53 -0
  63. package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
  64. package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListDatasetExamplesCommand.d.ts +53 -0
  66. package/dist-types/ts3.4/commands/ListDatasetVersionsCommand.d.ts +53 -0
  67. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +49 -0
  68. package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +52 -0
  71. package/dist-types/ts3.4/commands/UpdateDatasetExamplesCommand.d.ts +53 -0
  72. package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  75. package/dist-types/ts3.4/index.d.ts +1 -0
  76. package/dist-types/ts3.4/models/enums.d.ts +25 -4
  77. package/dist-types/ts3.4/models/models_0.d.ts +192 -269
  78. package/dist-types/ts3.4/models/models_1.d.ts +268 -284
  79. package/dist-types/ts3.4/models/models_2.d.ts +273 -0
  80. package/dist-types/ts3.4/pagination/ListDatasetExamplesPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/ListDatasetVersionsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  84. package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -0
  85. package/package.json +8 -8
@@ -1,5 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { BedrockAgentCoreControlClient } from "./BedrockAgentCoreControlClient";
3
+ import { AddDatasetExamplesCommand, } from "./commands/AddDatasetExamplesCommand";
3
4
  import { CreateAgentRuntimeCommand, } from "./commands/CreateAgentRuntimeCommand";
4
5
  import { CreateAgentRuntimeEndpointCommand, } from "./commands/CreateAgentRuntimeEndpointCommand";
5
6
  import { CreateApiKeyCredentialProviderCommand, } from "./commands/CreateApiKeyCredentialProviderCommand";
@@ -7,6 +8,8 @@ import { CreateBrowserCommand, } from "./commands/CreateBrowserCommand";
7
8
  import { CreateBrowserProfileCommand, } from "./commands/CreateBrowserProfileCommand";
8
9
  import { CreateCodeInterpreterCommand, } from "./commands/CreateCodeInterpreterCommand";
9
10
  import { CreateConfigurationBundleCommand, } from "./commands/CreateConfigurationBundleCommand";
11
+ import { CreateDatasetCommand, } from "./commands/CreateDatasetCommand";
12
+ import { CreateDatasetVersionCommand, } from "./commands/CreateDatasetVersionCommand";
10
13
  import { CreateEvaluatorCommand, } from "./commands/CreateEvaluatorCommand";
11
14
  import { CreateGatewayCommand, } from "./commands/CreateGatewayCommand";
12
15
  import { CreateGatewayRuleCommand, } from "./commands/CreateGatewayRuleCommand";
@@ -30,6 +33,8 @@ import { DeleteBrowserCommand, } from "./commands/DeleteBrowserCommand";
30
33
  import { DeleteBrowserProfileCommand, } from "./commands/DeleteBrowserProfileCommand";
31
34
  import { DeleteCodeInterpreterCommand, } from "./commands/DeleteCodeInterpreterCommand";
32
35
  import { DeleteConfigurationBundleCommand, } from "./commands/DeleteConfigurationBundleCommand";
36
+ import { DeleteDatasetCommand, } from "./commands/DeleteDatasetCommand";
37
+ import { DeleteDatasetExamplesCommand, } from "./commands/DeleteDatasetExamplesCommand";
33
38
  import { DeleteEvaluatorCommand, } from "./commands/DeleteEvaluatorCommand";
34
39
  import { DeleteGatewayCommand, } from "./commands/DeleteGatewayCommand";
35
40
  import { DeleteGatewayRuleCommand, } from "./commands/DeleteGatewayRuleCommand";
@@ -55,6 +60,7 @@ import { GetBrowserProfileCommand, } from "./commands/GetBrowserProfileCommand";
55
60
  import { GetCodeInterpreterCommand, } from "./commands/GetCodeInterpreterCommand";
56
61
  import { GetConfigurationBundleCommand, } from "./commands/GetConfigurationBundleCommand";
57
62
  import { GetConfigurationBundleVersionCommand, } from "./commands/GetConfigurationBundleVersionCommand";
63
+ import { GetDatasetCommand, } from "./commands/GetDatasetCommand";
58
64
  import { GetEvaluatorCommand, } from "./commands/GetEvaluatorCommand";
59
65
  import { GetGatewayCommand, } from "./commands/GetGatewayCommand";
60
66
  import { GetGatewayRuleCommand, } from "./commands/GetGatewayRuleCommand";
@@ -86,6 +92,9 @@ import { ListBrowsersCommand, } from "./commands/ListBrowsersCommand";
86
92
  import { ListCodeInterpretersCommand, } from "./commands/ListCodeInterpretersCommand";
87
93
  import { ListConfigurationBundlesCommand, } from "./commands/ListConfigurationBundlesCommand";
88
94
  import { ListConfigurationBundleVersionsCommand, } from "./commands/ListConfigurationBundleVersionsCommand";
95
+ import { ListDatasetExamplesCommand, } from "./commands/ListDatasetExamplesCommand";
96
+ import { ListDatasetsCommand, } from "./commands/ListDatasetsCommand";
97
+ import { ListDatasetVersionsCommand, } from "./commands/ListDatasetVersionsCommand";
89
98
  import { ListEvaluatorsCommand, } from "./commands/ListEvaluatorsCommand";
90
99
  import { ListGatewayRulesCommand, } from "./commands/ListGatewayRulesCommand";
91
100
  import { ListGatewaysCommand, } from "./commands/ListGatewaysCommand";
@@ -119,6 +128,8 @@ import { UpdateAgentRuntimeCommand, } from "./commands/UpdateAgentRuntimeCommand
119
128
  import { UpdateAgentRuntimeEndpointCommand, } from "./commands/UpdateAgentRuntimeEndpointCommand";
120
129
  import { UpdateApiKeyCredentialProviderCommand, } from "./commands/UpdateApiKeyCredentialProviderCommand";
121
130
  import { UpdateConfigurationBundleCommand, } from "./commands/UpdateConfigurationBundleCommand";
131
+ import { UpdateDatasetCommand, } from "./commands/UpdateDatasetCommand";
132
+ import { UpdateDatasetExamplesCommand, } from "./commands/UpdateDatasetExamplesCommand";
122
133
  import { UpdateEvaluatorCommand, } from "./commands/UpdateEvaluatorCommand";
123
134
  import { UpdateGatewayCommand, } from "./commands/UpdateGatewayCommand";
124
135
  import { UpdateGatewayRuleCommand, } from "./commands/UpdateGatewayRuleCommand";
@@ -145,6 +156,9 @@ import { paginateListBrowsers } from "./pagination/ListBrowsersPaginator";
145
156
  import { paginateListCodeInterpreters } from "./pagination/ListCodeInterpretersPaginator";
146
157
  import { paginateListConfigurationBundles } from "./pagination/ListConfigurationBundlesPaginator";
147
158
  import { paginateListConfigurationBundleVersions } from "./pagination/ListConfigurationBundleVersionsPaginator";
159
+ import { paginateListDatasetExamples } from "./pagination/ListDatasetExamplesPaginator";
160
+ import { paginateListDatasets } from "./pagination/ListDatasetsPaginator";
161
+ import { paginateListDatasetVersions } from "./pagination/ListDatasetVersionsPaginator";
148
162
  import { paginateListEvaluators } from "./pagination/ListEvaluatorsPaginator";
149
163
  import { paginateListGatewayRules } from "./pagination/ListGatewayRulesPaginator";
150
164
  import { paginateListGateways } from "./pagination/ListGatewaysPaginator";
@@ -173,6 +187,7 @@ import { waitUntilPolicyEngineActive } from "./waiters/waitForPolicyEngineActive
173
187
  import { waitUntilPolicyEngineDeleted } from "./waiters/waitForPolicyEngineDeleted";
174
188
  import { waitUntilPolicyGenerationCompleted } from "./waiters/waitForPolicyGenerationCompleted";
175
189
  const commands = {
190
+ AddDatasetExamplesCommand,
176
191
  CreateAgentRuntimeCommand,
177
192
  CreateAgentRuntimeEndpointCommand,
178
193
  CreateApiKeyCredentialProviderCommand,
@@ -180,6 +195,8 @@ const commands = {
180
195
  CreateBrowserProfileCommand,
181
196
  CreateCodeInterpreterCommand,
182
197
  CreateConfigurationBundleCommand,
198
+ CreateDatasetCommand,
199
+ CreateDatasetVersionCommand,
183
200
  CreateEvaluatorCommand,
184
201
  CreateGatewayCommand,
185
202
  CreateGatewayRuleCommand,
@@ -203,6 +220,8 @@ const commands = {
203
220
  DeleteBrowserProfileCommand,
204
221
  DeleteCodeInterpreterCommand,
205
222
  DeleteConfigurationBundleCommand,
223
+ DeleteDatasetCommand,
224
+ DeleteDatasetExamplesCommand,
206
225
  DeleteEvaluatorCommand,
207
226
  DeleteGatewayCommand,
208
227
  DeleteGatewayRuleCommand,
@@ -228,6 +247,7 @@ const commands = {
228
247
  GetCodeInterpreterCommand,
229
248
  GetConfigurationBundleCommand,
230
249
  GetConfigurationBundleVersionCommand,
250
+ GetDatasetCommand,
231
251
  GetEvaluatorCommand,
232
252
  GetGatewayCommand,
233
253
  GetGatewayRuleCommand,
@@ -259,6 +279,9 @@ const commands = {
259
279
  ListCodeInterpretersCommand,
260
280
  ListConfigurationBundlesCommand,
261
281
  ListConfigurationBundleVersionsCommand,
282
+ ListDatasetExamplesCommand,
283
+ ListDatasetsCommand,
284
+ ListDatasetVersionsCommand,
262
285
  ListEvaluatorsCommand,
263
286
  ListGatewayRulesCommand,
264
287
  ListGatewaysCommand,
@@ -292,6 +315,8 @@ const commands = {
292
315
  UpdateAgentRuntimeEndpointCommand,
293
316
  UpdateApiKeyCredentialProviderCommand,
294
317
  UpdateConfigurationBundleCommand,
318
+ UpdateDatasetCommand,
319
+ UpdateDatasetExamplesCommand,
295
320
  UpdateEvaluatorCommand,
296
321
  UpdateGatewayCommand,
297
322
  UpdateGatewayRuleCommand,
@@ -320,6 +345,9 @@ const paginators = {
320
345
  paginateListCodeInterpreters,
321
346
  paginateListConfigurationBundles,
322
347
  paginateListConfigurationBundleVersions,
348
+ paginateListDatasetExamples,
349
+ paginateListDatasets,
350
+ paginateListDatasetVersions,
323
351
  paginateListEvaluators,
324
352
  paginateListGatewayRules,
325
353
  paginateListGateways,
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AddDatasetExamples$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AddDatasetExamplesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "AddDatasetExamples", {})
13
+ .n("BedrockAgentCoreControlClient", "AddDatasetExamplesCommand")
14
+ .sc(AddDatasetExamples$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateDataset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateDatasetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "CreateDataset", {})
13
+ .n("BedrockAgentCoreControlClient", "CreateDatasetCommand")
14
+ .sc(CreateDataset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateDatasetVersion$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateDatasetVersionCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "CreateDatasetVersion", {})
13
+ .n("BedrockAgentCoreControlClient", "CreateDatasetVersionCommand")
14
+ .sc(CreateDatasetVersion$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteDataset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteDatasetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "DeleteDataset", {})
13
+ .n("BedrockAgentCoreControlClient", "DeleteDatasetCommand")
14
+ .sc(DeleteDataset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteDatasetExamples$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteDatasetExamplesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "DeleteDatasetExamples", {})
13
+ .n("BedrockAgentCoreControlClient", "DeleteDatasetExamplesCommand")
14
+ .sc(DeleteDatasetExamples$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetDataset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetDatasetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "GetDataset", {})
13
+ .n("BedrockAgentCoreControlClient", "GetDatasetCommand")
14
+ .sc(GetDataset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDatasetExamples$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDatasetExamplesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "ListDatasetExamples", {})
13
+ .n("BedrockAgentCoreControlClient", "ListDatasetExamplesCommand")
14
+ .sc(ListDatasetExamples$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDatasetVersions$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDatasetVersionsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "ListDatasetVersions", {})
13
+ .n("BedrockAgentCoreControlClient", "ListDatasetVersionsCommand")
14
+ .sc(ListDatasetVersions$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListDatasets$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListDatasetsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "ListDatasets", {})
13
+ .n("BedrockAgentCoreControlClient", "ListDatasetsCommand")
14
+ .sc(ListDatasets$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateDataset$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateDatasetCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "UpdateDataset", {})
13
+ .n("BedrockAgentCoreControlClient", "UpdateDatasetCommand")
14
+ .sc(UpdateDataset$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateDatasetExamples$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateDatasetExamplesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonBedrockAgentCoreControl", "UpdateDatasetExamples", {})
13
+ .n("BedrockAgentCoreControlClient", "UpdateDatasetExamplesCommand")
14
+ .sc(UpdateDatasetExamples$)
15
+ .build() {
16
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./AddDatasetExamplesCommand";
1
2
  export * from "./CreateAgentRuntimeCommand";
2
3
  export * from "./CreateAgentRuntimeEndpointCommand";
3
4
  export * from "./CreateApiKeyCredentialProviderCommand";
@@ -5,6 +6,8 @@ export * from "./CreateBrowserCommand";
5
6
  export * from "./CreateBrowserProfileCommand";
6
7
  export * from "./CreateCodeInterpreterCommand";
7
8
  export * from "./CreateConfigurationBundleCommand";
9
+ export * from "./CreateDatasetCommand";
10
+ export * from "./CreateDatasetVersionCommand";
8
11
  export * from "./CreateEvaluatorCommand";
9
12
  export * from "./CreateGatewayCommand";
10
13
  export * from "./CreateGatewayRuleCommand";
@@ -28,6 +31,8 @@ export * from "./DeleteBrowserCommand";
28
31
  export * from "./DeleteBrowserProfileCommand";
29
32
  export * from "./DeleteCodeInterpreterCommand";
30
33
  export * from "./DeleteConfigurationBundleCommand";
34
+ export * from "./DeleteDatasetCommand";
35
+ export * from "./DeleteDatasetExamplesCommand";
31
36
  export * from "./DeleteEvaluatorCommand";
32
37
  export * from "./DeleteGatewayCommand";
33
38
  export * from "./DeleteGatewayRuleCommand";
@@ -53,6 +58,7 @@ export * from "./GetBrowserProfileCommand";
53
58
  export * from "./GetCodeInterpreterCommand";
54
59
  export * from "./GetConfigurationBundleCommand";
55
60
  export * from "./GetConfigurationBundleVersionCommand";
61
+ export * from "./GetDatasetCommand";
56
62
  export * from "./GetEvaluatorCommand";
57
63
  export * from "./GetGatewayCommand";
58
64
  export * from "./GetGatewayRuleCommand";
@@ -84,6 +90,9 @@ export * from "./ListBrowsersCommand";
84
90
  export * from "./ListCodeInterpretersCommand";
85
91
  export * from "./ListConfigurationBundleVersionsCommand";
86
92
  export * from "./ListConfigurationBundlesCommand";
93
+ export * from "./ListDatasetExamplesCommand";
94
+ export * from "./ListDatasetVersionsCommand";
95
+ export * from "./ListDatasetsCommand";
87
96
  export * from "./ListEvaluatorsCommand";
88
97
  export * from "./ListGatewayRulesCommand";
89
98
  export * from "./ListGatewayTargetsCommand";
@@ -117,6 +126,8 @@ export * from "./UpdateAgentRuntimeCommand";
117
126
  export * from "./UpdateAgentRuntimeEndpointCommand";
118
127
  export * from "./UpdateApiKeyCredentialProviderCommand";
119
128
  export * from "./UpdateConfigurationBundleCommand";
129
+ export * from "./UpdateDatasetCommand";
130
+ export * from "./UpdateDatasetExamplesCommand";
120
131
  export * from "./UpdateEvaluatorCommand";
121
132
  export * from "./UpdateGatewayCommand";
122
133
  export * from "./UpdateGatewayRuleCommand";
package/dist-es/index.js CHANGED
@@ -8,4 +8,5 @@ export * from "./models/enums";
8
8
  export * from "./models/errors";
9
9
  export * from "./models/models_0";
10
10
  export * from "./models/models_1";
11
+ export * from "./models/models_2";
11
12
  export { BedrockAgentCoreControlServiceException } from "./models/BedrockAgentCoreControlServiceException";
@@ -3,11 +3,12 @@ export const ActorTokenContentType = {
3
3
  M2M: "M2M",
4
4
  NONE: "NONE",
5
5
  };
6
- export const AgentRuntimeEndpointStatus = {
6
+ export const DatasetStatus = {
7
+ ACTIVE: "ACTIVE",
7
8
  CREATE_FAILED: "CREATE_FAILED",
8
9
  CREATING: "CREATING",
10
+ DELETE_FAILED: "DELETE_FAILED",
9
11
  DELETING: "DELETING",
10
- READY: "READY",
11
12
  UPDATE_FAILED: "UPDATE_FAILED",
12
13
  UPDATING: "UPDATING",
13
14
  };
@@ -18,6 +19,14 @@ export const ValidationExceptionReason = {
18
19
  RESOURCE_CONFLICT: "ResourceConflict",
19
20
  ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
20
21
  };
22
+ export const AgentRuntimeEndpointStatus = {
23
+ CREATE_FAILED: "CREATE_FAILED",
24
+ CREATING: "CREATING",
25
+ DELETING: "DELETING",
26
+ READY: "READY",
27
+ UPDATE_FAILED: "UPDATE_FAILED",
28
+ UPDATING: "UPDATING",
29
+ };
21
30
  export const AgentManagedRuntimeType = {
22
31
  NODE_22: "NODE_22",
23
32
  PYTHON_3_10: "PYTHON_3_10",
@@ -105,6 +114,14 @@ export const ConfigurationBundleStatus = {
105
114
  UPDATE_FAILED: "UPDATE_FAILED",
106
115
  UPDATING: "UPDATING",
107
116
  };
117
+ export const DatasetSchemaType = {
118
+ AGENTCORE_EVALUATION_PREDEFINED_V1: "AGENTCORE_EVALUATION_PREDEFINED_V1",
119
+ AGENTCORE_EVALUATION_SIMULATED_V1: "AGENTCORE_EVALUATION_SIMULATED_V1",
120
+ };
121
+ export const DraftStatus = {
122
+ MODIFIED: "MODIFIED",
123
+ UNMODIFIED: "UNMODIFIED",
124
+ };
108
125
  export const EvaluatorLevel = {
109
126
  SESSION: "SESSION",
110
127
  TOOL_CALL: "TOOL_CALL",
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
3
+ import { ListDatasetExamplesCommand, } from "../commands/ListDatasetExamplesCommand";
4
+ export const paginateListDatasetExamples = createPaginator(BedrockAgentCoreControlClient, ListDatasetExamplesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
3
+ import { ListDatasetVersionsCommand, } from "../commands/ListDatasetVersionsCommand";
4
+ export const paginateListDatasetVersions = createPaginator(BedrockAgentCoreControlClient, ListDatasetVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BedrockAgentCoreControlClient } from "../BedrockAgentCoreControlClient";
3
+ import { ListDatasetsCommand, } from "../commands/ListDatasetsCommand";
4
+ export const paginateListDatasets = createPaginator(BedrockAgentCoreControlClient, ListDatasetsCommand, "nextToken", "nextToken", "maxResults");
@@ -8,6 +8,9 @@ export * from "./ListBrowsersPaginator";
8
8
  export * from "./ListCodeInterpretersPaginator";
9
9
  export * from "./ListConfigurationBundlesPaginator";
10
10
  export * from "./ListConfigurationBundleVersionsPaginator";
11
+ export * from "./ListDatasetExamplesPaginator";
12
+ export * from "./ListDatasetsPaginator";
13
+ export * from "./ListDatasetVersionsPaginator";
11
14
  export * from "./ListEvaluatorsPaginator";
12
15
  export * from "./ListGatewayRulesPaginator";
13
16
  export * from "./ListGatewaysPaginator";