@aws-sdk/client-bedrock 3.635.0 → 3.640.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -0
- package/dist-cjs/index.js +646 -78
- package/dist-es/Bedrock.js +18 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +25 -0
- package/dist-es/commands/CreateModelImportJobCommand.js +24 -0
- package/dist-es/commands/DeleteImportedModelCommand.js +24 -0
- package/dist-es/commands/GetImportedModelCommand.js +24 -0
- package/dist-es/commands/GetInferenceProfileCommand.js +24 -0
- package/dist-es/commands/GetModelImportJobCommand.js +24 -0
- package/dist-es/commands/ListImportedModelsCommand.js +24 -0
- package/dist-es/commands/ListInferenceProfilesCommand.js +24 -0
- package/dist-es/commands/ListModelImportJobsCommand.js +24 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +97 -58
- package/dist-es/pagination/ListImportedModelsPaginator.js +4 -0
- package/dist-es/pagination/ListInferenceProfilesPaginator.js +4 -0
- package/dist-es/pagination/ListModelImportJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +329 -3
- package/dist-types/Bedrock.d.ts +66 -0
- package/dist-types/BedrockClient.d.ts +11 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +92 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +116 -0
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -2
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +78 -0
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +86 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +87 -0
- package/dist-types/commands/GetModelImportJobCommand.d.ts +100 -0
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportedModelsCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +90 -0
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +952 -249
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Bedrock.d.ts +156 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +239 -45
- package/dist-types/ts3.4/pagination/ListImportedModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInferenceProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +6 -6
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,11 @@ __export(src_exports, {
|
|
|
65
72
|
GetFoundationModelCommand: () => GetFoundationModelCommand,
|
|
66
73
|
GetGuardrailCommand: () => GetGuardrailCommand,
|
|
67
74
|
GetGuardrailResponseFilterSensitiveLog: () => GetGuardrailResponseFilterSensitiveLog,
|
|
75
|
+
GetImportedModelCommand: () => GetImportedModelCommand,
|
|
76
|
+
GetInferenceProfileCommand: () => GetInferenceProfileCommand,
|
|
68
77
|
GetModelCopyJobCommand: () => GetModelCopyJobCommand,
|
|
69
78
|
GetModelCustomizationJobCommand: () => GetModelCustomizationJobCommand,
|
|
79
|
+
GetModelImportJobCommand: () => GetModelImportJobCommand,
|
|
70
80
|
GetModelInvocationJobCommand: () => GetModelInvocationJobCommand,
|
|
71
81
|
GetModelInvocationJobResponseFilterSensitiveLog: () => GetModelInvocationJobResponseFilterSensitiveLog,
|
|
72
82
|
GetModelInvocationLoggingConfigurationCommand: () => GetModelInvocationLoggingConfigurationCommand,
|
|
@@ -87,6 +97,8 @@ __export(src_exports, {
|
|
|
87
97
|
HumanEvaluationConfigFilterSensitiveLog: () => HumanEvaluationConfigFilterSensitiveLog,
|
|
88
98
|
HumanEvaluationCustomMetricFilterSensitiveLog: () => HumanEvaluationCustomMetricFilterSensitiveLog,
|
|
89
99
|
HumanWorkflowConfigFilterSensitiveLog: () => HumanWorkflowConfigFilterSensitiveLog,
|
|
100
|
+
InferenceProfileStatus: () => InferenceProfileStatus,
|
|
101
|
+
InferenceProfileType: () => InferenceProfileType,
|
|
90
102
|
InferenceType: () => InferenceType,
|
|
91
103
|
InternalServerException: () => InternalServerException,
|
|
92
104
|
ListCustomModelsCommand: () => ListCustomModelsCommand,
|
|
@@ -94,8 +106,11 @@ __export(src_exports, {
|
|
|
94
106
|
ListFoundationModelsCommand: () => ListFoundationModelsCommand,
|
|
95
107
|
ListGuardrailsCommand: () => ListGuardrailsCommand,
|
|
96
108
|
ListGuardrailsResponseFilterSensitiveLog: () => ListGuardrailsResponseFilterSensitiveLog,
|
|
109
|
+
ListImportedModelsCommand: () => ListImportedModelsCommand,
|
|
110
|
+
ListInferenceProfilesCommand: () => ListInferenceProfilesCommand,
|
|
97
111
|
ListModelCopyJobsCommand: () => ListModelCopyJobsCommand,
|
|
98
112
|
ListModelCustomizationJobsCommand: () => ListModelCustomizationJobsCommand,
|
|
113
|
+
ListModelImportJobsCommand: () => ListModelImportJobsCommand,
|
|
99
114
|
ListModelInvocationJobsCommand: () => ListModelInvocationJobsCommand,
|
|
100
115
|
ListModelInvocationJobsResponseFilterSensitiveLog: () => ListModelInvocationJobsResponseFilterSensitiveLog,
|
|
101
116
|
ListProvisionedModelThroughputsCommand: () => ListProvisionedModelThroughputsCommand,
|
|
@@ -103,6 +118,8 @@ __export(src_exports, {
|
|
|
103
118
|
ModelCopyJobStatus: () => ModelCopyJobStatus,
|
|
104
119
|
ModelCustomization: () => ModelCustomization,
|
|
105
120
|
ModelCustomizationJobStatus: () => ModelCustomizationJobStatus,
|
|
121
|
+
ModelDataSource: () => ModelDataSource,
|
|
122
|
+
ModelImportJobStatus: () => ModelImportJobStatus,
|
|
106
123
|
ModelInvocationJobInputDataConfig: () => ModelInvocationJobInputDataConfig,
|
|
107
124
|
ModelInvocationJobOutputDataConfig: () => ModelInvocationJobOutputDataConfig,
|
|
108
125
|
ModelInvocationJobStatus: () => ModelInvocationJobStatus,
|
|
@@ -133,8 +150,11 @@ __export(src_exports, {
|
|
|
133
150
|
paginateListCustomModels: () => paginateListCustomModels,
|
|
134
151
|
paginateListEvaluationJobs: () => paginateListEvaluationJobs,
|
|
135
152
|
paginateListGuardrails: () => paginateListGuardrails,
|
|
153
|
+
paginateListImportedModels: () => paginateListImportedModels,
|
|
154
|
+
paginateListInferenceProfiles: () => paginateListInferenceProfiles,
|
|
136
155
|
paginateListModelCopyJobs: () => paginateListModelCopyJobs,
|
|
137
156
|
paginateListModelCustomizationJobs: () => paginateListModelCustomizationJobs,
|
|
157
|
+
paginateListModelImportJobs: () => paginateListModelImportJobs,
|
|
138
158
|
paginateListModelInvocationJobs: () => paginateListModelInvocationJobs,
|
|
139
159
|
paginateListProvisionedModelThroughputs: () => paginateListProvisionedModelThroughputs
|
|
140
160
|
});
|
|
@@ -280,7 +300,7 @@ var BedrockClient = _BedrockClient;
|
|
|
280
300
|
// src/Bedrock.ts
|
|
281
301
|
|
|
282
302
|
|
|
283
|
-
// src/commands/
|
|
303
|
+
// src/commands/BatchDeleteEvaluationJobCommand.ts
|
|
284
304
|
|
|
285
305
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
286
306
|
|
|
@@ -320,6 +340,14 @@ var _AccessDeniedException = class _AccessDeniedException extends BedrockService
|
|
|
320
340
|
};
|
|
321
341
|
__name(_AccessDeniedException, "AccessDeniedException");
|
|
322
342
|
var AccessDeniedException = _AccessDeniedException;
|
|
343
|
+
var EvaluationJobStatus = {
|
|
344
|
+
COMPLETED: "Completed",
|
|
345
|
+
DELETING: "Deleting",
|
|
346
|
+
FAILED: "Failed",
|
|
347
|
+
IN_PROGRESS: "InProgress",
|
|
348
|
+
STOPPED: "Stopped",
|
|
349
|
+
STOPPING: "Stopping"
|
|
350
|
+
};
|
|
323
351
|
var _ConflictException = class _ConflictException extends BedrockServiceException {
|
|
324
352
|
/**
|
|
325
353
|
* @internal
|
|
@@ -337,47 +365,6 @@ var _ConflictException = class _ConflictException extends BedrockServiceExceptio
|
|
|
337
365
|
};
|
|
338
366
|
__name(_ConflictException, "ConflictException");
|
|
339
367
|
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
368
|
var _InternalServerException = class _InternalServerException extends BedrockServiceException {
|
|
382
369
|
/**
|
|
383
370
|
* @internal
|
|
@@ -412,23 +399,6 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Bedroc
|
|
|
412
399
|
};
|
|
413
400
|
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
414
401
|
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
402
|
var _ThrottlingException = class _ThrottlingException extends BedrockServiceException {
|
|
433
403
|
/**
|
|
434
404
|
* @internal
|
|
@@ -463,17 +433,68 @@ var _ValidationException = class _ValidationException extends BedrockServiceExce
|
|
|
463
433
|
};
|
|
464
434
|
__name(_ValidationException, "ValidationException");
|
|
465
435
|
var ValidationException = _ValidationException;
|
|
436
|
+
var EvaluationDatasetLocation;
|
|
437
|
+
((EvaluationDatasetLocation3) => {
|
|
438
|
+
EvaluationDatasetLocation3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
439
|
+
if (value.s3Uri !== void 0)
|
|
440
|
+
return visitor.s3Uri(value.s3Uri);
|
|
441
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
442
|
+
}, "visit");
|
|
443
|
+
})(EvaluationDatasetLocation || (EvaluationDatasetLocation = {}));
|
|
444
|
+
var EvaluationTaskType = {
|
|
445
|
+
CLASSIFICATION: "Classification",
|
|
446
|
+
CUSTOM: "Custom",
|
|
447
|
+
GENERATION: "Generation",
|
|
448
|
+
QUESTION_AND_ANSWER: "QuestionAndAnswer",
|
|
449
|
+
SUMMARIZATION: "Summarization"
|
|
450
|
+
};
|
|
451
|
+
var EvaluationConfig;
|
|
452
|
+
((EvaluationConfig3) => {
|
|
453
|
+
EvaluationConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
454
|
+
if (value.automated !== void 0)
|
|
455
|
+
return visitor.automated(value.automated);
|
|
456
|
+
if (value.human !== void 0)
|
|
457
|
+
return visitor.human(value.human);
|
|
458
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
459
|
+
}, "visit");
|
|
460
|
+
})(EvaluationConfig || (EvaluationConfig = {}));
|
|
461
|
+
var EvaluationModelConfig;
|
|
462
|
+
((EvaluationModelConfig3) => {
|
|
463
|
+
EvaluationModelConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
464
|
+
if (value.bedrockModel !== void 0)
|
|
465
|
+
return visitor.bedrockModel(value.bedrockModel);
|
|
466
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
467
|
+
}, "visit");
|
|
468
|
+
})(EvaluationModelConfig || (EvaluationModelConfig = {}));
|
|
469
|
+
var EvaluationInferenceConfig;
|
|
470
|
+
((EvaluationInferenceConfig3) => {
|
|
471
|
+
EvaluationInferenceConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
472
|
+
if (value.models !== void 0)
|
|
473
|
+
return visitor.models(value.models);
|
|
474
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
475
|
+
}, "visit");
|
|
476
|
+
})(EvaluationInferenceConfig || (EvaluationInferenceConfig = {}));
|
|
477
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
|
|
478
|
+
/**
|
|
479
|
+
* @internal
|
|
480
|
+
*/
|
|
481
|
+
constructor(opts) {
|
|
482
|
+
super({
|
|
483
|
+
name: "ServiceQuotaExceededException",
|
|
484
|
+
$fault: "client",
|
|
485
|
+
...opts
|
|
486
|
+
});
|
|
487
|
+
this.name = "ServiceQuotaExceededException";
|
|
488
|
+
this.$fault = "client";
|
|
489
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
493
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
466
494
|
var EvaluationJobType = {
|
|
467
495
|
AUTOMATED: "Automated",
|
|
468
496
|
HUMAN: "Human"
|
|
469
497
|
};
|
|
470
|
-
var EvaluationJobStatus = {
|
|
471
|
-
COMPLETED: "Completed",
|
|
472
|
-
FAILED: "Failed",
|
|
473
|
-
IN_PROGRESS: "InProgress",
|
|
474
|
-
STOPPED: "Stopped",
|
|
475
|
-
STOPPING: "Stopping"
|
|
476
|
-
};
|
|
477
498
|
var SortJobsBy = {
|
|
478
499
|
CREATION_TIME: "CreationTime"
|
|
479
500
|
};
|
|
@@ -568,11 +589,33 @@ var GuardrailStatus = {
|
|
|
568
589
|
UPDATING: "UPDATING",
|
|
569
590
|
VERSIONING: "VERSIONING"
|
|
570
591
|
};
|
|
592
|
+
var InferenceProfileStatus = {
|
|
593
|
+
ACTIVE: "ACTIVE"
|
|
594
|
+
};
|
|
595
|
+
var InferenceProfileType = {
|
|
596
|
+
SYSTEM_DEFINED: "SYSTEM_DEFINED"
|
|
597
|
+
};
|
|
571
598
|
var ModelCopyJobStatus = {
|
|
572
599
|
COMPLETED: "Completed",
|
|
573
600
|
FAILED: "Failed",
|
|
574
601
|
IN_PROGRESS: "InProgress"
|
|
575
602
|
};
|
|
603
|
+
var ModelDataSource;
|
|
604
|
+
((ModelDataSource3) => {
|
|
605
|
+
ModelDataSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
606
|
+
if (value.s3DataSource !== void 0)
|
|
607
|
+
return visitor.s3DataSource(value.s3DataSource);
|
|
608
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
609
|
+
}, "visit");
|
|
610
|
+
})(ModelDataSource || (ModelDataSource = {}));
|
|
611
|
+
var ModelImportJobStatus = {
|
|
612
|
+
COMPLETED: "Completed",
|
|
613
|
+
FAILED: "Failed",
|
|
614
|
+
IN_PROGRESS: "InProgress"
|
|
615
|
+
};
|
|
616
|
+
var SortModelsBy = {
|
|
617
|
+
CREATION_TIME: "CreationTime"
|
|
618
|
+
};
|
|
576
619
|
var S3InputFormat = {
|
|
577
620
|
JSONL: "JSONL"
|
|
578
621
|
};
|
|
@@ -625,9 +668,6 @@ var FoundationModelLifecycleStatus = {
|
|
|
625
668
|
ACTIVE: "ACTIVE",
|
|
626
669
|
LEGACY: "LEGACY"
|
|
627
670
|
};
|
|
628
|
-
var SortModelsBy = {
|
|
629
|
-
CREATION_TIME: "CreationTime"
|
|
630
|
-
};
|
|
631
671
|
var CommitmentDuration = {
|
|
632
672
|
ONE_MONTH: "OneMonth",
|
|
633
673
|
SIX_MONTHS: "SixMonths"
|
|
@@ -655,6 +695,25 @@ var FineTuningJobStatus = {
|
|
|
655
695
|
STOPPED: "Stopped",
|
|
656
696
|
STOPPING: "Stopping"
|
|
657
697
|
};
|
|
698
|
+
var BatchDeleteEvaluationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
699
|
+
...obj,
|
|
700
|
+
...obj.jobIdentifiers && { jobIdentifiers: import_smithy_client.SENSITIVE_STRING }
|
|
701
|
+
}), "BatchDeleteEvaluationJobRequestFilterSensitiveLog");
|
|
702
|
+
var BatchDeleteEvaluationJobErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
703
|
+
...obj,
|
|
704
|
+
...obj.jobIdentifier && { jobIdentifier: import_smithy_client.SENSITIVE_STRING }
|
|
705
|
+
}), "BatchDeleteEvaluationJobErrorFilterSensitiveLog");
|
|
706
|
+
var BatchDeleteEvaluationJobItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
707
|
+
...obj,
|
|
708
|
+
...obj.jobIdentifier && { jobIdentifier: import_smithy_client.SENSITIVE_STRING }
|
|
709
|
+
}), "BatchDeleteEvaluationJobItemFilterSensitiveLog");
|
|
710
|
+
var BatchDeleteEvaluationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
711
|
+
...obj,
|
|
712
|
+
...obj.errors && { errors: obj.errors.map((item) => BatchDeleteEvaluationJobErrorFilterSensitiveLog(item)) },
|
|
713
|
+
...obj.evaluationJobs && {
|
|
714
|
+
evaluationJobs: obj.evaluationJobs.map((item) => BatchDeleteEvaluationJobItemFilterSensitiveLog(item))
|
|
715
|
+
}
|
|
716
|
+
}), "BatchDeleteEvaluationJobResponseFilterSensitiveLog");
|
|
658
717
|
var EvaluationDatasetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
659
718
|
...obj,
|
|
660
719
|
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -825,6 +884,21 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
825
884
|
|
|
826
885
|
|
|
827
886
|
var import_uuid = require("uuid");
|
|
887
|
+
var se_BatchDeleteEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
888
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
889
|
+
const headers = {
|
|
890
|
+
"content-type": "application/json"
|
|
891
|
+
};
|
|
892
|
+
b.bp("/evaluation-jobs/batch-delete");
|
|
893
|
+
let body;
|
|
894
|
+
body = JSON.stringify(
|
|
895
|
+
(0, import_smithy_client.take)(input, {
|
|
896
|
+
jobIdentifiers: (_) => (0, import_smithy_client._json)(_)
|
|
897
|
+
})
|
|
898
|
+
);
|
|
899
|
+
b.m("POST").h(headers).b(body);
|
|
900
|
+
return b.build();
|
|
901
|
+
}, "se_BatchDeleteEvaluationJobCommand");
|
|
828
902
|
var se_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
829
903
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
830
904
|
const headers = {
|
|
@@ -938,6 +1012,29 @@ var se_CreateModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input,
|
|
|
938
1012
|
b.m("POST").h(headers).b(body);
|
|
939
1013
|
return b.build();
|
|
940
1014
|
}, "se_CreateModelCustomizationJobCommand");
|
|
1015
|
+
var se_CreateModelImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1016
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1017
|
+
const headers = {
|
|
1018
|
+
"content-type": "application/json"
|
|
1019
|
+
};
|
|
1020
|
+
b.bp("/model-import-jobs");
|
|
1021
|
+
let body;
|
|
1022
|
+
body = JSON.stringify(
|
|
1023
|
+
(0, import_smithy_client.take)(input, {
|
|
1024
|
+
clientRequestToken: [],
|
|
1025
|
+
importedModelKmsKeyId: [],
|
|
1026
|
+
importedModelName: [],
|
|
1027
|
+
importedModelTags: (_) => (0, import_smithy_client._json)(_),
|
|
1028
|
+
jobName: [],
|
|
1029
|
+
jobTags: (_) => (0, import_smithy_client._json)(_),
|
|
1030
|
+
modelDataSource: (_) => (0, import_smithy_client._json)(_),
|
|
1031
|
+
roleArn: [],
|
|
1032
|
+
vpcConfig: (_) => (0, import_smithy_client._json)(_)
|
|
1033
|
+
})
|
|
1034
|
+
);
|
|
1035
|
+
b.m("POST").h(headers).b(body);
|
|
1036
|
+
return b.build();
|
|
1037
|
+
}, "se_CreateModelImportJobCommand");
|
|
941
1038
|
var se_CreateModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
942
1039
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
943
1040
|
const headers = {
|
|
@@ -1001,6 +1098,15 @@ var se_DeleteGuardrailCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1001
1098
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
1002
1099
|
return b.build();
|
|
1003
1100
|
}, "se_DeleteGuardrailCommand");
|
|
1101
|
+
var se_DeleteImportedModelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1102
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1103
|
+
const headers = {};
|
|
1104
|
+
b.bp("/imported-models/{modelIdentifier}");
|
|
1105
|
+
b.p("modelIdentifier", () => input.modelIdentifier, "{modelIdentifier}", false);
|
|
1106
|
+
let body;
|
|
1107
|
+
b.m("DELETE").h(headers).b(body);
|
|
1108
|
+
return b.build();
|
|
1109
|
+
}, "se_DeleteImportedModelCommand");
|
|
1004
1110
|
var se_DeleteModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1005
1111
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1006
1112
|
const headers = {};
|
|
@@ -1057,6 +1163,24 @@ var se_GetGuardrailCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1057
1163
|
b.m("GET").h(headers).q(query).b(body);
|
|
1058
1164
|
return b.build();
|
|
1059
1165
|
}, "se_GetGuardrailCommand");
|
|
1166
|
+
var se_GetImportedModelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1167
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1168
|
+
const headers = {};
|
|
1169
|
+
b.bp("/imported-models/{modelIdentifier}");
|
|
1170
|
+
b.p("modelIdentifier", () => input.modelIdentifier, "{modelIdentifier}", false);
|
|
1171
|
+
let body;
|
|
1172
|
+
b.m("GET").h(headers).b(body);
|
|
1173
|
+
return b.build();
|
|
1174
|
+
}, "se_GetImportedModelCommand");
|
|
1175
|
+
var se_GetInferenceProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1176
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1177
|
+
const headers = {};
|
|
1178
|
+
b.bp("/inference-profiles/{inferenceProfileIdentifier}");
|
|
1179
|
+
b.p("inferenceProfileIdentifier", () => input.inferenceProfileIdentifier, "{inferenceProfileIdentifier}", false);
|
|
1180
|
+
let body;
|
|
1181
|
+
b.m("GET").h(headers).b(body);
|
|
1182
|
+
return b.build();
|
|
1183
|
+
}, "se_GetInferenceProfileCommand");
|
|
1060
1184
|
var se_GetModelCopyJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1061
1185
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1062
1186
|
const headers = {};
|
|
@@ -1075,6 +1199,15 @@ var se_GetModelCustomizationJobCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1075
1199
|
b.m("GET").h(headers).b(body);
|
|
1076
1200
|
return b.build();
|
|
1077
1201
|
}, "se_GetModelCustomizationJobCommand");
|
|
1202
|
+
var se_GetModelImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1203
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1204
|
+
const headers = {};
|
|
1205
|
+
b.bp("/model-import-jobs/{jobIdentifier}");
|
|
1206
|
+
b.p("jobIdentifier", () => input.jobIdentifier, "{jobIdentifier}", false);
|
|
1207
|
+
let body;
|
|
1208
|
+
b.m("GET").h(headers).b(body);
|
|
1209
|
+
return b.build();
|
|
1210
|
+
}, "se_GetModelImportJobCommand");
|
|
1078
1211
|
var se_GetModelInvocationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1079
1212
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1080
1213
|
const headers = {};
|
|
@@ -1166,6 +1299,35 @@ var se_ListGuardrailsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1166
1299
|
b.m("GET").h(headers).q(query).b(body);
|
|
1167
1300
|
return b.build();
|
|
1168
1301
|
}, "se_ListGuardrailsCommand");
|
|
1302
|
+
var se_ListImportedModelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1303
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1304
|
+
const headers = {};
|
|
1305
|
+
b.bp("/imported-models");
|
|
1306
|
+
const query = (0, import_smithy_client.map)({
|
|
1307
|
+
[_cTB]: [() => input.creationTimeBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTB]).toString()],
|
|
1308
|
+
[_cTA]: [() => input.creationTimeAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTA]).toString()],
|
|
1309
|
+
[_nC]: [, input[_nC]],
|
|
1310
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1311
|
+
[_nT]: [, input[_nT]],
|
|
1312
|
+
[_sB]: [, input[_sB]],
|
|
1313
|
+
[_sO]: [, input[_sO]]
|
|
1314
|
+
});
|
|
1315
|
+
let body;
|
|
1316
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1317
|
+
return b.build();
|
|
1318
|
+
}, "se_ListImportedModelsCommand");
|
|
1319
|
+
var se_ListInferenceProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1320
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1321
|
+
const headers = {};
|
|
1322
|
+
b.bp("/inference-profiles");
|
|
1323
|
+
const query = (0, import_smithy_client.map)({
|
|
1324
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1325
|
+
[_nT]: [, input[_nT]]
|
|
1326
|
+
});
|
|
1327
|
+
let body;
|
|
1328
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1329
|
+
return b.build();
|
|
1330
|
+
}, "se_ListInferenceProfilesCommand");
|
|
1169
1331
|
var se_ListModelCopyJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1170
1332
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1171
1333
|
const headers = {};
|
|
@@ -1204,6 +1366,24 @@ var se_ListModelCustomizationJobsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1204
1366
|
b.m("GET").h(headers).q(query).b(body);
|
|
1205
1367
|
return b.build();
|
|
1206
1368
|
}, "se_ListModelCustomizationJobsCommand");
|
|
1369
|
+
var se_ListModelImportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1370
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1371
|
+
const headers = {};
|
|
1372
|
+
b.bp("/model-import-jobs");
|
|
1373
|
+
const query = (0, import_smithy_client.map)({
|
|
1374
|
+
[_cTA]: [() => input.creationTimeAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTA]).toString()],
|
|
1375
|
+
[_cTB]: [() => input.creationTimeBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cTB]).toString()],
|
|
1376
|
+
[_sE]: [, input[_sE]],
|
|
1377
|
+
[_nC]: [, input[_nC]],
|
|
1378
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1379
|
+
[_nT]: [, input[_nT]],
|
|
1380
|
+
[_sB]: [, input[_sB]],
|
|
1381
|
+
[_sO]: [, input[_sO]]
|
|
1382
|
+
});
|
|
1383
|
+
let body;
|
|
1384
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1385
|
+
return b.build();
|
|
1386
|
+
}, "se_ListModelImportJobsCommand");
|
|
1207
1387
|
var se_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1208
1388
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1209
1389
|
const headers = {};
|
|
@@ -1372,6 +1552,21 @@ var se_UpdateProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (i
|
|
|
1372
1552
|
b.m("PATCH").h(headers).b(body);
|
|
1373
1553
|
return b.build();
|
|
1374
1554
|
}, "se_UpdateProvisionedModelThroughputCommand");
|
|
1555
|
+
var de_BatchDeleteEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1556
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1557
|
+
return de_CommandError(output, context);
|
|
1558
|
+
}
|
|
1559
|
+
const contents = (0, import_smithy_client.map)({
|
|
1560
|
+
$metadata: deserializeMetadata(output)
|
|
1561
|
+
});
|
|
1562
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1563
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1564
|
+
errors: import_smithy_client._json,
|
|
1565
|
+
evaluationJobs: import_smithy_client._json
|
|
1566
|
+
});
|
|
1567
|
+
Object.assign(contents, doc);
|
|
1568
|
+
return contents;
|
|
1569
|
+
}, "de_BatchDeleteEvaluationJobCommand");
|
|
1375
1570
|
var de_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1376
1571
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1377
1572
|
return de_CommandError(output, context);
|
|
@@ -1446,6 +1641,20 @@ var de_CreateModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output
|
|
|
1446
1641
|
Object.assign(contents, doc);
|
|
1447
1642
|
return contents;
|
|
1448
1643
|
}, "de_CreateModelCustomizationJobCommand");
|
|
1644
|
+
var de_CreateModelImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1646
|
+
return de_CommandError(output, context);
|
|
1647
|
+
}
|
|
1648
|
+
const contents = (0, import_smithy_client.map)({
|
|
1649
|
+
$metadata: deserializeMetadata(output)
|
|
1650
|
+
});
|
|
1651
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1652
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1653
|
+
jobArn: import_smithy_client.expectString
|
|
1654
|
+
});
|
|
1655
|
+
Object.assign(contents, doc);
|
|
1656
|
+
return contents;
|
|
1657
|
+
}, "de_CreateModelImportJobCommand");
|
|
1449
1658
|
var de_CreateModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1450
1659
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1451
1660
|
return de_CommandError(output, context);
|
|
@@ -1494,6 +1703,16 @@ var de_DeleteGuardrailCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1494
1703
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1495
1704
|
return contents;
|
|
1496
1705
|
}, "de_DeleteGuardrailCommand");
|
|
1706
|
+
var de_DeleteImportedModelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1707
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1708
|
+
return de_CommandError(output, context);
|
|
1709
|
+
}
|
|
1710
|
+
const contents = (0, import_smithy_client.map)({
|
|
1711
|
+
$metadata: deserializeMetadata(output)
|
|
1712
|
+
});
|
|
1713
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1714
|
+
return contents;
|
|
1715
|
+
}, "de_DeleteImportedModelCommand");
|
|
1497
1716
|
var de_DeleteModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1498
1717
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1499
1718
|
return de_CommandError(output, context);
|
|
@@ -1612,6 +1831,49 @@ var de_GetGuardrailCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1612
1831
|
Object.assign(contents, doc);
|
|
1613
1832
|
return contents;
|
|
1614
1833
|
}, "de_GetGuardrailCommand");
|
|
1834
|
+
var de_GetImportedModelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1835
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1836
|
+
return de_CommandError(output, context);
|
|
1837
|
+
}
|
|
1838
|
+
const contents = (0, import_smithy_client.map)({
|
|
1839
|
+
$metadata: deserializeMetadata(output)
|
|
1840
|
+
});
|
|
1841
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1842
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1843
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1844
|
+
jobArn: import_smithy_client.expectString,
|
|
1845
|
+
jobName: import_smithy_client.expectString,
|
|
1846
|
+
modelArchitecture: import_smithy_client.expectString,
|
|
1847
|
+
modelArn: import_smithy_client.expectString,
|
|
1848
|
+
modelDataSource: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1849
|
+
modelKmsKeyArn: import_smithy_client.expectString,
|
|
1850
|
+
modelName: import_smithy_client.expectString
|
|
1851
|
+
});
|
|
1852
|
+
Object.assign(contents, doc);
|
|
1853
|
+
return contents;
|
|
1854
|
+
}, "de_GetImportedModelCommand");
|
|
1855
|
+
var de_GetInferenceProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1856
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1857
|
+
return de_CommandError(output, context);
|
|
1858
|
+
}
|
|
1859
|
+
const contents = (0, import_smithy_client.map)({
|
|
1860
|
+
$metadata: deserializeMetadata(output)
|
|
1861
|
+
});
|
|
1862
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1863
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1864
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1865
|
+
description: import_smithy_client.expectString,
|
|
1866
|
+
inferenceProfileArn: import_smithy_client.expectString,
|
|
1867
|
+
inferenceProfileId: import_smithy_client.expectString,
|
|
1868
|
+
inferenceProfileName: import_smithy_client.expectString,
|
|
1869
|
+
models: import_smithy_client._json,
|
|
1870
|
+
status: import_smithy_client.expectString,
|
|
1871
|
+
type: import_smithy_client.expectString,
|
|
1872
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1873
|
+
});
|
|
1874
|
+
Object.assign(contents, doc);
|
|
1875
|
+
return contents;
|
|
1876
|
+
}, "de_GetInferenceProfileCommand");
|
|
1615
1877
|
var de_GetModelCopyJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1616
1878
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1617
1879
|
return de_CommandError(output, context);
|
|
@@ -1670,6 +1932,32 @@ var de_GetModelCustomizationJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1670
1932
|
Object.assign(contents, doc);
|
|
1671
1933
|
return contents;
|
|
1672
1934
|
}, "de_GetModelCustomizationJobCommand");
|
|
1935
|
+
var de_GetModelImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1936
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1937
|
+
return de_CommandError(output, context);
|
|
1938
|
+
}
|
|
1939
|
+
const contents = (0, import_smithy_client.map)({
|
|
1940
|
+
$metadata: deserializeMetadata(output)
|
|
1941
|
+
});
|
|
1942
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1943
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1944
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1945
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1946
|
+
failureMessage: import_smithy_client.expectString,
|
|
1947
|
+
importedModelArn: import_smithy_client.expectString,
|
|
1948
|
+
importedModelKmsKeyArn: import_smithy_client.expectString,
|
|
1949
|
+
importedModelName: import_smithy_client.expectString,
|
|
1950
|
+
jobArn: import_smithy_client.expectString,
|
|
1951
|
+
jobName: import_smithy_client.expectString,
|
|
1952
|
+
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1953
|
+
modelDataSource: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1954
|
+
roleArn: import_smithy_client.expectString,
|
|
1955
|
+
status: import_smithy_client.expectString,
|
|
1956
|
+
vpcConfig: import_smithy_client._json
|
|
1957
|
+
});
|
|
1958
|
+
Object.assign(contents, doc);
|
|
1959
|
+
return contents;
|
|
1960
|
+
}, "de_GetModelImportJobCommand");
|
|
1673
1961
|
var de_GetModelInvocationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1674
1962
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1675
1963
|
return de_CommandError(output, context);
|
|
@@ -1796,6 +2084,36 @@ var de_ListGuardrailsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1796
2084
|
Object.assign(contents, doc);
|
|
1797
2085
|
return contents;
|
|
1798
2086
|
}, "de_ListGuardrailsCommand");
|
|
2087
|
+
var de_ListImportedModelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2088
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2089
|
+
return de_CommandError(output, context);
|
|
2090
|
+
}
|
|
2091
|
+
const contents = (0, import_smithy_client.map)({
|
|
2092
|
+
$metadata: deserializeMetadata(output)
|
|
2093
|
+
});
|
|
2094
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2095
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2096
|
+
modelSummaries: (_) => de_ImportedModelSummaryList(_, context),
|
|
2097
|
+
nextToken: import_smithy_client.expectString
|
|
2098
|
+
});
|
|
2099
|
+
Object.assign(contents, doc);
|
|
2100
|
+
return contents;
|
|
2101
|
+
}, "de_ListImportedModelsCommand");
|
|
2102
|
+
var de_ListInferenceProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2103
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2104
|
+
return de_CommandError(output, context);
|
|
2105
|
+
}
|
|
2106
|
+
const contents = (0, import_smithy_client.map)({
|
|
2107
|
+
$metadata: deserializeMetadata(output)
|
|
2108
|
+
});
|
|
2109
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2110
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2111
|
+
inferenceProfileSummaries: (_) => de_InferenceProfileSummaries(_, context),
|
|
2112
|
+
nextToken: import_smithy_client.expectString
|
|
2113
|
+
});
|
|
2114
|
+
Object.assign(contents, doc);
|
|
2115
|
+
return contents;
|
|
2116
|
+
}, "de_ListInferenceProfilesCommand");
|
|
1799
2117
|
var de_ListModelCopyJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1800
2118
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1801
2119
|
return de_CommandError(output, context);
|
|
@@ -1826,6 +2144,21 @@ var de_ListModelCustomizationJobsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1826
2144
|
Object.assign(contents, doc);
|
|
1827
2145
|
return contents;
|
|
1828
2146
|
}, "de_ListModelCustomizationJobsCommand");
|
|
2147
|
+
var de_ListModelImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2148
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2149
|
+
return de_CommandError(output, context);
|
|
2150
|
+
}
|
|
2151
|
+
const contents = (0, import_smithy_client.map)({
|
|
2152
|
+
$metadata: deserializeMetadata(output)
|
|
2153
|
+
});
|
|
2154
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2155
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2156
|
+
modelImportJobSummaries: (_) => de_ModelImportJobSummaries(_, context),
|
|
2157
|
+
nextToken: import_smithy_client.expectString
|
|
2158
|
+
});
|
|
2159
|
+
Object.assign(contents, doc);
|
|
2160
|
+
return contents;
|
|
2161
|
+
}, "de_ListModelImportJobsCommand");
|
|
1829
2162
|
var de_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1830
2163
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1831
2164
|
return de_CommandError(output, context);
|
|
@@ -1976,15 +2309,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1976
2309
|
case "ResourceNotFoundException":
|
|
1977
2310
|
case "com.amazonaws.bedrock#ResourceNotFoundException":
|
|
1978
2311
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1979
|
-
case "ServiceQuotaExceededException":
|
|
1980
|
-
case "com.amazonaws.bedrock#ServiceQuotaExceededException":
|
|
1981
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1982
2312
|
case "ThrottlingException":
|
|
1983
2313
|
case "com.amazonaws.bedrock#ThrottlingException":
|
|
1984
2314
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1985
2315
|
case "ValidationException":
|
|
1986
2316
|
case "com.amazonaws.bedrock#ValidationException":
|
|
1987
2317
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2318
|
+
case "ServiceQuotaExceededException":
|
|
2319
|
+
case "com.amazonaws.bedrock#ServiceQuotaExceededException":
|
|
2320
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1988
2321
|
case "TooManyTagsException":
|
|
1989
2322
|
case "com.amazonaws.bedrock#TooManyTagsException":
|
|
1990
2323
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
@@ -2188,6 +2521,38 @@ var de_GuardrailSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2188
2521
|
version: import_smithy_client.expectString
|
|
2189
2522
|
});
|
|
2190
2523
|
}, "de_GuardrailSummary");
|
|
2524
|
+
var de_ImportedModelSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2525
|
+
return (0, import_smithy_client.take)(output, {
|
|
2526
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2527
|
+
modelArn: import_smithy_client.expectString,
|
|
2528
|
+
modelName: import_smithy_client.expectString
|
|
2529
|
+
});
|
|
2530
|
+
}, "de_ImportedModelSummary");
|
|
2531
|
+
var de_ImportedModelSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2532
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2533
|
+
return de_ImportedModelSummary(entry, context);
|
|
2534
|
+
});
|
|
2535
|
+
return retVal;
|
|
2536
|
+
}, "de_ImportedModelSummaryList");
|
|
2537
|
+
var de_InferenceProfileSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2538
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2539
|
+
return de_InferenceProfileSummary(entry, context);
|
|
2540
|
+
});
|
|
2541
|
+
return retVal;
|
|
2542
|
+
}, "de_InferenceProfileSummaries");
|
|
2543
|
+
var de_InferenceProfileSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2544
|
+
return (0, import_smithy_client.take)(output, {
|
|
2545
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2546
|
+
description: import_smithy_client.expectString,
|
|
2547
|
+
inferenceProfileArn: import_smithy_client.expectString,
|
|
2548
|
+
inferenceProfileId: import_smithy_client.expectString,
|
|
2549
|
+
inferenceProfileName: import_smithy_client.expectString,
|
|
2550
|
+
models: import_smithy_client._json,
|
|
2551
|
+
status: import_smithy_client.expectString,
|
|
2552
|
+
type: import_smithy_client.expectString,
|
|
2553
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2554
|
+
});
|
|
2555
|
+
}, "de_InferenceProfileSummary");
|
|
2191
2556
|
var de_ModelCopyJobSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2192
2557
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2193
2558
|
return de_ModelCopyJobSummary(entry, context);
|
|
@@ -2229,6 +2594,24 @@ var de_ModelCustomizationJobSummary = /* @__PURE__ */ __name((output, context) =
|
|
|
2229
2594
|
status: import_smithy_client.expectString
|
|
2230
2595
|
});
|
|
2231
2596
|
}, "de_ModelCustomizationJobSummary");
|
|
2597
|
+
var de_ModelImportJobSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2598
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2599
|
+
return de_ModelImportJobSummary(entry, context);
|
|
2600
|
+
});
|
|
2601
|
+
return retVal;
|
|
2602
|
+
}, "de_ModelImportJobSummaries");
|
|
2603
|
+
var de_ModelImportJobSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2604
|
+
return (0, import_smithy_client.take)(output, {
|
|
2605
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2606
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2607
|
+
importedModelArn: import_smithy_client.expectString,
|
|
2608
|
+
importedModelName: import_smithy_client.expectString,
|
|
2609
|
+
jobArn: import_smithy_client.expectString,
|
|
2610
|
+
jobName: import_smithy_client.expectString,
|
|
2611
|
+
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2612
|
+
status: import_smithy_client.expectString
|
|
2613
|
+
});
|
|
2614
|
+
}, "de_ModelImportJobSummary");
|
|
2232
2615
|
var de_ModelInvocationJobSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2233
2616
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2234
2617
|
return de_ModelInvocationJobSummary(entry, context);
|
|
@@ -2322,7 +2705,23 @@ var _sTA = "submitTimeAfter";
|
|
|
2322
2705
|
var _sTB = "submitTimeBefore";
|
|
2323
2706
|
var _tMNC = "targetModelNameContains";
|
|
2324
2707
|
|
|
2708
|
+
// src/commands/BatchDeleteEvaluationJobCommand.ts
|
|
2709
|
+
var _BatchDeleteEvaluationJobCommand = class _BatchDeleteEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2710
|
+
...commonParams
|
|
2711
|
+
}).m(function(Command, cs, config, o) {
|
|
2712
|
+
return [
|
|
2713
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2714
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2715
|
+
];
|
|
2716
|
+
}).s("AmazonBedrockControlPlaneService", "BatchDeleteEvaluationJob", {}).n("BedrockClient", "BatchDeleteEvaluationJobCommand").f(BatchDeleteEvaluationJobRequestFilterSensitiveLog, BatchDeleteEvaluationJobResponseFilterSensitiveLog).ser(se_BatchDeleteEvaluationJobCommand).de(de_BatchDeleteEvaluationJobCommand).build() {
|
|
2717
|
+
};
|
|
2718
|
+
__name(_BatchDeleteEvaluationJobCommand, "BatchDeleteEvaluationJobCommand");
|
|
2719
|
+
var BatchDeleteEvaluationJobCommand = _BatchDeleteEvaluationJobCommand;
|
|
2720
|
+
|
|
2325
2721
|
// src/commands/CreateEvaluationJobCommand.ts
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2326
2725
|
var _CreateEvaluationJobCommand = class _CreateEvaluationJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2327
2726
|
...commonParams
|
|
2328
2727
|
}).m(function(Command, cs, config, o) {
|
|
@@ -2399,6 +2798,22 @@ var _CreateModelCustomizationJobCommand = class _CreateModelCustomizationJobComm
|
|
|
2399
2798
|
__name(_CreateModelCustomizationJobCommand, "CreateModelCustomizationJobCommand");
|
|
2400
2799
|
var CreateModelCustomizationJobCommand = _CreateModelCustomizationJobCommand;
|
|
2401
2800
|
|
|
2801
|
+
// src/commands/CreateModelImportJobCommand.ts
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
var _CreateModelImportJobCommand = class _CreateModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2806
|
+
...commonParams
|
|
2807
|
+
}).m(function(Command, cs, config, o) {
|
|
2808
|
+
return [
|
|
2809
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2810
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2811
|
+
];
|
|
2812
|
+
}).s("AmazonBedrockControlPlaneService", "CreateModelImportJob", {}).n("BedrockClient", "CreateModelImportJobCommand").f(void 0, void 0).ser(se_CreateModelImportJobCommand).de(de_CreateModelImportJobCommand).build() {
|
|
2813
|
+
};
|
|
2814
|
+
__name(_CreateModelImportJobCommand, "CreateModelImportJobCommand");
|
|
2815
|
+
var CreateModelImportJobCommand = _CreateModelImportJobCommand;
|
|
2816
|
+
|
|
2402
2817
|
// src/commands/CreateModelInvocationJobCommand.ts
|
|
2403
2818
|
|
|
2404
2819
|
|
|
@@ -2463,6 +2878,22 @@ var _DeleteGuardrailCommand = class _DeleteGuardrailCommand extends import_smith
|
|
|
2463
2878
|
__name(_DeleteGuardrailCommand, "DeleteGuardrailCommand");
|
|
2464
2879
|
var DeleteGuardrailCommand = _DeleteGuardrailCommand;
|
|
2465
2880
|
|
|
2881
|
+
// src/commands/DeleteImportedModelCommand.ts
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
var _DeleteImportedModelCommand = class _DeleteImportedModelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2886
|
+
...commonParams
|
|
2887
|
+
}).m(function(Command, cs, config, o) {
|
|
2888
|
+
return [
|
|
2889
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2890
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2891
|
+
];
|
|
2892
|
+
}).s("AmazonBedrockControlPlaneService", "DeleteImportedModel", {}).n("BedrockClient", "DeleteImportedModelCommand").f(void 0, void 0).ser(se_DeleteImportedModelCommand).de(de_DeleteImportedModelCommand).build() {
|
|
2893
|
+
};
|
|
2894
|
+
__name(_DeleteImportedModelCommand, "DeleteImportedModelCommand");
|
|
2895
|
+
var DeleteImportedModelCommand = _DeleteImportedModelCommand;
|
|
2896
|
+
|
|
2466
2897
|
// src/commands/DeleteModelInvocationLoggingConfigurationCommand.ts
|
|
2467
2898
|
|
|
2468
2899
|
|
|
@@ -2559,6 +2990,38 @@ var _GetGuardrailCommand = class _GetGuardrailCommand extends import_smithy_clie
|
|
|
2559
2990
|
__name(_GetGuardrailCommand, "GetGuardrailCommand");
|
|
2560
2991
|
var GetGuardrailCommand = _GetGuardrailCommand;
|
|
2561
2992
|
|
|
2993
|
+
// src/commands/GetImportedModelCommand.ts
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
var _GetImportedModelCommand = class _GetImportedModelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2998
|
+
...commonParams
|
|
2999
|
+
}).m(function(Command, cs, config, o) {
|
|
3000
|
+
return [
|
|
3001
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3002
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3003
|
+
];
|
|
3004
|
+
}).s("AmazonBedrockControlPlaneService", "GetImportedModel", {}).n("BedrockClient", "GetImportedModelCommand").f(void 0, void 0).ser(se_GetImportedModelCommand).de(de_GetImportedModelCommand).build() {
|
|
3005
|
+
};
|
|
3006
|
+
__name(_GetImportedModelCommand, "GetImportedModelCommand");
|
|
3007
|
+
var GetImportedModelCommand = _GetImportedModelCommand;
|
|
3008
|
+
|
|
3009
|
+
// src/commands/GetInferenceProfileCommand.ts
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
var _GetInferenceProfileCommand = class _GetInferenceProfileCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3014
|
+
...commonParams
|
|
3015
|
+
}).m(function(Command, cs, config, o) {
|
|
3016
|
+
return [
|
|
3017
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3018
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3019
|
+
];
|
|
3020
|
+
}).s("AmazonBedrockControlPlaneService", "GetInferenceProfile", {}).n("BedrockClient", "GetInferenceProfileCommand").f(void 0, void 0).ser(se_GetInferenceProfileCommand).de(de_GetInferenceProfileCommand).build() {
|
|
3021
|
+
};
|
|
3022
|
+
__name(_GetInferenceProfileCommand, "GetInferenceProfileCommand");
|
|
3023
|
+
var GetInferenceProfileCommand = _GetInferenceProfileCommand;
|
|
3024
|
+
|
|
2562
3025
|
// src/commands/GetModelCopyJobCommand.ts
|
|
2563
3026
|
|
|
2564
3027
|
|
|
@@ -2591,6 +3054,22 @@ var _GetModelCustomizationJobCommand = class _GetModelCustomizationJobCommand ex
|
|
|
2591
3054
|
__name(_GetModelCustomizationJobCommand, "GetModelCustomizationJobCommand");
|
|
2592
3055
|
var GetModelCustomizationJobCommand = _GetModelCustomizationJobCommand;
|
|
2593
3056
|
|
|
3057
|
+
// src/commands/GetModelImportJobCommand.ts
|
|
3058
|
+
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
var _GetModelImportJobCommand = class _GetModelImportJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3062
|
+
...commonParams
|
|
3063
|
+
}).m(function(Command, cs, config, o) {
|
|
3064
|
+
return [
|
|
3065
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3066
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3067
|
+
];
|
|
3068
|
+
}).s("AmazonBedrockControlPlaneService", "GetModelImportJob", {}).n("BedrockClient", "GetModelImportJobCommand").f(void 0, void 0).ser(se_GetModelImportJobCommand).de(de_GetModelImportJobCommand).build() {
|
|
3069
|
+
};
|
|
3070
|
+
__name(_GetModelImportJobCommand, "GetModelImportJobCommand");
|
|
3071
|
+
var GetModelImportJobCommand = _GetModelImportJobCommand;
|
|
3072
|
+
|
|
2594
3073
|
// src/commands/GetModelInvocationJobCommand.ts
|
|
2595
3074
|
|
|
2596
3075
|
|
|
@@ -2703,6 +3182,38 @@ var _ListGuardrailsCommand = class _ListGuardrailsCommand extends import_smithy_
|
|
|
2703
3182
|
__name(_ListGuardrailsCommand, "ListGuardrailsCommand");
|
|
2704
3183
|
var ListGuardrailsCommand = _ListGuardrailsCommand;
|
|
2705
3184
|
|
|
3185
|
+
// src/commands/ListImportedModelsCommand.ts
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
|
|
3189
|
+
var _ListImportedModelsCommand = class _ListImportedModelsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3190
|
+
...commonParams
|
|
3191
|
+
}).m(function(Command, cs, config, o) {
|
|
3192
|
+
return [
|
|
3193
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3194
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3195
|
+
];
|
|
3196
|
+
}).s("AmazonBedrockControlPlaneService", "ListImportedModels", {}).n("BedrockClient", "ListImportedModelsCommand").f(void 0, void 0).ser(se_ListImportedModelsCommand).de(de_ListImportedModelsCommand).build() {
|
|
3197
|
+
};
|
|
3198
|
+
__name(_ListImportedModelsCommand, "ListImportedModelsCommand");
|
|
3199
|
+
var ListImportedModelsCommand = _ListImportedModelsCommand;
|
|
3200
|
+
|
|
3201
|
+
// src/commands/ListInferenceProfilesCommand.ts
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
var _ListInferenceProfilesCommand = class _ListInferenceProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3206
|
+
...commonParams
|
|
3207
|
+
}).m(function(Command, cs, config, o) {
|
|
3208
|
+
return [
|
|
3209
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3210
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3211
|
+
];
|
|
3212
|
+
}).s("AmazonBedrockControlPlaneService", "ListInferenceProfiles", {}).n("BedrockClient", "ListInferenceProfilesCommand").f(void 0, void 0).ser(se_ListInferenceProfilesCommand).de(de_ListInferenceProfilesCommand).build() {
|
|
3213
|
+
};
|
|
3214
|
+
__name(_ListInferenceProfilesCommand, "ListInferenceProfilesCommand");
|
|
3215
|
+
var ListInferenceProfilesCommand = _ListInferenceProfilesCommand;
|
|
3216
|
+
|
|
2706
3217
|
// src/commands/ListModelCopyJobsCommand.ts
|
|
2707
3218
|
|
|
2708
3219
|
|
|
@@ -2735,6 +3246,22 @@ var _ListModelCustomizationJobsCommand = class _ListModelCustomizationJobsComman
|
|
|
2735
3246
|
__name(_ListModelCustomizationJobsCommand, "ListModelCustomizationJobsCommand");
|
|
2736
3247
|
var ListModelCustomizationJobsCommand = _ListModelCustomizationJobsCommand;
|
|
2737
3248
|
|
|
3249
|
+
// src/commands/ListModelImportJobsCommand.ts
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
var _ListModelImportJobsCommand = class _ListModelImportJobsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3254
|
+
...commonParams
|
|
3255
|
+
}).m(function(Command, cs, config, o) {
|
|
3256
|
+
return [
|
|
3257
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3258
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3259
|
+
];
|
|
3260
|
+
}).s("AmazonBedrockControlPlaneService", "ListModelImportJobs", {}).n("BedrockClient", "ListModelImportJobsCommand").f(void 0, void 0).ser(se_ListModelImportJobsCommand).de(de_ListModelImportJobsCommand).build() {
|
|
3261
|
+
};
|
|
3262
|
+
__name(_ListModelImportJobsCommand, "ListModelImportJobsCommand");
|
|
3263
|
+
var ListModelImportJobsCommand = _ListModelImportJobsCommand;
|
|
3264
|
+
|
|
2738
3265
|
// src/commands/ListModelInvocationJobsCommand.ts
|
|
2739
3266
|
|
|
2740
3267
|
|
|
@@ -2913,23 +3440,29 @@ var UpdateProvisionedModelThroughputCommand = _UpdateProvisionedModelThroughputC
|
|
|
2913
3440
|
|
|
2914
3441
|
// src/Bedrock.ts
|
|
2915
3442
|
var commands = {
|
|
3443
|
+
BatchDeleteEvaluationJobCommand,
|
|
2916
3444
|
CreateEvaluationJobCommand,
|
|
2917
3445
|
CreateGuardrailCommand,
|
|
2918
3446
|
CreateGuardrailVersionCommand,
|
|
2919
3447
|
CreateModelCopyJobCommand,
|
|
2920
3448
|
CreateModelCustomizationJobCommand,
|
|
3449
|
+
CreateModelImportJobCommand,
|
|
2921
3450
|
CreateModelInvocationJobCommand,
|
|
2922
3451
|
CreateProvisionedModelThroughputCommand,
|
|
2923
3452
|
DeleteCustomModelCommand,
|
|
2924
3453
|
DeleteGuardrailCommand,
|
|
3454
|
+
DeleteImportedModelCommand,
|
|
2925
3455
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
2926
3456
|
DeleteProvisionedModelThroughputCommand,
|
|
2927
3457
|
GetCustomModelCommand,
|
|
2928
3458
|
GetEvaluationJobCommand,
|
|
2929
3459
|
GetFoundationModelCommand,
|
|
2930
3460
|
GetGuardrailCommand,
|
|
3461
|
+
GetImportedModelCommand,
|
|
3462
|
+
GetInferenceProfileCommand,
|
|
2931
3463
|
GetModelCopyJobCommand,
|
|
2932
3464
|
GetModelCustomizationJobCommand,
|
|
3465
|
+
GetModelImportJobCommand,
|
|
2933
3466
|
GetModelInvocationJobCommand,
|
|
2934
3467
|
GetModelInvocationLoggingConfigurationCommand,
|
|
2935
3468
|
GetProvisionedModelThroughputCommand,
|
|
@@ -2937,8 +3470,11 @@ var commands = {
|
|
|
2937
3470
|
ListEvaluationJobsCommand,
|
|
2938
3471
|
ListFoundationModelsCommand,
|
|
2939
3472
|
ListGuardrailsCommand,
|
|
3473
|
+
ListImportedModelsCommand,
|
|
3474
|
+
ListInferenceProfilesCommand,
|
|
2940
3475
|
ListModelCopyJobsCommand,
|
|
2941
3476
|
ListModelCustomizationJobsCommand,
|
|
3477
|
+
ListModelImportJobsCommand,
|
|
2942
3478
|
ListModelInvocationJobsCommand,
|
|
2943
3479
|
ListProvisionedModelThroughputsCommand,
|
|
2944
3480
|
ListTagsForResourceCommand,
|
|
@@ -2969,6 +3505,14 @@ var paginateListEvaluationJobs = (0, import_core.createPaginator)(BedrockClient,
|
|
|
2969
3505
|
|
|
2970
3506
|
var paginateListGuardrails = (0, import_core.createPaginator)(BedrockClient, ListGuardrailsCommand, "nextToken", "nextToken", "maxResults");
|
|
2971
3507
|
|
|
3508
|
+
// src/pagination/ListImportedModelsPaginator.ts
|
|
3509
|
+
|
|
3510
|
+
var paginateListImportedModels = (0, import_core.createPaginator)(BedrockClient, ListImportedModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
3511
|
+
|
|
3512
|
+
// src/pagination/ListInferenceProfilesPaginator.ts
|
|
3513
|
+
|
|
3514
|
+
var paginateListInferenceProfiles = (0, import_core.createPaginator)(BedrockClient, ListInferenceProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
3515
|
+
|
|
2972
3516
|
// src/pagination/ListModelCopyJobsPaginator.ts
|
|
2973
3517
|
|
|
2974
3518
|
var paginateListModelCopyJobs = (0, import_core.createPaginator)(BedrockClient, ListModelCopyJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2977,6 +3521,10 @@ var paginateListModelCopyJobs = (0, import_core.createPaginator)(BedrockClient,
|
|
|
2977
3521
|
|
|
2978
3522
|
var paginateListModelCustomizationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelCustomizationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
2979
3523
|
|
|
3524
|
+
// src/pagination/ListModelImportJobsPaginator.ts
|
|
3525
|
+
|
|
3526
|
+
var paginateListModelImportJobs = (0, import_core.createPaginator)(BedrockClient, ListModelImportJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
3527
|
+
|
|
2980
3528
|
// src/pagination/ListModelInvocationJobsPaginator.ts
|
|
2981
3529
|
|
|
2982
3530
|
var paginateListModelInvocationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2992,23 +3540,29 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
2992
3540
|
BedrockClient,
|
|
2993
3541
|
Bedrock,
|
|
2994
3542
|
$Command,
|
|
3543
|
+
BatchDeleteEvaluationJobCommand,
|
|
2995
3544
|
CreateEvaluationJobCommand,
|
|
2996
3545
|
CreateGuardrailCommand,
|
|
2997
3546
|
CreateGuardrailVersionCommand,
|
|
2998
3547
|
CreateModelCopyJobCommand,
|
|
2999
3548
|
CreateModelCustomizationJobCommand,
|
|
3549
|
+
CreateModelImportJobCommand,
|
|
3000
3550
|
CreateModelInvocationJobCommand,
|
|
3001
3551
|
CreateProvisionedModelThroughputCommand,
|
|
3002
3552
|
DeleteCustomModelCommand,
|
|
3003
3553
|
DeleteGuardrailCommand,
|
|
3554
|
+
DeleteImportedModelCommand,
|
|
3004
3555
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
3005
3556
|
DeleteProvisionedModelThroughputCommand,
|
|
3006
3557
|
GetCustomModelCommand,
|
|
3007
3558
|
GetEvaluationJobCommand,
|
|
3008
3559
|
GetFoundationModelCommand,
|
|
3009
3560
|
GetGuardrailCommand,
|
|
3561
|
+
GetImportedModelCommand,
|
|
3562
|
+
GetInferenceProfileCommand,
|
|
3010
3563
|
GetModelCopyJobCommand,
|
|
3011
3564
|
GetModelCustomizationJobCommand,
|
|
3565
|
+
GetModelImportJobCommand,
|
|
3012
3566
|
GetModelInvocationJobCommand,
|
|
3013
3567
|
GetModelInvocationLoggingConfigurationCommand,
|
|
3014
3568
|
GetProvisionedModelThroughputCommand,
|
|
@@ -3016,8 +3570,11 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
3016
3570
|
ListEvaluationJobsCommand,
|
|
3017
3571
|
ListFoundationModelsCommand,
|
|
3018
3572
|
ListGuardrailsCommand,
|
|
3573
|
+
ListImportedModelsCommand,
|
|
3574
|
+
ListInferenceProfilesCommand,
|
|
3019
3575
|
ListModelCopyJobsCommand,
|
|
3020
3576
|
ListModelCustomizationJobsCommand,
|
|
3577
|
+
ListModelImportJobsCommand,
|
|
3021
3578
|
ListModelInvocationJobsCommand,
|
|
3022
3579
|
ListProvisionedModelThroughputsCommand,
|
|
3023
3580
|
ListTagsForResourceCommand,
|
|
@@ -3032,24 +3589,27 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
3032
3589
|
paginateListCustomModels,
|
|
3033
3590
|
paginateListEvaluationJobs,
|
|
3034
3591
|
paginateListGuardrails,
|
|
3592
|
+
paginateListImportedModels,
|
|
3593
|
+
paginateListInferenceProfiles,
|
|
3035
3594
|
paginateListModelCopyJobs,
|
|
3036
3595
|
paginateListModelCustomizationJobs,
|
|
3596
|
+
paginateListModelImportJobs,
|
|
3037
3597
|
paginateListModelInvocationJobs,
|
|
3038
3598
|
paginateListProvisionedModelThroughputs,
|
|
3039
3599
|
AccessDeniedException,
|
|
3600
|
+
EvaluationJobStatus,
|
|
3040
3601
|
ConflictException,
|
|
3602
|
+
InternalServerException,
|
|
3603
|
+
ResourceNotFoundException,
|
|
3604
|
+
ThrottlingException,
|
|
3605
|
+
ValidationException,
|
|
3041
3606
|
EvaluationDatasetLocation,
|
|
3042
3607
|
EvaluationTaskType,
|
|
3043
3608
|
EvaluationConfig,
|
|
3044
3609
|
EvaluationModelConfig,
|
|
3045
3610
|
EvaluationInferenceConfig,
|
|
3046
|
-
InternalServerException,
|
|
3047
|
-
ResourceNotFoundException,
|
|
3048
3611
|
ServiceQuotaExceededException,
|
|
3049
|
-
ThrottlingException,
|
|
3050
|
-
ValidationException,
|
|
3051
3612
|
EvaluationJobType,
|
|
3052
|
-
EvaluationJobStatus,
|
|
3053
3613
|
SortJobsBy,
|
|
3054
3614
|
SortOrder,
|
|
3055
3615
|
GuardrailFilterStrength,
|
|
@@ -3061,7 +3621,12 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
3061
3621
|
GuardrailManagedWordsType,
|
|
3062
3622
|
TooManyTagsException,
|
|
3063
3623
|
GuardrailStatus,
|
|
3624
|
+
InferenceProfileStatus,
|
|
3625
|
+
InferenceProfileType,
|
|
3064
3626
|
ModelCopyJobStatus,
|
|
3627
|
+
ModelDataSource,
|
|
3628
|
+
ModelImportJobStatus,
|
|
3629
|
+
SortModelsBy,
|
|
3065
3630
|
S3InputFormat,
|
|
3066
3631
|
ModelInvocationJobInputDataConfig,
|
|
3067
3632
|
ModelInvocationJobOutputDataConfig,
|
|
@@ -3071,12 +3636,15 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
3071
3636
|
InferenceType,
|
|
3072
3637
|
ModelModality,
|
|
3073
3638
|
FoundationModelLifecycleStatus,
|
|
3074
|
-
SortModelsBy,
|
|
3075
3639
|
CommitmentDuration,
|
|
3076
3640
|
ProvisionedModelStatus,
|
|
3077
3641
|
SortByProvisionedModels,
|
|
3078
3642
|
ModelCustomizationJobStatus,
|
|
3079
3643
|
FineTuningJobStatus,
|
|
3644
|
+
BatchDeleteEvaluationJobRequestFilterSensitiveLog,
|
|
3645
|
+
BatchDeleteEvaluationJobErrorFilterSensitiveLog,
|
|
3646
|
+
BatchDeleteEvaluationJobItemFilterSensitiveLog,
|
|
3647
|
+
BatchDeleteEvaluationJobResponseFilterSensitiveLog,
|
|
3080
3648
|
EvaluationDatasetFilterSensitiveLog,
|
|
3081
3649
|
EvaluationDatasetMetricConfigFilterSensitiveLog,
|
|
3082
3650
|
AutomatedEvaluationConfigFilterSensitiveLog,
|