@aws-sdk/client-bedrock 3.635.0 → 3.637.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +515 -78
  3. package/dist-es/Bedrock.js +14 -0
  4. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
  5. package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
  6. package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
  7. package/dist-es/commands/GetImportedModelCommand.js +24 -0
  8. package/dist-es/commands/GetModelImportJobCommand.js +24 -0
  9. package/dist-es/commands/ListImportedModelsCommand.js +24 -0
  10. package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +91 -58
  13. package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
  14. package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/protocols/Aws_restJson1.js +250 -3
  17. package/dist-types/Bedrock.d.ts +51 -0
  18. package/dist-types/BedrockClient.d.ts +9 -2
  19. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
  20. package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
  21. package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
  22. package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
  23. package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
  24. package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
  25. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
  26. package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
  27. package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +696 -167
  30. package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
  31. package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +2 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  34. package/dist-types/ts3.4/Bedrock.d.ts +121 -0
  35. package/dist-types/ts3.4/BedrockClient.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
  37. package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
  38. package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
  39. package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
  41. package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
  42. package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +193 -45
  45. package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  49. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -23,6 +23,11 @@ var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AutomatedEvaluationConfigFilterSensitiveLog: () => AutomatedEvaluationConfigFilterSensitiveLog,
26
+ BatchDeleteEvaluationJobCommand: () => BatchDeleteEvaluationJobCommand,
27
+ BatchDeleteEvaluationJobErrorFilterSensitiveLog: () => BatchDeleteEvaluationJobErrorFilterSensitiveLog,
28
+ BatchDeleteEvaluationJobItemFilterSensitiveLog: () => BatchDeleteEvaluationJobItemFilterSensitiveLog,
29
+ BatchDeleteEvaluationJobRequestFilterSensitiveLog: () => BatchDeleteEvaluationJobRequestFilterSensitiveLog,
30
+ BatchDeleteEvaluationJobResponseFilterSensitiveLog: () => BatchDeleteEvaluationJobResponseFilterSensitiveLog,
26
31
  Bedrock: () => Bedrock,
27
32
  BedrockClient: () => BedrockClient,
28
33
  BedrockServiceException: () => BedrockServiceException,
@@ -36,11 +41,13 @@ __export(src_exports, {
36
41
  CreateGuardrailVersionRequestFilterSensitiveLog: () => CreateGuardrailVersionRequestFilterSensitiveLog,
37
42
  CreateModelCopyJobCommand: () => CreateModelCopyJobCommand,
38
43
  CreateModelCustomizationJobCommand: () => CreateModelCustomizationJobCommand,
44
+ CreateModelImportJobCommand: () => CreateModelImportJobCommand,
39
45
  CreateModelInvocationJobCommand: () => CreateModelInvocationJobCommand,
40
46
  CreateProvisionedModelThroughputCommand: () => CreateProvisionedModelThroughputCommand,
41
47
  CustomizationType: () => CustomizationType,
42
48
  DeleteCustomModelCommand: () => DeleteCustomModelCommand,
43
49
  DeleteGuardrailCommand: () => DeleteGuardrailCommand,
50
+ DeleteImportedModelCommand: () => DeleteImportedModelCommand,
44
51
  DeleteModelInvocationLoggingConfigurationCommand: () => DeleteModelInvocationLoggingConfigurationCommand,
45
52
  DeleteProvisionedModelThroughputCommand: () => DeleteProvisionedModelThroughputCommand,
46
53
  EvaluationBedrockModelFilterSensitiveLog: () => EvaluationBedrockModelFilterSensitiveLog,
@@ -65,8 +72,10 @@ __export(src_exports, {
65
72
  GetFoundationModelCommand: () => GetFoundationModelCommand,
66
73
  GetGuardrailCommand: () => GetGuardrailCommand,
67
74
  GetGuardrailResponseFilterSensitiveLog: () => GetGuardrailResponseFilterSensitiveLog,
75
+ GetImportedModelCommand: () => GetImportedModelCommand,
68
76
  GetModelCopyJobCommand: () => GetModelCopyJobCommand,
69
77
  GetModelCustomizationJobCommand: () => GetModelCustomizationJobCommand,
78
+ GetModelImportJobCommand: () => GetModelImportJobCommand,
70
79
  GetModelInvocationJobCommand: () => GetModelInvocationJobCommand,
71
80
  GetModelInvocationJobResponseFilterSensitiveLog: () => GetModelInvocationJobResponseFilterSensitiveLog,
72
81
  GetModelInvocationLoggingConfigurationCommand: () => GetModelInvocationLoggingConfigurationCommand,
@@ -94,8 +103,10 @@ __export(src_exports, {
94
103
  ListFoundationModelsCommand: () => ListFoundationModelsCommand,
95
104
  ListGuardrailsCommand: () => ListGuardrailsCommand,
96
105
  ListGuardrailsResponseFilterSensitiveLog: () => ListGuardrailsResponseFilterSensitiveLog,
106
+ ListImportedModelsCommand: () => ListImportedModelsCommand,
97
107
  ListModelCopyJobsCommand: () => ListModelCopyJobsCommand,
98
108
  ListModelCustomizationJobsCommand: () => ListModelCustomizationJobsCommand,
109
+ ListModelImportJobsCommand: () => ListModelImportJobsCommand,
99
110
  ListModelInvocationJobsCommand: () => ListModelInvocationJobsCommand,
100
111
  ListModelInvocationJobsResponseFilterSensitiveLog: () => ListModelInvocationJobsResponseFilterSensitiveLog,
101
112
  ListProvisionedModelThroughputsCommand: () => ListProvisionedModelThroughputsCommand,
@@ -103,6 +114,8 @@ __export(src_exports, {
103
114
  ModelCopyJobStatus: () => ModelCopyJobStatus,
104
115
  ModelCustomization: () => ModelCustomization,
105
116
  ModelCustomizationJobStatus: () => ModelCustomizationJobStatus,
117
+ ModelDataSource: () => ModelDataSource,
118
+ ModelImportJobStatus: () => ModelImportJobStatus,
106
119
  ModelInvocationJobInputDataConfig: () => ModelInvocationJobInputDataConfig,
107
120
  ModelInvocationJobOutputDataConfig: () => ModelInvocationJobOutputDataConfig,
108
121
  ModelInvocationJobStatus: () => ModelInvocationJobStatus,
@@ -133,8 +146,10 @@ __export(src_exports, {
133
146
  paginateListCustomModels: () => paginateListCustomModels,
134
147
  paginateListEvaluationJobs: () => paginateListEvaluationJobs,
135
148
  paginateListGuardrails: () => paginateListGuardrails,
149
+ paginateListImportedModels: () => paginateListImportedModels,
136
150
  paginateListModelCopyJobs: () => paginateListModelCopyJobs,
137
151
  paginateListModelCustomizationJobs: () => paginateListModelCustomizationJobs,
152
+ paginateListModelImportJobs: () => paginateListModelImportJobs,
138
153
  paginateListModelInvocationJobs: () => paginateListModelInvocationJobs,
139
154
  paginateListProvisionedModelThroughputs: () => paginateListProvisionedModelThroughputs
140
155
  });
@@ -280,7 +295,7 @@ var BedrockClient = _BedrockClient;
280
295
  // src/Bedrock.ts
281
296
 
282
297
 
283
- // src/commands/CreateEvaluationJobCommand.ts
298
+ // src/commands/BatchDeleteEvaluationJobCommand.ts
284
299
 
285
300
  var import_middleware_serde = require("@smithy/middleware-serde");
286
301
 
@@ -320,6 +335,14 @@ var _AccessDeniedException = class _AccessDeniedException extends BedrockService
320
335
  };
321
336
  __name(_AccessDeniedException, "AccessDeniedException");
322
337
  var AccessDeniedException = _AccessDeniedException;
338
+ var EvaluationJobStatus = {
339
+ COMPLETED: "Completed",
340
+ DELETING: "Deleting",
341
+ FAILED: "Failed",
342
+ IN_PROGRESS: "InProgress",
343
+ STOPPED: "Stopped",
344
+ STOPPING: "Stopping"
345
+ };
323
346
  var _ConflictException = class _ConflictException extends BedrockServiceException {
324
347
  /**
325
348
  * @internal
@@ -337,47 +360,6 @@ var _ConflictException = class _ConflictException extends BedrockServiceExceptio
337
360
  };
338
361
  __name(_ConflictException, "ConflictException");
339
362
  var ConflictException = _ConflictException;
340
- var EvaluationDatasetLocation;
341
- ((EvaluationDatasetLocation3) => {
342
- EvaluationDatasetLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
343
- if (value.s3Uri !== void 0)
344
- return visitor.s3Uri(value.s3Uri);
345
- return visitor._(value.$unknown[0], value.$unknown[1]);
346
- }, "visit");
347
- })(EvaluationDatasetLocation || (EvaluationDatasetLocation = {}));
348
- var EvaluationTaskType = {
349
- CLASSIFICATION: "Classification",
350
- CUSTOM: "Custom",
351
- GENERATION: "Generation",
352
- QUESTION_AND_ANSWER: "QuestionAndAnswer",
353
- SUMMARIZATION: "Summarization"
354
- };
355
- var EvaluationConfig;
356
- ((EvaluationConfig3) => {
357
- EvaluationConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
358
- if (value.automated !== void 0)
359
- return visitor.automated(value.automated);
360
- if (value.human !== void 0)
361
- return visitor.human(value.human);
362
- return visitor._(value.$unknown[0], value.$unknown[1]);
363
- }, "visit");
364
- })(EvaluationConfig || (EvaluationConfig = {}));
365
- var EvaluationModelConfig;
366
- ((EvaluationModelConfig3) => {
367
- EvaluationModelConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
368
- if (value.bedrockModel !== void 0)
369
- return visitor.bedrockModel(value.bedrockModel);
370
- return visitor._(value.$unknown[0], value.$unknown[1]);
371
- }, "visit");
372
- })(EvaluationModelConfig || (EvaluationModelConfig = {}));
373
- var EvaluationInferenceConfig;
374
- ((EvaluationInferenceConfig3) => {
375
- EvaluationInferenceConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
376
- if (value.models !== void 0)
377
- return visitor.models(value.models);
378
- return visitor._(value.$unknown[0], value.$unknown[1]);
379
- }, "visit");
380
- })(EvaluationInferenceConfig || (EvaluationInferenceConfig = {}));
381
363
  var _InternalServerException = class _InternalServerException extends BedrockServiceException {
382
364
  /**
383
365
  * @internal
@@ -412,23 +394,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Bedroc
412
394
  };
413
395
  __name(_ResourceNotFoundException, "ResourceNotFoundException");
414
396
  var ResourceNotFoundException = _ResourceNotFoundException;
415
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
416
- /**
417
- * @internal
418
- */
419
- constructor(opts) {
420
- super({
421
- name: "ServiceQuotaExceededException",
422
- $fault: "client",
423
- ...opts
424
- });
425
- this.name = "ServiceQuotaExceededException";
426
- this.$fault = "client";
427
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
428
- }
429
- };
430
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
431
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
432
397
  var _ThrottlingException = class _ThrottlingException extends BedrockServiceException {
433
398
  /**
434
399
  * @internal
@@ -463,17 +428,68 @@ var _ValidationException = class _ValidationException extends BedrockServiceExce
463
428
  };
464
429
  __name(_ValidationException, "ValidationException");
465
430
  var ValidationException = _ValidationException;
431
+ var EvaluationDatasetLocation;
432
+ ((EvaluationDatasetLocation3) => {
433
+ EvaluationDatasetLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
434
+ if (value.s3Uri !== void 0)
435
+ return visitor.s3Uri(value.s3Uri);
436
+ return visitor._(value.$unknown[0], value.$unknown[1]);
437
+ }, "visit");
438
+ })(EvaluationDatasetLocation || (EvaluationDatasetLocation = {}));
439
+ var EvaluationTaskType = {
440
+ CLASSIFICATION: "Classification",
441
+ CUSTOM: "Custom",
442
+ GENERATION: "Generation",
443
+ QUESTION_AND_ANSWER: "QuestionAndAnswer",
444
+ SUMMARIZATION: "Summarization"
445
+ };
446
+ var EvaluationConfig;
447
+ ((EvaluationConfig3) => {
448
+ EvaluationConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
449
+ if (value.automated !== void 0)
450
+ return visitor.automated(value.automated);
451
+ if (value.human !== void 0)
452
+ return visitor.human(value.human);
453
+ return visitor._(value.$unknown[0], value.$unknown[1]);
454
+ }, "visit");
455
+ })(EvaluationConfig || (EvaluationConfig = {}));
456
+ var EvaluationModelConfig;
457
+ ((EvaluationModelConfig3) => {
458
+ EvaluationModelConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
459
+ if (value.bedrockModel !== void 0)
460
+ return visitor.bedrockModel(value.bedrockModel);
461
+ return visitor._(value.$unknown[0], value.$unknown[1]);
462
+ }, "visit");
463
+ })(EvaluationModelConfig || (EvaluationModelConfig = {}));
464
+ var EvaluationInferenceConfig;
465
+ ((EvaluationInferenceConfig3) => {
466
+ EvaluationInferenceConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
467
+ if (value.models !== void 0)
468
+ return visitor.models(value.models);
469
+ return visitor._(value.$unknown[0], value.$unknown[1]);
470
+ }, "visit");
471
+ })(EvaluationInferenceConfig || (EvaluationInferenceConfig = {}));
472
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
473
+ /**
474
+ * @internal
475
+ */
476
+ constructor(opts) {
477
+ super({
478
+ name: "ServiceQuotaExceededException",
479
+ $fault: "client",
480
+ ...opts
481
+ });
482
+ this.name = "ServiceQuotaExceededException";
483
+ this.$fault = "client";
484
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
485
+ }
486
+ };
487
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
488
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
466
489
  var EvaluationJobType = {
467
490
  AUTOMATED: "Automated",
468
491
  HUMAN: "Human"
469
492
  };
470
- var EvaluationJobStatus = {
471
- COMPLETED: "Completed",
472
- FAILED: "Failed",
473
- IN_PROGRESS: "InProgress",
474
- STOPPED: "Stopped",
475
- STOPPING: "Stopping"
476
- };
477
493
  var SortJobsBy = {
478
494
  CREATION_TIME: "CreationTime"
479
495
  };
@@ -573,6 +589,22 @@ var ModelCopyJobStatus = {
573
589
  FAILED: "Failed",
574
590
  IN_PROGRESS: "InProgress"
575
591
  };
592
+ var ModelDataSource;
593
+ ((ModelDataSource3) => {
594
+ ModelDataSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
595
+ if (value.s3DataSource !== void 0)
596
+ return visitor.s3DataSource(value.s3DataSource);
597
+ return visitor._(value.$unknown[0], value.$unknown[1]);
598
+ }, "visit");
599
+ })(ModelDataSource || (ModelDataSource = {}));
600
+ var ModelImportJobStatus = {
601
+ COMPLETED: "Completed",
602
+ FAILED: "Failed",
603
+ IN_PROGRESS: "InProgress"
604
+ };
605
+ var SortModelsBy = {
606
+ CREATION_TIME: "CreationTime"
607
+ };
576
608
  var S3InputFormat = {
577
609
  JSONL: "JSONL"
578
610
  };
@@ -625,9 +657,6 @@ var FoundationModelLifecycleStatus = {
625
657
  ACTIVE: "ACTIVE",
626
658
  LEGACY: "LEGACY"
627
659
  };
628
- var SortModelsBy = {
629
- CREATION_TIME: "CreationTime"
630
- };
631
660
  var CommitmentDuration = {
632
661
  ONE_MONTH: "OneMonth",
633
662
  SIX_MONTHS: "SixMonths"
@@ -655,6 +684,25 @@ var FineTuningJobStatus = {
655
684
  STOPPED: "Stopped",
656
685
  STOPPING: "Stopping"
657
686
  };
687
+ var BatchDeleteEvaluationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
688
+ ...obj,
689
+ ...obj.jobIdentifiers && { jobIdentifiers: import_smithy_client.SENSITIVE_STRING }
690
+ }), "BatchDeleteEvaluationJobRequestFilterSensitiveLog");
691
+ var BatchDeleteEvaluationJobErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
692
+ ...obj,
693
+ ...obj.jobIdentifier && { jobIdentifier: import_smithy_client.SENSITIVE_STRING }
694
+ }), "BatchDeleteEvaluationJobErrorFilterSensitiveLog");
695
+ var BatchDeleteEvaluationJobItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
696
+ ...obj,
697
+ ...obj.jobIdentifier && { jobIdentifier: import_smithy_client.SENSITIVE_STRING }
698
+ }), "BatchDeleteEvaluationJobItemFilterSensitiveLog");
699
+ var BatchDeleteEvaluationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
700
+ ...obj,
701
+ ...obj.errors && { errors: obj.errors.map((item) => BatchDeleteEvaluationJobErrorFilterSensitiveLog(item)) },
702
+ ...obj.evaluationJobs && {
703
+ evaluationJobs: obj.evaluationJobs.map((item) => BatchDeleteEvaluationJobItemFilterSensitiveLog(item))
704
+ }
705
+ }), "BatchDeleteEvaluationJobResponseFilterSensitiveLog");
658
706
  var EvaluationDatasetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
659
707
  ...obj,
660
708
  ...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
@@ -825,6 +873,21 @@ var import_core2 = require("@aws-sdk/core");
825
873
 
826
874
 
827
875
  var import_uuid = require("uuid");
876
+ var se_BatchDeleteEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
877
+ const b = (0, import_core.requestBuilder)(input, context);
878
+ const headers = {
879
+ "content-type": "application/json"
880
+ };
881
+ b.bp("/evaluation-jobs/batch-delete");
882
+ let body;
883
+ body = JSON.stringify(
884
+ (0, import_smithy_client.take)(input, {
885
+ jobIdentifiers: (_) => (0, import_smithy_client._json)(_)
886
+ })
887
+ );
888
+ b.m("POST").h(headers).b(body);
889
+ return b.build();
890
+ }, "se_BatchDeleteEvaluationJobCommand");
828
891
  var se_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
829
892
  const b = (0, import_core.requestBuilder)(input, context);
830
893
  const headers = {
@@ -938,6 +1001,29 @@ var se_CreateModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input,
938
1001
  b.m("POST").h(headers).b(body);
939
1002
  return b.build();
940
1003
  }, "se_CreateModelCustomizationJobCommand");
1004
+ var se_CreateModelImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1005
+ const b = (0, import_core.requestBuilder)(input, context);
1006
+ const headers = {
1007
+ "content-type": "application/json"
1008
+ };
1009
+ b.bp("/model-import-jobs");
1010
+ let body;
1011
+ body = JSON.stringify(
1012
+ (0, import_smithy_client.take)(input, {
1013
+ clientRequestToken: [],
1014
+ importedModelKmsKeyId: [],
1015
+ importedModelName: [],
1016
+ importedModelTags: (_) => (0, import_smithy_client._json)(_),
1017
+ jobName: [],
1018
+ jobTags: (_) => (0, import_smithy_client._json)(_),
1019
+ modelDataSource: (_) => (0, import_smithy_client._json)(_),
1020
+ roleArn: [],
1021
+ vpcConfig: (_) => (0, import_smithy_client._json)(_)
1022
+ })
1023
+ );
1024
+ b.m("POST").h(headers).b(body);
1025
+ return b.build();
1026
+ }, "se_CreateModelImportJobCommand");
941
1027
  var se_CreateModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
942
1028
  const b = (0, import_core.requestBuilder)(input, context);
943
1029
  const headers = {
@@ -1001,6 +1087,15 @@ var se_DeleteGuardrailCommand = /* @__PURE__ */ __name(async (input, context) =>
1001
1087
  b.m("DELETE").h(headers).q(query).b(body);
1002
1088
  return b.build();
1003
1089
  }, "se_DeleteGuardrailCommand");
1090
+ var se_DeleteImportedModelCommand = /* @__PURE__ */ __name(async (input, context) => {
1091
+ const b = (0, import_core.requestBuilder)(input, context);
1092
+ const headers = {};
1093
+ b.bp("/imported-models/{modelIdentifier}");
1094
+ b.p("modelIdentifier", () => input.modelIdentifier, "{modelIdentifier}", false);
1095
+ let body;
1096
+ b.m("DELETE").h(headers).b(body);
1097
+ return b.build();
1098
+ }, "se_DeleteImportedModelCommand");
1004
1099
  var se_DeleteModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
1005
1100
  const b = (0, import_core.requestBuilder)(input, context);
1006
1101
  const headers = {};
@@ -1057,6 +1152,15 @@ var se_GetGuardrailCommand = /* @__PURE__ */ __name(async (input, context) => {
1057
1152
  b.m("GET").h(headers).q(query).b(body);
1058
1153
  return b.build();
1059
1154
  }, "se_GetGuardrailCommand");
1155
+ var se_GetImportedModelCommand = /* @__PURE__ */ __name(async (input, context) => {
1156
+ const b = (0, import_core.requestBuilder)(input, context);
1157
+ const headers = {};
1158
+ b.bp("/imported-models/{modelIdentifier}");
1159
+ b.p("modelIdentifier", () => input.modelIdentifier, "{modelIdentifier}", false);
1160
+ let body;
1161
+ b.m("GET").h(headers).b(body);
1162
+ return b.build();
1163
+ }, "se_GetImportedModelCommand");
1060
1164
  var se_GetModelCopyJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1061
1165
  const b = (0, import_core.requestBuilder)(input, context);
1062
1166
  const headers = {};
@@ -1075,6 +1179,15 @@ var se_GetModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input, co
1075
1179
  b.m("GET").h(headers).b(body);
1076
1180
  return b.build();
1077
1181
  }, "se_GetModelCustomizationJobCommand");
1182
+ var se_GetModelImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1183
+ const b = (0, import_core.requestBuilder)(input, context);
1184
+ const headers = {};
1185
+ b.bp("/model-import-jobs/{jobIdentifier}");
1186
+ b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
1187
+ let body;
1188
+ b.m("GET").h(headers).b(body);
1189
+ return b.build();
1190
+ }, "se_GetModelImportJobCommand");
1078
1191
  var se_GetModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1079
1192
  const b = (0, import_core.requestBuilder)(input, context);
1080
1193
  const headers = {};
@@ -1166,6 +1279,23 @@ var se_ListGuardrailsCommand = /* @__PURE__ */ __name(async (input, context) =>
1166
1279
  b.m("GET").h(headers).q(query).b(body);
1167
1280
  return b.build();
1168
1281
  }, "se_ListGuardrailsCommand");
1282
+ var se_ListImportedModelsCommand = /* @__PURE__ */ __name(async (input, context) => {
1283
+ const b = (0, import_core.requestBuilder)(input, context);
1284
+ const headers = {};
1285
+ b.bp("/imported-models");
1286
+ const query = (0, import_smithy_client.map)({
1287
+ [_cTB]: [() => input.creationTimeBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTB]).toString()],
1288
+ [_cTA]: [() => input.creationTimeAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTA]).toString()],
1289
+ [_nC]: [, input[_nC]],
1290
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1291
+ [_nT]: [, input[_nT]],
1292
+ [_sB]: [, input[_sB]],
1293
+ [_sO]: [, input[_sO]]
1294
+ });
1295
+ let body;
1296
+ b.m("GET").h(headers).q(query).b(body);
1297
+ return b.build();
1298
+ }, "se_ListImportedModelsCommand");
1169
1299
  var se_ListModelCopyJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1170
1300
  const b = (0, import_core.requestBuilder)(input, context);
1171
1301
  const headers = {};
@@ -1204,6 +1334,24 @@ var se_ListModelCustomizationJobsCommand = /* @__PURE__ */ __name(async (input,
1204
1334
  b.m("GET").h(headers).q(query).b(body);
1205
1335
  return b.build();
1206
1336
  }, "se_ListModelCustomizationJobsCommand");
1337
+ var se_ListModelImportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1338
+ const b = (0, import_core.requestBuilder)(input, context);
1339
+ const headers = {};
1340
+ b.bp("/model-import-jobs");
1341
+ const query = (0, import_smithy_client.map)({
1342
+ [_cTA]: [() => input.creationTimeAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTA]).toString()],
1343
+ [_cTB]: [() => input.creationTimeBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTB]).toString()],
1344
+ [_sE]: [, input[_sE]],
1345
+ [_nC]: [, input[_nC]],
1346
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1347
+ [_nT]: [, input[_nT]],
1348
+ [_sB]: [, input[_sB]],
1349
+ [_sO]: [, input[_sO]]
1350
+ });
1351
+ let body;
1352
+ b.m("GET").h(headers).q(query).b(body);
1353
+ return b.build();
1354
+ }, "se_ListModelImportJobsCommand");
1207
1355
  var se_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1208
1356
  const b = (0, import_core.requestBuilder)(input, context);
1209
1357
  const headers = {};
@@ -1372,6 +1520,21 @@ var se_UpdateProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (i
1372
1520
  b.m("PATCH").h(headers).b(body);
1373
1521
  return b.build();
1374
1522
  }, "se_UpdateProvisionedModelThroughputCommand");
1523
+ var de_BatchDeleteEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1524
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
1525
+ return de_CommandError(output, context);
1526
+ }
1527
+ const contents = (0, import_smithy_client.map)({
1528
+ $metadata: deserializeMetadata(output)
1529
+ });
1530
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1531
+ const doc = (0, import_smithy_client.take)(data, {
1532
+ errors: import_smithy_client._json,
1533
+ evaluationJobs: import_smithy_client._json
1534
+ });
1535
+ Object.assign(contents, doc);
1536
+ return contents;
1537
+ }, "de_BatchDeleteEvaluationJobCommand");
1375
1538
  var de_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1376
1539
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1377
1540
  return de_CommandError(output, context);
@@ -1446,6 +1609,20 @@ var de_CreateModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output
1446
1609
  Object.assign(contents, doc);
1447
1610
  return contents;
1448
1611
  }, "de_CreateModelCustomizationJobCommand");
1612
+ var de_CreateModelImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1613
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
1614
+ return de_CommandError(output, context);
1615
+ }
1616
+ const contents = (0, import_smithy_client.map)({
1617
+ $metadata: deserializeMetadata(output)
1618
+ });
1619
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1620
+ const doc = (0, import_smithy_client.take)(data, {
1621
+ jobArn: import_smithy_client.expectString
1622
+ });
1623
+ Object.assign(contents, doc);
1624
+ return contents;
1625
+ }, "de_CreateModelImportJobCommand");
1449
1626
  var de_CreateModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1450
1627
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1451
1628
  return de_CommandError(output, context);
@@ -1494,6 +1671,16 @@ var de_DeleteGuardrailCommand = /* @__PURE__ */ __name(async (output, context) =
1494
1671
  await (0, import_smithy_client.collectBody)(output.body, context);
1495
1672
  return contents;
1496
1673
  }, "de_DeleteGuardrailCommand");
1674
+ var de_DeleteImportedModelCommand = /* @__PURE__ */ __name(async (output, context) => {
1675
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1676
+ return de_CommandError(output, context);
1677
+ }
1678
+ const contents = (0, import_smithy_client.map)({
1679
+ $metadata: deserializeMetadata(output)
1680
+ });
1681
+ await (0, import_smithy_client.collectBody)(output.body, context);
1682
+ return contents;
1683
+ }, "de_DeleteImportedModelCommand");
1497
1684
  var de_DeleteModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1498
1685
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1499
1686
  return de_CommandError(output, context);
@@ -1612,6 +1799,27 @@ var de_GetGuardrailCommand = /* @__PURE__ */ __name(async (output, context) => {
1612
1799
  Object.assign(contents, doc);
1613
1800
  return contents;
1614
1801
  }, "de_GetGuardrailCommand");
1802
+ var de_GetImportedModelCommand = /* @__PURE__ */ __name(async (output, context) => {
1803
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1804
+ return de_CommandError(output, context);
1805
+ }
1806
+ const contents = (0, import_smithy_client.map)({
1807
+ $metadata: deserializeMetadata(output)
1808
+ });
1809
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1810
+ const doc = (0, import_smithy_client.take)(data, {
1811
+ creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1812
+ jobArn: import_smithy_client.expectString,
1813
+ jobName: import_smithy_client.expectString,
1814
+ modelArchitecture: import_smithy_client.expectString,
1815
+ modelArn: import_smithy_client.expectString,
1816
+ modelDataSource: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1817
+ modelKmsKeyArn: import_smithy_client.expectString,
1818
+ modelName: import_smithy_client.expectString
1819
+ });
1820
+ Object.assign(contents, doc);
1821
+ return contents;
1822
+ }, "de_GetImportedModelCommand");
1615
1823
  var de_GetModelCopyJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1616
1824
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1617
1825
  return de_CommandError(output, context);
@@ -1670,6 +1878,32 @@ var de_GetModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output, c
1670
1878
  Object.assign(contents, doc);
1671
1879
  return contents;
1672
1880
  }, "de_GetModelCustomizationJobCommand");
1881
+ var de_GetModelImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1882
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1883
+ return de_CommandError(output, context);
1884
+ }
1885
+ const contents = (0, import_smithy_client.map)({
1886
+ $metadata: deserializeMetadata(output)
1887
+ });
1888
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1889
+ const doc = (0, import_smithy_client.take)(data, {
1890
+ creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1891
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1892
+ failureMessage: import_smithy_client.expectString,
1893
+ importedModelArn: import_smithy_client.expectString,
1894
+ importedModelKmsKeyArn: import_smithy_client.expectString,
1895
+ importedModelName: import_smithy_client.expectString,
1896
+ jobArn: import_smithy_client.expectString,
1897
+ jobName: import_smithy_client.expectString,
1898
+ lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1899
+ modelDataSource: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1900
+ roleArn: import_smithy_client.expectString,
1901
+ status: import_smithy_client.expectString,
1902
+ vpcConfig: import_smithy_client._json
1903
+ });
1904
+ Object.assign(contents, doc);
1905
+ return contents;
1906
+ }, "de_GetModelImportJobCommand");
1673
1907
  var de_GetModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1674
1908
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1675
1909
  return de_CommandError(output, context);
@@ -1796,6 +2030,21 @@ var de_ListGuardrailsCommand = /* @__PURE__ */ __name(async (output, context) =>
1796
2030
  Object.assign(contents, doc);
1797
2031
  return contents;
1798
2032
  }, "de_ListGuardrailsCommand");
2033
+ var de_ListImportedModelsCommand = /* @__PURE__ */ __name(async (output, context) => {
2034
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2035
+ return de_CommandError(output, context);
2036
+ }
2037
+ const contents = (0, import_smithy_client.map)({
2038
+ $metadata: deserializeMetadata(output)
2039
+ });
2040
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2041
+ const doc = (0, import_smithy_client.take)(data, {
2042
+ modelSummaries: (_) => de_ImportedModelSummaryList(_, context),
2043
+ nextToken: import_smithy_client.expectString
2044
+ });
2045
+ Object.assign(contents, doc);
2046
+ return contents;
2047
+ }, "de_ListImportedModelsCommand");
1799
2048
  var de_ListModelCopyJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1800
2049
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1801
2050
  return de_CommandError(output, context);
@@ -1826,6 +2075,21 @@ var de_ListModelCustomizationJobsCommand = /* @__PURE__ */ __name(async (output,
1826
2075
  Object.assign(contents, doc);
1827
2076
  return contents;
1828
2077
  }, "de_ListModelCustomizationJobsCommand");
2078
+ var de_ListModelImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
2079
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2080
+ return de_CommandError(output, context);
2081
+ }
2082
+ const contents = (0, import_smithy_client.map)({
2083
+ $metadata: deserializeMetadata(output)
2084
+ });
2085
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2086
+ const doc = (0, import_smithy_client.take)(data, {
2087
+ modelImportJobSummaries: (_) => de_ModelImportJobSummaries(_, context),
2088
+ nextToken: import_smithy_client.expectString
2089
+ });
2090
+ Object.assign(contents, doc);
2091
+ return contents;
2092
+ }, "de_ListModelImportJobsCommand");
1829
2093
  var de_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1830
2094
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1831
2095
  return de_CommandError(output, context);
@@ -1976,15 +2240,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1976
2240
  case "ResourceNotFoundException":
1977
2241
  case "com.amazonaws.bedrock#ResourceNotFoundException":
1978
2242
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1979
- case "ServiceQuotaExceededException":
1980
- case "com.amazonaws.bedrock#ServiceQuotaExceededException":
1981
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1982
2243
  case "ThrottlingException":
1983
2244
  case "com.amazonaws.bedrock#ThrottlingException":
1984
2245
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
1985
2246
  case "ValidationException":
1986
2247
  case "com.amazonaws.bedrock#ValidationException":
1987
2248
  throw await de_ValidationExceptionRes(parsedOutput, context);
2249
+ case "ServiceQuotaExceededException":
2250
+ case "com.amazonaws.bedrock#ServiceQuotaExceededException":
2251
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1988
2252
  case "TooManyTagsException":
1989
2253
  case "com.amazonaws.bedrock#TooManyTagsException":
1990
2254
  throw await de_TooManyTagsExceptionRes(parsedOutput, context);
@@ -2188,6 +2452,19 @@ var de_GuardrailSummary = /* @__PURE__ */ __name((output, context) => {
2188
2452
  version: import_smithy_client.expectString
2189
2453
  });
2190
2454
  }, "de_GuardrailSummary");
2455
+ var de_ImportedModelSummary = /* @__PURE__ */ __name((output, context) => {
2456
+ return (0, import_smithy_client.take)(output, {
2457
+ creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2458
+ modelArn: import_smithy_client.expectString,
2459
+ modelName: import_smithy_client.expectString
2460
+ });
2461
+ }, "de_ImportedModelSummary");
2462
+ var de_ImportedModelSummaryList = /* @__PURE__ */ __name((output, context) => {
2463
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2464
+ return de_ImportedModelSummary(entry, context);
2465
+ });
2466
+ return retVal;
2467
+ }, "de_ImportedModelSummaryList");
2191
2468
  var de_ModelCopyJobSummaries = /* @__PURE__ */ __name((output, context) => {
2192
2469
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2193
2470
  return de_ModelCopyJobSummary(entry, context);
@@ -2229,6 +2506,24 @@ var de_ModelCustomizationJobSummary = /* @__PURE__ */ __name((output, context) =
2229
2506
  status: import_smithy_client.expectString
2230
2507
  });
2231
2508
  }, "de_ModelCustomizationJobSummary");
2509
+ var de_ModelImportJobSummaries = /* @__PURE__ */ __name((output, context) => {
2510
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2511
+ return de_ModelImportJobSummary(entry, context);
2512
+ });
2513
+ return retVal;
2514
+ }, "de_ModelImportJobSummaries");
2515
+ var de_ModelImportJobSummary = /* @__PURE__ */ __name((output, context) => {
2516
+ return (0, import_smithy_client.take)(output, {
2517
+ creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2518
+ endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2519
+ importedModelArn: import_smithy_client.expectString,
2520
+ importedModelName: import_smithy_client.expectString,
2521
+ jobArn: import_smithy_client.expectString,
2522
+ jobName: import_smithy_client.expectString,
2523
+ lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2524
+ status: import_smithy_client.expectString
2525
+ });
2526
+ }, "de_ModelImportJobSummary");
2232
2527
  var de_ModelInvocationJobSummaries = /* @__PURE__ */ __name((output, context) => {
2233
2528
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
2234
2529
  return de_ModelInvocationJobSummary(entry, context);
@@ -2322,7 +2617,23 @@ var _sTA = "submitTimeAfter";
2322
2617
  var _sTB = "submitTimeBefore";
2323
2618
  var _tMNC = "targetModelNameContains";
2324
2619
 
2620
+ // src/commands/BatchDeleteEvaluationJobCommand.ts
2621
+ var _BatchDeleteEvaluationJobCommand = class _BatchDeleteEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2622
+ ...commonParams
2623
+ }).m(function(Command, cs, config, o) {
2624
+ return [
2625
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2626
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2627
+ ];
2628
+ }).s("AmazonBedrockControlPlaneService", "BatchDeleteEvaluationJob", {}).n("BedrockClient", "BatchDeleteEvaluationJobCommand").f(BatchDeleteEvaluationJobRequestFilterSensitiveLog, BatchDeleteEvaluationJobResponseFilterSensitiveLog).ser(se_BatchDeleteEvaluationJobCommand).de(de_BatchDeleteEvaluationJobCommand).build() {
2629
+ };
2630
+ __name(_BatchDeleteEvaluationJobCommand, "BatchDeleteEvaluationJobCommand");
2631
+ var BatchDeleteEvaluationJobCommand = _BatchDeleteEvaluationJobCommand;
2632
+
2325
2633
  // src/commands/CreateEvaluationJobCommand.ts
2634
+
2635
+
2636
+
2326
2637
  var _CreateEvaluationJobCommand = class _CreateEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2327
2638
  ...commonParams
2328
2639
  }).m(function(Command, cs, config, o) {
@@ -2399,6 +2710,22 @@ var _CreateModelCustomizationJobCommand = class _CreateModelCustomizationJobComm
2399
2710
  __name(_CreateModelCustomizationJobCommand, "CreateModelCustomizationJobCommand");
2400
2711
  var CreateModelCustomizationJobCommand = _CreateModelCustomizationJobCommand;
2401
2712
 
2713
+ // src/commands/CreateModelImportJobCommand.ts
2714
+
2715
+
2716
+
2717
+ var _CreateModelImportJobCommand = class _CreateModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
2718
+ ...commonParams
2719
+ }).m(function(Command, cs, config, o) {
2720
+ return [
2721
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2722
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2723
+ ];
2724
+ }).s("AmazonBedrockControlPlaneService", "CreateModelImportJob", {}).n("BedrockClient", "CreateModelImportJobCommand").f(void 0, void 0).ser(se_CreateModelImportJobCommand).de(de_CreateModelImportJobCommand).build() {
2725
+ };
2726
+ __name(_CreateModelImportJobCommand, "CreateModelImportJobCommand");
2727
+ var CreateModelImportJobCommand = _CreateModelImportJobCommand;
2728
+
2402
2729
  // src/commands/CreateModelInvocationJobCommand.ts
2403
2730
 
2404
2731
 
@@ -2463,6 +2790,22 @@ var _DeleteGuardrailCommand = class _DeleteGuardrailCommand extends import_smith
2463
2790
  __name(_DeleteGuardrailCommand, "DeleteGuardrailCommand");
2464
2791
  var DeleteGuardrailCommand = _DeleteGuardrailCommand;
2465
2792
 
2793
+ // src/commands/DeleteImportedModelCommand.ts
2794
+
2795
+
2796
+
2797
+ var _DeleteImportedModelCommand = class _DeleteImportedModelCommand extends import_smithy_client.Command.classBuilder().ep({
2798
+ ...commonParams
2799
+ }).m(function(Command, cs, config, o) {
2800
+ return [
2801
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2802
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2803
+ ];
2804
+ }).s("AmazonBedrockControlPlaneService", "DeleteImportedModel", {}).n("BedrockClient", "DeleteImportedModelCommand").f(void 0, void 0).ser(se_DeleteImportedModelCommand).de(de_DeleteImportedModelCommand).build() {
2805
+ };
2806
+ __name(_DeleteImportedModelCommand, "DeleteImportedModelCommand");
2807
+ var DeleteImportedModelCommand = _DeleteImportedModelCommand;
2808
+
2466
2809
  // src/commands/DeleteModelInvocationLoggingConfigurationCommand.ts
2467
2810
 
2468
2811
 
@@ -2559,6 +2902,22 @@ var _GetGuardrailCommand = class _GetGuardrailCommand extends import_smithy_clie
2559
2902
  __name(_GetGuardrailCommand, "GetGuardrailCommand");
2560
2903
  var GetGuardrailCommand = _GetGuardrailCommand;
2561
2904
 
2905
+ // src/commands/GetImportedModelCommand.ts
2906
+
2907
+
2908
+
2909
+ var _GetImportedModelCommand = class _GetImportedModelCommand extends import_smithy_client.Command.classBuilder().ep({
2910
+ ...commonParams
2911
+ }).m(function(Command, cs, config, o) {
2912
+ return [
2913
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2914
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2915
+ ];
2916
+ }).s("AmazonBedrockControlPlaneService", "GetImportedModel", {}).n("BedrockClient", "GetImportedModelCommand").f(void 0, void 0).ser(se_GetImportedModelCommand).de(de_GetImportedModelCommand).build() {
2917
+ };
2918
+ __name(_GetImportedModelCommand, "GetImportedModelCommand");
2919
+ var GetImportedModelCommand = _GetImportedModelCommand;
2920
+
2562
2921
  // src/commands/GetModelCopyJobCommand.ts
2563
2922
 
2564
2923
 
@@ -2591,6 +2950,22 @@ var _GetModelCustomizationJobCommand = class _GetModelCustomizationJobCommand ex
2591
2950
  __name(_GetModelCustomizationJobCommand, "GetModelCustomizationJobCommand");
2592
2951
  var GetModelCustomizationJobCommand = _GetModelCustomizationJobCommand;
2593
2952
 
2953
+ // src/commands/GetModelImportJobCommand.ts
2954
+
2955
+
2956
+
2957
+ var _GetModelImportJobCommand = class _GetModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
2958
+ ...commonParams
2959
+ }).m(function(Command, cs, config, o) {
2960
+ return [
2961
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2962
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2963
+ ];
2964
+ }).s("AmazonBedrockControlPlaneService", "GetModelImportJob", {}).n("BedrockClient", "GetModelImportJobCommand").f(void 0, void 0).ser(se_GetModelImportJobCommand).de(de_GetModelImportJobCommand).build() {
2965
+ };
2966
+ __name(_GetModelImportJobCommand, "GetModelImportJobCommand");
2967
+ var GetModelImportJobCommand = _GetModelImportJobCommand;
2968
+
2594
2969
  // src/commands/GetModelInvocationJobCommand.ts
2595
2970
 
2596
2971
 
@@ -2703,6 +3078,22 @@ var _ListGuardrailsCommand = class _ListGuardrailsCommand extends import_smithy_
2703
3078
  __name(_ListGuardrailsCommand, "ListGuardrailsCommand");
2704
3079
  var ListGuardrailsCommand = _ListGuardrailsCommand;
2705
3080
 
3081
+ // src/commands/ListImportedModelsCommand.ts
3082
+
3083
+
3084
+
3085
+ var _ListImportedModelsCommand = class _ListImportedModelsCommand extends import_smithy_client.Command.classBuilder().ep({
3086
+ ...commonParams
3087
+ }).m(function(Command, cs, config, o) {
3088
+ return [
3089
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3090
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3091
+ ];
3092
+ }).s("AmazonBedrockControlPlaneService", "ListImportedModels", {}).n("BedrockClient", "ListImportedModelsCommand").f(void 0, void 0).ser(se_ListImportedModelsCommand).de(de_ListImportedModelsCommand).build() {
3093
+ };
3094
+ __name(_ListImportedModelsCommand, "ListImportedModelsCommand");
3095
+ var ListImportedModelsCommand = _ListImportedModelsCommand;
3096
+
2706
3097
  // src/commands/ListModelCopyJobsCommand.ts
2707
3098
 
2708
3099
 
@@ -2735,6 +3126,22 @@ var _ListModelCustomizationJobsCommand = class _ListModelCustomizationJobsComman
2735
3126
  __name(_ListModelCustomizationJobsCommand, "ListModelCustomizationJobsCommand");
2736
3127
  var ListModelCustomizationJobsCommand = _ListModelCustomizationJobsCommand;
2737
3128
 
3129
+ // src/commands/ListModelImportJobsCommand.ts
3130
+
3131
+
3132
+
3133
+ var _ListModelImportJobsCommand = class _ListModelImportJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3134
+ ...commonParams
3135
+ }).m(function(Command, cs, config, o) {
3136
+ return [
3137
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3138
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3139
+ ];
3140
+ }).s("AmazonBedrockControlPlaneService", "ListModelImportJobs", {}).n("BedrockClient", "ListModelImportJobsCommand").f(void 0, void 0).ser(se_ListModelImportJobsCommand).de(de_ListModelImportJobsCommand).build() {
3141
+ };
3142
+ __name(_ListModelImportJobsCommand, "ListModelImportJobsCommand");
3143
+ var ListModelImportJobsCommand = _ListModelImportJobsCommand;
3144
+
2738
3145
  // src/commands/ListModelInvocationJobsCommand.ts
2739
3146
 
2740
3147
 
@@ -2913,23 +3320,28 @@ var UpdateProvisionedModelThroughputCommand = _UpdateProvisionedModelThroughputC
2913
3320
 
2914
3321
  // src/Bedrock.ts
2915
3322
  var commands = {
3323
+ BatchDeleteEvaluationJobCommand,
2916
3324
  CreateEvaluationJobCommand,
2917
3325
  CreateGuardrailCommand,
2918
3326
  CreateGuardrailVersionCommand,
2919
3327
  CreateModelCopyJobCommand,
2920
3328
  CreateModelCustomizationJobCommand,
3329
+ CreateModelImportJobCommand,
2921
3330
  CreateModelInvocationJobCommand,
2922
3331
  CreateProvisionedModelThroughputCommand,
2923
3332
  DeleteCustomModelCommand,
2924
3333
  DeleteGuardrailCommand,
3334
+ DeleteImportedModelCommand,
2925
3335
  DeleteModelInvocationLoggingConfigurationCommand,
2926
3336
  DeleteProvisionedModelThroughputCommand,
2927
3337
  GetCustomModelCommand,
2928
3338
  GetEvaluationJobCommand,
2929
3339
  GetFoundationModelCommand,
2930
3340
  GetGuardrailCommand,
3341
+ GetImportedModelCommand,
2931
3342
  GetModelCopyJobCommand,
2932
3343
  GetModelCustomizationJobCommand,
3344
+ GetModelImportJobCommand,
2933
3345
  GetModelInvocationJobCommand,
2934
3346
  GetModelInvocationLoggingConfigurationCommand,
2935
3347
  GetProvisionedModelThroughputCommand,
@@ -2937,8 +3349,10 @@ var commands = {
2937
3349
  ListEvaluationJobsCommand,
2938
3350
  ListFoundationModelsCommand,
2939
3351
  ListGuardrailsCommand,
3352
+ ListImportedModelsCommand,
2940
3353
  ListModelCopyJobsCommand,
2941
3354
  ListModelCustomizationJobsCommand,
3355
+ ListModelImportJobsCommand,
2942
3356
  ListModelInvocationJobsCommand,
2943
3357
  ListProvisionedModelThroughputsCommand,
2944
3358
  ListTagsForResourceCommand,
@@ -2969,6 +3383,10 @@ var paginateListEvaluationJobs = (0, import_core.createPaginator)(BedrockClient,
2969
3383
 
2970
3384
  var paginateListGuardrails = (0, import_core.createPaginator)(BedrockClient, ListGuardrailsCommand, "nextToken", "nextToken", "maxResults");
2971
3385
 
3386
+ // src/pagination/ListImportedModelsPaginator.ts
3387
+
3388
+ var paginateListImportedModels = (0, import_core.createPaginator)(BedrockClient, ListImportedModelsCommand, "nextToken", "nextToken", "maxResults");
3389
+
2972
3390
  // src/pagination/ListModelCopyJobsPaginator.ts
2973
3391
 
2974
3392
  var paginateListModelCopyJobs = (0, import_core.createPaginator)(BedrockClient, ListModelCopyJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -2977,6 +3395,10 @@ var paginateListModelCopyJobs = (0, import_core.createPaginator)(BedrockClient,
2977
3395
 
2978
3396
  var paginateListModelCustomizationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelCustomizationJobsCommand, "nextToken", "nextToken", "maxResults");
2979
3397
 
3398
+ // src/pagination/ListModelImportJobsPaginator.ts
3399
+
3400
+ var paginateListModelImportJobs = (0, import_core.createPaginator)(BedrockClient, ListModelImportJobsCommand, "nextToken", "nextToken", "maxResults");
3401
+
2980
3402
  // src/pagination/ListModelInvocationJobsPaginator.ts
2981
3403
 
2982
3404
  var paginateListModelInvocationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -2992,23 +3414,28 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
2992
3414
  BedrockClient,
2993
3415
  Bedrock,
2994
3416
  $Command,
3417
+ BatchDeleteEvaluationJobCommand,
2995
3418
  CreateEvaluationJobCommand,
2996
3419
  CreateGuardrailCommand,
2997
3420
  CreateGuardrailVersionCommand,
2998
3421
  CreateModelCopyJobCommand,
2999
3422
  CreateModelCustomizationJobCommand,
3423
+ CreateModelImportJobCommand,
3000
3424
  CreateModelInvocationJobCommand,
3001
3425
  CreateProvisionedModelThroughputCommand,
3002
3426
  DeleteCustomModelCommand,
3003
3427
  DeleteGuardrailCommand,
3428
+ DeleteImportedModelCommand,
3004
3429
  DeleteModelInvocationLoggingConfigurationCommand,
3005
3430
  DeleteProvisionedModelThroughputCommand,
3006
3431
  GetCustomModelCommand,
3007
3432
  GetEvaluationJobCommand,
3008
3433
  GetFoundationModelCommand,
3009
3434
  GetGuardrailCommand,
3435
+ GetImportedModelCommand,
3010
3436
  GetModelCopyJobCommand,
3011
3437
  GetModelCustomizationJobCommand,
3438
+ GetModelImportJobCommand,
3012
3439
  GetModelInvocationJobCommand,
3013
3440
  GetModelInvocationLoggingConfigurationCommand,
3014
3441
  GetProvisionedModelThroughputCommand,
@@ -3016,8 +3443,10 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
3016
3443
  ListEvaluationJobsCommand,
3017
3444
  ListFoundationModelsCommand,
3018
3445
  ListGuardrailsCommand,
3446
+ ListImportedModelsCommand,
3019
3447
  ListModelCopyJobsCommand,
3020
3448
  ListModelCustomizationJobsCommand,
3449
+ ListModelImportJobsCommand,
3021
3450
  ListModelInvocationJobsCommand,
3022
3451
  ListProvisionedModelThroughputsCommand,
3023
3452
  ListTagsForResourceCommand,
@@ -3032,24 +3461,26 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
3032
3461
  paginateListCustomModels,
3033
3462
  paginateListEvaluationJobs,
3034
3463
  paginateListGuardrails,
3464
+ paginateListImportedModels,
3035
3465
  paginateListModelCopyJobs,
3036
3466
  paginateListModelCustomizationJobs,
3467
+ paginateListModelImportJobs,
3037
3468
  paginateListModelInvocationJobs,
3038
3469
  paginateListProvisionedModelThroughputs,
3039
3470
  AccessDeniedException,
3471
+ EvaluationJobStatus,
3040
3472
  ConflictException,
3473
+ InternalServerException,
3474
+ ResourceNotFoundException,
3475
+ ThrottlingException,
3476
+ ValidationException,
3041
3477
  EvaluationDatasetLocation,
3042
3478
  EvaluationTaskType,
3043
3479
  EvaluationConfig,
3044
3480
  EvaluationModelConfig,
3045
3481
  EvaluationInferenceConfig,
3046
- InternalServerException,
3047
- ResourceNotFoundException,
3048
3482
  ServiceQuotaExceededException,
3049
- ThrottlingException,
3050
- ValidationException,
3051
3483
  EvaluationJobType,
3052
- EvaluationJobStatus,
3053
3484
  SortJobsBy,
3054
3485
  SortOrder,
3055
3486
  GuardrailFilterStrength,
@@ -3062,6 +3493,9 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
3062
3493
  TooManyTagsException,
3063
3494
  GuardrailStatus,
3064
3495
  ModelCopyJobStatus,
3496
+ ModelDataSource,
3497
+ ModelImportJobStatus,
3498
+ SortModelsBy,
3065
3499
  S3InputFormat,
3066
3500
  ModelInvocationJobInputDataConfig,
3067
3501
  ModelInvocationJobOutputDataConfig,
@@ -3071,12 +3505,15 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
3071
3505
  InferenceType,
3072
3506
  ModelModality,
3073
3507
  FoundationModelLifecycleStatus,
3074
- SortModelsBy,
3075
3508
  CommitmentDuration,
3076
3509
  ProvisionedModelStatus,
3077
3510
  SortByProvisionedModels,
3078
3511
  ModelCustomizationJobStatus,
3079
3512
  FineTuningJobStatus,
3513
+ BatchDeleteEvaluationJobRequestFilterSensitiveLog,
3514
+ BatchDeleteEvaluationJobErrorFilterSensitiveLog,
3515
+ BatchDeleteEvaluationJobItemFilterSensitiveLog,
3516
+ BatchDeleteEvaluationJobResponseFilterSensitiveLog,
3080
3517
  EvaluationDatasetFilterSensitiveLog,
3081
3518
  EvaluationDatasetMetricConfigFilterSensitiveLog,
3082
3519
  AutomatedEvaluationConfigFilterSensitiveLog,