@@ -3,6 +3,11 @@ import { createAggregatedClient } from "@smithy/smithy-client";
3
3
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
4
4
5
5
import { BedrockClient , BedrockClientConfig } from "./BedrockClient" ;
6
+ import {
7
+ BatchDeleteEvaluationJobCommand ,
8
+ BatchDeleteEvaluationJobCommandInput ,
9
+ BatchDeleteEvaluationJobCommandOutput ,
10
+ } from "./commands/BatchDeleteEvaluationJobCommand" ;
6
11
import {
7
12
CreateEvaluationJobCommand ,
8
13
CreateEvaluationJobCommandInput ,
@@ -28,6 +33,11 @@ import {
28
33
CreateModelCustomizationJobCommandInput ,
29
34
CreateModelCustomizationJobCommandOutput ,
30
35
} from "./commands/CreateModelCustomizationJobCommand" ;
36
+ import {
37
+ CreateModelImportJobCommand ,
38
+ CreateModelImportJobCommandInput ,
39
+ CreateModelImportJobCommandOutput ,
40
+ } from "./commands/CreateModelImportJobCommand" ;
31
41
import {
32
42
CreateModelInvocationJobCommand ,
33
43
CreateModelInvocationJobCommandInput ,
@@ -48,6 +58,11 @@ import {
48
58
DeleteGuardrailCommandInput ,
49
59
DeleteGuardrailCommandOutput ,
50
60
} from "./commands/DeleteGuardrailCommand" ;
61
+ import {
62
+ DeleteImportedModelCommand ,
63
+ DeleteImportedModelCommandInput ,
64
+ DeleteImportedModelCommandOutput ,
65
+ } from "./commands/DeleteImportedModelCommand" ;
51
66
import {
52
67
DeleteModelInvocationLoggingConfigurationCommand ,
53
68
DeleteModelInvocationLoggingConfigurationCommandInput ,
@@ -78,6 +93,11 @@ import {
78
93
GetGuardrailCommandInput ,
79
94
GetGuardrailCommandOutput ,
80
95
} from "./commands/GetGuardrailCommand" ;
96
+ import {
97
+ GetImportedModelCommand ,
98
+ GetImportedModelCommandInput ,
99
+ GetImportedModelCommandOutput ,
100
+ } from "./commands/GetImportedModelCommand" ;
81
101
import {
82
102
GetModelCopyJobCommand ,
83
103
GetModelCopyJobCommandInput ,
@@ -88,6 +108,11 @@ import {
88
108
GetModelCustomizationJobCommandInput ,
89
109
GetModelCustomizationJobCommandOutput ,
90
110
} from "./commands/GetModelCustomizationJobCommand" ;
111
+ import {
112
+ GetModelImportJobCommand ,
113
+ GetModelImportJobCommandInput ,
114
+ GetModelImportJobCommandOutput ,
115
+ } from "./commands/GetModelImportJobCommand" ;
91
116
import {
92
117
GetModelInvocationJobCommand ,
93
118
GetModelInvocationJobCommandInput ,
@@ -123,6 +148,11 @@ import {
123
148
ListGuardrailsCommandInput ,
124
149
ListGuardrailsCommandOutput ,
125
150
} from "./commands/ListGuardrailsCommand" ;
151
+ import {
152
+ ListImportedModelsCommand ,
153
+ ListImportedModelsCommandInput ,
154
+ ListImportedModelsCommandOutput ,
155
+ } from "./commands/ListImportedModelsCommand" ;
126
156
import {
127
157
ListModelCopyJobsCommand ,
128
158
ListModelCopyJobsCommandInput ,
@@ -133,6 +163,11 @@ import {
133
163
ListModelCustomizationJobsCommandInput ,
134
164
ListModelCustomizationJobsCommandOutput ,
135
165
} from "./commands/ListModelCustomizationJobsCommand" ;
166
+ import {
167
+ ListModelImportJobsCommand ,
168
+ ListModelImportJobsCommandInput ,
169
+ ListModelImportJobsCommandOutput ,
170
+ } from "./commands/ListModelImportJobsCommand" ;
136
171
import {
137
172
ListModelInvocationJobsCommand ,
138
173
ListModelInvocationJobsCommandInput ,
@@ -186,32 +221,39 @@ import {
186
221
} from "./commands/UpdateProvisionedModelThroughputCommand" ;
187
222
188
223
const commands = {
224
+ BatchDeleteEvaluationJobCommand,
189
225
CreateEvaluationJobCommand,
190
226
CreateGuardrailCommand,
191
227
CreateGuardrailVersionCommand,
192
228
CreateModelCopyJobCommand,
193
229
CreateModelCustomizationJobCommand,
230
+ CreateModelImportJobCommand,
194
231
CreateModelInvocationJobCommand,
195
232
CreateProvisionedModelThroughputCommand,
196
233
DeleteCustomModelCommand,
197
234
DeleteGuardrailCommand,
235
+ DeleteImportedModelCommand,
198
236
DeleteModelInvocationLoggingConfigurationCommand,
199
237
DeleteProvisionedModelThroughputCommand,
200
238
GetCustomModelCommand,
201
239
GetEvaluationJobCommand,
202
240
GetFoundationModelCommand,
203
241
GetGuardrailCommand,
242
+ GetImportedModelCommand,
204
243
GetModelCopyJobCommand,
205
244
GetModelCustomizationJobCommand,
245
+ GetModelImportJobCommand,
206
246
GetModelInvocationJobCommand,
207
247
GetModelInvocationLoggingConfigurationCommand,
208
248
GetProvisionedModelThroughputCommand,
209
249
ListCustomModelsCommand,
210
250
ListEvaluationJobsCommand,
211
251
ListFoundationModelsCommand,
212
252
ListGuardrailsCommand,
253
+ ListImportedModelsCommand,
213
254
ListModelCopyJobsCommand,
214
255
ListModelCustomizationJobsCommand,
256
+ ListModelImportJobsCommand,
215
257
ListModelInvocationJobsCommand,
216
258
ListProvisionedModelThroughputsCommand,
217
259
ListTagsForResourceCommand,
@@ -226,6 +268,23 @@ const commands = {
226
268
} ;
227
269
228
270
export interface Bedrock {
271
+ /**
272
+ * @see {@link BatchDeleteEvaluationJobCommand }
273
+ */
274
+ batchDeleteEvaluationJob (
275
+ args : BatchDeleteEvaluationJobCommandInput ,
276
+ options ?: __HttpHandlerOptions
277
+ ) : Promise < BatchDeleteEvaluationJobCommandOutput > ;
278
+ batchDeleteEvaluationJob (
279
+ args : BatchDeleteEvaluationJobCommandInput ,
280
+ cb : ( err : any , data ?: BatchDeleteEvaluationJobCommandOutput ) => void
281
+ ) : void ;
282
+ batchDeleteEvaluationJob (
283
+ args : BatchDeleteEvaluationJobCommandInput ,
284
+ options : __HttpHandlerOptions ,
285
+ cb : ( err : any , data ?: BatchDeleteEvaluationJobCommandOutput ) => void
286
+ ) : void ;
287
+
229
288
/**
230
289
* @see {@link CreateEvaluationJobCommand }
231
290
*/
@@ -308,6 +367,23 @@ export interface Bedrock {
308
367
cb : ( err : any , data ?: CreateModelCustomizationJobCommandOutput ) => void
309
368
) : void ;
310
369
370
+ /**
371
+ * @see {@link CreateModelImportJobCommand }
372
+ */
373
+ createModelImportJob (
374
+ args : CreateModelImportJobCommandInput ,
375
+ options ?: __HttpHandlerOptions
376
+ ) : Promise < CreateModelImportJobCommandOutput > ;
377
+ createModelImportJob (
378
+ args : CreateModelImportJobCommandInput ,
379
+ cb : ( err : any , data ?: CreateModelImportJobCommandOutput ) => void
380
+ ) : void ;
381
+ createModelImportJob (
382
+ args : CreateModelImportJobCommandInput ,
383
+ options : __HttpHandlerOptions ,
384
+ cb : ( err : any , data ?: CreateModelImportJobCommandOutput ) => void
385
+ ) : void ;
386
+
311
387
/**
312
388
* @see {@link CreateModelInvocationJobCommand }
313
389
*/
@@ -373,6 +449,23 @@ export interface Bedrock {
373
449
cb : ( err : any , data ?: DeleteGuardrailCommandOutput ) => void
374
450
) : void ;
375
451
452
+ /**
453
+ * @see {@link DeleteImportedModelCommand }
454
+ */
455
+ deleteImportedModel (
456
+ args : DeleteImportedModelCommandInput ,
457
+ options ?: __HttpHandlerOptions
458
+ ) : Promise < DeleteImportedModelCommandOutput > ;
459
+ deleteImportedModel (
460
+ args : DeleteImportedModelCommandInput ,
461
+ cb : ( err : any , data ?: DeleteImportedModelCommandOutput ) => void
462
+ ) : void ;
463
+ deleteImportedModel (
464
+ args : DeleteImportedModelCommandInput ,
465
+ options : __HttpHandlerOptions ,
466
+ cb : ( err : any , data ?: DeleteImportedModelCommandOutput ) => void
467
+ ) : void ;
468
+
376
469
/**
377
470
* @see {@link DeleteModelInvocationLoggingConfigurationCommand }
378
471
*/
@@ -467,6 +560,23 @@ export interface Bedrock {
467
560
cb : ( err : any , data ?: GetGuardrailCommandOutput ) => void
468
561
) : void ;
469
562
563
+ /**
564
+ * @see {@link GetImportedModelCommand }
565
+ */
566
+ getImportedModel (
567
+ args : GetImportedModelCommandInput ,
568
+ options ?: __HttpHandlerOptions
569
+ ) : Promise < GetImportedModelCommandOutput > ;
570
+ getImportedModel (
571
+ args : GetImportedModelCommandInput ,
572
+ cb : ( err : any , data ?: GetImportedModelCommandOutput ) => void
573
+ ) : void ;
574
+ getImportedModel (
575
+ args : GetImportedModelCommandInput ,
576
+ options : __HttpHandlerOptions ,
577
+ cb : ( err : any , data ?: GetImportedModelCommandOutput ) => void
578
+ ) : void ;
579
+
470
580
/**
471
581
* @see {@link GetModelCopyJobCommand }
472
582
*/
@@ -498,6 +608,23 @@ export interface Bedrock {
498
608
cb : ( err : any , data ?: GetModelCustomizationJobCommandOutput ) => void
499
609
) : void ;
500
610
611
+ /**
612
+ * @see {@link GetModelImportJobCommand }
613
+ */
614
+ getModelImportJob (
615
+ args : GetModelImportJobCommandInput ,
616
+ options ?: __HttpHandlerOptions
617
+ ) : Promise < GetModelImportJobCommandOutput > ;
618
+ getModelImportJob (
619
+ args : GetModelImportJobCommandInput ,
620
+ cb : ( err : any , data ?: GetModelImportJobCommandOutput ) => void
621
+ ) : void ;
622
+ getModelImportJob (
623
+ args : GetModelImportJobCommandInput ,
624
+ options : __HttpHandlerOptions ,
625
+ cb : ( err : any , data ?: GetModelImportJobCommandOutput ) => void
626
+ ) : void ;
627
+
501
628
/**
502
629
* @see {@link GetModelInvocationJobCommand }
503
630
*/
@@ -619,6 +746,24 @@ export interface Bedrock {
619
746
cb : ( err : any , data ?: ListGuardrailsCommandOutput ) => void
620
747
) : void ;
621
748
749
+ /**
750
+ * @see {@link ListImportedModelsCommand }
751
+ */
752
+ listImportedModels ( ) : Promise < ListImportedModelsCommandOutput > ;
753
+ listImportedModels (
754
+ args : ListImportedModelsCommandInput ,
755
+ options ?: __HttpHandlerOptions
756
+ ) : Promise < ListImportedModelsCommandOutput > ;
757
+ listImportedModels (
758
+ args : ListImportedModelsCommandInput ,
759
+ cb : ( err : any , data ?: ListImportedModelsCommandOutput ) => void
760
+ ) : void ;
761
+ listImportedModels (
762
+ args : ListImportedModelsCommandInput ,
763
+ options : __HttpHandlerOptions ,
764
+ cb : ( err : any , data ?: ListImportedModelsCommandOutput ) => void
765
+ ) : void ;
766
+
622
767
/**
623
768
* @see {@link ListModelCopyJobsCommand }
624
769
*/
@@ -655,6 +800,24 @@ export interface Bedrock {
655
800
cb : ( err : any , data ?: ListModelCustomizationJobsCommandOutput ) => void
656
801
) : void ;
657
802
803
+ /**
804
+ * @see {@link ListModelImportJobsCommand }
805
+ */
806
+ listModelImportJobs ( ) : Promise < ListModelImportJobsCommandOutput > ;
807
+ listModelImportJobs (
808
+ args : ListModelImportJobsCommandInput ,
809
+ options ?: __HttpHandlerOptions
810
+ ) : Promise < ListModelImportJobsCommandOutput > ;
811
+ listModelImportJobs (
812
+ args : ListModelImportJobsCommandInput ,
813
+ cb : ( err : any , data ?: ListModelImportJobsCommandOutput ) => void
814
+ ) : void ;
815
+ listModelImportJobs (
816
+ args : ListModelImportJobsCommandInput ,
817
+ options : __HttpHandlerOptions ,
818
+ cb : ( err : any , data ?: ListModelImportJobsCommandOutput ) => void
819
+ ) : void ;
820
+
658
821
/**
659
822
* @see {@link ListModelInvocationJobsCommand }
660
823
*/
0 commit comments