@aws-sdk/client-bedrock 3.635.0 → 3.640.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.
- package/README.md +72 -0
- package/dist-cjs/index.js +646 -78
- package/dist-es/Bedrock.js +18 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
- package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
- package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
- package/dist-es/commands/GetImportedModelCommand.js +24 -0
- package/dist-es/commands/GetInferenceProfileCommand.js +24 -0
- package/dist-es/commands/GetModelImportJobCommand.js +24 -0
- package/dist-es/commands/ListImportedModelsCommand.js +24 -0
- package/dist-es/commands/ListInferenceProfilesCommand.js +24 -0
- package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +97 -58
- package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListInferenceProfilesPaginator.js +4 -0
- package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +329 -3
- package/dist-types/Bedrock.d.ts +66 -0
- package/dist-types/BedrockClient.d.ts +11 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -2
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +87 -0
- package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +90 -0
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +952 -249
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Bedrock.d.ts +156 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +239 -45
- package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInferenceProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +6 -6
|
@@ -4,6 +4,19 @@ import { _json, collectBody, decorateServiceException as __decorateServiceExcept
|
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { BedrockServiceException as __BaseException } from "../models/BedrockServiceException";
|
|
6
6
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
7
|
+
export const se_BatchDeleteEvaluationJobCommand = async (input, context) => {
|
|
8
|
+
const b = rb(input, context);
|
|
9
|
+
const headers = {
|
|
10
|
+
"content-type": "application/json",
|
|
11
|
+
};
|
|
12
|
+
b.bp("/evaluation-jobs/batch-delete");
|
|
13
|
+
let body;
|
|
14
|
+
body = JSON.stringify(take(input, {
|
|
15
|
+
jobIdentifiers: (_) => _json(_),
|
|
16
|
+
}));
|
|
17
|
+
b.m("POST").h(headers).b(body);
|
|
18
|
+
return b.build();
|
|
19
|
+
};
|
|
7
20
|
export const se_CreateEvaluationJobCommand = async (input, context) => {
|
|
8
21
|
const b = rb(input, context);
|
|
9
22
|
const headers = {
|
|
@@ -107,6 +120,27 @@ export const se_CreateModelCustomizationJobCommand = async (input, context) => {
|
|
|
107
120
|
b.m("POST").h(headers).b(body);
|
|
108
121
|
return b.build();
|
|
109
122
|
};
|
|
123
|
+
export const se_CreateModelImportJobCommand = async (input, context) => {
|
|
124
|
+
const b = rb(input, context);
|
|
125
|
+
const headers = {
|
|
126
|
+
"content-type": "application/json",
|
|
127
|
+
};
|
|
128
|
+
b.bp("/model-import-jobs");
|
|
129
|
+
let body;
|
|
130
|
+
body = JSON.stringify(take(input, {
|
|
131
|
+
clientRequestToken: [],
|
|
132
|
+
importedModelKmsKeyId: [],
|
|
133
|
+
importedModelName: [],
|
|
134
|
+
importedModelTags: (_) => _json(_),
|
|
135
|
+
jobName: [],
|
|
136
|
+
jobTags: (_) => _json(_),
|
|
137
|
+
modelDataSource: (_) => _json(_),
|
|
138
|
+
roleArn: [],
|
|
139
|
+
vpcConfig: (_) => _json(_),
|
|
140
|
+
}));
|
|
141
|
+
b.m("POST").h(headers).b(body);
|
|
142
|
+
return b.build();
|
|
143
|
+
};
|
|
110
144
|
export const se_CreateModelInvocationJobCommand = async (input, context) => {
|
|
111
145
|
const b = rb(input, context);
|
|
112
146
|
const headers = {
|
|
@@ -166,6 +200,15 @@ export const se_DeleteGuardrailCommand = async (input, context) => {
|
|
|
166
200
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
167
201
|
return b.build();
|
|
168
202
|
};
|
|
203
|
+
export const se_DeleteImportedModelCommand = async (input, context) => {
|
|
204
|
+
const b = rb(input, context);
|
|
205
|
+
const headers = {};
|
|
206
|
+
b.bp("/imported-models/{modelIdentifier}");
|
|
207
|
+
b.p("modelIdentifier", () => input.modelIdentifier, "{modelIdentifier}", false);
|
|
208
|
+
let body;
|
|
209
|
+
b.m("DELETE").h(headers).b(body);
|
|
210
|
+
return b.build();
|
|
211
|
+
};
|
|
169
212
|
export const se_DeleteModelInvocationLoggingConfigurationCommand = async (input, context) => {
|
|
170
213
|
const b = rb(input, context);
|
|
171
214
|
const headers = {};
|
|
@@ -222,6 +265,24 @@ export const se_GetGuardrailCommand = async (input, context) => {
|
|
|
222
265
|
b.m("GET").h(headers).q(query).b(body);
|
|
223
266
|
return b.build();
|
|
224
267
|
};
|
|
268
|
+
export const se_GetImportedModelCommand = async (input, context) => {
|
|
269
|
+
const b = rb(input, context);
|
|
270
|
+
const headers = {};
|
|
271
|
+
b.bp("/imported-models/{modelIdentifier}");
|
|
272
|
+
b.p("modelIdentifier", () => input.modelIdentifier, "{modelIdentifier}", false);
|
|
273
|
+
let body;
|
|
274
|
+
b.m("GET").h(headers).b(body);
|
|
275
|
+
return b.build();
|
|
276
|
+
};
|
|
277
|
+
export const se_GetInferenceProfileCommand = async (input, context) => {
|
|
278
|
+
const b = rb(input, context);
|
|
279
|
+
const headers = {};
|
|
280
|
+
b.bp("/inference-profiles/{inferenceProfileIdentifier}");
|
|
281
|
+
b.p("inferenceProfileIdentifier", () => input.inferenceProfileIdentifier, "{inferenceProfileIdentifier}", false);
|
|
282
|
+
let body;
|
|
283
|
+
b.m("GET").h(headers).b(body);
|
|
284
|
+
return b.build();
|
|
285
|
+
};
|
|
225
286
|
export const se_GetModelCopyJobCommand = async (input, context) => {
|
|
226
287
|
const b = rb(input, context);
|
|
227
288
|
const headers = {};
|
|
@@ -240,6 +301,15 @@ export const se_GetModelCustomizationJobCommand = async (input, context) => {
|
|
|
240
301
|
b.m("GET").h(headers).b(body);
|
|
241
302
|
return b.build();
|
|
242
303
|
};
|
|
304
|
+
export const se_GetModelImportJobCommand = async (input, context) => {
|
|
305
|
+
const b = rb(input, context);
|
|
306
|
+
const headers = {};
|
|
307
|
+
b.bp("/model-import-jobs/{jobIdentifier}");
|
|
308
|
+
b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
|
|
309
|
+
let body;
|
|
310
|
+
b.m("GET").h(headers).b(body);
|
|
311
|
+
return b.build();
|
|
312
|
+
};
|
|
243
313
|
export const se_GetModelInvocationJobCommand = async (input, context) => {
|
|
244
314
|
const b = rb(input, context);
|
|
245
315
|
const headers = {};
|
|
@@ -331,6 +401,35 @@ export const se_ListGuardrailsCommand = async (input, context) => {
|
|
|
331
401
|
b.m("GET").h(headers).q(query).b(body);
|
|
332
402
|
return b.build();
|
|
333
403
|
};
|
|
404
|
+
export const se_ListImportedModelsCommand = async (input, context) => {
|
|
405
|
+
const b = rb(input, context);
|
|
406
|
+
const headers = {};
|
|
407
|
+
b.bp("/imported-models");
|
|
408
|
+
const query = map({
|
|
409
|
+
[_cTB]: [() => input.creationTimeBefore !== void 0, () => __serializeDateTime(input[_cTB]).toString()],
|
|
410
|
+
[_cTA]: [() => input.creationTimeAfter !== void 0, () => __serializeDateTime(input[_cTA]).toString()],
|
|
411
|
+
[_nC]: [, input[_nC]],
|
|
412
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
413
|
+
[_nT]: [, input[_nT]],
|
|
414
|
+
[_sB]: [, input[_sB]],
|
|
415
|
+
[_sO]: [, input[_sO]],
|
|
416
|
+
});
|
|
417
|
+
let body;
|
|
418
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
419
|
+
return b.build();
|
|
420
|
+
};
|
|
421
|
+
export const se_ListInferenceProfilesCommand = async (input, context) => {
|
|
422
|
+
const b = rb(input, context);
|
|
423
|
+
const headers = {};
|
|
424
|
+
b.bp("/inference-profiles");
|
|
425
|
+
const query = map({
|
|
426
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
427
|
+
[_nT]: [, input[_nT]],
|
|
428
|
+
});
|
|
429
|
+
let body;
|
|
430
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
431
|
+
return b.build();
|
|
432
|
+
};
|
|
334
433
|
export const se_ListModelCopyJobsCommand = async (input, context) => {
|
|
335
434
|
const b = rb(input, context);
|
|
336
435
|
const headers = {};
|
|
@@ -369,6 +468,24 @@ export const se_ListModelCustomizationJobsCommand = async (input, context) => {
|
|
|
369
468
|
b.m("GET").h(headers).q(query).b(body);
|
|
370
469
|
return b.build();
|
|
371
470
|
};
|
|
471
|
+
export const se_ListModelImportJobsCommand = async (input, context) => {
|
|
472
|
+
const b = rb(input, context);
|
|
473
|
+
const headers = {};
|
|
474
|
+
b.bp("/model-import-jobs");
|
|
475
|
+
const query = map({
|
|
476
|
+
[_cTA]: [() => input.creationTimeAfter !== void 0, () => __serializeDateTime(input[_cTA]).toString()],
|
|
477
|
+
[_cTB]: [() => input.creationTimeBefore !== void 0, () => __serializeDateTime(input[_cTB]).toString()],
|
|
478
|
+
[_sE]: [, input[_sE]],
|
|
479
|
+
[_nC]: [, input[_nC]],
|
|
480
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
481
|
+
[_nT]: [, input[_nT]],
|
|
482
|
+
[_sB]: [, input[_sB]],
|
|
483
|
+
[_sO]: [, input[_sO]],
|
|
484
|
+
});
|
|
485
|
+
let body;
|
|
486
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
487
|
+
return b.build();
|
|
488
|
+
};
|
|
372
489
|
export const se_ListModelInvocationJobsCommand = async (input, context) => {
|
|
373
490
|
const b = rb(input, context);
|
|
374
491
|
const headers = {};
|
|
@@ -525,6 +642,21 @@ export const se_UpdateProvisionedModelThroughputCommand = async (input, context)
|
|
|
525
642
|
b.m("PATCH").h(headers).b(body);
|
|
526
643
|
return b.build();
|
|
527
644
|
};
|
|
645
|
+
export const de_BatchDeleteEvaluationJobCommand = async (output, context) => {
|
|
646
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
647
|
+
return de_CommandError(output, context);
|
|
648
|
+
}
|
|
649
|
+
const contents = map({
|
|
650
|
+
$metadata: deserializeMetadata(output),
|
|
651
|
+
});
|
|
652
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
653
|
+
const doc = take(data, {
|
|
654
|
+
errors: _json,
|
|
655
|
+
evaluationJobs: _json,
|
|
656
|
+
});
|
|
657
|
+
Object.assign(contents, doc);
|
|
658
|
+
return contents;
|
|
659
|
+
};
|
|
528
660
|
export const de_CreateEvaluationJobCommand = async (output, context) => {
|
|
529
661
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
530
662
|
return de_CommandError(output, context);
|
|
@@ -599,6 +731,20 @@ export const de_CreateModelCustomizationJobCommand = async (output, context) =>
|
|
|
599
731
|
Object.assign(contents, doc);
|
|
600
732
|
return contents;
|
|
601
733
|
};
|
|
734
|
+
export const de_CreateModelImportJobCommand = async (output, context) => {
|
|
735
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
736
|
+
return de_CommandError(output, context);
|
|
737
|
+
}
|
|
738
|
+
const contents = map({
|
|
739
|
+
$metadata: deserializeMetadata(output),
|
|
740
|
+
});
|
|
741
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
742
|
+
const doc = take(data, {
|
|
743
|
+
jobArn: __expectString,
|
|
744
|
+
});
|
|
745
|
+
Object.assign(contents, doc);
|
|
746
|
+
return contents;
|
|
747
|
+
};
|
|
602
748
|
export const de_CreateModelInvocationJobCommand = async (output, context) => {
|
|
603
749
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
604
750
|
return de_CommandError(output, context);
|
|
@@ -647,6 +793,16 @@ export const de_DeleteGuardrailCommand = async (output, context) => {
|
|
|
647
793
|
await collectBody(output.body, context);
|
|
648
794
|
return contents;
|
|
649
795
|
};
|
|
796
|
+
export const de_DeleteImportedModelCommand = async (output, context) => {
|
|
797
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
798
|
+
return de_CommandError(output, context);
|
|
799
|
+
}
|
|
800
|
+
const contents = map({
|
|
801
|
+
$metadata: deserializeMetadata(output),
|
|
802
|
+
});
|
|
803
|
+
await collectBody(output.body, context);
|
|
804
|
+
return contents;
|
|
805
|
+
};
|
|
650
806
|
export const de_DeleteModelInvocationLoggingConfigurationCommand = async (output, context) => {
|
|
651
807
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
652
808
|
return de_CommandError(output, context);
|
|
@@ -765,6 +921,49 @@ export const de_GetGuardrailCommand = async (output, context) => {
|
|
|
765
921
|
Object.assign(contents, doc);
|
|
766
922
|
return contents;
|
|
767
923
|
};
|
|
924
|
+
export const de_GetImportedModelCommand = async (output, context) => {
|
|
925
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
926
|
+
return de_CommandError(output, context);
|
|
927
|
+
}
|
|
928
|
+
const contents = map({
|
|
929
|
+
$metadata: deserializeMetadata(output),
|
|
930
|
+
});
|
|
931
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
932
|
+
const doc = take(data, {
|
|
933
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
934
|
+
jobArn: __expectString,
|
|
935
|
+
jobName: __expectString,
|
|
936
|
+
modelArchitecture: __expectString,
|
|
937
|
+
modelArn: __expectString,
|
|
938
|
+
modelDataSource: (_) => _json(__expectUnion(_)),
|
|
939
|
+
modelKmsKeyArn: __expectString,
|
|
940
|
+
modelName: __expectString,
|
|
941
|
+
});
|
|
942
|
+
Object.assign(contents, doc);
|
|
943
|
+
return contents;
|
|
944
|
+
};
|
|
945
|
+
export const de_GetInferenceProfileCommand = async (output, context) => {
|
|
946
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
947
|
+
return de_CommandError(output, context);
|
|
948
|
+
}
|
|
949
|
+
const contents = map({
|
|
950
|
+
$metadata: deserializeMetadata(output),
|
|
951
|
+
});
|
|
952
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
953
|
+
const doc = take(data, {
|
|
954
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
955
|
+
description: __expectString,
|
|
956
|
+
inferenceProfileArn: __expectString,
|
|
957
|
+
inferenceProfileId: __expectString,
|
|
958
|
+
inferenceProfileName: __expectString,
|
|
959
|
+
models: _json,
|
|
960
|
+
status: __expectString,
|
|
961
|
+
type: __expectString,
|
|
962
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
963
|
+
});
|
|
964
|
+
Object.assign(contents, doc);
|
|
965
|
+
return contents;
|
|
966
|
+
};
|
|
768
967
|
export const de_GetModelCopyJobCommand = async (output, context) => {
|
|
769
968
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
770
969
|
return de_CommandError(output, context);
|
|
@@ -823,6 +1022,32 @@ export const de_GetModelCustomizationJobCommand = async (output, context) => {
|
|
|
823
1022
|
Object.assign(contents, doc);
|
|
824
1023
|
return contents;
|
|
825
1024
|
};
|
|
1025
|
+
export const de_GetModelImportJobCommand = async (output, context) => {
|
|
1026
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1027
|
+
return de_CommandError(output, context);
|
|
1028
|
+
}
|
|
1029
|
+
const contents = map({
|
|
1030
|
+
$metadata: deserializeMetadata(output),
|
|
1031
|
+
});
|
|
1032
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1033
|
+
const doc = take(data, {
|
|
1034
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1035
|
+
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1036
|
+
failureMessage: __expectString,
|
|
1037
|
+
importedModelArn: __expectString,
|
|
1038
|
+
importedModelKmsKeyArn: __expectString,
|
|
1039
|
+
importedModelName: __expectString,
|
|
1040
|
+
jobArn: __expectString,
|
|
1041
|
+
jobName: __expectString,
|
|
1042
|
+
lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1043
|
+
modelDataSource: (_) => _json(__expectUnion(_)),
|
|
1044
|
+
roleArn: __expectString,
|
|
1045
|
+
status: __expectString,
|
|
1046
|
+
vpcConfig: _json,
|
|
1047
|
+
});
|
|
1048
|
+
Object.assign(contents, doc);
|
|
1049
|
+
return contents;
|
|
1050
|
+
};
|
|
826
1051
|
export const de_GetModelInvocationJobCommand = async (output, context) => {
|
|
827
1052
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
1053
|
return de_CommandError(output, context);
|
|
@@ -949,6 +1174,36 @@ export const de_ListGuardrailsCommand = async (output, context) => {
|
|
|
949
1174
|
Object.assign(contents, doc);
|
|
950
1175
|
return contents;
|
|
951
1176
|
};
|
|
1177
|
+
export const de_ListImportedModelsCommand = async (output, context) => {
|
|
1178
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1179
|
+
return de_CommandError(output, context);
|
|
1180
|
+
}
|
|
1181
|
+
const contents = map({
|
|
1182
|
+
$metadata: deserializeMetadata(output),
|
|
1183
|
+
});
|
|
1184
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1185
|
+
const doc = take(data, {
|
|
1186
|
+
modelSummaries: (_) => de_ImportedModelSummaryList(_, context),
|
|
1187
|
+
nextToken: __expectString,
|
|
1188
|
+
});
|
|
1189
|
+
Object.assign(contents, doc);
|
|
1190
|
+
return contents;
|
|
1191
|
+
};
|
|
1192
|
+
export const de_ListInferenceProfilesCommand = async (output, context) => {
|
|
1193
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1194
|
+
return de_CommandError(output, context);
|
|
1195
|
+
}
|
|
1196
|
+
const contents = map({
|
|
1197
|
+
$metadata: deserializeMetadata(output),
|
|
1198
|
+
});
|
|
1199
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1200
|
+
const doc = take(data, {
|
|
1201
|
+
inferenceProfileSummaries: (_) => de_InferenceProfileSummaries(_, context),
|
|
1202
|
+
nextToken: __expectString,
|
|
1203
|
+
});
|
|
1204
|
+
Object.assign(contents, doc);
|
|
1205
|
+
return contents;
|
|
1206
|
+
};
|
|
952
1207
|
export const de_ListModelCopyJobsCommand = async (output, context) => {
|
|
953
1208
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
954
1209
|
return de_CommandError(output, context);
|
|
@@ -979,6 +1234,21 @@ export const de_ListModelCustomizationJobsCommand = async (output, context) => {
|
|
|
979
1234
|
Object.assign(contents, doc);
|
|
980
1235
|
return contents;
|
|
981
1236
|
};
|
|
1237
|
+
export const de_ListModelImportJobsCommand = async (output, context) => {
|
|
1238
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1239
|
+
return de_CommandError(output, context);
|
|
1240
|
+
}
|
|
1241
|
+
const contents = map({
|
|
1242
|
+
$metadata: deserializeMetadata(output),
|
|
1243
|
+
});
|
|
1244
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1245
|
+
const doc = take(data, {
|
|
1246
|
+
modelImportJobSummaries: (_) => de_ModelImportJobSummaries(_, context),
|
|
1247
|
+
nextToken: __expectString,
|
|
1248
|
+
});
|
|
1249
|
+
Object.assign(contents, doc);
|
|
1250
|
+
return contents;
|
|
1251
|
+
};
|
|
982
1252
|
export const de_ListModelInvocationJobsCommand = async (output, context) => {
|
|
983
1253
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
984
1254
|
return de_CommandError(output, context);
|
|
@@ -1129,15 +1399,15 @@ const de_CommandError = async (output, context) => {
|
|
|
1129
1399
|
case "ResourceNotFoundException":
|
|
1130
1400
|
case "com.amazonaws.bedrock#ResourceNotFoundException":
|
|
1131
1401
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1132
|
-
case "ServiceQuotaExceededException":
|
|
1133
|
-
case "com.amazonaws.bedrock#ServiceQuotaExceededException":
|
|
1134
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1135
1402
|
case "ThrottlingException":
|
|
1136
1403
|
case "com.amazonaws.bedrock#ThrottlingException":
|
|
1137
1404
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1138
1405
|
case "ValidationException":
|
|
1139
1406
|
case "com.amazonaws.bedrock#ValidationException":
|
|
1140
1407
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1408
|
+
case "ServiceQuotaExceededException":
|
|
1409
|
+
case "com.amazonaws.bedrock#ServiceQuotaExceededException":
|
|
1410
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1141
1411
|
case "TooManyTagsException":
|
|
1142
1412
|
case "com.amazonaws.bedrock#TooManyTagsException":
|
|
1143
1413
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
@@ -1351,6 +1621,42 @@ const de_GuardrailSummary = (output, context) => {
|
|
|
1351
1621
|
version: __expectString,
|
|
1352
1622
|
});
|
|
1353
1623
|
};
|
|
1624
|
+
const de_ImportedModelSummary = (output, context) => {
|
|
1625
|
+
return take(output, {
|
|
1626
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1627
|
+
modelArn: __expectString,
|
|
1628
|
+
modelName: __expectString,
|
|
1629
|
+
});
|
|
1630
|
+
};
|
|
1631
|
+
const de_ImportedModelSummaryList = (output, context) => {
|
|
1632
|
+
const retVal = (output || [])
|
|
1633
|
+
.filter((e) => e != null)
|
|
1634
|
+
.map((entry) => {
|
|
1635
|
+
return de_ImportedModelSummary(entry, context);
|
|
1636
|
+
});
|
|
1637
|
+
return retVal;
|
|
1638
|
+
};
|
|
1639
|
+
const de_InferenceProfileSummaries = (output, context) => {
|
|
1640
|
+
const retVal = (output || [])
|
|
1641
|
+
.filter((e) => e != null)
|
|
1642
|
+
.map((entry) => {
|
|
1643
|
+
return de_InferenceProfileSummary(entry, context);
|
|
1644
|
+
});
|
|
1645
|
+
return retVal;
|
|
1646
|
+
};
|
|
1647
|
+
const de_InferenceProfileSummary = (output, context) => {
|
|
1648
|
+
return take(output, {
|
|
1649
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1650
|
+
description: __expectString,
|
|
1651
|
+
inferenceProfileArn: __expectString,
|
|
1652
|
+
inferenceProfileId: __expectString,
|
|
1653
|
+
inferenceProfileName: __expectString,
|
|
1654
|
+
models: _json,
|
|
1655
|
+
status: __expectString,
|
|
1656
|
+
type: __expectString,
|
|
1657
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1658
|
+
});
|
|
1659
|
+
};
|
|
1354
1660
|
const de_ModelCopyJobSummaries = (output, context) => {
|
|
1355
1661
|
const retVal = (output || [])
|
|
1356
1662
|
.filter((e) => e != null)
|
|
@@ -1396,6 +1702,26 @@ const de_ModelCustomizationJobSummary = (output, context) => {
|
|
|
1396
1702
|
status: __expectString,
|
|
1397
1703
|
});
|
|
1398
1704
|
};
|
|
1705
|
+
const de_ModelImportJobSummaries = (output, context) => {
|
|
1706
|
+
const retVal = (output || [])
|
|
1707
|
+
.filter((e) => e != null)
|
|
1708
|
+
.map((entry) => {
|
|
1709
|
+
return de_ModelImportJobSummary(entry, context);
|
|
1710
|
+
});
|
|
1711
|
+
return retVal;
|
|
1712
|
+
};
|
|
1713
|
+
const de_ModelImportJobSummary = (output, context) => {
|
|
1714
|
+
return take(output, {
|
|
1715
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1716
|
+
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1717
|
+
importedModelArn: __expectString,
|
|
1718
|
+
importedModelName: __expectString,
|
|
1719
|
+
jobArn: __expectString,
|
|
1720
|
+
jobName: __expectString,
|
|
1721
|
+
lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1722
|
+
status: __expectString,
|
|
1723
|
+
});
|
|
1724
|
+
};
|
|
1399
1725
|
const de_ModelInvocationJobSummaries = (output, context) => {
|
|
1400
1726
|
const retVal = (output || [])
|
|
1401
1727
|
.filter((e) => e != null)
|
package/dist-types/Bedrock.d.ts
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
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";
|
|
22
|
+
import { GetInferenceProfileCommandInput, GetInferenceProfileCommandOutput } from "./commands/GetInferenceProfileCommand";
|
|
18
23
|
import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
|
|
19
24
|
import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
|
|
25
|
+
import { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "./commands/GetModelImportJobCommand";
|
|
20
26
|
import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
|
|
21
27
|
import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
|
|
22
28
|
import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
|
|
@@ -24,8 +30,11 @@ import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./c
|
|
|
24
30
|
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
|
|
25
31
|
import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "./commands/ListFoundationModelsCommand";
|
|
26
32
|
import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
|
|
33
|
+
import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "./commands/ListImportedModelsCommand";
|
|
34
|
+
import { ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput } from "./commands/ListInferenceProfilesCommand";
|
|
27
35
|
import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
|
|
28
36
|
import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
|
|
37
|
+
import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "./commands/ListModelImportJobsCommand";
|
|
29
38
|
import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
|
|
30
39
|
import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
|
|
31
40
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -38,6 +47,12 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
38
47
|
import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
|
|
39
48
|
import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
40
49
|
export interface Bedrock {
|
|
50
|
+
/**
|
|
51
|
+
* @see {@link BatchDeleteEvaluationJobCommand}
|
|
52
|
+
*/
|
|
53
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteEvaluationJobCommandOutput>;
|
|
54
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, cb: (err: any, data?: BatchDeleteEvaluationJobCommandOutput) => void): void;
|
|
55
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteEvaluationJobCommandOutput) => void): void;
|
|
41
56
|
/**
|
|
42
57
|
* @see {@link CreateEvaluationJobCommand}
|
|
43
58
|
*/
|
|
@@ -68,6 +83,12 @@ export interface Bedrock {
|
|
|
68
83
|
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelCustomizationJobCommandOutput>;
|
|
69
84
|
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void): void;
|
|
70
85
|
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link CreateModelImportJobCommand}
|
|
88
|
+
*/
|
|
89
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelImportJobCommandOutput>;
|
|
90
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, cb: (err: any, data?: CreateModelImportJobCommandOutput) => void): void;
|
|
91
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelImportJobCommandOutput) => void): void;
|
|
71
92
|
/**
|
|
72
93
|
* @see {@link CreateModelInvocationJobCommand}
|
|
73
94
|
*/
|
|
@@ -92,6 +113,12 @@ export interface Bedrock {
|
|
|
92
113
|
deleteGuardrail(args: DeleteGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGuardrailCommandOutput>;
|
|
93
114
|
deleteGuardrail(args: DeleteGuardrailCommandInput, cb: (err: any, data?: DeleteGuardrailCommandOutput) => void): void;
|
|
94
115
|
deleteGuardrail(args: DeleteGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGuardrailCommandOutput) => void): void;
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link DeleteImportedModelCommand}
|
|
118
|
+
*/
|
|
119
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteImportedModelCommandOutput>;
|
|
120
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, cb: (err: any, data?: DeleteImportedModelCommandOutput) => void): void;
|
|
121
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteImportedModelCommandOutput) => void): void;
|
|
95
122
|
/**
|
|
96
123
|
* @see {@link DeleteModelInvocationLoggingConfigurationCommand}
|
|
97
124
|
*/
|
|
@@ -129,6 +156,18 @@ export interface Bedrock {
|
|
|
129
156
|
getGuardrail(args: GetGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<GetGuardrailCommandOutput>;
|
|
130
157
|
getGuardrail(args: GetGuardrailCommandInput, cb: (err: any, data?: GetGuardrailCommandOutput) => void): void;
|
|
131
158
|
getGuardrail(args: GetGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGuardrailCommandOutput) => void): void;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link GetImportedModelCommand}
|
|
161
|
+
*/
|
|
162
|
+
getImportedModel(args: GetImportedModelCommandInput, options?: __HttpHandlerOptions): Promise<GetImportedModelCommandOutput>;
|
|
163
|
+
getImportedModel(args: GetImportedModelCommandInput, cb: (err: any, data?: GetImportedModelCommandOutput) => void): void;
|
|
164
|
+
getImportedModel(args: GetImportedModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportedModelCommandOutput) => void): void;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link GetInferenceProfileCommand}
|
|
167
|
+
*/
|
|
168
|
+
getInferenceProfile(args: GetInferenceProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetInferenceProfileCommandOutput>;
|
|
169
|
+
getInferenceProfile(args: GetInferenceProfileCommandInput, cb: (err: any, data?: GetInferenceProfileCommandOutput) => void): void;
|
|
170
|
+
getInferenceProfile(args: GetInferenceProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInferenceProfileCommandOutput) => void): void;
|
|
132
171
|
/**
|
|
133
172
|
* @see {@link GetModelCopyJobCommand}
|
|
134
173
|
*/
|
|
@@ -141,6 +180,12 @@ export interface Bedrock {
|
|
|
141
180
|
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetModelCustomizationJobCommandOutput>;
|
|
142
181
|
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void): void;
|
|
143
182
|
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void): void;
|
|
183
|
+
/**
|
|
184
|
+
* @see {@link GetModelImportJobCommand}
|
|
185
|
+
*/
|
|
186
|
+
getModelImportJob(args: GetModelImportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetModelImportJobCommandOutput>;
|
|
187
|
+
getModelImportJob(args: GetModelImportJobCommandInput, cb: (err: any, data?: GetModelImportJobCommandOutput) => void): void;
|
|
188
|
+
getModelImportJob(args: GetModelImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelImportJobCommandOutput) => void): void;
|
|
144
189
|
/**
|
|
145
190
|
* @see {@link GetModelInvocationJobCommand}
|
|
146
191
|
*/
|
|
@@ -188,6 +233,20 @@ export interface Bedrock {
|
|
|
188
233
|
listGuardrails(args: ListGuardrailsCommandInput, options?: __HttpHandlerOptions): Promise<ListGuardrailsCommandOutput>;
|
|
189
234
|
listGuardrails(args: ListGuardrailsCommandInput, cb: (err: any, data?: ListGuardrailsCommandOutput) => void): void;
|
|
190
235
|
listGuardrails(args: ListGuardrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGuardrailsCommandOutput) => void): void;
|
|
236
|
+
/**
|
|
237
|
+
* @see {@link ListImportedModelsCommand}
|
|
238
|
+
*/
|
|
239
|
+
listImportedModels(): Promise<ListImportedModelsCommandOutput>;
|
|
240
|
+
listImportedModels(args: ListImportedModelsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportedModelsCommandOutput>;
|
|
241
|
+
listImportedModels(args: ListImportedModelsCommandInput, cb: (err: any, data?: ListImportedModelsCommandOutput) => void): void;
|
|
242
|
+
listImportedModels(args: ListImportedModelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportedModelsCommandOutput) => void): void;
|
|
243
|
+
/**
|
|
244
|
+
* @see {@link ListInferenceProfilesCommand}
|
|
245
|
+
*/
|
|
246
|
+
listInferenceProfiles(): Promise<ListInferenceProfilesCommandOutput>;
|
|
247
|
+
listInferenceProfiles(args: ListInferenceProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListInferenceProfilesCommandOutput>;
|
|
248
|
+
listInferenceProfiles(args: ListInferenceProfilesCommandInput, cb: (err: any, data?: ListInferenceProfilesCommandOutput) => void): void;
|
|
249
|
+
listInferenceProfiles(args: ListInferenceProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInferenceProfilesCommandOutput) => void): void;
|
|
191
250
|
/**
|
|
192
251
|
* @see {@link ListModelCopyJobsCommand}
|
|
193
252
|
*/
|
|
@@ -202,6 +261,13 @@ export interface Bedrock {
|
|
|
202
261
|
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelCustomizationJobsCommandOutput>;
|
|
203
262
|
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void): void;
|
|
204
263
|
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void): void;
|
|
264
|
+
/**
|
|
265
|
+
* @see {@link ListModelImportJobsCommand}
|
|
266
|
+
*/
|
|
267
|
+
listModelImportJobs(): Promise<ListModelImportJobsCommandOutput>;
|
|
268
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelImportJobsCommandOutput>;
|
|
269
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, cb: (err: any, data?: ListModelImportJobsCommandOutput) => void): void;
|
|
270
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelImportJobsCommandOutput) => void): void;
|
|
205
271
|
/**
|
|
206
272
|
* @see {@link ListModelInvocationJobsCommand}
|
|
207
273
|
*/
|