@aws-sdk/client-bedrock 3.634.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.
- package/README.md +56 -0
- package/dist-cjs/index.js +515 -78
- package/dist-es/Bedrock.js +14 -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/GetModelImportJobCommand.js +24 -0
- package/dist-es/commands/ListImportedModelsCommand.js +24 -0
- package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +91 -58
- package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +250 -3
- package/dist-types/Bedrock.d.ts +51 -0
- package/dist-types/BedrockClient.d.ts +9 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
- 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/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/ListModelImportJobsCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +696 -167
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/Bedrock.d.ts +121 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +42 -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/GetModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +193 -45
- package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +12 -12
|
@@ -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,15 @@ 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
|
+
};
|
|
225
277
|
export const se_GetModelCopyJobCommand = async (input, context) => {
|
|
226
278
|
const b = rb(input, context);
|
|
227
279
|
const headers = {};
|
|
@@ -240,6 +292,15 @@ export const se_GetModelCustomizationJobCommand = async (input, context) => {
|
|
|
240
292
|
b.m("GET").h(headers).b(body);
|
|
241
293
|
return b.build();
|
|
242
294
|
};
|
|
295
|
+
export const se_GetModelImportJobCommand = async (input, context) => {
|
|
296
|
+
const b = rb(input, context);
|
|
297
|
+
const headers = {};
|
|
298
|
+
b.bp("/model-import-jobs/{jobIdentifier}");
|
|
299
|
+
b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
|
|
300
|
+
let body;
|
|
301
|
+
b.m("GET").h(headers).b(body);
|
|
302
|
+
return b.build();
|
|
303
|
+
};
|
|
243
304
|
export const se_GetModelInvocationJobCommand = async (input, context) => {
|
|
244
305
|
const b = rb(input, context);
|
|
245
306
|
const headers = {};
|
|
@@ -331,6 +392,23 @@ export const se_ListGuardrailsCommand = async (input, context) => {
|
|
|
331
392
|
b.m("GET").h(headers).q(query).b(body);
|
|
332
393
|
return b.build();
|
|
333
394
|
};
|
|
395
|
+
export const se_ListImportedModelsCommand = async (input, context) => {
|
|
396
|
+
const b = rb(input, context);
|
|
397
|
+
const headers = {};
|
|
398
|
+
b.bp("/imported-models");
|
|
399
|
+
const query = map({
|
|
400
|
+
[_cTB]: [() => input.creationTimeBefore !== void 0, () => __serializeDateTime(input[_cTB]).toString()],
|
|
401
|
+
[_cTA]: [() => input.creationTimeAfter !== void 0, () => __serializeDateTime(input[_cTA]).toString()],
|
|
402
|
+
[_nC]: [, input[_nC]],
|
|
403
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
404
|
+
[_nT]: [, input[_nT]],
|
|
405
|
+
[_sB]: [, input[_sB]],
|
|
406
|
+
[_sO]: [, input[_sO]],
|
|
407
|
+
});
|
|
408
|
+
let body;
|
|
409
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
410
|
+
return b.build();
|
|
411
|
+
};
|
|
334
412
|
export const se_ListModelCopyJobsCommand = async (input, context) => {
|
|
335
413
|
const b = rb(input, context);
|
|
336
414
|
const headers = {};
|
|
@@ -369,6 +447,24 @@ export const se_ListModelCustomizationJobsCommand = async (input, context) => {
|
|
|
369
447
|
b.m("GET").h(headers).q(query).b(body);
|
|
370
448
|
return b.build();
|
|
371
449
|
};
|
|
450
|
+
export const se_ListModelImportJobsCommand = async (input, context) => {
|
|
451
|
+
const b = rb(input, context);
|
|
452
|
+
const headers = {};
|
|
453
|
+
b.bp("/model-import-jobs");
|
|
454
|
+
const query = map({
|
|
455
|
+
[_cTA]: [() => input.creationTimeAfter !== void 0, () => __serializeDateTime(input[_cTA]).toString()],
|
|
456
|
+
[_cTB]: [() => input.creationTimeBefore !== void 0, () => __serializeDateTime(input[_cTB]).toString()],
|
|
457
|
+
[_sE]: [, input[_sE]],
|
|
458
|
+
[_nC]: [, input[_nC]],
|
|
459
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
460
|
+
[_nT]: [, input[_nT]],
|
|
461
|
+
[_sB]: [, input[_sB]],
|
|
462
|
+
[_sO]: [, input[_sO]],
|
|
463
|
+
});
|
|
464
|
+
let body;
|
|
465
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
466
|
+
return b.build();
|
|
467
|
+
};
|
|
372
468
|
export const se_ListModelInvocationJobsCommand = async (input, context) => {
|
|
373
469
|
const b = rb(input, context);
|
|
374
470
|
const headers = {};
|
|
@@ -525,6 +621,21 @@ export const se_UpdateProvisionedModelThroughputCommand = async (input, context)
|
|
|
525
621
|
b.m("PATCH").h(headers).b(body);
|
|
526
622
|
return b.build();
|
|
527
623
|
};
|
|
624
|
+
export const de_BatchDeleteEvaluationJobCommand = async (output, context) => {
|
|
625
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
626
|
+
return de_CommandError(output, context);
|
|
627
|
+
}
|
|
628
|
+
const contents = map({
|
|
629
|
+
$metadata: deserializeMetadata(output),
|
|
630
|
+
});
|
|
631
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
632
|
+
const doc = take(data, {
|
|
633
|
+
errors: _json,
|
|
634
|
+
evaluationJobs: _json,
|
|
635
|
+
});
|
|
636
|
+
Object.assign(contents, doc);
|
|
637
|
+
return contents;
|
|
638
|
+
};
|
|
528
639
|
export const de_CreateEvaluationJobCommand = async (output, context) => {
|
|
529
640
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
530
641
|
return de_CommandError(output, context);
|
|
@@ -599,6 +710,20 @@ export const de_CreateModelCustomizationJobCommand = async (output, context) =>
|
|
|
599
710
|
Object.assign(contents, doc);
|
|
600
711
|
return contents;
|
|
601
712
|
};
|
|
713
|
+
export const de_CreateModelImportJobCommand = async (output, context) => {
|
|
714
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
715
|
+
return de_CommandError(output, context);
|
|
716
|
+
}
|
|
717
|
+
const contents = map({
|
|
718
|
+
$metadata: deserializeMetadata(output),
|
|
719
|
+
});
|
|
720
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
721
|
+
const doc = take(data, {
|
|
722
|
+
jobArn: __expectString,
|
|
723
|
+
});
|
|
724
|
+
Object.assign(contents, doc);
|
|
725
|
+
return contents;
|
|
726
|
+
};
|
|
602
727
|
export const de_CreateModelInvocationJobCommand = async (output, context) => {
|
|
603
728
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
604
729
|
return de_CommandError(output, context);
|
|
@@ -647,6 +772,16 @@ export const de_DeleteGuardrailCommand = async (output, context) => {
|
|
|
647
772
|
await collectBody(output.body, context);
|
|
648
773
|
return contents;
|
|
649
774
|
};
|
|
775
|
+
export const de_DeleteImportedModelCommand = async (output, context) => {
|
|
776
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
777
|
+
return de_CommandError(output, context);
|
|
778
|
+
}
|
|
779
|
+
const contents = map({
|
|
780
|
+
$metadata: deserializeMetadata(output),
|
|
781
|
+
});
|
|
782
|
+
await collectBody(output.body, context);
|
|
783
|
+
return contents;
|
|
784
|
+
};
|
|
650
785
|
export const de_DeleteModelInvocationLoggingConfigurationCommand = async (output, context) => {
|
|
651
786
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
652
787
|
return de_CommandError(output, context);
|
|
@@ -765,6 +900,27 @@ export const de_GetGuardrailCommand = async (output, context) => {
|
|
|
765
900
|
Object.assign(contents, doc);
|
|
766
901
|
return contents;
|
|
767
902
|
};
|
|
903
|
+
export const de_GetImportedModelCommand = async (output, context) => {
|
|
904
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
905
|
+
return de_CommandError(output, context);
|
|
906
|
+
}
|
|
907
|
+
const contents = map({
|
|
908
|
+
$metadata: deserializeMetadata(output),
|
|
909
|
+
});
|
|
910
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
911
|
+
const doc = take(data, {
|
|
912
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
913
|
+
jobArn: __expectString,
|
|
914
|
+
jobName: __expectString,
|
|
915
|
+
modelArchitecture: __expectString,
|
|
916
|
+
modelArn: __expectString,
|
|
917
|
+
modelDataSource: (_) => _json(__expectUnion(_)),
|
|
918
|
+
modelKmsKeyArn: __expectString,
|
|
919
|
+
modelName: __expectString,
|
|
920
|
+
});
|
|
921
|
+
Object.assign(contents, doc);
|
|
922
|
+
return contents;
|
|
923
|
+
};
|
|
768
924
|
export const de_GetModelCopyJobCommand = async (output, context) => {
|
|
769
925
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
770
926
|
return de_CommandError(output, context);
|
|
@@ -823,6 +979,32 @@ export const de_GetModelCustomizationJobCommand = async (output, context) => {
|
|
|
823
979
|
Object.assign(contents, doc);
|
|
824
980
|
return contents;
|
|
825
981
|
};
|
|
982
|
+
export const de_GetModelImportJobCommand = async (output, context) => {
|
|
983
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
984
|
+
return de_CommandError(output, context);
|
|
985
|
+
}
|
|
986
|
+
const contents = map({
|
|
987
|
+
$metadata: deserializeMetadata(output),
|
|
988
|
+
});
|
|
989
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
990
|
+
const doc = take(data, {
|
|
991
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
992
|
+
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
993
|
+
failureMessage: __expectString,
|
|
994
|
+
importedModelArn: __expectString,
|
|
995
|
+
importedModelKmsKeyArn: __expectString,
|
|
996
|
+
importedModelName: __expectString,
|
|
997
|
+
jobArn: __expectString,
|
|
998
|
+
jobName: __expectString,
|
|
999
|
+
lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1000
|
+
modelDataSource: (_) => _json(__expectUnion(_)),
|
|
1001
|
+
roleArn: __expectString,
|
|
1002
|
+
status: __expectString,
|
|
1003
|
+
vpcConfig: _json,
|
|
1004
|
+
});
|
|
1005
|
+
Object.assign(contents, doc);
|
|
1006
|
+
return contents;
|
|
1007
|
+
};
|
|
826
1008
|
export const de_GetModelInvocationJobCommand = async (output, context) => {
|
|
827
1009
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
1010
|
return de_CommandError(output, context);
|
|
@@ -949,6 +1131,21 @@ export const de_ListGuardrailsCommand = async (output, context) => {
|
|
|
949
1131
|
Object.assign(contents, doc);
|
|
950
1132
|
return contents;
|
|
951
1133
|
};
|
|
1134
|
+
export const de_ListImportedModelsCommand = async (output, context) => {
|
|
1135
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
|
+
return de_CommandError(output, context);
|
|
1137
|
+
}
|
|
1138
|
+
const contents = map({
|
|
1139
|
+
$metadata: deserializeMetadata(output),
|
|
1140
|
+
});
|
|
1141
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1142
|
+
const doc = take(data, {
|
|
1143
|
+
modelSummaries: (_) => de_ImportedModelSummaryList(_, context),
|
|
1144
|
+
nextToken: __expectString,
|
|
1145
|
+
});
|
|
1146
|
+
Object.assign(contents, doc);
|
|
1147
|
+
return contents;
|
|
1148
|
+
};
|
|
952
1149
|
export const de_ListModelCopyJobsCommand = async (output, context) => {
|
|
953
1150
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
954
1151
|
return de_CommandError(output, context);
|
|
@@ -979,6 +1176,21 @@ export const de_ListModelCustomizationJobsCommand = async (output, context) => {
|
|
|
979
1176
|
Object.assign(contents, doc);
|
|
980
1177
|
return contents;
|
|
981
1178
|
};
|
|
1179
|
+
export const de_ListModelImportJobsCommand = async (output, context) => {
|
|
1180
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1181
|
+
return de_CommandError(output, context);
|
|
1182
|
+
}
|
|
1183
|
+
const contents = map({
|
|
1184
|
+
$metadata: deserializeMetadata(output),
|
|
1185
|
+
});
|
|
1186
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1187
|
+
const doc = take(data, {
|
|
1188
|
+
modelImportJobSummaries: (_) => de_ModelImportJobSummaries(_, context),
|
|
1189
|
+
nextToken: __expectString,
|
|
1190
|
+
});
|
|
1191
|
+
Object.assign(contents, doc);
|
|
1192
|
+
return contents;
|
|
1193
|
+
};
|
|
982
1194
|
export const de_ListModelInvocationJobsCommand = async (output, context) => {
|
|
983
1195
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
984
1196
|
return de_CommandError(output, context);
|
|
@@ -1129,15 +1341,15 @@ const de_CommandError = async (output, context) => {
|
|
|
1129
1341
|
case "ResourceNotFoundException":
|
|
1130
1342
|
case "com.amazonaws.bedrock#ResourceNotFoundException":
|
|
1131
1343
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1132
|
-
case "ServiceQuotaExceededException":
|
|
1133
|
-
case "com.amazonaws.bedrock#ServiceQuotaExceededException":
|
|
1134
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1135
1344
|
case "ThrottlingException":
|
|
1136
1345
|
case "com.amazonaws.bedrock#ThrottlingException":
|
|
1137
1346
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1138
1347
|
case "ValidationException":
|
|
1139
1348
|
case "com.amazonaws.bedrock#ValidationException":
|
|
1140
1349
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1350
|
+
case "ServiceQuotaExceededException":
|
|
1351
|
+
case "com.amazonaws.bedrock#ServiceQuotaExceededException":
|
|
1352
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1141
1353
|
case "TooManyTagsException":
|
|
1142
1354
|
case "com.amazonaws.bedrock#TooManyTagsException":
|
|
1143
1355
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
@@ -1351,6 +1563,21 @@ const de_GuardrailSummary = (output, context) => {
|
|
|
1351
1563
|
version: __expectString,
|
|
1352
1564
|
});
|
|
1353
1565
|
};
|
|
1566
|
+
const de_ImportedModelSummary = (output, context) => {
|
|
1567
|
+
return take(output, {
|
|
1568
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1569
|
+
modelArn: __expectString,
|
|
1570
|
+
modelName: __expectString,
|
|
1571
|
+
});
|
|
1572
|
+
};
|
|
1573
|
+
const de_ImportedModelSummaryList = (output, context) => {
|
|
1574
|
+
const retVal = (output || [])
|
|
1575
|
+
.filter((e) => e != null)
|
|
1576
|
+
.map((entry) => {
|
|
1577
|
+
return de_ImportedModelSummary(entry, context);
|
|
1578
|
+
});
|
|
1579
|
+
return retVal;
|
|
1580
|
+
};
|
|
1354
1581
|
const de_ModelCopyJobSummaries = (output, context) => {
|
|
1355
1582
|
const retVal = (output || [])
|
|
1356
1583
|
.filter((e) => e != null)
|
|
@@ -1396,6 +1623,26 @@ const de_ModelCustomizationJobSummary = (output, context) => {
|
|
|
1396
1623
|
status: __expectString,
|
|
1397
1624
|
});
|
|
1398
1625
|
};
|
|
1626
|
+
const de_ModelImportJobSummaries = (output, context) => {
|
|
1627
|
+
const retVal = (output || [])
|
|
1628
|
+
.filter((e) => e != null)
|
|
1629
|
+
.map((entry) => {
|
|
1630
|
+
return de_ModelImportJobSummary(entry, context);
|
|
1631
|
+
});
|
|
1632
|
+
return retVal;
|
|
1633
|
+
};
|
|
1634
|
+
const de_ModelImportJobSummary = (output, context) => {
|
|
1635
|
+
return take(output, {
|
|
1636
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1637
|
+
endTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1638
|
+
importedModelArn: __expectString,
|
|
1639
|
+
importedModelName: __expectString,
|
|
1640
|
+
jobArn: __expectString,
|
|
1641
|
+
jobName: __expectString,
|
|
1642
|
+
lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1643
|
+
status: __expectString,
|
|
1644
|
+
});
|
|
1645
|
+
};
|
|
1399
1646
|
const de_ModelInvocationJobSummaries = (output, context) => {
|
|
1400
1647
|
const retVal = (output || [])
|
|
1401
1648
|
.filter((e) => e != null)
|
package/dist-types/Bedrock.d.ts
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
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";
|
|
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 "./c
|
|
|
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";
|
|
@@ -38,6 +45,12 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
38
45
|
import { UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput } from "./commands/UpdateGuardrailCommand";
|
|
39
46
|
import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
40
47
|
export interface Bedrock {
|
|
48
|
+
/**
|
|
49
|
+
* @see {@link BatchDeleteEvaluationJobCommand}
|
|
50
|
+
*/
|
|
51
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteEvaluationJobCommandOutput>;
|
|
52
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, cb: (err: any, data?: BatchDeleteEvaluationJobCommandOutput) => void): void;
|
|
53
|
+
batchDeleteEvaluationJob(args: BatchDeleteEvaluationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteEvaluationJobCommandOutput) => void): void;
|
|
41
54
|
/**
|
|
42
55
|
* @see {@link CreateEvaluationJobCommand}
|
|
43
56
|
*/
|
|
@@ -68,6 +81,12 @@ export interface Bedrock {
|
|
|
68
81
|
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelCustomizationJobCommandOutput>;
|
|
69
82
|
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void): void;
|
|
70
83
|
createModelCustomizationJob(args: CreateModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link CreateModelImportJobCommand}
|
|
86
|
+
*/
|
|
87
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelImportJobCommandOutput>;
|
|
88
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, cb: (err: any, data?: CreateModelImportJobCommandOutput) => void): void;
|
|
89
|
+
createModelImportJob(args: CreateModelImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelImportJobCommandOutput) => void): void;
|
|
71
90
|
/**
|
|
72
91
|
* @see {@link CreateModelInvocationJobCommand}
|
|
73
92
|
*/
|
|
@@ -92,6 +111,12 @@ export interface Bedrock {
|
|
|
92
111
|
deleteGuardrail(args: DeleteGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGuardrailCommandOutput>;
|
|
93
112
|
deleteGuardrail(args: DeleteGuardrailCommandInput, cb: (err: any, data?: DeleteGuardrailCommandOutput) => void): void;
|
|
94
113
|
deleteGuardrail(args: DeleteGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGuardrailCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link DeleteImportedModelCommand}
|
|
116
|
+
*/
|
|
117
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteImportedModelCommandOutput>;
|
|
118
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, cb: (err: any, data?: DeleteImportedModelCommandOutput) => void): void;
|
|
119
|
+
deleteImportedModel(args: DeleteImportedModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteImportedModelCommandOutput) => void): void;
|
|
95
120
|
/**
|
|
96
121
|
* @see {@link DeleteModelInvocationLoggingConfigurationCommand}
|
|
97
122
|
*/
|
|
@@ -129,6 +154,12 @@ export interface Bedrock {
|
|
|
129
154
|
getGuardrail(args: GetGuardrailCommandInput, options?: __HttpHandlerOptions): Promise<GetGuardrailCommandOutput>;
|
|
130
155
|
getGuardrail(args: GetGuardrailCommandInput, cb: (err: any, data?: GetGuardrailCommandOutput) => void): void;
|
|
131
156
|
getGuardrail(args: GetGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGuardrailCommandOutput) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* @see {@link GetImportedModelCommand}
|
|
159
|
+
*/
|
|
160
|
+
getImportedModel(args: GetImportedModelCommandInput, options?: __HttpHandlerOptions): Promise<GetImportedModelCommandOutput>;
|
|
161
|
+
getImportedModel(args: GetImportedModelCommandInput, cb: (err: any, data?: GetImportedModelCommandOutput) => void): void;
|
|
162
|
+
getImportedModel(args: GetImportedModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportedModelCommandOutput) => void): void;
|
|
132
163
|
/**
|
|
133
164
|
* @see {@link GetModelCopyJobCommand}
|
|
134
165
|
*/
|
|
@@ -141,6 +172,12 @@ export interface Bedrock {
|
|
|
141
172
|
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetModelCustomizationJobCommandOutput>;
|
|
142
173
|
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void): void;
|
|
143
174
|
getModelCustomizationJob(args: GetModelCustomizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link GetModelImportJobCommand}
|
|
177
|
+
*/
|
|
178
|
+
getModelImportJob(args: GetModelImportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetModelImportJobCommandOutput>;
|
|
179
|
+
getModelImportJob(args: GetModelImportJobCommandInput, cb: (err: any, data?: GetModelImportJobCommandOutput) => void): void;
|
|
180
|
+
getModelImportJob(args: GetModelImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelImportJobCommandOutput) => void): void;
|
|
144
181
|
/**
|
|
145
182
|
* @see {@link GetModelInvocationJobCommand}
|
|
146
183
|
*/
|
|
@@ -188,6 +225,13 @@ export interface Bedrock {
|
|
|
188
225
|
listGuardrails(args: ListGuardrailsCommandInput, options?: __HttpHandlerOptions): Promise<ListGuardrailsCommandOutput>;
|
|
189
226
|
listGuardrails(args: ListGuardrailsCommandInput, cb: (err: any, data?: ListGuardrailsCommandOutput) => void): void;
|
|
190
227
|
listGuardrails(args: ListGuardrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGuardrailsCommandOutput) => void): void;
|
|
228
|
+
/**
|
|
229
|
+
* @see {@link ListImportedModelsCommand}
|
|
230
|
+
*/
|
|
231
|
+
listImportedModels(): Promise<ListImportedModelsCommandOutput>;
|
|
232
|
+
listImportedModels(args: ListImportedModelsCommandInput, options?: __HttpHandlerOptions): Promise<ListImportedModelsCommandOutput>;
|
|
233
|
+
listImportedModels(args: ListImportedModelsCommandInput, cb: (err: any, data?: ListImportedModelsCommandOutput) => void): void;
|
|
234
|
+
listImportedModels(args: ListImportedModelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportedModelsCommandOutput) => void): void;
|
|
191
235
|
/**
|
|
192
236
|
* @see {@link ListModelCopyJobsCommand}
|
|
193
237
|
*/
|
|
@@ -202,6 +246,13 @@ export interface Bedrock {
|
|
|
202
246
|
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelCustomizationJobsCommandOutput>;
|
|
203
247
|
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void): void;
|
|
204
248
|
listModelCustomizationJobs(args: ListModelCustomizationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void): void;
|
|
249
|
+
/**
|
|
250
|
+
* @see {@link ListModelImportJobsCommand}
|
|
251
|
+
*/
|
|
252
|
+
listModelImportJobs(): Promise<ListModelImportJobsCommandOutput>;
|
|
253
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListModelImportJobsCommandOutput>;
|
|
254
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, cb: (err: any, data?: ListModelImportJobsCommandOutput) => void): void;
|
|
255
|
+
listModelImportJobs(args: ListModelImportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListModelImportJobsCommandOutput) => void): void;
|
|
205
256
|
/**
|
|
206
257
|
* @see {@link ListModelInvocationJobsCommand}
|
|
207
258
|
*/
|
|
@@ -7,23 +7,28 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { 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, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
10
11
|
import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "./commands/CreateEvaluationJobCommand";
|
|
11
12
|
import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
|
|
12
13
|
import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "./commands/CreateGuardrailVersionCommand";
|
|
13
14
|
import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "./commands/CreateModelCopyJobCommand";
|
|
14
15
|
import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "./commands/CreateModelCustomizationJobCommand";
|
|
16
|
+
import { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "./commands/CreateModelImportJobCommand";
|
|
15
17
|
import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOutput } from "./commands/CreateModelInvocationJobCommand";
|
|
16
18
|
import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "./commands/CreateProvisionedModelThroughputCommand";
|
|
17
19
|
import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "./commands/DeleteCustomModelCommand";
|
|
18
20
|
import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
|
|
21
|
+
import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
|
|
19
22
|
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
20
23
|
import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
21
24
|
import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand";
|
|
22
25
|
import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand";
|
|
23
26
|
import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand";
|
|
24
27
|
import { GetGuardrailCommandInput, GetGuardrailCommandOutput } from "./commands/GetGuardrailCommand";
|
|
28
|
+
import { GetImportedModelCommandInput, GetImportedModelCommandOutput } from "./commands/GetImportedModelCommand";
|
|
25
29
|
import { GetModelCopyJobCommandInput, GetModelCopyJobCommandOutput } from "./commands/GetModelCopyJobCommand";
|
|
26
30
|
import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "./commands/GetModelCustomizationJobCommand";
|
|
31
|
+
import { GetModelImportJobCommandInput, GetModelImportJobCommandOutput } from "./commands/GetModelImportJobCommand";
|
|
27
32
|
import { GetModelInvocationJobCommandInput, GetModelInvocationJobCommandOutput } from "./commands/GetModelInvocationJobCommand";
|
|
28
33
|
import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "./commands/GetModelInvocationLoggingConfigurationCommand";
|
|
29
34
|
import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
|
|
@@ -31,8 +36,10 @@ import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./c
|
|
|
31
36
|
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
|
|
32
37
|
import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "./commands/ListFoundationModelsCommand";
|
|
33
38
|
import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "./commands/ListGuardrailsCommand";
|
|
39
|
+
import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "./commands/ListImportedModelsCommand";
|
|
34
40
|
import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "./commands/ListModelCopyJobsCommand";
|
|
35
41
|
import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "./commands/ListModelCustomizationJobsCommand";
|
|
42
|
+
import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "./commands/ListModelImportJobsCommand";
|
|
36
43
|
import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "./commands/ListModelInvocationJobsCommand";
|
|
37
44
|
import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "./commands/ListProvisionedModelThroughputsCommand";
|
|
38
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -50,11 +57,11 @@ export { __Client };
|
|
|
50
57
|
/**
|
|
51
58
|
* @public
|
|
52
59
|
*/
|
|
53
|
-
export type ServiceInputTypes = CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelInvocationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
|
|
60
|
+
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateEvaluationJobCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeleteProvisionedModelThroughputCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetProvisionedModelThroughputCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateProvisionedModelThroughputCommandInput;
|
|
54
61
|
/**
|
|
55
62
|
* @public
|
|
56
63
|
*/
|
|
57
|
-
export type ServiceOutputTypes = CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
|
|
64
|
+
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateEvaluationJobCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeleteProvisionedModelThroughputCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetProvisionedModelThroughputCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
|
|
58
65
|
/**
|
|
59
66
|
* @public
|
|
60
67
|
*/
|