@aws-sdk/client-bedrock 3.635.0 → 3.637.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 (49) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +515 -78
  3. package/dist-es/Bedrock.js +14 -0
  4. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
  5. package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
  6. package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
  7. package/dist-es/commands/GetImportedModelCommand.js +24 -0
  8. package/dist-es/commands/GetModelImportJobCommand.js +24 -0
  9. package/dist-es/commands/ListImportedModelsCommand.js +24 -0
  10. package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +91 -58
  13. package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
  14. package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/protocols/Aws_restJson1.js +250 -3
  17. package/dist-types/Bedrock.d.ts +51 -0
  18. package/dist-types/BedrockClient.d.ts +9 -2
  19. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
  20. package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
  21. package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
  22. package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
  23. package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
  24. package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
  25. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
  26. package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
  27. package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +696 -167
  30. package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +2 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  34. package/dist-types/ts3.4/Bedrock.d.ts +121 -0
  35. package/dist-types/ts3.4/BedrockClient.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
  37. package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
  38. package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
  39. package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
  41. package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
  42. package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +193 -45
  45. package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  49. package/package.json +6 -6
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "../commands/ListImportedModelsCommand";
3
+ import { BedrockPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListImportedModels: (config: BedrockPaginationConfiguration, input: ListImportedModelsCommandInput, ...rest: any[]) => Paginator<ListImportedModelsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "../commands/ListModelImportJobsCommand";
3
+ import { BedrockPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListModelImportJobs: (config: BedrockPaginationConfiguration, input: ListModelImportJobsCommandInput, ...rest: any[]) => Paginator<ListModelImportJobsCommandOutput>;
@@ -2,7 +2,9 @@ export * from "./Interfaces";
2
2
  export * from "./ListCustomModelsPaginator";
3
3
  export * from "./ListEvaluationJobsPaginator";
4
4
  export * from "./ListGuardrailsPaginator";
5
+ export * from "./ListImportedModelsPaginator";
5
6
  export * from "./ListModelCopyJobsPaginator";
6
7
  export * from "./ListModelCustomizationJobsPaginator";
8
+ export * from "./ListModelImportJobsPaginator";
7
9
  export * from "./ListModelInvocationJobsPaginator";
8
10
  export * from "./ListProvisionedModelThroughputsPaginator";
@@ -1,22 +1,27 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "../commands/BatchDeleteEvaluationJobCommand";
3
4
  import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "../commands/CreateEvaluationJobCommand";
4
5
  import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "../commands/CreateGuardrailCommand";
5
6
  import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "../commands/CreateGuardrailVersionCommand";
6
7
  import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "../commands/CreateModelCopyJobCommand";
7
8
  import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";
9
+ import { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "../commands/CreateModelImportJobCommand";
8
10
  import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput } from "../commands/CreateModelInvocationJobCommand";
9
11
  import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "../commands/CreateProvisionedModelThroughputCommand";
10
12
  import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
11
13
  import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "../commands/DeleteGuardrailCommand";
14
+ import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "../commands/DeleteImportedModelCommand";
12
15
  import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
13
16
  import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";
14
17
  import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
15
18
  import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "../commands/GetEvaluationJobCommand";
16
19
  import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
17
20
  import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "../commands/GetGuardrailCommand";
21
+ import { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "../commands/GetImportedModelCommand";
18
22
  import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "../commands/GetModelCopyJobCommand";
19
23
  import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "../commands/GetModelCustomizationJobCommand";
24
+ import { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "../commands/GetModelImportJobCommand";
20
25
  import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "../commands/GetModelInvocationJobCommand";
21
26
  import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "../commands/GetModelInvocationLoggingConfigurationCommand";
22
27
  import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "../commands/GetProvisionedModelThroughputCommand";
@@ -24,8 +29,10 @@ import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../
24
29
  import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "../commands/ListEvaluationJobsCommand";
25
30
  import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "../commands/ListFoundationModelsCommand";
26
31
  import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "../commands/ListGuardrailsCommand";
32
+ import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "../commands/ListImportedModelsCommand";
27
33
  import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "../commands/ListModelCopyJobsCommand";
28
34
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
35
+ import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "../commands/ListModelImportJobsCommand";
29
36
  import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "../commands/ListModelInvocationJobsCommand";
30
37
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
31
38
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
@@ -37,6 +44,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
37
44
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
38
45
  import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "../commands/UpdateGuardrailCommand";
39
46
  import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "../commands/UpdateProvisionedModelThroughputCommand";
47
+ /**
48
+ * serializeAws_restJson1BatchDeleteEvaluationJobCommand
49
+ */
50
+ export declare const se_BatchDeleteEvaluationJobCommand: (input: BatchDeleteEvaluationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
51
  /**
41
52
  * serializeAws_restJson1CreateEvaluationJobCommand
42
53
  */
@@ -57,6 +68,10 @@ export declare const se_CreateModelCopyJobCommand: (input: CreateModelCopyJobCom
57
68
  * serializeAws_restJson1CreateModelCustomizationJobCommand
58
69
  */
59
70
  export declare const se_CreateModelCustomizationJobCommand: (input: CreateModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ /**
72
+ * serializeAws_restJson1CreateModelImportJobCommand
73
+ */
74
+ export declare const se_CreateModelImportJobCommand: (input: CreateModelImportJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
75
  /**
61
76
  * serializeAws_restJson1CreateModelInvocationJobCommand
62
77
  */
@@ -73,6 +88,10 @@ export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelComma
73
88
  * serializeAws_restJson1DeleteGuardrailCommand
74
89
  */
75
90
  export declare const se_DeleteGuardrailCommand: (input: DeleteGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ /**
92
+ * serializeAws_restJson1DeleteImportedModelCommand
93
+ */
94
+ export declare const se_DeleteImportedModelCommand: (input: DeleteImportedModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
95
  /**
77
96
  * serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
78
97
  */
@@ -97,6 +116,10 @@ export declare const se_GetFoundationModelCommand: (input: GetFoundationModelCom
97
116
  * serializeAws_restJson1GetGuardrailCommand
98
117
  */
99
118
  export declare const se_GetGuardrailCommand: (input: GetGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
+ /**
120
+ * serializeAws_restJson1GetImportedModelCommand
121
+ */
122
+ export declare const se_GetImportedModelCommand: (input: GetImportedModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
123
  /**
101
124
  * serializeAws_restJson1GetModelCopyJobCommand
102
125
  */
@@ -105,6 +128,10 @@ export declare const se_GetModelCopyJobCommand: (input: GetModelCopyJobCommandIn
105
128
  * serializeAws_restJson1GetModelCustomizationJobCommand
106
129
  */
107
130
  export declare const se_GetModelCustomizationJobCommand: (input: GetModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1GetModelImportJobCommand
133
+ */
134
+ export declare const se_GetModelImportJobCommand: (input: GetModelImportJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
135
  /**
109
136
  * serializeAws_restJson1GetModelInvocationJobCommand
110
137
  */
@@ -133,6 +160,10 @@ export declare const se_ListFoundationModelsCommand: (input: ListFoundationModel
133
160
  * serializeAws_restJson1ListGuardrailsCommand
134
161
  */
135
162
  export declare const se_ListGuardrailsCommand: (input: ListGuardrailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
163
+ /**
164
+ * serializeAws_restJson1ListImportedModelsCommand
165
+ */
166
+ export declare const se_ListImportedModelsCommand: (input: ListImportedModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
136
167
  /**
137
168
  * serializeAws_restJson1ListModelCopyJobsCommand
138
169
  */
@@ -141,6 +172,10 @@ export declare const se_ListModelCopyJobsCommand: (input: ListModelCopyJobsComma
141
172
  * serializeAws_restJson1ListModelCustomizationJobsCommand
142
173
  */
143
174
  export declare const se_ListModelCustomizationJobsCommand: (input: ListModelCustomizationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
175
+ /**
176
+ * serializeAws_restJson1ListModelImportJobsCommand
177
+ */
178
+ export declare const se_ListModelImportJobsCommand: (input: ListModelImportJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
144
179
  /**
145
180
  * serializeAws_restJson1ListModelInvocationJobsCommand
146
181
  */
@@ -185,6 +220,10 @@ export declare const se_UpdateGuardrailCommand: (input: UpdateGuardrailCommandIn
185
220
  * serializeAws_restJson1UpdateProvisionedModelThroughputCommand
186
221
  */
187
222
  export declare const se_UpdateProvisionedModelThroughputCommand: (input: UpdateProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
+ /**
224
+ * deserializeAws_restJson1BatchDeleteEvaluationJobCommand
225
+ */
226
+ export declare const de_BatchDeleteEvaluationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteEvaluationJobCommandOutput>;
188
227
  /**
189
228
  * deserializeAws_restJson1CreateEvaluationJobCommand
190
229
  */
@@ -205,6 +244,10 @@ export declare const de_CreateModelCopyJobCommand: (output: __HttpResponse, cont
205
244
  * deserializeAws_restJson1CreateModelCustomizationJobCommand
206
245
  */
207
246
  export declare const de_CreateModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelCustomizationJobCommandOutput>;
247
+ /**
248
+ * deserializeAws_restJson1CreateModelImportJobCommand
249
+ */
250
+ export declare const de_CreateModelImportJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelImportJobCommandOutput>;
208
251
  /**
209
252
  * deserializeAws_restJson1CreateModelInvocationJobCommand
210
253
  */
@@ -221,6 +264,10 @@ export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, conte
221
264
  * deserializeAws_restJson1DeleteGuardrailCommand
222
265
  */
223
266
  export declare const de_DeleteGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteGuardrailCommandOutput>;
267
+ /**
268
+ * deserializeAws_restJson1DeleteImportedModelCommand
269
+ */
270
+ export declare const de_DeleteImportedModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteImportedModelCommandOutput>;
224
271
  /**
225
272
  * deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
226
273
  */
@@ -245,6 +292,10 @@ export declare const de_GetFoundationModelCommand: (output: __HttpResponse, cont
245
292
  * deserializeAws_restJson1GetGuardrailCommand
246
293
  */
247
294
  export declare const de_GetGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGuardrailCommandOutput>;
295
+ /**
296
+ * deserializeAws_restJson1GetImportedModelCommand
297
+ */
298
+ export declare const de_GetImportedModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImportedModelCommandOutput>;
248
299
  /**
249
300
  * deserializeAws_restJson1GetModelCopyJobCommand
250
301
  */
@@ -253,6 +304,10 @@ export declare const de_GetModelCopyJobCommand: (output: __HttpResponse, context
253
304
  * deserializeAws_restJson1GetModelCustomizationJobCommand
254
305
  */
255
306
  export declare const de_GetModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelCustomizationJobCommandOutput>;
307
+ /**
308
+ * deserializeAws_restJson1GetModelImportJobCommand
309
+ */
310
+ export declare const de_GetModelImportJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelImportJobCommandOutput>;
256
311
  /**
257
312
  * deserializeAws_restJson1GetModelInvocationJobCommand
258
313
  */
@@ -281,6 +336,10 @@ export declare const de_ListFoundationModelsCommand: (output: __HttpResponse, co
281
336
  * deserializeAws_restJson1ListGuardrailsCommand
282
337
  */
283
338
  export declare const de_ListGuardrailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListGuardrailsCommandOutput>;
339
+ /**
340
+ * deserializeAws_restJson1ListImportedModelsCommand
341
+ */
342
+ export declare const de_ListImportedModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportedModelsCommandOutput>;
284
343
  /**
285
344
  * deserializeAws_restJson1ListModelCopyJobsCommand
286
345
  */
@@ -289,6 +348,10 @@ export declare const de_ListModelCopyJobsCommand: (output: __HttpResponse, conte
289
348
  * deserializeAws_restJson1ListModelCustomizationJobsCommand
290
349
  */
291
350
  export declare const de_ListModelCustomizationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelCustomizationJobsCommandOutput>;
351
+ /**
352
+ * deserializeAws_restJson1ListModelImportJobsCommand
353
+ */
354
+ export declare const de_ListModelImportJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelImportJobsCommandOutput>;
292
355
  /**
293
356
  * deserializeAws_restJson1ListModelInvocationJobsCommand
294
357
  */
@@ -1,5 +1,9 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BedrockClient } from "./BedrockClient";
3
+ import {
4
+ BatchDeleteEvaluationJobCommandInput,
5
+ BatchDeleteEvaluationJobCommandOutput,
6
+ } from "./commands/BatchDeleteEvaluationJobCommand";
3
7
  import {
4
8
  CreateEvaluationJobCommandInput,
5
9
  CreateEvaluationJobCommandOutput,
@@ -20,6 +24,10 @@ import {
20
24
  CreateModelCustomizationJobCommandInput,
21
25
  CreateModelCustomizationJobCommandOutput,
22
26
  } from "./commands/CreateModelCustomizationJobCommand";
27
+ import {
28
+ CreateModelImportJobCommandInput,
29
+ CreateModelImportJobCommandOutput,
30
+ } from "./commands/CreateModelImportJobCommand";
23
31
  import {
24
32
  CreateModelInvocationJobCommandInput,
25
33
  CreateModelInvocationJobCommandOutput,
@@ -36,6 +44,10 @@ import {
36
44
  DeleteGuardrailCommandInput,
37
45
  DeleteGuardrailCommandOutput,
38
46
  } from "./commands/DeleteGuardrailCommand";
47
+ import {
48
+ DeleteImportedModelCommandInput,
49
+ DeleteImportedModelCommandOutput,
50
+ } from "./commands/DeleteImportedModelCommand";
39
51
  import {
40
52
  DeleteModelInvocationLoggingConfigurationCommandInput,
41
53
  DeleteModelInvocationLoggingConfigurationCommandOutput,
@@ -60,6 +72,10 @@ import {
60
72
  GetGuardrailCommandInput,
61
73
  GetGuardrailCommandOutput,
62
74
  } from "./commands/GetGuardrailCommand";
75
+ import {
76
+ GetImportedModelCommandInput,
77
+ GetImportedModelCommandOutput,
78
+ } from "./commands/GetImportedModelCommand";
63
79
  import {
64
80
  GetModelCopyJobCommandInput,
65
81
  GetModelCopyJobCommandOutput,
@@ -68,6 +84,10 @@ import {
68
84
  GetModelCustomizationJobCommandInput,
69
85
  GetModelCustomizationJobCommandOutput,
70
86
  } from "./commands/GetModelCustomizationJobCommand";
87
+ import {
88
+ GetModelImportJobCommandInput,
89
+ GetModelImportJobCommandOutput,
90
+ } from "./commands/GetModelImportJobCommand";
71
91
  import {
72
92
  GetModelInvocationJobCommandInput,
73
93
  GetModelInvocationJobCommandOutput,
@@ -96,6 +116,10 @@ import {
96
116
  ListGuardrailsCommandInput,
97
117
  ListGuardrailsCommandOutput,
98
118
  } from "./commands/ListGuardrailsCommand";
119
+ import {
120
+ ListImportedModelsCommandInput,
121
+ ListImportedModelsCommandOutput,
122
+ } from "./commands/ListImportedModelsCommand";
99
123
  import {
100
124
  ListModelCopyJobsCommandInput,
101
125
  ListModelCopyJobsCommandOutput,
@@ -104,6 +128,10 @@ import {
104
128
  ListModelCustomizationJobsCommandInput,
105
129
  ListModelCustomizationJobsCommandOutput,
106
130
  } from "./commands/ListModelCustomizationJobsCommand";
131
+ import {
132
+ ListModelImportJobsCommandInput,
133
+ ListModelImportJobsCommandOutput,
134
+ } from "./commands/ListModelImportJobsCommand";
107
135
  import {
108
136
  ListModelInvocationJobsCommandInput,
109
137
  ListModelInvocationJobsCommandOutput,
@@ -149,6 +177,19 @@ import {
149
177
  UpdateProvisionedModelThroughputCommandOutput,
150
178
  } from "./commands/UpdateProvisionedModelThroughputCommand";
151
179
  export interface Bedrock {
180
+ batchDeleteEvaluationJob(
181
+ args: BatchDeleteEvaluationJobCommandInput,
182
+ options?: __HttpHandlerOptions
183
+ ): Promise<BatchDeleteEvaluationJobCommandOutput>;
184
+ batchDeleteEvaluationJob(
185
+ args: BatchDeleteEvaluationJobCommandInput,
186
+ cb: (err: any, data?: BatchDeleteEvaluationJobCommandOutput) => void
187
+ ): void;
188
+ batchDeleteEvaluationJob(
189
+ args: BatchDeleteEvaluationJobCommandInput,
190
+ options: __HttpHandlerOptions,
191
+ cb: (err: any, data?: BatchDeleteEvaluationJobCommandOutput) => void
192
+ ): void;
152
193
  createEvaluationJob(
153
194
  args: CreateEvaluationJobCommandInput,
154
195
  options?: __HttpHandlerOptions
@@ -214,6 +255,19 @@ export interface Bedrock {
214
255
  options: __HttpHandlerOptions,
215
256
  cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void
216
257
  ): void;
258
+ createModelImportJob(
259
+ args: CreateModelImportJobCommandInput,
260
+ options?: __HttpHandlerOptions
261
+ ): Promise<CreateModelImportJobCommandOutput>;
262
+ createModelImportJob(
263
+ args: CreateModelImportJobCommandInput,
264
+ cb: (err: any, data?: CreateModelImportJobCommandOutput) => void
265
+ ): void;
266
+ createModelImportJob(
267
+ args: CreateModelImportJobCommandInput,
268
+ options: __HttpHandlerOptions,
269
+ cb: (err: any, data?: CreateModelImportJobCommandOutput) => void
270
+ ): void;
217
271
  createModelInvocationJob(
218
272
  args: CreateModelInvocationJobCommandInput,
219
273
  options?: __HttpHandlerOptions
@@ -266,6 +320,19 @@ export interface Bedrock {
266
320
  options: __HttpHandlerOptions,
267
321
  cb: (err: any, data?: DeleteGuardrailCommandOutput) => void
268
322
  ): void;
323
+ deleteImportedModel(
324
+ args: DeleteImportedModelCommandInput,
325
+ options?: __HttpHandlerOptions
326
+ ): Promise<DeleteImportedModelCommandOutput>;
327
+ deleteImportedModel(
328
+ args: DeleteImportedModelCommandInput,
329
+ cb: (err: any, data?: DeleteImportedModelCommandOutput) => void
330
+ ): void;
331
+ deleteImportedModel(
332
+ args: DeleteImportedModelCommandInput,
333
+ options: __HttpHandlerOptions,
334
+ cb: (err: any, data?: DeleteImportedModelCommandOutput) => void
335
+ ): void;
269
336
  deleteModelInvocationLoggingConfiguration(): Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
270
337
  deleteModelInvocationLoggingConfiguration(
271
338
  args: DeleteModelInvocationLoggingConfigurationCommandInput,
@@ -351,6 +418,19 @@ export interface Bedrock {
351
418
  options: __HttpHandlerOptions,
352
419
  cb: (err: any, data?: GetGuardrailCommandOutput) => void
353
420
  ): void;
421
+ getImportedModel(
422
+ args: GetImportedModelCommandInput,
423
+ options?: __HttpHandlerOptions
424
+ ): Promise<GetImportedModelCommandOutput>;
425
+ getImportedModel(
426
+ args: GetImportedModelCommandInput,
427
+ cb: (err: any, data?: GetImportedModelCommandOutput) => void
428
+ ): void;
429
+ getImportedModel(
430
+ args: GetImportedModelCommandInput,
431
+ options: __HttpHandlerOptions,
432
+ cb: (err: any, data?: GetImportedModelCommandOutput) => void
433
+ ): void;
354
434
  getModelCopyJob(
355
435
  args: GetModelCopyJobCommandInput,
356
436
  options?: __HttpHandlerOptions
@@ -377,6 +457,19 @@ export interface Bedrock {
377
457
  options: __HttpHandlerOptions,
378
458
  cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void
379
459
  ): void;
460
+ getModelImportJob(
461
+ args: GetModelImportJobCommandInput,
462
+ options?: __HttpHandlerOptions
463
+ ): Promise<GetModelImportJobCommandOutput>;
464
+ getModelImportJob(
465
+ args: GetModelImportJobCommandInput,
466
+ cb: (err: any, data?: GetModelImportJobCommandOutput) => void
467
+ ): void;
468
+ getModelImportJob(
469
+ args: GetModelImportJobCommandInput,
470
+ options: __HttpHandlerOptions,
471
+ cb: (err: any, data?: GetModelImportJobCommandOutput) => void
472
+ ): void;
380
473
  getModelInvocationJob(
381
474
  args: GetModelInvocationJobCommandInput,
382
475
  options?: __HttpHandlerOptions
@@ -479,6 +572,20 @@ export interface Bedrock {
479
572
  options: __HttpHandlerOptions,
480
573
  cb: (err: any, data?: ListGuardrailsCommandOutput) => void
481
574
  ): void;
575
+ listImportedModels(): Promise<ListImportedModelsCommandOutput>;
576
+ listImportedModels(
577
+ args: ListImportedModelsCommandInput,
578
+ options?: __HttpHandlerOptions
579
+ ): Promise<ListImportedModelsCommandOutput>;
580
+ listImportedModels(
581
+ args: ListImportedModelsCommandInput,
582
+ cb: (err: any, data?: ListImportedModelsCommandOutput) => void
583
+ ): void;
584
+ listImportedModels(
585
+ args: ListImportedModelsCommandInput,
586
+ options: __HttpHandlerOptions,
587
+ cb: (err: any, data?: ListImportedModelsCommandOutput) => void
588
+ ): void;
482
589
  listModelCopyJobs(): Promise<ListModelCopyJobsCommandOutput>;
483
590
  listModelCopyJobs(
484
591
  args: ListModelCopyJobsCommandInput,
@@ -507,6 +614,20 @@ export interface Bedrock {
507
614
  options: __HttpHandlerOptions,
508
615
  cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void
509
616
  ): void;
617
+ listModelImportJobs(): Promise<ListModelImportJobsCommandOutput>;
618
+ listModelImportJobs(
619
+ args: ListModelImportJobsCommandInput,
620
+ options?: __HttpHandlerOptions
621
+ ): Promise<ListModelImportJobsCommandOutput>;
622
+ listModelImportJobs(
623
+ args: ListModelImportJobsCommandInput,
624
+ cb: (err: any, data?: ListModelImportJobsCommandOutput) => void
625
+ ): void;
626
+ listModelImportJobs(
627
+ args: ListModelImportJobsCommandInput,
628
+ options: __HttpHandlerOptions,
629
+ cb: (err: any, data?: ListModelImportJobsCommandOutput) => void
630
+ ): void;
510
631
  listModelInvocationJobs(): Promise<ListModelInvocationJobsCommandOutput>;
511
632
  listModelInvocationJobs(
512
633
  args: ListModelInvocationJobsCommandInput,
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ BatchDeleteEvaluationJobCommandInput,
50
+ BatchDeleteEvaluationJobCommandOutput,
51
+ } from "./commands/BatchDeleteEvaluationJobCommand";
48
52
  import {
49
53
  CreateEvaluationJobCommandInput,
50
54
  CreateEvaluationJobCommandOutput,
@@ -65,6 +69,10 @@ import {
65
69
  CreateModelCustomizationJobCommandInput,
66
70
  CreateModelCustomizationJobCommandOutput,
67
71
  } from "./commands/CreateModelCustomizationJobCommand";
72
+ import {
73
+ CreateModelImportJobCommandInput,
74
+ CreateModelImportJobCommandOutput,
75
+ } from "./commands/CreateModelImportJobCommand";
68
76
  import {
69
77
  CreateModelInvocationJobCommandInput,
70
78
  CreateModelInvocationJobCommandOutput,
@@ -81,6 +89,10 @@ import {
81
89
  DeleteGuardrailCommandInput,
82
90
  DeleteGuardrailCommandOutput,
83
91
  } from "./commands/DeleteGuardrailCommand";
92
+ import {
93
+ DeleteImportedModelCommandInput,
94
+ DeleteImportedModelCommandOutput,
95
+ } from "./commands/DeleteImportedModelCommand";
84
96
  import {
85
97
  DeleteModelInvocationLoggingConfigurationCommandInput,
86
98
  DeleteModelInvocationLoggingConfigurationCommandOutput,
@@ -105,6 +117,10 @@ import {
105
117
  GetGuardrailCommandInput,
106
118
  GetGuardrailCommandOutput,
107
119
  } from "./commands/GetGuardrailCommand";
120
+ import {
121
+ GetImportedModelCommandInput,
122
+ GetImportedModelCommandOutput,
123
+ } from "./commands/GetImportedModelCommand";
108
124
  import {
109
125
  GetModelCopyJobCommandInput,
110
126
  GetModelCopyJobCommandOutput,
@@ -113,6 +129,10 @@ import {
113
129
  GetModelCustomizationJobCommandInput,
114
130
  GetModelCustomizationJobCommandOutput,
115
131
  } from "./commands/GetModelCustomizationJobCommand";
132
+ import {
133
+ GetModelImportJobCommandInput,
134
+ GetModelImportJobCommandOutput,
135
+ } from "./commands/GetModelImportJobCommand";
116
136
  import {
117
137
  GetModelInvocationJobCommandInput,
118
138
  GetModelInvocationJobCommandOutput,
@@ -141,6 +161,10 @@ import {
141
161
  ListGuardrailsCommandInput,
142
162
  ListGuardrailsCommandOutput,
143
163
  } from "./commands/ListGuardrailsCommand";
164
+ import {
165
+ ListImportedModelsCommandInput,
166
+ ListImportedModelsCommandOutput,
167
+ } from "./commands/ListImportedModelsCommand";
144
168
  import {
145
169
  ListModelCopyJobsCommandInput,
146
170
  ListModelCopyJobsCommandOutput,
@@ -149,6 +173,10 @@ import {
149
173
  ListModelCustomizationJobsCommandInput,
150
174
  ListModelCustomizationJobsCommandOutput,
151
175
  } from "./commands/ListModelCustomizationJobsCommand";
176
+ import {
177
+ ListModelImportJobsCommandInput,
178
+ ListModelImportJobsCommandOutput,
179
+ } from "./commands/ListModelImportJobsCommand";
152
180
  import {
153
181
  ListModelInvocationJobsCommandInput,
154
182
  ListModelInvocationJobsCommandOutput,
@@ -201,23 +229,28 @@ import {
201
229
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
202
230
  export { __Client };
203
231
  export type ServiceInputTypes =
232
+ | BatchDeleteEvaluationJobCommandInput
204
233
  | CreateEvaluationJobCommandInput
205
234
  | CreateGuardrailCommandInput
206
235
  | CreateGuardrailVersionCommandInput
207
236
  | CreateModelCopyJobCommandInput
208
237
  | CreateModelCustomizationJobCommandInput
238
+ | CreateModelImportJobCommandInput
209
239
  | CreateModelInvocationJobCommandInput
210
240
  | CreateProvisionedModelThroughputCommandInput
211
241
  | DeleteCustomModelCommandInput
212
242
  | DeleteGuardrailCommandInput
243
+ | DeleteImportedModelCommandInput
213
244
  | DeleteModelInvocationLoggingConfigurationCommandInput
214
245
  | DeleteProvisionedModelThroughputCommandInput
215
246
  | GetCustomModelCommandInput
216
247
  | GetEvaluationJobCommandInput
217
248
  | GetFoundationModelCommandInput
218
249
  | GetGuardrailCommandInput
250
+ | GetImportedModelCommandInput
219
251
  | GetModelCopyJobCommandInput
220
252
  | GetModelCustomizationJobCommandInput
253
+ | GetModelImportJobCommandInput
221
254
  | GetModelInvocationJobCommandInput
222
255
  | GetModelInvocationLoggingConfigurationCommandInput
223
256
  | GetProvisionedModelThroughputCommandInput
@@ -225,8 +258,10 @@ export type ServiceInputTypes =
225
258
  | ListEvaluationJobsCommandInput
226
259
  | ListFoundationModelsCommandInput
227
260
  | ListGuardrailsCommandInput
261
+ | ListImportedModelsCommandInput
228
262
  | ListModelCopyJobsCommandInput
229
263
  | ListModelCustomizationJobsCommandInput
264
+ | ListModelImportJobsCommandInput
230
265
  | ListModelInvocationJobsCommandInput
231
266
  | ListProvisionedModelThroughputsCommandInput
232
267
  | ListTagsForResourceCommandInput
@@ -239,23 +274,28 @@ export type ServiceInputTypes =
239
274
  | UpdateGuardrailCommandInput
240
275
  | UpdateProvisionedModelThroughputCommandInput;
241
276
  export type ServiceOutputTypes =
277
+ | BatchDeleteEvaluationJobCommandOutput
242
278
  | CreateEvaluationJobCommandOutput
243
279
  | CreateGuardrailCommandOutput
244
280
  | CreateGuardrailVersionCommandOutput
245
281
  | CreateModelCopyJobCommandOutput
246
282
  | CreateModelCustomizationJobCommandOutput
283
+ | CreateModelImportJobCommandOutput
247
284
  | CreateModelInvocationJobCommandOutput
248
285
  | CreateProvisionedModelThroughputCommandOutput
249
286
  | DeleteCustomModelCommandOutput
250
287
  | DeleteGuardrailCommandOutput
288
+ | DeleteImportedModelCommandOutput
251
289
  | DeleteModelInvocationLoggingConfigurationCommandOutput
252
290
  | DeleteProvisionedModelThroughputCommandOutput
253
291
  | GetCustomModelCommandOutput
254
292
  | GetEvaluationJobCommandOutput
255
293
  | GetFoundationModelCommandOutput
256
294
  | GetGuardrailCommandOutput
295
+ | GetImportedModelCommandOutput
257
296
  | GetModelCopyJobCommandOutput
258
297
  | GetModelCustomizationJobCommandOutput
298
+ | GetModelImportJobCommandOutput
259
299
  | GetModelInvocationJobCommandOutput
260
300
  | GetModelInvocationLoggingConfigurationCommandOutput
261
301
  | GetProvisionedModelThroughputCommandOutput
@@ -263,8 +303,10 @@ export type ServiceOutputTypes =
263
303
  | ListEvaluationJobsCommandOutput
264
304
  | ListFoundationModelsCommandOutput
265
305
  | ListGuardrailsCommandOutput
306
+ | ListImportedModelsCommandOutput
266
307
  | ListModelCopyJobsCommandOutput
267
308
  | ListModelCustomizationJobsCommandOutput
309
+ | ListModelImportJobsCommandOutput
268
310
  | ListModelInvocationJobsCommandOutput
269
311
  | ListProvisionedModelThroughputsCommandOutput
270
312
  | ListTagsForResourceCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ BatchDeleteEvaluationJobRequest,
10
+ BatchDeleteEvaluationJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface BatchDeleteEvaluationJobCommandInput
15
+ extends BatchDeleteEvaluationJobRequest {}
16
+ export interface BatchDeleteEvaluationJobCommandOutput
17
+ extends BatchDeleteEvaluationJobResponse,
18
+ __MetadataBearer {}
19
+ declare const BatchDeleteEvaluationJobCommand_base: {
20
+ new (
21
+ input: BatchDeleteEvaluationJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ BatchDeleteEvaluationJobCommandInput,
24
+ BatchDeleteEvaluationJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: BatchDeleteEvaluationJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ BatchDeleteEvaluationJobCommandInput,
33
+ BatchDeleteEvaluationJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class BatchDeleteEvaluationJobCommand extends BatchDeleteEvaluationJobCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ CreateModelImportJobRequest,
10
+ CreateModelImportJobResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateModelImportJobCommandInput
15
+ extends CreateModelImportJobRequest {}
16
+ export interface CreateModelImportJobCommandOutput
17
+ extends CreateModelImportJobResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateModelImportJobCommand_base: {
20
+ new (
21
+ input: CreateModelImportJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateModelImportJobCommandInput,
24
+ CreateModelImportJobCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateModelImportJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateModelImportJobCommandInput,
33
+ CreateModelImportJobCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateModelImportJobCommand extends CreateModelImportJobCommand_base {}