@aws-sdk/client-bedrock 3.845.0 → 3.847.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 +32 -0
- package/dist-cjs/index.js +253 -23
- package/dist-es/Bedrock.js +8 -0
- package/dist-es/commands/CreateCustomModelDeploymentCommand.js +22 -0
- package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +22 -0
- package/dist-es/commands/GetCustomModelDeploymentCommand.js +22 -0
- package/dist-es/commands/ListCustomModelDeploymentsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +20 -19
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/pagination/ListCustomModelDeploymentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +136 -1
- package/dist-types/Bedrock.d.ts +29 -0
- package/dist-types/BedrockClient.d.ts +6 -2
- package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +102 -0
- package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +88 -0
- package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +94 -0
- package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +1 -2
- package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +103 -0
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +269 -208
- package/dist-types/models/models_1.d.ts +169 -1
- package/dist-types/pagination/ListCustomModelDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Bedrock.d.ts +69 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListCustomModelDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -61
- package/dist-types/ts3.4/models/models_1.d.ts +46 -1
- package/dist-types/ts3.4/pagination/ListCustomModelDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -218,6 +218,14 @@ CreateCustomModel
|
|
|
218
218
|
|
|
219
219
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateCustomModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateCustomModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateCustomModelCommandOutput/)
|
|
220
220
|
|
|
221
|
+
</details>
|
|
222
|
+
<details>
|
|
223
|
+
<summary>
|
|
224
|
+
CreateCustomModelDeployment
|
|
225
|
+
</summary>
|
|
226
|
+
|
|
227
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/CreateCustomModelDeploymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateCustomModelDeploymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/CreateCustomModelDeploymentCommandOutput/)
|
|
228
|
+
|
|
221
229
|
</details>
|
|
222
230
|
<details>
|
|
223
231
|
<summary>
|
|
@@ -322,6 +330,14 @@ DeleteCustomModel
|
|
|
322
330
|
|
|
323
331
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteCustomModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteCustomModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteCustomModelCommandOutput/)
|
|
324
332
|
|
|
333
|
+
</details>
|
|
334
|
+
<details>
|
|
335
|
+
<summary>
|
|
336
|
+
DeleteCustomModelDeployment
|
|
337
|
+
</summary>
|
|
338
|
+
|
|
339
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/DeleteCustomModelDeploymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteCustomModelDeploymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/DeleteCustomModelDeploymentCommandOutput/)
|
|
340
|
+
|
|
325
341
|
</details>
|
|
326
342
|
<details>
|
|
327
343
|
<summary>
|
|
@@ -402,6 +418,14 @@ GetCustomModel
|
|
|
402
418
|
|
|
403
419
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetCustomModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetCustomModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetCustomModelCommandOutput/)
|
|
404
420
|
|
|
421
|
+
</details>
|
|
422
|
+
<details>
|
|
423
|
+
<summary>
|
|
424
|
+
GetCustomModelDeployment
|
|
425
|
+
</summary>
|
|
426
|
+
|
|
427
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetCustomModelDeploymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetCustomModelDeploymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetCustomModelDeploymentCommandOutput/)
|
|
428
|
+
|
|
405
429
|
</details>
|
|
406
430
|
<details>
|
|
407
431
|
<summary>
|
|
@@ -522,6 +546,14 @@ GetUseCaseForModelAccess
|
|
|
522
546
|
|
|
523
547
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/GetUseCaseForModelAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetUseCaseForModelAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/GetUseCaseForModelAccessCommandOutput/)
|
|
524
548
|
|
|
549
|
+
</details>
|
|
550
|
+
<details>
|
|
551
|
+
<summary>
|
|
552
|
+
ListCustomModelDeployments
|
|
553
|
+
</summary>
|
|
554
|
+
|
|
555
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock/command/ListCustomModelDeploymentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListCustomModelDeploymentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock/Interface/ListCustomModelDeploymentsCommandOutput/)
|
|
556
|
+
|
|
525
557
|
</details>
|
|
526
558
|
<details>
|
|
527
559
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -42,6 +42,7 @@ __export(index_exports, {
|
|
|
42
42
|
CommitmentDuration: () => CommitmentDuration,
|
|
43
43
|
ConflictException: () => ConflictException,
|
|
44
44
|
CreateCustomModelCommand: () => CreateCustomModelCommand,
|
|
45
|
+
CreateCustomModelDeploymentCommand: () => CreateCustomModelDeploymentCommand,
|
|
45
46
|
CreateEvaluationJobCommand: () => CreateEvaluationJobCommand,
|
|
46
47
|
CreateEvaluationJobRequestFilterSensitiveLog: () => CreateEvaluationJobRequestFilterSensitiveLog,
|
|
47
48
|
CreateFoundationModelAgreementCommand: () => CreateFoundationModelAgreementCommand,
|
|
@@ -61,9 +62,11 @@ __export(index_exports, {
|
|
|
61
62
|
CreatePromptRouterRequestFilterSensitiveLog: () => CreatePromptRouterRequestFilterSensitiveLog,
|
|
62
63
|
CreateProvisionedModelThroughputCommand: () => CreateProvisionedModelThroughputCommand,
|
|
63
64
|
CustomMetricDefinitionFilterSensitiveLog: () => CustomMetricDefinitionFilterSensitiveLog,
|
|
65
|
+
CustomModelDeploymentStatus: () => CustomModelDeploymentStatus,
|
|
64
66
|
CustomizationConfig: () => CustomizationConfig,
|
|
65
67
|
CustomizationType: () => CustomizationType,
|
|
66
68
|
DeleteCustomModelCommand: () => DeleteCustomModelCommand,
|
|
69
|
+
DeleteCustomModelDeploymentCommand: () => DeleteCustomModelDeploymentCommand,
|
|
67
70
|
DeleteFoundationModelAgreementCommand: () => DeleteFoundationModelAgreementCommand,
|
|
68
71
|
DeleteGuardrailCommand: () => DeleteGuardrailCommand,
|
|
69
72
|
DeleteImportedModelCommand: () => DeleteImportedModelCommand,
|
|
@@ -98,6 +101,7 @@ __export(index_exports, {
|
|
|
98
101
|
FoundationModelLifecycleStatus: () => FoundationModelLifecycleStatus,
|
|
99
102
|
GenerationConfigurationFilterSensitiveLog: () => GenerationConfigurationFilterSensitiveLog,
|
|
100
103
|
GetCustomModelCommand: () => GetCustomModelCommand,
|
|
104
|
+
GetCustomModelDeploymentCommand: () => GetCustomModelDeploymentCommand,
|
|
101
105
|
GetCustomModelResponseFilterSensitiveLog: () => GetCustomModelResponseFilterSensitiveLog,
|
|
102
106
|
GetEvaluationJobCommand: () => GetEvaluationJobCommand,
|
|
103
107
|
GetEvaluationJobRequestFilterSensitiveLog: () => GetEvaluationJobRequestFilterSensitiveLog,
|
|
@@ -177,6 +181,7 @@ __export(index_exports, {
|
|
|
177
181
|
KnowledgeBaseRetrievalConfigurationFilterSensitiveLog: () => KnowledgeBaseRetrievalConfigurationFilterSensitiveLog,
|
|
178
182
|
KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog: () => KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog,
|
|
179
183
|
KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: () => KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
|
|
184
|
+
ListCustomModelDeploymentsCommand: () => ListCustomModelDeploymentsCommand,
|
|
180
185
|
ListCustomModelsCommand: () => ListCustomModelsCommand,
|
|
181
186
|
ListEvaluationJobsCommand: () => ListEvaluationJobsCommand,
|
|
182
187
|
ListFoundationModelAgreementOffersCommand: () => ListFoundationModelAgreementOffersCommand,
|
|
@@ -263,6 +268,7 @@ __export(index_exports, {
|
|
|
263
268
|
VectorSearchRerankingConfigurationFilterSensitiveLog: () => VectorSearchRerankingConfigurationFilterSensitiveLog,
|
|
264
269
|
VectorSearchRerankingConfigurationType: () => VectorSearchRerankingConfigurationType,
|
|
265
270
|
__Client: () => import_smithy_client.Client,
|
|
271
|
+
paginateListCustomModelDeployments: () => paginateListCustomModelDeployments,
|
|
266
272
|
paginateListCustomModels: () => paginateListCustomModels,
|
|
267
273
|
paginateListEvaluationJobs: () => paginateListEvaluationJobs,
|
|
268
274
|
paginateListGuardrails: () => paginateListGuardrails,
|
|
@@ -616,13 +622,6 @@ var ServiceUnavailableException = class _ServiceUnavailableException extends Bed
|
|
|
616
622
|
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
617
623
|
}
|
|
618
624
|
};
|
|
619
|
-
var ModelDataSource;
|
|
620
|
-
((ModelDataSource3) => {
|
|
621
|
-
ModelDataSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
622
|
-
if (value.s3DataSource !== void 0) return visitor.s3DataSource(value.s3DataSource);
|
|
623
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
624
|
-
}, "visit");
|
|
625
|
-
})(ModelDataSource || (ModelDataSource = {}));
|
|
626
625
|
var TooManyTagsException = class _TooManyTagsException extends BedrockServiceException {
|
|
627
626
|
static {
|
|
628
627
|
__name(this, "TooManyTagsException");
|
|
@@ -647,6 +646,25 @@ var TooManyTagsException = class _TooManyTagsException extends BedrockServiceExc
|
|
|
647
646
|
this.resourceName = opts.resourceName;
|
|
648
647
|
}
|
|
649
648
|
};
|
|
649
|
+
var CustomModelDeploymentStatus = {
|
|
650
|
+
ACTIVE: "Active",
|
|
651
|
+
CREATING: "Creating",
|
|
652
|
+
FAILED: "Failed"
|
|
653
|
+
};
|
|
654
|
+
var SortModelsBy = {
|
|
655
|
+
CREATION_TIME: "CreationTime"
|
|
656
|
+
};
|
|
657
|
+
var SortOrder = {
|
|
658
|
+
ASCENDING: "Ascending",
|
|
659
|
+
DESCENDING: "Descending"
|
|
660
|
+
};
|
|
661
|
+
var ModelDataSource;
|
|
662
|
+
((ModelDataSource3) => {
|
|
663
|
+
ModelDataSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
664
|
+
if (value.s3DataSource !== void 0) return visitor.s3DataSource(value.s3DataSource);
|
|
665
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
666
|
+
}, "visit");
|
|
667
|
+
})(ModelDataSource || (ModelDataSource = {}));
|
|
650
668
|
var CustomizationConfig;
|
|
651
669
|
((CustomizationConfig4) => {
|
|
652
670
|
CustomizationConfig4.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -682,13 +700,6 @@ var RequestMetadataFilters;
|
|
|
682
700
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
683
701
|
}, "visit");
|
|
684
702
|
})(RequestMetadataFilters || (RequestMetadataFilters = {}));
|
|
685
|
-
var SortModelsBy = {
|
|
686
|
-
CREATION_TIME: "CreationTime"
|
|
687
|
-
};
|
|
688
|
-
var SortOrder = {
|
|
689
|
-
ASCENDING: "Ascending",
|
|
690
|
-
DESCENDING: "Descending"
|
|
691
|
-
};
|
|
692
703
|
var EvaluationJobStatus = {
|
|
693
704
|
COMPLETED: "Completed",
|
|
694
705
|
DELETING: "Deleting",
|
|
@@ -999,10 +1010,6 @@ var ProvisionedModelStatus = {
|
|
|
999
1010
|
var SortByProvisionedModels = {
|
|
1000
1011
|
CREATION_TIME: "CreationTime"
|
|
1001
1012
|
};
|
|
1002
|
-
var AuthorizationStatus = {
|
|
1003
|
-
AUTHORIZED: "AUTHORIZED",
|
|
1004
|
-
NOT_AUTHORIZED: "NOT_AUTHORIZED"
|
|
1005
|
-
};
|
|
1006
1013
|
var RequestMetadataBaseFiltersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1007
1014
|
...obj,
|
|
1008
1015
|
...obj.equals && { equals: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1454,6 +1461,10 @@ var import_uuid = require("uuid");
|
|
|
1454
1461
|
|
|
1455
1462
|
// src/models/models_1.ts
|
|
1456
1463
|
|
|
1464
|
+
var AuthorizationStatus = {
|
|
1465
|
+
AUTHORIZED: "AUTHORIZED",
|
|
1466
|
+
NOT_AUTHORIZED: "NOT_AUTHORIZED"
|
|
1467
|
+
};
|
|
1457
1468
|
var EntitlementAvailability = {
|
|
1458
1469
|
AVAILABLE: "AVAILABLE",
|
|
1459
1470
|
NOT_AVAILABLE: "NOT_AVAILABLE"
|
|
@@ -1676,6 +1687,25 @@ var se_CreateCustomModelCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1676
1687
|
b.m("POST").h(headers).b(body);
|
|
1677
1688
|
return b.build();
|
|
1678
1689
|
}, "se_CreateCustomModelCommand");
|
|
1690
|
+
var se_CreateCustomModelDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1691
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1692
|
+
const headers = {
|
|
1693
|
+
"content-type": "application/json"
|
|
1694
|
+
};
|
|
1695
|
+
b.bp("/model-customization/custom-model-deployments");
|
|
1696
|
+
let body;
|
|
1697
|
+
body = JSON.stringify(
|
|
1698
|
+
(0, import_smithy_client.take)(input, {
|
|
1699
|
+
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1700
|
+
description: [],
|
|
1701
|
+
modelArn: [],
|
|
1702
|
+
modelDeploymentName: [],
|
|
1703
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1704
|
+
})
|
|
1705
|
+
);
|
|
1706
|
+
b.m("POST").h(headers).b(body);
|
|
1707
|
+
return b.build();
|
|
1708
|
+
}, "se_CreateCustomModelDeploymentCommand");
|
|
1679
1709
|
var se_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1680
1710
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1681
1711
|
const headers = {
|
|
@@ -1943,6 +1973,20 @@ var se_DeleteCustomModelCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1943
1973
|
b.m("DELETE").h(headers).b(body);
|
|
1944
1974
|
return b.build();
|
|
1945
1975
|
}, "se_DeleteCustomModelCommand");
|
|
1976
|
+
var se_DeleteCustomModelDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1977
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1978
|
+
const headers = {};
|
|
1979
|
+
b.bp("/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}");
|
|
1980
|
+
b.p(
|
|
1981
|
+
"customModelDeploymentIdentifier",
|
|
1982
|
+
() => input.customModelDeploymentIdentifier,
|
|
1983
|
+
"{customModelDeploymentIdentifier}",
|
|
1984
|
+
false
|
|
1985
|
+
);
|
|
1986
|
+
let body;
|
|
1987
|
+
b.m("DELETE").h(headers).b(body);
|
|
1988
|
+
return b.build();
|
|
1989
|
+
}, "se_DeleteCustomModelDeploymentCommand");
|
|
1946
1990
|
var se_DeleteFoundationModelAgreementCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1947
1991
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1948
1992
|
const headers = {
|
|
@@ -2041,6 +2085,20 @@ var se_GetCustomModelCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
2041
2085
|
b.m("GET").h(headers).b(body);
|
|
2042
2086
|
return b.build();
|
|
2043
2087
|
}, "se_GetCustomModelCommand");
|
|
2088
|
+
var se_GetCustomModelDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2089
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2090
|
+
const headers = {};
|
|
2091
|
+
b.bp("/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}");
|
|
2092
|
+
b.p(
|
|
2093
|
+
"customModelDeploymentIdentifier",
|
|
2094
|
+
() => input.customModelDeploymentIdentifier,
|
|
2095
|
+
"{customModelDeploymentIdentifier}",
|
|
2096
|
+
false
|
|
2097
|
+
);
|
|
2098
|
+
let body;
|
|
2099
|
+
b.m("GET").h(headers).b(body);
|
|
2100
|
+
return b.build();
|
|
2101
|
+
}, "se_GetCustomModelDeploymentCommand");
|
|
2044
2102
|
var se_GetEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2045
2103
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2046
2104
|
const headers = {};
|
|
@@ -2177,6 +2235,25 @@ var se_GetUseCaseForModelAccessCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
2177
2235
|
b.m("GET").h(headers).b(body);
|
|
2178
2236
|
return b.build();
|
|
2179
2237
|
}, "se_GetUseCaseForModelAccessCommand");
|
|
2238
|
+
var se_ListCustomModelDeploymentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2239
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2240
|
+
const headers = {};
|
|
2241
|
+
b.bp("/model-customization/custom-model-deployments");
|
|
2242
|
+
const query = (0, import_smithy_client.map)({
|
|
2243
|
+
[_cB]: [() => input.createdBefore !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cB]).toString()],
|
|
2244
|
+
[_cA]: [() => input.createdAfter !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_cA]).toString()],
|
|
2245
|
+
[_nC]: [, input[_nC]],
|
|
2246
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
2247
|
+
[_nT]: [, input[_nT]],
|
|
2248
|
+
[_sB]: [, input[_sB]],
|
|
2249
|
+
[_sO]: [, input[_sO]],
|
|
2250
|
+
[_sE]: [, input[_sE]],
|
|
2251
|
+
[_mAE]: [, input[_mAE]]
|
|
2252
|
+
});
|
|
2253
|
+
let body;
|
|
2254
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2255
|
+
return b.build();
|
|
2256
|
+
}, "se_ListCustomModelDeploymentsCommand");
|
|
2180
2257
|
var se_ListCustomModelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2181
2258
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2182
2259
|
const headers = {};
|
|
@@ -2601,7 +2678,7 @@ var de_BatchDeleteEvaluationJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2601
2678
|
return contents;
|
|
2602
2679
|
}, "de_BatchDeleteEvaluationJobCommand");
|
|
2603
2680
|
var de_CreateCustomModelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2604
|
-
if (output.statusCode !==
|
|
2681
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2605
2682
|
return de_CommandError(output, context);
|
|
2606
2683
|
}
|
|
2607
2684
|
const contents = (0, import_smithy_client.map)({
|
|
@@ -2614,6 +2691,20 @@ var de_CreateCustomModelCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2614
2691
|
Object.assign(contents, doc);
|
|
2615
2692
|
return contents;
|
|
2616
2693
|
}, "de_CreateCustomModelCommand");
|
|
2694
|
+
var de_CreateCustomModelDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2695
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2696
|
+
return de_CommandError(output, context);
|
|
2697
|
+
}
|
|
2698
|
+
const contents = (0, import_smithy_client.map)({
|
|
2699
|
+
$metadata: deserializeMetadata(output)
|
|
2700
|
+
});
|
|
2701
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2702
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2703
|
+
customModelDeploymentArn: import_smithy_client.expectString
|
|
2704
|
+
});
|
|
2705
|
+
Object.assign(contents, doc);
|
|
2706
|
+
return contents;
|
|
2707
|
+
}, "de_CreateCustomModelDeploymentCommand");
|
|
2617
2708
|
var de_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2618
2709
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2619
2710
|
return de_CommandError(output, context);
|
|
@@ -2797,6 +2888,16 @@ var de_DeleteCustomModelCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2797
2888
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2798
2889
|
return contents;
|
|
2799
2890
|
}, "de_DeleteCustomModelCommand");
|
|
2891
|
+
var de_DeleteCustomModelDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2892
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2893
|
+
return de_CommandError(output, context);
|
|
2894
|
+
}
|
|
2895
|
+
const contents = (0, import_smithy_client.map)({
|
|
2896
|
+
$metadata: deserializeMetadata(output)
|
|
2897
|
+
});
|
|
2898
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2899
|
+
return contents;
|
|
2900
|
+
}, "de_DeleteCustomModelDeploymentCommand");
|
|
2800
2901
|
var de_DeleteFoundationModelAgreementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2801
2902
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2802
2903
|
return de_CommandError(output, context);
|
|
@@ -2917,6 +3018,27 @@ var de_GetCustomModelCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2917
3018
|
Object.assign(contents, doc);
|
|
2918
3019
|
return contents;
|
|
2919
3020
|
}, "de_GetCustomModelCommand");
|
|
3021
|
+
var de_GetCustomModelDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3022
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3023
|
+
return de_CommandError(output, context);
|
|
3024
|
+
}
|
|
3025
|
+
const contents = (0, import_smithy_client.map)({
|
|
3026
|
+
$metadata: deserializeMetadata(output)
|
|
3027
|
+
});
|
|
3028
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3029
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3030
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
3031
|
+
customModelDeploymentArn: import_smithy_client.expectString,
|
|
3032
|
+
description: import_smithy_client.expectString,
|
|
3033
|
+
failureMessage: import_smithy_client.expectString,
|
|
3034
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
3035
|
+
modelArn: import_smithy_client.expectString,
|
|
3036
|
+
modelDeploymentName: import_smithy_client.expectString,
|
|
3037
|
+
status: import_smithy_client.expectString
|
|
3038
|
+
});
|
|
3039
|
+
Object.assign(contents, doc);
|
|
3040
|
+
return contents;
|
|
3041
|
+
}, "de_GetCustomModelDeploymentCommand");
|
|
2920
3042
|
var de_GetEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2921
3043
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2922
3044
|
return de_CommandError(output, context);
|
|
@@ -3258,6 +3380,21 @@ var de_GetUseCaseForModelAccessCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3258
3380
|
Object.assign(contents, doc);
|
|
3259
3381
|
return contents;
|
|
3260
3382
|
}, "de_GetUseCaseForModelAccessCommand");
|
|
3383
|
+
var de_ListCustomModelDeploymentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3384
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3385
|
+
return de_CommandError(output, context);
|
|
3386
|
+
}
|
|
3387
|
+
const contents = (0, import_smithy_client.map)({
|
|
3388
|
+
$metadata: deserializeMetadata(output)
|
|
3389
|
+
});
|
|
3390
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3391
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3392
|
+
modelDeploymentSummaries: /* @__PURE__ */ __name((_) => de_CustomModelDeploymentSummaryList(_, context), "modelDeploymentSummaries"),
|
|
3393
|
+
nextToken: import_smithy_client.expectString
|
|
3394
|
+
});
|
|
3395
|
+
Object.assign(contents, doc);
|
|
3396
|
+
return contents;
|
|
3397
|
+
}, "de_ListCustomModelDeploymentsCommand");
|
|
3261
3398
|
var de_ListCustomModelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3262
3399
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3263
3400
|
return de_CommandError(output, context);
|
|
@@ -4082,6 +4219,23 @@ var de_CustomMetricDefinition = /* @__PURE__ */ __name((output, context) => {
|
|
|
4082
4219
|
ratingScale: /* @__PURE__ */ __name((_) => de_RatingScale(_, context), "ratingScale")
|
|
4083
4220
|
});
|
|
4084
4221
|
}, "de_CustomMetricDefinition");
|
|
4222
|
+
var de_CustomModelDeploymentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4223
|
+
return (0, import_smithy_client.take)(output, {
|
|
4224
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
4225
|
+
customModelDeploymentArn: import_smithy_client.expectString,
|
|
4226
|
+
customModelDeploymentName: import_smithy_client.expectString,
|
|
4227
|
+
failureMessage: import_smithy_client.expectString,
|
|
4228
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
|
|
4229
|
+
modelArn: import_smithy_client.expectString,
|
|
4230
|
+
status: import_smithy_client.expectString
|
|
4231
|
+
});
|
|
4232
|
+
}, "de_CustomModelDeploymentSummary");
|
|
4233
|
+
var de_CustomModelDeploymentSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
4234
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4235
|
+
return de_CustomModelDeploymentSummary(entry, context);
|
|
4236
|
+
});
|
|
4237
|
+
return retVal;
|
|
4238
|
+
}, "de_CustomModelDeploymentSummaryList");
|
|
4085
4239
|
var de_CustomModelSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4086
4240
|
return (0, import_smithy_client.take)(output, {
|
|
4087
4241
|
baseModelArn: import_smithy_client.expectString,
|
|
@@ -4677,6 +4831,8 @@ var _bIT = "byInferenceType";
|
|
|
4677
4831
|
var _bMAE = "baseModelArnEquals";
|
|
4678
4832
|
var _bOM = "byOutputModality";
|
|
4679
4833
|
var _bP = "byProvider";
|
|
4834
|
+
var _cA = "createdAfter";
|
|
4835
|
+
var _cB = "createdBefore";
|
|
4680
4836
|
var _cTA = "creationTimeAfter";
|
|
4681
4837
|
var _cTB = "creationTimeBefore";
|
|
4682
4838
|
var _fMAE = "foundationModelArnEquals";
|
|
@@ -4730,6 +4886,21 @@ var CreateCustomModelCommand = class extends import_smithy_client.Command.classB
|
|
|
4730
4886
|
}
|
|
4731
4887
|
};
|
|
4732
4888
|
|
|
4889
|
+
// src/commands/CreateCustomModelDeploymentCommand.ts
|
|
4890
|
+
|
|
4891
|
+
|
|
4892
|
+
|
|
4893
|
+
var CreateCustomModelDeploymentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4894
|
+
return [
|
|
4895
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4896
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4897
|
+
];
|
|
4898
|
+
}).s("AmazonBedrockControlPlaneService", "CreateCustomModelDeployment", {}).n("BedrockClient", "CreateCustomModelDeploymentCommand").f(void 0, void 0).ser(se_CreateCustomModelDeploymentCommand).de(de_CreateCustomModelDeploymentCommand).build() {
|
|
4899
|
+
static {
|
|
4900
|
+
__name(this, "CreateCustomModelDeploymentCommand");
|
|
4901
|
+
}
|
|
4902
|
+
};
|
|
4903
|
+
|
|
4733
4904
|
// src/commands/CreateEvaluationJobCommand.ts
|
|
4734
4905
|
|
|
4735
4906
|
|
|
@@ -4925,6 +5096,21 @@ var DeleteCustomModelCommand = class extends import_smithy_client.Command.classB
|
|
|
4925
5096
|
}
|
|
4926
5097
|
};
|
|
4927
5098
|
|
|
5099
|
+
// src/commands/DeleteCustomModelDeploymentCommand.ts
|
|
5100
|
+
|
|
5101
|
+
|
|
5102
|
+
|
|
5103
|
+
var DeleteCustomModelDeploymentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5104
|
+
return [
|
|
5105
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5106
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5107
|
+
];
|
|
5108
|
+
}).s("AmazonBedrockControlPlaneService", "DeleteCustomModelDeployment", {}).n("BedrockClient", "DeleteCustomModelDeploymentCommand").f(void 0, void 0).ser(se_DeleteCustomModelDeploymentCommand).de(de_DeleteCustomModelDeploymentCommand).build() {
|
|
5109
|
+
static {
|
|
5110
|
+
__name(this, "DeleteCustomModelDeploymentCommand");
|
|
5111
|
+
}
|
|
5112
|
+
};
|
|
5113
|
+
|
|
4928
5114
|
// src/commands/DeleteFoundationModelAgreementCommand.ts
|
|
4929
5115
|
|
|
4930
5116
|
|
|
@@ -5075,6 +5261,21 @@ var GetCustomModelCommand = class extends import_smithy_client.Command.classBuil
|
|
|
5075
5261
|
}
|
|
5076
5262
|
};
|
|
5077
5263
|
|
|
5264
|
+
// src/commands/GetCustomModelDeploymentCommand.ts
|
|
5265
|
+
|
|
5266
|
+
|
|
5267
|
+
|
|
5268
|
+
var GetCustomModelDeploymentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5269
|
+
return [
|
|
5270
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5271
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5272
|
+
];
|
|
5273
|
+
}).s("AmazonBedrockControlPlaneService", "GetCustomModelDeployment", {}).n("BedrockClient", "GetCustomModelDeploymentCommand").f(void 0, void 0).ser(se_GetCustomModelDeploymentCommand).de(de_GetCustomModelDeploymentCommand).build() {
|
|
5274
|
+
static {
|
|
5275
|
+
__name(this, "GetCustomModelDeploymentCommand");
|
|
5276
|
+
}
|
|
5277
|
+
};
|
|
5278
|
+
|
|
5078
5279
|
// src/commands/GetEvaluationJobCommand.ts
|
|
5079
5280
|
|
|
5080
5281
|
|
|
@@ -5300,6 +5501,21 @@ var GetUseCaseForModelAccessCommand = class extends import_smithy_client.Command
|
|
|
5300
5501
|
}
|
|
5301
5502
|
};
|
|
5302
5503
|
|
|
5504
|
+
// src/commands/ListCustomModelDeploymentsCommand.ts
|
|
5505
|
+
|
|
5506
|
+
|
|
5507
|
+
|
|
5508
|
+
var ListCustomModelDeploymentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5509
|
+
return [
|
|
5510
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5511
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5512
|
+
];
|
|
5513
|
+
}).s("AmazonBedrockControlPlaneService", "ListCustomModelDeployments", {}).n("BedrockClient", "ListCustomModelDeploymentsCommand").f(void 0, void 0).ser(se_ListCustomModelDeploymentsCommand).de(de_ListCustomModelDeploymentsCommand).build() {
|
|
5514
|
+
static {
|
|
5515
|
+
__name(this, "ListCustomModelDeploymentsCommand");
|
|
5516
|
+
}
|
|
5517
|
+
};
|
|
5518
|
+
|
|
5303
5519
|
// src/commands/ListCustomModelsCommand.ts
|
|
5304
5520
|
|
|
5305
5521
|
|
|
@@ -5694,6 +5910,7 @@ var UpdateProvisionedModelThroughputCommand = class extends import_smithy_client
|
|
|
5694
5910
|
var commands = {
|
|
5695
5911
|
BatchDeleteEvaluationJobCommand,
|
|
5696
5912
|
CreateCustomModelCommand,
|
|
5913
|
+
CreateCustomModelDeploymentCommand,
|
|
5697
5914
|
CreateEvaluationJobCommand,
|
|
5698
5915
|
CreateFoundationModelAgreementCommand,
|
|
5699
5916
|
CreateGuardrailCommand,
|
|
@@ -5707,6 +5924,7 @@ var commands = {
|
|
|
5707
5924
|
CreatePromptRouterCommand,
|
|
5708
5925
|
CreateProvisionedModelThroughputCommand,
|
|
5709
5926
|
DeleteCustomModelCommand,
|
|
5927
|
+
DeleteCustomModelDeploymentCommand,
|
|
5710
5928
|
DeleteFoundationModelAgreementCommand,
|
|
5711
5929
|
DeleteGuardrailCommand,
|
|
5712
5930
|
DeleteImportedModelCommand,
|
|
@@ -5717,6 +5935,7 @@ var commands = {
|
|
|
5717
5935
|
DeleteProvisionedModelThroughputCommand,
|
|
5718
5936
|
DeregisterMarketplaceModelEndpointCommand,
|
|
5719
5937
|
GetCustomModelCommand,
|
|
5938
|
+
GetCustomModelDeploymentCommand,
|
|
5720
5939
|
GetEvaluationJobCommand,
|
|
5721
5940
|
GetFoundationModelCommand,
|
|
5722
5941
|
GetFoundationModelAvailabilityCommand,
|
|
@@ -5732,6 +5951,7 @@ var commands = {
|
|
|
5732
5951
|
GetPromptRouterCommand,
|
|
5733
5952
|
GetProvisionedModelThroughputCommand,
|
|
5734
5953
|
GetUseCaseForModelAccessCommand,
|
|
5954
|
+
ListCustomModelDeploymentsCommand,
|
|
5735
5955
|
ListCustomModelsCommand,
|
|
5736
5956
|
ListEvaluationJobsCommand,
|
|
5737
5957
|
ListFoundationModelAgreementOffersCommand,
|
|
@@ -5766,6 +5986,10 @@ var Bedrock = class extends BedrockClient {
|
|
|
5766
5986
|
};
|
|
5767
5987
|
(0, import_smithy_client.createAggregatedClient)(commands, Bedrock);
|
|
5768
5988
|
|
|
5989
|
+
// src/pagination/ListCustomModelDeploymentsPaginator.ts
|
|
5990
|
+
|
|
5991
|
+
var paginateListCustomModelDeployments = (0, import_core.createPaginator)(BedrockClient, ListCustomModelDeploymentsCommand, "nextToken", "nextToken", "maxResults");
|
|
5992
|
+
|
|
5769
5993
|
// src/pagination/ListCustomModelsPaginator.ts
|
|
5770
5994
|
|
|
5771
5995
|
var paginateListCustomModels = (0, import_core.createPaginator)(BedrockClient, ListCustomModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5823,6 +6047,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5823
6047
|
$Command,
|
|
5824
6048
|
BatchDeleteEvaluationJobCommand,
|
|
5825
6049
|
CreateCustomModelCommand,
|
|
6050
|
+
CreateCustomModelDeploymentCommand,
|
|
5826
6051
|
CreateEvaluationJobCommand,
|
|
5827
6052
|
CreateFoundationModelAgreementCommand,
|
|
5828
6053
|
CreateGuardrailCommand,
|
|
@@ -5836,6 +6061,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5836
6061
|
CreatePromptRouterCommand,
|
|
5837
6062
|
CreateProvisionedModelThroughputCommand,
|
|
5838
6063
|
DeleteCustomModelCommand,
|
|
6064
|
+
DeleteCustomModelDeploymentCommand,
|
|
5839
6065
|
DeleteFoundationModelAgreementCommand,
|
|
5840
6066
|
DeleteGuardrailCommand,
|
|
5841
6067
|
DeleteImportedModelCommand,
|
|
@@ -5846,6 +6072,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5846
6072
|
DeleteProvisionedModelThroughputCommand,
|
|
5847
6073
|
DeregisterMarketplaceModelEndpointCommand,
|
|
5848
6074
|
GetCustomModelCommand,
|
|
6075
|
+
GetCustomModelDeploymentCommand,
|
|
5849
6076
|
GetEvaluationJobCommand,
|
|
5850
6077
|
GetFoundationModelAvailabilityCommand,
|
|
5851
6078
|
GetFoundationModelCommand,
|
|
@@ -5861,6 +6088,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5861
6088
|
GetPromptRouterCommand,
|
|
5862
6089
|
GetProvisionedModelThroughputCommand,
|
|
5863
6090
|
GetUseCaseForModelAccessCommand,
|
|
6091
|
+
ListCustomModelDeploymentsCommand,
|
|
5864
6092
|
ListCustomModelsCommand,
|
|
5865
6093
|
ListEvaluationJobsCommand,
|
|
5866
6094
|
ListFoundationModelAgreementOffersCommand,
|
|
@@ -5887,6 +6115,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5887
6115
|
UpdateGuardrailCommand,
|
|
5888
6116
|
UpdateMarketplaceModelEndpointCommand,
|
|
5889
6117
|
UpdateProvisionedModelThroughputCommand,
|
|
6118
|
+
paginateListCustomModelDeployments,
|
|
5890
6119
|
paginateListCustomModels,
|
|
5891
6120
|
paginateListEvaluationJobs,
|
|
5892
6121
|
paginateListGuardrails,
|
|
@@ -5910,15 +6139,16 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5910
6139
|
Status,
|
|
5911
6140
|
ServiceQuotaExceededException,
|
|
5912
6141
|
ServiceUnavailableException,
|
|
5913
|
-
ModelDataSource,
|
|
5914
6142
|
TooManyTagsException,
|
|
6143
|
+
CustomModelDeploymentStatus,
|
|
6144
|
+
SortModelsBy,
|
|
6145
|
+
SortOrder,
|
|
6146
|
+
ModelDataSource,
|
|
5915
6147
|
CustomizationConfig,
|
|
5916
6148
|
CustomizationType,
|
|
5917
6149
|
ModelStatus,
|
|
5918
6150
|
InvocationLogSource,
|
|
5919
6151
|
RequestMetadataFilters,
|
|
5920
|
-
SortModelsBy,
|
|
5921
|
-
SortOrder,
|
|
5922
6152
|
EvaluationJobStatus,
|
|
5923
6153
|
ApplicationType,
|
|
5924
6154
|
RatingScaleItemValue,
|
|
@@ -5973,7 +6203,6 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
5973
6203
|
CommitmentDuration,
|
|
5974
6204
|
ProvisionedModelStatus,
|
|
5975
6205
|
SortByProvisionedModels,
|
|
5976
|
-
AuthorizationStatus,
|
|
5977
6206
|
RequestMetadataBaseFiltersFilterSensitiveLog,
|
|
5978
6207
|
RequestMetadataFiltersFilterSensitiveLog,
|
|
5979
6208
|
InvocationLogsConfigFilterSensitiveLog,
|
|
@@ -6048,6 +6277,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
6048
6277
|
GetPromptRouterResponseFilterSensitiveLog,
|
|
6049
6278
|
PromptRouterSummaryFilterSensitiveLog,
|
|
6050
6279
|
ListPromptRoutersResponseFilterSensitiveLog,
|
|
6280
|
+
AuthorizationStatus,
|
|
6051
6281
|
EntitlementAvailability,
|
|
6052
6282
|
RegionAvailability,
|
|
6053
6283
|
OfferType,
|
package/dist-es/Bedrock.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
3
3
|
import { BatchDeleteEvaluationJobCommand, } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
4
4
|
import { CreateCustomModelCommand, } from "./commands/CreateCustomModelCommand";
|
|
5
|
+
import { CreateCustomModelDeploymentCommand, } from "./commands/CreateCustomModelDeploymentCommand";
|
|
5
6
|
import { CreateEvaluationJobCommand, } from "./commands/CreateEvaluationJobCommand";
|
|
6
7
|
import { CreateFoundationModelAgreementCommand, } from "./commands/CreateFoundationModelAgreementCommand";
|
|
7
8
|
import { CreateGuardrailCommand, } from "./commands/CreateGuardrailCommand";
|
|
@@ -15,6 +16,7 @@ import { CreateModelInvocationJobCommand, } from "./commands/CreateModelInvocati
|
|
|
15
16
|
import { CreatePromptRouterCommand, } from "./commands/CreatePromptRouterCommand";
|
|
16
17
|
import { CreateProvisionedModelThroughputCommand, } from "./commands/CreateProvisionedModelThroughputCommand";
|
|
17
18
|
import { DeleteCustomModelCommand, } from "./commands/DeleteCustomModelCommand";
|
|
19
|
+
import { DeleteCustomModelDeploymentCommand, } from "./commands/DeleteCustomModelDeploymentCommand";
|
|
18
20
|
import { DeleteFoundationModelAgreementCommand, } from "./commands/DeleteFoundationModelAgreementCommand";
|
|
19
21
|
import { DeleteGuardrailCommand, } from "./commands/DeleteGuardrailCommand";
|
|
20
22
|
import { DeleteImportedModelCommand, } from "./commands/DeleteImportedModelCommand";
|
|
@@ -25,6 +27,7 @@ import { DeletePromptRouterCommand, } from "./commands/DeletePromptRouterCommand
|
|
|
25
27
|
import { DeleteProvisionedModelThroughputCommand, } from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
26
28
|
import { DeregisterMarketplaceModelEndpointCommand, } from "./commands/DeregisterMarketplaceModelEndpointCommand";
|
|
27
29
|
import { GetCustomModelCommand, } from "./commands/GetCustomModelCommand";
|
|
30
|
+
import { GetCustomModelDeploymentCommand, } from "./commands/GetCustomModelDeploymentCommand";
|
|
28
31
|
import { GetEvaluationJobCommand, } from "./commands/GetEvaluationJobCommand";
|
|
29
32
|
import { GetFoundationModelAvailabilityCommand, } from "./commands/GetFoundationModelAvailabilityCommand";
|
|
30
33
|
import { GetFoundationModelCommand, } from "./commands/GetFoundationModelCommand";
|
|
@@ -40,6 +43,7 @@ import { GetModelInvocationLoggingConfigurationCommand, } from "./commands/GetMo
|
|
|
40
43
|
import { GetPromptRouterCommand, } from "./commands/GetPromptRouterCommand";
|
|
41
44
|
import { GetProvisionedModelThroughputCommand, } from "./commands/GetProvisionedModelThroughputCommand";
|
|
42
45
|
import { GetUseCaseForModelAccessCommand, } from "./commands/GetUseCaseForModelAccessCommand";
|
|
46
|
+
import { ListCustomModelDeploymentsCommand, } from "./commands/ListCustomModelDeploymentsCommand";
|
|
43
47
|
import { ListCustomModelsCommand, } from "./commands/ListCustomModelsCommand";
|
|
44
48
|
import { ListEvaluationJobsCommand, } from "./commands/ListEvaluationJobsCommand";
|
|
45
49
|
import { ListFoundationModelAgreementOffersCommand, } from "./commands/ListFoundationModelAgreementOffersCommand";
|
|
@@ -69,6 +73,7 @@ import { UpdateProvisionedModelThroughputCommand, } from "./commands/UpdateProvi
|
|
|
69
73
|
const commands = {
|
|
70
74
|
BatchDeleteEvaluationJobCommand,
|
|
71
75
|
CreateCustomModelCommand,
|
|
76
|
+
CreateCustomModelDeploymentCommand,
|
|
72
77
|
CreateEvaluationJobCommand,
|
|
73
78
|
CreateFoundationModelAgreementCommand,
|
|
74
79
|
CreateGuardrailCommand,
|
|
@@ -82,6 +87,7 @@ const commands = {
|
|
|
82
87
|
CreatePromptRouterCommand,
|
|
83
88
|
CreateProvisionedModelThroughputCommand,
|
|
84
89
|
DeleteCustomModelCommand,
|
|
90
|
+
DeleteCustomModelDeploymentCommand,
|
|
85
91
|
DeleteFoundationModelAgreementCommand,
|
|
86
92
|
DeleteGuardrailCommand,
|
|
87
93
|
DeleteImportedModelCommand,
|
|
@@ -92,6 +98,7 @@ const commands = {
|
|
|
92
98
|
DeleteProvisionedModelThroughputCommand,
|
|
93
99
|
DeregisterMarketplaceModelEndpointCommand,
|
|
94
100
|
GetCustomModelCommand,
|
|
101
|
+
GetCustomModelDeploymentCommand,
|
|
95
102
|
GetEvaluationJobCommand,
|
|
96
103
|
GetFoundationModelCommand,
|
|
97
104
|
GetFoundationModelAvailabilityCommand,
|
|
@@ -107,6 +114,7 @@ const commands = {
|
|
|
107
114
|
GetPromptRouterCommand,
|
|
108
115
|
GetProvisionedModelThroughputCommand,
|
|
109
116
|
GetUseCaseForModelAccessCommand,
|
|
117
|
+
ListCustomModelDeploymentsCommand,
|
|
110
118
|
ListCustomModelsCommand,
|
|
111
119
|
ListEvaluationJobsCommand,
|
|
112
120
|
ListFoundationModelAgreementOffersCommand,
|