@aws-sdk/client-bedrock-agentcore-control 3.1050.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,6 +1,7 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
2
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { BedrockAgentCoreControlClient } from "./BedrockAgentCoreControlClient";
4
+ import { type AddDatasetExamplesCommandInput, type AddDatasetExamplesCommandOutput } from "./commands/AddDatasetExamplesCommand";
4
5
  import { type CreateAgentRuntimeCommandInput, type CreateAgentRuntimeCommandOutput } from "./commands/CreateAgentRuntimeCommand";
5
6
  import { type CreateAgentRuntimeEndpointCommandInput, type CreateAgentRuntimeEndpointCommandOutput } from "./commands/CreateAgentRuntimeEndpointCommand";
6
7
  import { type CreateApiKeyCredentialProviderCommandInput, type CreateApiKeyCredentialProviderCommandOutput } from "./commands/CreateApiKeyCredentialProviderCommand";
@@ -8,6 +9,8 @@ import { type CreateBrowserCommandInput, type CreateBrowserCommandOutput } from
8
9
  import { type CreateBrowserProfileCommandInput, type CreateBrowserProfileCommandOutput } from "./commands/CreateBrowserProfileCommand";
9
10
  import { type CreateCodeInterpreterCommandInput, type CreateCodeInterpreterCommandOutput } from "./commands/CreateCodeInterpreterCommand";
10
11
  import { type CreateConfigurationBundleCommandInput, type CreateConfigurationBundleCommandOutput } from "./commands/CreateConfigurationBundleCommand";
12
+ import { type CreateDatasetCommandInput, type CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
13
+ import { type CreateDatasetVersionCommandInput, type CreateDatasetVersionCommandOutput } from "./commands/CreateDatasetVersionCommand";
11
14
  import { type CreateEvaluatorCommandInput, type CreateEvaluatorCommandOutput } from "./commands/CreateEvaluatorCommand";
12
15
  import { type CreateGatewayCommandInput, type CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
13
16
  import { type CreateGatewayRuleCommandInput, type CreateGatewayRuleCommandOutput } from "./commands/CreateGatewayRuleCommand";
@@ -31,6 +34,8 @@ import { type DeleteBrowserCommandInput, type DeleteBrowserCommandOutput } from
31
34
  import { type DeleteBrowserProfileCommandInput, type DeleteBrowserProfileCommandOutput } from "./commands/DeleteBrowserProfileCommand";
32
35
  import { type DeleteCodeInterpreterCommandInput, type DeleteCodeInterpreterCommandOutput } from "./commands/DeleteCodeInterpreterCommand";
33
36
  import { type DeleteConfigurationBundleCommandInput, type DeleteConfigurationBundleCommandOutput } from "./commands/DeleteConfigurationBundleCommand";
37
+ import { type DeleteDatasetCommandInput, type DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
38
+ import { type DeleteDatasetExamplesCommandInput, type DeleteDatasetExamplesCommandOutput } from "./commands/DeleteDatasetExamplesCommand";
34
39
  import { type DeleteEvaluatorCommandInput, type DeleteEvaluatorCommandOutput } from "./commands/DeleteEvaluatorCommand";
35
40
  import { type DeleteGatewayCommandInput, type DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
36
41
  import { type DeleteGatewayRuleCommandInput, type DeleteGatewayRuleCommandOutput } from "./commands/DeleteGatewayRuleCommand";
@@ -56,6 +61,7 @@ import { type GetBrowserProfileCommandInput, type GetBrowserProfileCommandOutput
56
61
  import { type GetCodeInterpreterCommandInput, type GetCodeInterpreterCommandOutput } from "./commands/GetCodeInterpreterCommand";
57
62
  import { type GetConfigurationBundleCommandInput, type GetConfigurationBundleCommandOutput } from "./commands/GetConfigurationBundleCommand";
58
63
  import { type GetConfigurationBundleVersionCommandInput, type GetConfigurationBundleVersionCommandOutput } from "./commands/GetConfigurationBundleVersionCommand";
64
+ import { type GetDatasetCommandInput, type GetDatasetCommandOutput } from "./commands/GetDatasetCommand";
59
65
  import { type GetEvaluatorCommandInput, type GetEvaluatorCommandOutput } from "./commands/GetEvaluatorCommand";
60
66
  import { type GetGatewayCommandInput, type GetGatewayCommandOutput } from "./commands/GetGatewayCommand";
61
67
  import { type GetGatewayRuleCommandInput, type GetGatewayRuleCommandOutput } from "./commands/GetGatewayRuleCommand";
@@ -87,6 +93,9 @@ import { type ListBrowsersCommandInput, type ListBrowsersCommandOutput } from ".
87
93
  import { type ListCodeInterpretersCommandInput, type ListCodeInterpretersCommandOutput } from "./commands/ListCodeInterpretersCommand";
88
94
  import { type ListConfigurationBundlesCommandInput, type ListConfigurationBundlesCommandOutput } from "./commands/ListConfigurationBundlesCommand";
89
95
  import { type ListConfigurationBundleVersionsCommandInput, type ListConfigurationBundleVersionsCommandOutput } from "./commands/ListConfigurationBundleVersionsCommand";
96
+ import { type ListDatasetExamplesCommandInput, type ListDatasetExamplesCommandOutput } from "./commands/ListDatasetExamplesCommand";
97
+ import { type ListDatasetsCommandInput, type ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
98
+ import { type ListDatasetVersionsCommandInput, type ListDatasetVersionsCommandOutput } from "./commands/ListDatasetVersionsCommand";
90
99
  import { type ListEvaluatorsCommandInput, type ListEvaluatorsCommandOutput } from "./commands/ListEvaluatorsCommand";
91
100
  import { type ListGatewayRulesCommandInput, type ListGatewayRulesCommandOutput } from "./commands/ListGatewayRulesCommand";
92
101
  import { type ListGatewaysCommandInput, type ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
@@ -120,6 +129,8 @@ import { type UpdateAgentRuntimeCommandInput, type UpdateAgentRuntimeCommandOutp
120
129
  import { type UpdateAgentRuntimeEndpointCommandInput, type UpdateAgentRuntimeEndpointCommandOutput } from "./commands/UpdateAgentRuntimeEndpointCommand";
121
130
  import { type UpdateApiKeyCredentialProviderCommandInput, type UpdateApiKeyCredentialProviderCommandOutput } from "./commands/UpdateApiKeyCredentialProviderCommand";
122
131
  import { type UpdateConfigurationBundleCommandInput, type UpdateConfigurationBundleCommandOutput } from "./commands/UpdateConfigurationBundleCommand";
132
+ import { type UpdateDatasetCommandInput, type UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
133
+ import { type UpdateDatasetExamplesCommandInput, type UpdateDatasetExamplesCommandOutput } from "./commands/UpdateDatasetExamplesCommand";
123
134
  import { type UpdateEvaluatorCommandInput, type UpdateEvaluatorCommandOutput } from "./commands/UpdateEvaluatorCommand";
124
135
  import { type UpdateGatewayCommandInput, type UpdateGatewayCommandOutput } from "./commands/UpdateGatewayCommand";
125
136
  import { type UpdateGatewayRuleCommandInput, type UpdateGatewayRuleCommandOutput } from "./commands/UpdateGatewayRuleCommand";
@@ -139,6 +150,12 @@ import { type UpdateRegistryRecordStatusCommandInput, type UpdateRegistryRecordS
139
150
  import { type UpdateWorkloadIdentityCommandInput, type UpdateWorkloadIdentityCommandOutput } from "./commands/UpdateWorkloadIdentityCommand";
140
151
  import type { ResourceNotFoundException } from "./models/errors";
141
152
  export interface BedrockAgentCoreControl {
153
+ /**
154
+ * @see {@link AddDatasetExamplesCommand}
155
+ */
156
+ addDatasetExamples(args: AddDatasetExamplesCommandInput, options?: __HttpHandlerOptions): Promise<AddDatasetExamplesCommandOutput>;
157
+ addDatasetExamples(args: AddDatasetExamplesCommandInput, cb: (err: any, data?: AddDatasetExamplesCommandOutput) => void): void;
158
+ addDatasetExamples(args: AddDatasetExamplesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddDatasetExamplesCommandOutput) => void): void;
142
159
  /**
143
160
  * @see {@link CreateAgentRuntimeCommand}
144
161
  */
@@ -181,6 +198,18 @@ export interface BedrockAgentCoreControl {
181
198
  createConfigurationBundle(args: CreateConfigurationBundleCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationBundleCommandOutput>;
182
199
  createConfigurationBundle(args: CreateConfigurationBundleCommandInput, cb: (err: any, data?: CreateConfigurationBundleCommandOutput) => void): void;
183
200
  createConfigurationBundle(args: CreateConfigurationBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationBundleCommandOutput) => void): void;
201
+ /**
202
+ * @see {@link CreateDatasetCommand}
203
+ */
204
+ createDataset(args: CreateDatasetCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatasetCommandOutput>;
205
+ createDataset(args: CreateDatasetCommandInput, cb: (err: any, data?: CreateDatasetCommandOutput) => void): void;
206
+ createDataset(args: CreateDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatasetCommandOutput) => void): void;
207
+ /**
208
+ * @see {@link CreateDatasetVersionCommand}
209
+ */
210
+ createDatasetVersion(args: CreateDatasetVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatasetVersionCommandOutput>;
211
+ createDatasetVersion(args: CreateDatasetVersionCommandInput, cb: (err: any, data?: CreateDatasetVersionCommandOutput) => void): void;
212
+ createDatasetVersion(args: CreateDatasetVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatasetVersionCommandOutput) => void): void;
184
213
  /**
185
214
  * @see {@link CreateEvaluatorCommand}
186
215
  */
@@ -319,6 +348,18 @@ export interface BedrockAgentCoreControl {
319
348
  deleteConfigurationBundle(args: DeleteConfigurationBundleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationBundleCommandOutput>;
320
349
  deleteConfigurationBundle(args: DeleteConfigurationBundleCommandInput, cb: (err: any, data?: DeleteConfigurationBundleCommandOutput) => void): void;
321
350
  deleteConfigurationBundle(args: DeleteConfigurationBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationBundleCommandOutput) => void): void;
351
+ /**
352
+ * @see {@link DeleteDatasetCommand}
353
+ */
354
+ deleteDataset(args: DeleteDatasetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatasetCommandOutput>;
355
+ deleteDataset(args: DeleteDatasetCommandInput, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
356
+ deleteDataset(args: DeleteDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
357
+ /**
358
+ * @see {@link DeleteDatasetExamplesCommand}
359
+ */
360
+ deleteDatasetExamples(args: DeleteDatasetExamplesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatasetExamplesCommandOutput>;
361
+ deleteDatasetExamples(args: DeleteDatasetExamplesCommandInput, cb: (err: any, data?: DeleteDatasetExamplesCommandOutput) => void): void;
362
+ deleteDatasetExamples(args: DeleteDatasetExamplesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatasetExamplesCommandOutput) => void): void;
322
363
  /**
323
364
  * @see {@link DeleteEvaluatorCommand}
324
365
  */
@@ -469,6 +510,12 @@ export interface BedrockAgentCoreControl {
469
510
  getConfigurationBundleVersion(args: GetConfigurationBundleVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationBundleVersionCommandOutput>;
470
511
  getConfigurationBundleVersion(args: GetConfigurationBundleVersionCommandInput, cb: (err: any, data?: GetConfigurationBundleVersionCommandOutput) => void): void;
471
512
  getConfigurationBundleVersion(args: GetConfigurationBundleVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationBundleVersionCommandOutput) => void): void;
513
+ /**
514
+ * @see {@link GetDatasetCommand}
515
+ */
516
+ getDataset(args: GetDatasetCommandInput, options?: __HttpHandlerOptions): Promise<GetDatasetCommandOutput>;
517
+ getDataset(args: GetDatasetCommandInput, cb: (err: any, data?: GetDatasetCommandOutput) => void): void;
518
+ getDataset(args: GetDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatasetCommandOutput) => void): void;
472
519
  /**
473
520
  * @see {@link GetEvaluatorCommand}
474
521
  */
@@ -662,6 +709,25 @@ export interface BedrockAgentCoreControl {
662
709
  listConfigurationBundleVersions(args: ListConfigurationBundleVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationBundleVersionsCommandOutput>;
663
710
  listConfigurationBundleVersions(args: ListConfigurationBundleVersionsCommandInput, cb: (err: any, data?: ListConfigurationBundleVersionsCommandOutput) => void): void;
664
711
  listConfigurationBundleVersions(args: ListConfigurationBundleVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationBundleVersionsCommandOutput) => void): void;
712
+ /**
713
+ * @see {@link ListDatasetExamplesCommand}
714
+ */
715
+ listDatasetExamples(args: ListDatasetExamplesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetExamplesCommandOutput>;
716
+ listDatasetExamples(args: ListDatasetExamplesCommandInput, cb: (err: any, data?: ListDatasetExamplesCommandOutput) => void): void;
717
+ listDatasetExamples(args: ListDatasetExamplesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetExamplesCommandOutput) => void): void;
718
+ /**
719
+ * @see {@link ListDatasetsCommand}
720
+ */
721
+ listDatasets(): Promise<ListDatasetsCommandOutput>;
722
+ listDatasets(args: ListDatasetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetsCommandOutput>;
723
+ listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
724
+ listDatasets(args: ListDatasetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
725
+ /**
726
+ * @see {@link ListDatasetVersionsCommand}
727
+ */
728
+ listDatasetVersions(args: ListDatasetVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetVersionsCommandOutput>;
729
+ listDatasetVersions(args: ListDatasetVersionsCommandInput, cb: (err: any, data?: ListDatasetVersionsCommandOutput) => void): void;
730
+ listDatasetVersions(args: ListDatasetVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetVersionsCommandOutput) => void): void;
665
731
  /**
666
732
  * @see {@link ListEvaluatorsCommand}
667
733
  */
@@ -872,6 +938,18 @@ export interface BedrockAgentCoreControl {
872
938
  updateConfigurationBundle(args: UpdateConfigurationBundleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationBundleCommandOutput>;
873
939
  updateConfigurationBundle(args: UpdateConfigurationBundleCommandInput, cb: (err: any, data?: UpdateConfigurationBundleCommandOutput) => void): void;
874
940
  updateConfigurationBundle(args: UpdateConfigurationBundleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationBundleCommandOutput) => void): void;
941
+ /**
942
+ * @see {@link UpdateDatasetCommand}
943
+ */
944
+ updateDataset(args: UpdateDatasetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasetCommandOutput>;
945
+ updateDataset(args: UpdateDatasetCommandInput, cb: (err: any, data?: UpdateDatasetCommandOutput) => void): void;
946
+ updateDataset(args: UpdateDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasetCommandOutput) => void): void;
947
+ /**
948
+ * @see {@link UpdateDatasetExamplesCommand}
949
+ */
950
+ updateDatasetExamples(args: UpdateDatasetExamplesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasetExamplesCommandOutput>;
951
+ updateDatasetExamples(args: UpdateDatasetExamplesCommandInput, cb: (err: any, data?: UpdateDatasetExamplesCommandOutput) => void): void;
952
+ updateDatasetExamples(args: UpdateDatasetExamplesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasetExamplesCommandOutput) => void): void;
875
953
  /**
876
954
  * @see {@link UpdateEvaluatorCommand}
877
955
  */
@@ -1037,6 +1115,27 @@ export interface BedrockAgentCoreControl {
1037
1115
  * @returns AsyncIterable of {@link ListConfigurationBundleVersionsCommandOutput}.
1038
1116
  */
1039
1117
  paginateListConfigurationBundleVersions(args: ListConfigurationBundleVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConfigurationBundleVersionsCommandOutput>;
1118
+ /**
1119
+ * @see {@link ListDatasetExamplesCommand}
1120
+ * @param args - command input.
1121
+ * @param paginationConfig - optional pagination config.
1122
+ * @returns AsyncIterable of {@link ListDatasetExamplesCommandOutput}.
1123
+ */
1124
+ paginateListDatasetExamples(args: ListDatasetExamplesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetExamplesCommandOutput>;
1125
+ /**
1126
+ * @see {@link ListDatasetsCommand}
1127
+ * @param args - command input.
1128
+ * @param paginationConfig - optional pagination config.
1129
+ * @returns AsyncIterable of {@link ListDatasetsCommandOutput}.
1130
+ */
1131
+ paginateListDatasets(args?: ListDatasetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetsCommandOutput>;
1132
+ /**
1133
+ * @see {@link ListDatasetVersionsCommand}
1134
+ * @param args - command input.
1135
+ * @param paginationConfig - optional pagination config.
1136
+ * @returns AsyncIterable of {@link ListDatasetVersionsCommandOutput}.
1137
+ */
1138
+ paginateListDatasetVersions(args: ListDatasetVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetVersionsCommandOutput>;
1040
1139
  /**
1041
1140
  * @see {@link ListEvaluatorsCommand}
1042
1141
  * @param args - command input.
@@ -6,6 +6,7 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
6
6
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
7
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { AddDatasetExamplesCommandInput, AddDatasetExamplesCommandOutput } from "./commands/AddDatasetExamplesCommand";
9
10
  import type { CreateAgentRuntimeCommandInput, CreateAgentRuntimeCommandOutput } from "./commands/CreateAgentRuntimeCommand";
10
11
  import type { CreateAgentRuntimeEndpointCommandInput, CreateAgentRuntimeEndpointCommandOutput } from "./commands/CreateAgentRuntimeEndpointCommand";
11
12
  import type { CreateApiKeyCredentialProviderCommandInput, CreateApiKeyCredentialProviderCommandOutput } from "./commands/CreateApiKeyCredentialProviderCommand";
@@ -13,6 +14,8 @@ import type { CreateBrowserCommandInput, CreateBrowserCommandOutput } from "./co
13
14
  import type { CreateBrowserProfileCommandInput, CreateBrowserProfileCommandOutput } from "./commands/CreateBrowserProfileCommand";
14
15
  import type { CreateCodeInterpreterCommandInput, CreateCodeInterpreterCommandOutput } from "./commands/CreateCodeInterpreterCommand";
15
16
  import type { CreateConfigurationBundleCommandInput, CreateConfigurationBundleCommandOutput } from "./commands/CreateConfigurationBundleCommand";
17
+ import type { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
18
+ import type { CreateDatasetVersionCommandInput, CreateDatasetVersionCommandOutput } from "./commands/CreateDatasetVersionCommand";
16
19
  import type { CreateEvaluatorCommandInput, CreateEvaluatorCommandOutput } from "./commands/CreateEvaluatorCommand";
17
20
  import type { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
18
21
  import type { CreateGatewayRuleCommandInput, CreateGatewayRuleCommandOutput } from "./commands/CreateGatewayRuleCommand";
@@ -36,6 +39,8 @@ import type { DeleteBrowserCommandInput, DeleteBrowserCommandOutput } from "./co
36
39
  import type { DeleteBrowserProfileCommandInput, DeleteBrowserProfileCommandOutput } from "./commands/DeleteBrowserProfileCommand";
37
40
  import type { DeleteCodeInterpreterCommandInput, DeleteCodeInterpreterCommandOutput } from "./commands/DeleteCodeInterpreterCommand";
38
41
  import type { DeleteConfigurationBundleCommandInput, DeleteConfigurationBundleCommandOutput } from "./commands/DeleteConfigurationBundleCommand";
42
+ import type { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
43
+ import type { DeleteDatasetExamplesCommandInput, DeleteDatasetExamplesCommandOutput } from "./commands/DeleteDatasetExamplesCommand";
39
44
  import type { DeleteEvaluatorCommandInput, DeleteEvaluatorCommandOutput } from "./commands/DeleteEvaluatorCommand";
40
45
  import type { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
41
46
  import type { DeleteGatewayRuleCommandInput, DeleteGatewayRuleCommandOutput } from "./commands/DeleteGatewayRuleCommand";
@@ -61,6 +66,7 @@ import type { GetBrowserProfileCommandInput, GetBrowserProfileCommandOutput } fr
61
66
  import type { GetCodeInterpreterCommandInput, GetCodeInterpreterCommandOutput } from "./commands/GetCodeInterpreterCommand";
62
67
  import type { GetConfigurationBundleCommandInput, GetConfigurationBundleCommandOutput } from "./commands/GetConfigurationBundleCommand";
63
68
  import type { GetConfigurationBundleVersionCommandInput, GetConfigurationBundleVersionCommandOutput } from "./commands/GetConfigurationBundleVersionCommand";
69
+ import type { GetDatasetCommandInput, GetDatasetCommandOutput } from "./commands/GetDatasetCommand";
64
70
  import type { GetEvaluatorCommandInput, GetEvaluatorCommandOutput } from "./commands/GetEvaluatorCommand";
65
71
  import type { GetGatewayCommandInput, GetGatewayCommandOutput } from "./commands/GetGatewayCommand";
66
72
  import type { GetGatewayRuleCommandInput, GetGatewayRuleCommandOutput } from "./commands/GetGatewayRuleCommand";
@@ -92,6 +98,9 @@ import type { ListBrowsersCommandInput, ListBrowsersCommandOutput } from "./comm
92
98
  import type { ListCodeInterpretersCommandInput, ListCodeInterpretersCommandOutput } from "./commands/ListCodeInterpretersCommand";
93
99
  import type { ListConfigurationBundlesCommandInput, ListConfigurationBundlesCommandOutput } from "./commands/ListConfigurationBundlesCommand";
94
100
  import type { ListConfigurationBundleVersionsCommandInput, ListConfigurationBundleVersionsCommandOutput } from "./commands/ListConfigurationBundleVersionsCommand";
101
+ import type { ListDatasetExamplesCommandInput, ListDatasetExamplesCommandOutput } from "./commands/ListDatasetExamplesCommand";
102
+ import type { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
103
+ import type { ListDatasetVersionsCommandInput, ListDatasetVersionsCommandOutput } from "./commands/ListDatasetVersionsCommand";
95
104
  import type { ListEvaluatorsCommandInput, ListEvaluatorsCommandOutput } from "./commands/ListEvaluatorsCommand";
96
105
  import type { ListGatewayRulesCommandInput, ListGatewayRulesCommandOutput } from "./commands/ListGatewayRulesCommand";
97
106
  import type { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
@@ -125,6 +134,8 @@ import type { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput }
125
134
  import type { UpdateAgentRuntimeEndpointCommandInput, UpdateAgentRuntimeEndpointCommandOutput } from "./commands/UpdateAgentRuntimeEndpointCommand";
126
135
  import type { UpdateApiKeyCredentialProviderCommandInput, UpdateApiKeyCredentialProviderCommandOutput } from "./commands/UpdateApiKeyCredentialProviderCommand";
127
136
  import type { UpdateConfigurationBundleCommandInput, UpdateConfigurationBundleCommandOutput } from "./commands/UpdateConfigurationBundleCommand";
137
+ import type { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
138
+ import type { UpdateDatasetExamplesCommandInput, UpdateDatasetExamplesCommandOutput } from "./commands/UpdateDatasetExamplesCommand";
128
139
  import type { UpdateEvaluatorCommandInput, UpdateEvaluatorCommandOutput } from "./commands/UpdateEvaluatorCommand";
129
140
  import type { UpdateGatewayCommandInput, UpdateGatewayCommandOutput } from "./commands/UpdateGatewayCommand";
130
141
  import type { UpdateGatewayRuleCommandInput, UpdateGatewayRuleCommandOutput } from "./commands/UpdateGatewayRuleCommand";
@@ -148,11 +159,11 @@ export { __Client };
148
159
  /**
149
160
  * @public
150
161
  */
151
- export type ServiceInputTypes = CreateAgentRuntimeCommandInput | CreateAgentRuntimeEndpointCommandInput | CreateApiKeyCredentialProviderCommandInput | CreateBrowserCommandInput | CreateBrowserProfileCommandInput | CreateCodeInterpreterCommandInput | CreateConfigurationBundleCommandInput | CreateEvaluatorCommandInput | CreateGatewayCommandInput | CreateGatewayRuleCommandInput | CreateGatewayTargetCommandInput | CreateHarnessCommandInput | CreateMemoryCommandInput | CreateOauth2CredentialProviderCommandInput | CreateOnlineEvaluationConfigCommandInput | CreatePaymentConnectorCommandInput | CreatePaymentCredentialProviderCommandInput | CreatePaymentManagerCommandInput | CreatePolicyCommandInput | CreatePolicyEngineCommandInput | CreateRegistryCommandInput | CreateRegistryRecordCommandInput | CreateWorkloadIdentityCommandInput | DeleteAgentRuntimeCommandInput | DeleteAgentRuntimeEndpointCommandInput | DeleteApiKeyCredentialProviderCommandInput | DeleteBrowserCommandInput | DeleteBrowserProfileCommandInput | DeleteCodeInterpreterCommandInput | DeleteConfigurationBundleCommandInput | DeleteEvaluatorCommandInput | DeleteGatewayCommandInput | DeleteGatewayRuleCommandInput | DeleteGatewayTargetCommandInput | DeleteHarnessCommandInput | DeleteMemoryCommandInput | DeleteOauth2CredentialProviderCommandInput | DeleteOnlineEvaluationConfigCommandInput | DeletePaymentConnectorCommandInput | DeletePaymentCredentialProviderCommandInput | DeletePaymentManagerCommandInput | DeletePolicyCommandInput | DeletePolicyEngineCommandInput | DeleteRegistryCommandInput | DeleteRegistryRecordCommandInput | DeleteResourcePolicyCommandInput | DeleteWorkloadIdentityCommandInput | GetAgentRuntimeCommandInput | GetAgentRuntimeEndpointCommandInput | GetApiKeyCredentialProviderCommandInput | GetBrowserCommandInput | GetBrowserProfileCommandInput | GetCodeInterpreterCommandInput | GetConfigurationBundleCommandInput | GetConfigurationBundleVersionCommandInput | GetEvaluatorCommandInput | GetGatewayCommandInput | GetGatewayRuleCommandInput | GetGatewayTargetCommandInput | GetHarnessCommandInput | GetMemoryCommandInput | GetOauth2CredentialProviderCommandInput | GetOnlineEvaluationConfigCommandInput | GetPaymentConnectorCommandInput | GetPaymentCredentialProviderCommandInput | GetPaymentManagerCommandInput | GetPolicyCommandInput | GetPolicyEngineCommandInput | GetPolicyEngineSummaryCommandInput | GetPolicyGenerationCommandInput | GetPolicyGenerationSummaryCommandInput | GetPolicySummaryCommandInput | GetRegistryCommandInput | GetRegistryRecordCommandInput | GetResourcePolicyCommandInput | GetTokenVaultCommandInput | GetWorkloadIdentityCommandInput | ListAgentRuntimeEndpointsCommandInput | ListAgentRuntimeVersionsCommandInput | ListAgentRuntimesCommandInput | ListApiKeyCredentialProvidersCommandInput | ListBrowserProfilesCommandInput | ListBrowsersCommandInput | ListCodeInterpretersCommandInput | ListConfigurationBundleVersionsCommandInput | ListConfigurationBundlesCommandInput | ListEvaluatorsCommandInput | ListGatewayRulesCommandInput | ListGatewayTargetsCommandInput | ListGatewaysCommandInput | ListHarnessesCommandInput | ListMemoriesCommandInput | ListOauth2CredentialProvidersCommandInput | ListOnlineEvaluationConfigsCommandInput | ListPaymentConnectorsCommandInput | ListPaymentCredentialProvidersCommandInput | ListPaymentManagersCommandInput | ListPoliciesCommandInput | ListPolicyEngineSummariesCommandInput | ListPolicyEnginesCommandInput | ListPolicyGenerationAssetsCommandInput | ListPolicyGenerationSummariesCommandInput | ListPolicyGenerationsCommandInput | ListPolicySummariesCommandInput | ListRegistriesCommandInput | ListRegistryRecordsCommandInput | ListTagsForResourceCommandInput | ListWorkloadIdentitiesCommandInput | PutResourcePolicyCommandInput | SetTokenVaultCMKCommandInput | StartPolicyGenerationCommandInput | SubmitRegistryRecordForApprovalCommandInput | SynchronizeGatewayTargetsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentRuntimeCommandInput | UpdateAgentRuntimeEndpointCommandInput | UpdateApiKeyCredentialProviderCommandInput | UpdateConfigurationBundleCommandInput | UpdateEvaluatorCommandInput | UpdateGatewayCommandInput | UpdateGatewayRuleCommandInput | UpdateGatewayTargetCommandInput | UpdateHarnessCommandInput | UpdateMemoryCommandInput | UpdateOauth2CredentialProviderCommandInput | UpdateOnlineEvaluationConfigCommandInput | UpdatePaymentConnectorCommandInput | UpdatePaymentCredentialProviderCommandInput | UpdatePaymentManagerCommandInput | UpdatePolicyCommandInput | UpdatePolicyEngineCommandInput | UpdateRegistryCommandInput | UpdateRegistryRecordCommandInput | UpdateRegistryRecordStatusCommandInput | UpdateWorkloadIdentityCommandInput;
162
+ export type ServiceInputTypes = AddDatasetExamplesCommandInput | CreateAgentRuntimeCommandInput | CreateAgentRuntimeEndpointCommandInput | CreateApiKeyCredentialProviderCommandInput | CreateBrowserCommandInput | CreateBrowserProfileCommandInput | CreateCodeInterpreterCommandInput | CreateConfigurationBundleCommandInput | CreateDatasetCommandInput | CreateDatasetVersionCommandInput | CreateEvaluatorCommandInput | CreateGatewayCommandInput | CreateGatewayRuleCommandInput | CreateGatewayTargetCommandInput | CreateHarnessCommandInput | CreateMemoryCommandInput | CreateOauth2CredentialProviderCommandInput | CreateOnlineEvaluationConfigCommandInput | CreatePaymentConnectorCommandInput | CreatePaymentCredentialProviderCommandInput | CreatePaymentManagerCommandInput | CreatePolicyCommandInput | CreatePolicyEngineCommandInput | CreateRegistryCommandInput | CreateRegistryRecordCommandInput | CreateWorkloadIdentityCommandInput | DeleteAgentRuntimeCommandInput | DeleteAgentRuntimeEndpointCommandInput | DeleteApiKeyCredentialProviderCommandInput | DeleteBrowserCommandInput | DeleteBrowserProfileCommandInput | DeleteCodeInterpreterCommandInput | DeleteConfigurationBundleCommandInput | DeleteDatasetCommandInput | DeleteDatasetExamplesCommandInput | DeleteEvaluatorCommandInput | DeleteGatewayCommandInput | DeleteGatewayRuleCommandInput | DeleteGatewayTargetCommandInput | DeleteHarnessCommandInput | DeleteMemoryCommandInput | DeleteOauth2CredentialProviderCommandInput | DeleteOnlineEvaluationConfigCommandInput | DeletePaymentConnectorCommandInput | DeletePaymentCredentialProviderCommandInput | DeletePaymentManagerCommandInput | DeletePolicyCommandInput | DeletePolicyEngineCommandInput | DeleteRegistryCommandInput | DeleteRegistryRecordCommandInput | DeleteResourcePolicyCommandInput | DeleteWorkloadIdentityCommandInput | GetAgentRuntimeCommandInput | GetAgentRuntimeEndpointCommandInput | GetApiKeyCredentialProviderCommandInput | GetBrowserCommandInput | GetBrowserProfileCommandInput | GetCodeInterpreterCommandInput | GetConfigurationBundleCommandInput | GetConfigurationBundleVersionCommandInput | GetDatasetCommandInput | GetEvaluatorCommandInput | GetGatewayCommandInput | GetGatewayRuleCommandInput | GetGatewayTargetCommandInput | GetHarnessCommandInput | GetMemoryCommandInput | GetOauth2CredentialProviderCommandInput | GetOnlineEvaluationConfigCommandInput | GetPaymentConnectorCommandInput | GetPaymentCredentialProviderCommandInput | GetPaymentManagerCommandInput | GetPolicyCommandInput | GetPolicyEngineCommandInput | GetPolicyEngineSummaryCommandInput | GetPolicyGenerationCommandInput | GetPolicyGenerationSummaryCommandInput | GetPolicySummaryCommandInput | GetRegistryCommandInput | GetRegistryRecordCommandInput | GetResourcePolicyCommandInput | GetTokenVaultCommandInput | GetWorkloadIdentityCommandInput | ListAgentRuntimeEndpointsCommandInput | ListAgentRuntimeVersionsCommandInput | ListAgentRuntimesCommandInput | ListApiKeyCredentialProvidersCommandInput | ListBrowserProfilesCommandInput | ListBrowsersCommandInput | ListCodeInterpretersCommandInput | ListConfigurationBundleVersionsCommandInput | ListConfigurationBundlesCommandInput | ListDatasetExamplesCommandInput | ListDatasetVersionsCommandInput | ListDatasetsCommandInput | ListEvaluatorsCommandInput | ListGatewayRulesCommandInput | ListGatewayTargetsCommandInput | ListGatewaysCommandInput | ListHarnessesCommandInput | ListMemoriesCommandInput | ListOauth2CredentialProvidersCommandInput | ListOnlineEvaluationConfigsCommandInput | ListPaymentConnectorsCommandInput | ListPaymentCredentialProvidersCommandInput | ListPaymentManagersCommandInput | ListPoliciesCommandInput | ListPolicyEngineSummariesCommandInput | ListPolicyEnginesCommandInput | ListPolicyGenerationAssetsCommandInput | ListPolicyGenerationSummariesCommandInput | ListPolicyGenerationsCommandInput | ListPolicySummariesCommandInput | ListRegistriesCommandInput | ListRegistryRecordsCommandInput | ListTagsForResourceCommandInput | ListWorkloadIdentitiesCommandInput | PutResourcePolicyCommandInput | SetTokenVaultCMKCommandInput | StartPolicyGenerationCommandInput | SubmitRegistryRecordForApprovalCommandInput | SynchronizeGatewayTargetsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentRuntimeCommandInput | UpdateAgentRuntimeEndpointCommandInput | UpdateApiKeyCredentialProviderCommandInput | UpdateConfigurationBundleCommandInput | UpdateDatasetCommandInput | UpdateDatasetExamplesCommandInput | UpdateEvaluatorCommandInput | UpdateGatewayCommandInput | UpdateGatewayRuleCommandInput | UpdateGatewayTargetCommandInput | UpdateHarnessCommandInput | UpdateMemoryCommandInput | UpdateOauth2CredentialProviderCommandInput | UpdateOnlineEvaluationConfigCommandInput | UpdatePaymentConnectorCommandInput | UpdatePaymentCredentialProviderCommandInput | UpdatePaymentManagerCommandInput | UpdatePolicyCommandInput | UpdatePolicyEngineCommandInput | UpdateRegistryCommandInput | UpdateRegistryRecordCommandInput | UpdateRegistryRecordStatusCommandInput | UpdateWorkloadIdentityCommandInput;
152
163
  /**
153
164
  * @public
154
165
  */
155
- export type ServiceOutputTypes = CreateAgentRuntimeCommandOutput | CreateAgentRuntimeEndpointCommandOutput | CreateApiKeyCredentialProviderCommandOutput | CreateBrowserCommandOutput | CreateBrowserProfileCommandOutput | CreateCodeInterpreterCommandOutput | CreateConfigurationBundleCommandOutput | CreateEvaluatorCommandOutput | CreateGatewayCommandOutput | CreateGatewayRuleCommandOutput | CreateGatewayTargetCommandOutput | CreateHarnessCommandOutput | CreateMemoryCommandOutput | CreateOauth2CredentialProviderCommandOutput | CreateOnlineEvaluationConfigCommandOutput | CreatePaymentConnectorCommandOutput | CreatePaymentCredentialProviderCommandOutput | CreatePaymentManagerCommandOutput | CreatePolicyCommandOutput | CreatePolicyEngineCommandOutput | CreateRegistryCommandOutput | CreateRegistryRecordCommandOutput | CreateWorkloadIdentityCommandOutput | DeleteAgentRuntimeCommandOutput | DeleteAgentRuntimeEndpointCommandOutput | DeleteApiKeyCredentialProviderCommandOutput | DeleteBrowserCommandOutput | DeleteBrowserProfileCommandOutput | DeleteCodeInterpreterCommandOutput | DeleteConfigurationBundleCommandOutput | DeleteEvaluatorCommandOutput | DeleteGatewayCommandOutput | DeleteGatewayRuleCommandOutput | DeleteGatewayTargetCommandOutput | DeleteHarnessCommandOutput | DeleteMemoryCommandOutput | DeleteOauth2CredentialProviderCommandOutput | DeleteOnlineEvaluationConfigCommandOutput | DeletePaymentConnectorCommandOutput | DeletePaymentCredentialProviderCommandOutput | DeletePaymentManagerCommandOutput | DeletePolicyCommandOutput | DeletePolicyEngineCommandOutput | DeleteRegistryCommandOutput | DeleteRegistryRecordCommandOutput | DeleteResourcePolicyCommandOutput | DeleteWorkloadIdentityCommandOutput | GetAgentRuntimeCommandOutput | GetAgentRuntimeEndpointCommandOutput | GetApiKeyCredentialProviderCommandOutput | GetBrowserCommandOutput | GetBrowserProfileCommandOutput | GetCodeInterpreterCommandOutput | GetConfigurationBundleCommandOutput | GetConfigurationBundleVersionCommandOutput | GetEvaluatorCommandOutput | GetGatewayCommandOutput | GetGatewayRuleCommandOutput | GetGatewayTargetCommandOutput | GetHarnessCommandOutput | GetMemoryCommandOutput | GetOauth2CredentialProviderCommandOutput | GetOnlineEvaluationConfigCommandOutput | GetPaymentConnectorCommandOutput | GetPaymentCredentialProviderCommandOutput | GetPaymentManagerCommandOutput | GetPolicyCommandOutput | GetPolicyEngineCommandOutput | GetPolicyEngineSummaryCommandOutput | GetPolicyGenerationCommandOutput | GetPolicyGenerationSummaryCommandOutput | GetPolicySummaryCommandOutput | GetRegistryCommandOutput | GetRegistryRecordCommandOutput | GetResourcePolicyCommandOutput | GetTokenVaultCommandOutput | GetWorkloadIdentityCommandOutput | ListAgentRuntimeEndpointsCommandOutput | ListAgentRuntimeVersionsCommandOutput | ListAgentRuntimesCommandOutput | ListApiKeyCredentialProvidersCommandOutput | ListBrowserProfilesCommandOutput | ListBrowsersCommandOutput | ListCodeInterpretersCommandOutput | ListConfigurationBundleVersionsCommandOutput | ListConfigurationBundlesCommandOutput | ListEvaluatorsCommandOutput | ListGatewayRulesCommandOutput | ListGatewayTargetsCommandOutput | ListGatewaysCommandOutput | ListHarnessesCommandOutput | ListMemoriesCommandOutput | ListOauth2CredentialProvidersCommandOutput | ListOnlineEvaluationConfigsCommandOutput | ListPaymentConnectorsCommandOutput | ListPaymentCredentialProvidersCommandOutput | ListPaymentManagersCommandOutput | ListPoliciesCommandOutput | ListPolicyEngineSummariesCommandOutput | ListPolicyEnginesCommandOutput | ListPolicyGenerationAssetsCommandOutput | ListPolicyGenerationSummariesCommandOutput | ListPolicyGenerationsCommandOutput | ListPolicySummariesCommandOutput | ListRegistriesCommandOutput | ListRegistryRecordsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadIdentitiesCommandOutput | PutResourcePolicyCommandOutput | SetTokenVaultCMKCommandOutput | StartPolicyGenerationCommandOutput | SubmitRegistryRecordForApprovalCommandOutput | SynchronizeGatewayTargetsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentRuntimeCommandOutput | UpdateAgentRuntimeEndpointCommandOutput | UpdateApiKeyCredentialProviderCommandOutput | UpdateConfigurationBundleCommandOutput | UpdateEvaluatorCommandOutput | UpdateGatewayCommandOutput | UpdateGatewayRuleCommandOutput | UpdateGatewayTargetCommandOutput | UpdateHarnessCommandOutput | UpdateMemoryCommandOutput | UpdateOauth2CredentialProviderCommandOutput | UpdateOnlineEvaluationConfigCommandOutput | UpdatePaymentConnectorCommandOutput | UpdatePaymentCredentialProviderCommandOutput | UpdatePaymentManagerCommandOutput | UpdatePolicyCommandOutput | UpdatePolicyEngineCommandOutput | UpdateRegistryCommandOutput | UpdateRegistryRecordCommandOutput | UpdateRegistryRecordStatusCommandOutput | UpdateWorkloadIdentityCommandOutput;
166
+ export type ServiceOutputTypes = AddDatasetExamplesCommandOutput | CreateAgentRuntimeCommandOutput | CreateAgentRuntimeEndpointCommandOutput | CreateApiKeyCredentialProviderCommandOutput | CreateBrowserCommandOutput | CreateBrowserProfileCommandOutput | CreateCodeInterpreterCommandOutput | CreateConfigurationBundleCommandOutput | CreateDatasetCommandOutput | CreateDatasetVersionCommandOutput | CreateEvaluatorCommandOutput | CreateGatewayCommandOutput | CreateGatewayRuleCommandOutput | CreateGatewayTargetCommandOutput | CreateHarnessCommandOutput | CreateMemoryCommandOutput | CreateOauth2CredentialProviderCommandOutput | CreateOnlineEvaluationConfigCommandOutput | CreatePaymentConnectorCommandOutput | CreatePaymentCredentialProviderCommandOutput | CreatePaymentManagerCommandOutput | CreatePolicyCommandOutput | CreatePolicyEngineCommandOutput | CreateRegistryCommandOutput | CreateRegistryRecordCommandOutput | CreateWorkloadIdentityCommandOutput | DeleteAgentRuntimeCommandOutput | DeleteAgentRuntimeEndpointCommandOutput | DeleteApiKeyCredentialProviderCommandOutput | DeleteBrowserCommandOutput | DeleteBrowserProfileCommandOutput | DeleteCodeInterpreterCommandOutput | DeleteConfigurationBundleCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetExamplesCommandOutput | DeleteEvaluatorCommandOutput | DeleteGatewayCommandOutput | DeleteGatewayRuleCommandOutput | DeleteGatewayTargetCommandOutput | DeleteHarnessCommandOutput | DeleteMemoryCommandOutput | DeleteOauth2CredentialProviderCommandOutput | DeleteOnlineEvaluationConfigCommandOutput | DeletePaymentConnectorCommandOutput | DeletePaymentCredentialProviderCommandOutput | DeletePaymentManagerCommandOutput | DeletePolicyCommandOutput | DeletePolicyEngineCommandOutput | DeleteRegistryCommandOutput | DeleteRegistryRecordCommandOutput | DeleteResourcePolicyCommandOutput | DeleteWorkloadIdentityCommandOutput | GetAgentRuntimeCommandOutput | GetAgentRuntimeEndpointCommandOutput | GetApiKeyCredentialProviderCommandOutput | GetBrowserCommandOutput | GetBrowserProfileCommandOutput | GetCodeInterpreterCommandOutput | GetConfigurationBundleCommandOutput | GetConfigurationBundleVersionCommandOutput | GetDatasetCommandOutput | GetEvaluatorCommandOutput | GetGatewayCommandOutput | GetGatewayRuleCommandOutput | GetGatewayTargetCommandOutput | GetHarnessCommandOutput | GetMemoryCommandOutput | GetOauth2CredentialProviderCommandOutput | GetOnlineEvaluationConfigCommandOutput | GetPaymentConnectorCommandOutput | GetPaymentCredentialProviderCommandOutput | GetPaymentManagerCommandOutput | GetPolicyCommandOutput | GetPolicyEngineCommandOutput | GetPolicyEngineSummaryCommandOutput | GetPolicyGenerationCommandOutput | GetPolicyGenerationSummaryCommandOutput | GetPolicySummaryCommandOutput | GetRegistryCommandOutput | GetRegistryRecordCommandOutput | GetResourcePolicyCommandOutput | GetTokenVaultCommandOutput | GetWorkloadIdentityCommandOutput | ListAgentRuntimeEndpointsCommandOutput | ListAgentRuntimeVersionsCommandOutput | ListAgentRuntimesCommandOutput | ListApiKeyCredentialProvidersCommandOutput | ListBrowserProfilesCommandOutput | ListBrowsersCommandOutput | ListCodeInterpretersCommandOutput | ListConfigurationBundleVersionsCommandOutput | ListConfigurationBundlesCommandOutput | ListDatasetExamplesCommandOutput | ListDatasetVersionsCommandOutput | ListDatasetsCommandOutput | ListEvaluatorsCommandOutput | ListGatewayRulesCommandOutput | ListGatewayTargetsCommandOutput | ListGatewaysCommandOutput | ListHarnessesCommandOutput | ListMemoriesCommandOutput | ListOauth2CredentialProvidersCommandOutput | ListOnlineEvaluationConfigsCommandOutput | ListPaymentConnectorsCommandOutput | ListPaymentCredentialProvidersCommandOutput | ListPaymentManagersCommandOutput | ListPoliciesCommandOutput | ListPolicyEngineSummariesCommandOutput | ListPolicyEnginesCommandOutput | ListPolicyGenerationAssetsCommandOutput | ListPolicyGenerationSummariesCommandOutput | ListPolicyGenerationsCommandOutput | ListPolicySummariesCommandOutput | ListRegistriesCommandOutput | ListRegistryRecordsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadIdentitiesCommandOutput | PutResourcePolicyCommandOutput | SetTokenVaultCMKCommandOutput | StartPolicyGenerationCommandOutput | SubmitRegistryRecordForApprovalCommandOutput | SynchronizeGatewayTargetsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentRuntimeCommandOutput | UpdateAgentRuntimeEndpointCommandOutput | UpdateApiKeyCredentialProviderCommandOutput | UpdateConfigurationBundleCommandOutput | UpdateDatasetCommandOutput | UpdateDatasetExamplesCommandOutput | UpdateEvaluatorCommandOutput | UpdateGatewayCommandOutput | UpdateGatewayRuleCommandOutput | UpdateGatewayTargetCommandOutput | UpdateHarnessCommandOutput | UpdateMemoryCommandOutput | UpdateOauth2CredentialProviderCommandOutput | UpdateOnlineEvaluationConfigCommandOutput | UpdatePaymentConnectorCommandOutput | UpdatePaymentCredentialProviderCommandOutput | UpdatePaymentManagerCommandOutput | UpdatePolicyCommandOutput | UpdatePolicyEngineCommandOutput | UpdateRegistryCommandOutput | UpdateRegistryRecordCommandOutput | UpdateRegistryRecordStatusCommandOutput | UpdateWorkloadIdentityCommandOutput;
156
167
  /**
157
168
  * @public
158
169
  */
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { AddDatasetExamplesRequest, AddDatasetExamplesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AddDatasetExamplesCommand}.
14
+ */
15
+ export interface AddDatasetExamplesCommandInput extends AddDatasetExamplesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AddDatasetExamplesCommand}.
21
+ */
22
+ export interface AddDatasetExamplesCommandOutput extends AddDatasetExamplesResponse, __MetadataBearer {
23
+ }
24
+ declare const AddDatasetExamplesCommand_base: {
25
+ new (input: AddDatasetExamplesCommandInput): import("@smithy/core/client").CommandImpl<AddDatasetExamplesCommandInput, AddDatasetExamplesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AddDatasetExamplesCommandInput): import("@smithy/core/client").CommandImpl<AddDatasetExamplesCommandInput, AddDatasetExamplesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Adds examples to the dataset's DRAFT.
33
+ *
34
+ * **Validation:** All examples are validated against the dataset's schemaType before any
35
+ * writes occur. If any example fails validation, the entire batch is rejected with
36
+ * ValidationException — no examples are written (all-or-nothing semantics).
37
+ *
38
+ * **Asynchronous:** Operates in-place on DRAFT. No version bump occurs.
39
+ * Use CreateDatasetVersion to publish DRAFT as a new numbered version.
40
+ *
41
+ * **State guard:** Returns ConflictException (DATASET_NOT_READY) if the dataset
42
+ * status is not in \{DRAFT, ACTIVE\}.
43
+ *
44
+ * **Request size limit:** Max 5 MB total request body. Max 1000 examples per call.
45
+ * @example
46
+ * Use a bare-bones client and the command you need to make an API call.
47
+ * ```javascript
48
+ * import { BedrockAgentCoreControlClient, AddDatasetExamplesCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
49
+ * // const { BedrockAgentCoreControlClient, AddDatasetExamplesCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
50
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
51
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
52
+ * const client = new BedrockAgentCoreControlClient(config);
53
+ * const input = { // AddDatasetExamplesRequest
54
+ * datasetId: "STRING_VALUE", // required
55
+ * clientToken: "STRING_VALUE",
56
+ * source: { // DataSourceType Union: only one key present
57
+ * inlineExamples: { // InlineExamplesSource
58
+ * examples: [ // DatasetExampleList // required
59
+ * "DOCUMENT_VALUE",
60
+ * ],
61
+ * },
62
+ * s3Source: { // S3Source
63
+ * s3Uri: "STRING_VALUE", // required
64
+ * },
65
+ * },
66
+ * };
67
+ * const command = new AddDatasetExamplesCommand(input);
68
+ * const response = await client.send(command);
69
+ * // { // AddDatasetExamplesResponse
70
+ * // datasetArn: "STRING_VALUE", // required
71
+ * // datasetId: "STRING_VALUE", // required
72
+ * // status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
73
+ * // addedCount: Number("long"), // required
74
+ * // updatedAt: new Date("TIMESTAMP"), // required
75
+ * // exampleIds: [ // ExampleIdList // required
76
+ * // "STRING_VALUE",
77
+ * // ],
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param AddDatasetExamplesCommandInput - {@link AddDatasetExamplesCommandInput}
83
+ * @returns {@link AddDatasetExamplesCommandOutput}
84
+ * @see {@link AddDatasetExamplesCommandInput} for command's `input` shape.
85
+ * @see {@link AddDatasetExamplesCommandOutput} for command's `response` shape.
86
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>This exception is thrown when a request is denied per access permissions</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>This exception is thrown when a resource referenced by the operation does not exist</p>
99
+ *
100
+ * @throws {@link ServiceQuotaExceededException} (client fault)
101
+ * <p>This exception is thrown when a request is made beyond the service quota</p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
108
+ *
109
+ * @throws {@link BedrockAgentCoreControlServiceException}
110
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
111
+ *
112
+ *
113
+ * @public
114
+ */
115
+ export declare class AddDatasetExamplesCommand extends AddDatasetExamplesCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: AddDatasetExamplesRequest;
120
+ output: AddDatasetExamplesResponse;
121
+ };
122
+ sdk: {
123
+ input: AddDatasetExamplesCommandInput;
124
+ output: AddDatasetExamplesCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
4
+ import type { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDatasetCommand}.
14
+ */
15
+ export interface CreateDatasetCommandInput extends CreateDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDatasetCommand}.
21
+ */
22
+ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDatasetCommand_base: {
25
+ new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Creates a new Dataset resource asynchronously.
33
+ *
34
+ * Returns immediately with status CREATING. Poll GetDataset until
35
+ * status transitions to ACTIVE or CREATE_FAILED (with failureReason).
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { BedrockAgentCoreControlClient, CreateDatasetCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
40
+ * // const { BedrockAgentCoreControlClient, CreateDatasetCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
41
+ * // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
42
+ * const config = {}; // type is BedrockAgentCoreControlClientConfig
43
+ * const client = new BedrockAgentCoreControlClient(config);
44
+ * const input = { // CreateDatasetRequest
45
+ * clientToken: "STRING_VALUE",
46
+ * datasetName: "STRING_VALUE", // required
47
+ * description: "STRING_VALUE",
48
+ * source: { // DataSourceType Union: only one key present
49
+ * inlineExamples: { // InlineExamplesSource
50
+ * examples: [ // DatasetExampleList // required
51
+ * "DOCUMENT_VALUE",
52
+ * ],
53
+ * },
54
+ * s3Source: { // S3Source
55
+ * s3Uri: "STRING_VALUE", // required
56
+ * },
57
+ * },
58
+ * schemaType: "AGENTCORE_EVALUATION_PREDEFINED_V1" || "AGENTCORE_EVALUATION_SIMULATED_V1", // required
59
+ * kmsKeyArn: "STRING_VALUE",
60
+ * tags: { // TagsMap
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * };
64
+ * const command = new CreateDatasetCommand(input);
65
+ * const response = await client.send(command);
66
+ * // { // CreateDatasetResponse
67
+ * // datasetArn: "STRING_VALUE", // required
68
+ * // datasetId: "STRING_VALUE", // required
69
+ * // status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
70
+ * // createdAt: new Date("TIMESTAMP"), // required
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param CreateDatasetCommandInput - {@link CreateDatasetCommandInput}
76
+ * @returns {@link CreateDatasetCommandOutput}
77
+ * @see {@link CreateDatasetCommandInput} for command's `input` shape.
78
+ * @see {@link CreateDatasetCommandOutput} for command's `response` shape.
79
+ * @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>This exception is thrown when a request is denied per access permissions</p>
83
+ *
84
+ * @throws {@link ConflictException} (client fault)
85
+ * <p>This exception is thrown when there is a conflict performing an operation</p>
86
+ *
87
+ * @throws {@link InternalServerException} (server fault)
88
+ * <p>This exception is thrown if there was an unexpected error during processing of request</p>
89
+ *
90
+ * @throws {@link ServiceQuotaExceededException} (client fault)
91
+ * <p>This exception is thrown when a request is made beyond the service quota</p>
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * <p>This exception is thrown when the number of requests exceeds the limit</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The input fails to satisfy the constraints specified by the service.</p>
98
+ *
99
+ * @throws {@link BedrockAgentCoreControlServiceException}
100
+ * <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class CreateDatasetCommand extends CreateDatasetCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: CreateDatasetRequest;
110
+ output: CreateDatasetResponse;
111
+ };
112
+ sdk: {
113
+ input: CreateDatasetCommandInput;
114
+ output: CreateDatasetCommandOutput;
115
+ };
116
+ };
117
+ }