@aws-sdk/client-bedrock 3.846.0 → 3.848.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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateCustomModelDeploymentCommand, se_CreateCustomModelDeploymentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateCustomModelDeploymentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockControlPlaneService", "CreateCustomModelDeployment", {})
|
|
17
|
+
.n("BedrockClient", "CreateCustomModelDeploymentCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateCustomModelDeploymentCommand)
|
|
20
|
+
.de(de_CreateCustomModelDeploymentCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteCustomModelDeploymentCommand, se_DeleteCustomModelDeploymentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCustomModelDeploymentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockControlPlaneService", "DeleteCustomModelDeployment", {})
|
|
17
|
+
.n("BedrockClient", "DeleteCustomModelDeploymentCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteCustomModelDeploymentCommand)
|
|
20
|
+
.de(de_DeleteCustomModelDeploymentCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCustomModelDeploymentCommand, se_GetCustomModelDeploymentCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCustomModelDeploymentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockControlPlaneService", "GetCustomModelDeployment", {})
|
|
17
|
+
.n("BedrockClient", "GetCustomModelDeploymentCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCustomModelDeploymentCommand)
|
|
20
|
+
.de(de_GetCustomModelDeploymentCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCustomModelDeploymentsCommand, se_ListCustomModelDeploymentsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCustomModelDeploymentsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockControlPlaneService", "ListCustomModelDeployments", {})
|
|
17
|
+
.n("BedrockClient", "ListCustomModelDeploymentsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListCustomModelDeploymentsCommand)
|
|
20
|
+
.de(de_ListCustomModelDeploymentsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./BatchDeleteEvaluationJobCommand";
|
|
2
2
|
export * from "./CreateCustomModelCommand";
|
|
3
|
+
export * from "./CreateCustomModelDeploymentCommand";
|
|
3
4
|
export * from "./CreateEvaluationJobCommand";
|
|
4
5
|
export * from "./CreateFoundationModelAgreementCommand";
|
|
5
6
|
export * from "./CreateGuardrailCommand";
|
|
@@ -13,6 +14,7 @@ export * from "./CreateModelInvocationJobCommand";
|
|
|
13
14
|
export * from "./CreatePromptRouterCommand";
|
|
14
15
|
export * from "./CreateProvisionedModelThroughputCommand";
|
|
15
16
|
export * from "./DeleteCustomModelCommand";
|
|
17
|
+
export * from "./DeleteCustomModelDeploymentCommand";
|
|
16
18
|
export * from "./DeleteFoundationModelAgreementCommand";
|
|
17
19
|
export * from "./DeleteGuardrailCommand";
|
|
18
20
|
export * from "./DeleteImportedModelCommand";
|
|
@@ -23,6 +25,7 @@ export * from "./DeletePromptRouterCommand";
|
|
|
23
25
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
24
26
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
25
27
|
export * from "./GetCustomModelCommand";
|
|
28
|
+
export * from "./GetCustomModelDeploymentCommand";
|
|
26
29
|
export * from "./GetEvaluationJobCommand";
|
|
27
30
|
export * from "./GetFoundationModelAvailabilityCommand";
|
|
28
31
|
export * from "./GetFoundationModelCommand";
|
|
@@ -38,6 +41,7 @@ export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
|
38
41
|
export * from "./GetPromptRouterCommand";
|
|
39
42
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
40
43
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
44
|
+
export * from "./ListCustomModelDeploymentsCommand";
|
|
41
45
|
export * from "./ListCustomModelsCommand";
|
|
42
46
|
export * from "./ListEvaluationJobsCommand";
|
|
43
47
|
export * from "./ListFoundationModelAgreementOffersCommand";
|
|
@@ -114,14 +114,6 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
114
114
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
export var ModelDataSource;
|
|
118
|
-
(function (ModelDataSource) {
|
|
119
|
-
ModelDataSource.visit = (value, visitor) => {
|
|
120
|
-
if (value.s3DataSource !== undefined)
|
|
121
|
-
return visitor.s3DataSource(value.s3DataSource);
|
|
122
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
123
|
-
};
|
|
124
|
-
})(ModelDataSource || (ModelDataSource = {}));
|
|
125
117
|
export class TooManyTagsException extends __BaseException {
|
|
126
118
|
name = "TooManyTagsException";
|
|
127
119
|
$fault = "client";
|
|
@@ -136,6 +128,26 @@ export class TooManyTagsException extends __BaseException {
|
|
|
136
128
|
this.resourceName = opts.resourceName;
|
|
137
129
|
}
|
|
138
130
|
}
|
|
131
|
+
export const CustomModelDeploymentStatus = {
|
|
132
|
+
ACTIVE: "Active",
|
|
133
|
+
CREATING: "Creating",
|
|
134
|
+
FAILED: "Failed",
|
|
135
|
+
};
|
|
136
|
+
export const SortModelsBy = {
|
|
137
|
+
CREATION_TIME: "CreationTime",
|
|
138
|
+
};
|
|
139
|
+
export const SortOrder = {
|
|
140
|
+
ASCENDING: "Ascending",
|
|
141
|
+
DESCENDING: "Descending",
|
|
142
|
+
};
|
|
143
|
+
export var ModelDataSource;
|
|
144
|
+
(function (ModelDataSource) {
|
|
145
|
+
ModelDataSource.visit = (value, visitor) => {
|
|
146
|
+
if (value.s3DataSource !== undefined)
|
|
147
|
+
return visitor.s3DataSource(value.s3DataSource);
|
|
148
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
149
|
+
};
|
|
150
|
+
})(ModelDataSource || (ModelDataSource = {}));
|
|
139
151
|
export var CustomizationConfig;
|
|
140
152
|
(function (CustomizationConfig) {
|
|
141
153
|
CustomizationConfig.visit = (value, visitor) => {
|
|
@@ -177,13 +189,6 @@ export var RequestMetadataFilters;
|
|
|
177
189
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
178
190
|
};
|
|
179
191
|
})(RequestMetadataFilters || (RequestMetadataFilters = {}));
|
|
180
|
-
export const SortModelsBy = {
|
|
181
|
-
CREATION_TIME: "CreationTime",
|
|
182
|
-
};
|
|
183
|
-
export const SortOrder = {
|
|
184
|
-
ASCENDING: "Ascending",
|
|
185
|
-
DESCENDING: "Descending",
|
|
186
|
-
};
|
|
187
192
|
export const EvaluationJobStatus = {
|
|
188
193
|
COMPLETED: "Completed",
|
|
189
194
|
DELETING: "Deleting",
|
|
@@ -508,10 +513,6 @@ export const ProvisionedModelStatus = {
|
|
|
508
513
|
export const SortByProvisionedModels = {
|
|
509
514
|
CREATION_TIME: "CreationTime",
|
|
510
515
|
};
|
|
511
|
-
export const AuthorizationStatus = {
|
|
512
|
-
AUTHORIZED: "AUTHORIZED",
|
|
513
|
-
NOT_AUTHORIZED: "NOT_AUTHORIZED",
|
|
514
|
-
};
|
|
515
516
|
export const RequestMetadataBaseFiltersFilterSensitiveLog = (obj) => ({
|
|
516
517
|
...obj,
|
|
517
518
|
...(obj.equals && { equals: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { EvaluationConfigFilterSensitiveLog, EvaluationModelConfigFilterSensitiveLog, ExternalSourcesRetrieveAndGenerateConfigurationFilterSensitiveLog, GenerationConfigurationFilterSensitiveLog, ImplicitFilterConfigurationFilterSensitiveLog, TrainingDataConfigFilterSensitiveLog, VectorSearchRerankingConfigurationFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const AuthorizationStatus = {
|
|
4
|
+
AUTHORIZED: "AUTHORIZED",
|
|
5
|
+
NOT_AUTHORIZED: "NOT_AUTHORIZED",
|
|
6
|
+
};
|
|
3
7
|
export const EntitlementAvailability = {
|
|
4
8
|
AVAILABLE: "AVAILABLE",
|
|
5
9
|
NOT_AVAILABLE: "NOT_AVAILABLE",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockClient } from "../BedrockClient";
|
|
3
|
+
import { ListCustomModelDeploymentsCommand, } from "../commands/ListCustomModelDeploymentsCommand";
|
|
4
|
+
export const paginateListCustomModelDeployments = createPaginator(BedrockClient, ListCustomModelDeploymentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -36,6 +36,23 @@ export const se_CreateCustomModelCommand = async (input, context) => {
|
|
|
36
36
|
b.m("POST").h(headers).b(body);
|
|
37
37
|
return b.build();
|
|
38
38
|
};
|
|
39
|
+
export const se_CreateCustomModelDeploymentCommand = async (input, context) => {
|
|
40
|
+
const b = rb(input, context);
|
|
41
|
+
const headers = {
|
|
42
|
+
"content-type": "application/json",
|
|
43
|
+
};
|
|
44
|
+
b.bp("/model-customization/custom-model-deployments");
|
|
45
|
+
let body;
|
|
46
|
+
body = JSON.stringify(take(input, {
|
|
47
|
+
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
48
|
+
description: [],
|
|
49
|
+
modelArn: [],
|
|
50
|
+
modelDeploymentName: [],
|
|
51
|
+
tags: (_) => _json(_),
|
|
52
|
+
}));
|
|
53
|
+
b.m("POST").h(headers).b(body);
|
|
54
|
+
return b.build();
|
|
55
|
+
};
|
|
39
56
|
export const se_CreateEvaluationJobCommand = async (input, context) => {
|
|
40
57
|
const b = rb(input, context);
|
|
41
58
|
const headers = {
|
|
@@ -279,6 +296,15 @@ export const se_DeleteCustomModelCommand = async (input, context) => {
|
|
|
279
296
|
b.m("DELETE").h(headers).b(body);
|
|
280
297
|
return b.build();
|
|
281
298
|
};
|
|
299
|
+
export const se_DeleteCustomModelDeploymentCommand = async (input, context) => {
|
|
300
|
+
const b = rb(input, context);
|
|
301
|
+
const headers = {};
|
|
302
|
+
b.bp("/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}");
|
|
303
|
+
b.p("customModelDeploymentIdentifier", () => input.customModelDeploymentIdentifier, "{customModelDeploymentIdentifier}", false);
|
|
304
|
+
let body;
|
|
305
|
+
b.m("DELETE").h(headers).b(body);
|
|
306
|
+
return b.build();
|
|
307
|
+
};
|
|
282
308
|
export const se_DeleteFoundationModelAgreementCommand = async (input, context) => {
|
|
283
309
|
const b = rb(input, context);
|
|
284
310
|
const headers = {
|
|
@@ -375,6 +401,15 @@ export const se_GetCustomModelCommand = async (input, context) => {
|
|
|
375
401
|
b.m("GET").h(headers).b(body);
|
|
376
402
|
return b.build();
|
|
377
403
|
};
|
|
404
|
+
export const se_GetCustomModelDeploymentCommand = async (input, context) => {
|
|
405
|
+
const b = rb(input, context);
|
|
406
|
+
const headers = {};
|
|
407
|
+
b.bp("/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}");
|
|
408
|
+
b.p("customModelDeploymentIdentifier", () => input.customModelDeploymentIdentifier, "{customModelDeploymentIdentifier}", false);
|
|
409
|
+
let body;
|
|
410
|
+
b.m("GET").h(headers).b(body);
|
|
411
|
+
return b.build();
|
|
412
|
+
};
|
|
378
413
|
export const se_GetEvaluationJobCommand = async (input, context) => {
|
|
379
414
|
const b = rb(input, context);
|
|
380
415
|
const headers = {};
|
|
@@ -511,6 +546,25 @@ export const se_GetUseCaseForModelAccessCommand = async (input, context) => {
|
|
|
511
546
|
b.m("GET").h(headers).b(body);
|
|
512
547
|
return b.build();
|
|
513
548
|
};
|
|
549
|
+
export const se_ListCustomModelDeploymentsCommand = async (input, context) => {
|
|
550
|
+
const b = rb(input, context);
|
|
551
|
+
const headers = {};
|
|
552
|
+
b.bp("/model-customization/custom-model-deployments");
|
|
553
|
+
const query = map({
|
|
554
|
+
[_cB]: [() => input.createdBefore !== void 0, () => __serializeDateTime(input[_cB]).toString()],
|
|
555
|
+
[_cA]: [() => input.createdAfter !== void 0, () => __serializeDateTime(input[_cA]).toString()],
|
|
556
|
+
[_nC]: [, input[_nC]],
|
|
557
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
558
|
+
[_nT]: [, input[_nT]],
|
|
559
|
+
[_sB]: [, input[_sB]],
|
|
560
|
+
[_sO]: [, input[_sO]],
|
|
561
|
+
[_sE]: [, input[_sE]],
|
|
562
|
+
[_mAE]: [, input[_mAE]],
|
|
563
|
+
});
|
|
564
|
+
let body;
|
|
565
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
566
|
+
return b.build();
|
|
567
|
+
};
|
|
514
568
|
export const se_ListCustomModelsCommand = async (input, context) => {
|
|
515
569
|
const b = rb(input, context);
|
|
516
570
|
const headers = {};
|
|
@@ -917,7 +971,7 @@ export const de_BatchDeleteEvaluationJobCommand = async (output, context) => {
|
|
|
917
971
|
return contents;
|
|
918
972
|
};
|
|
919
973
|
export const de_CreateCustomModelCommand = async (output, context) => {
|
|
920
|
-
if (output.statusCode !==
|
|
974
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
921
975
|
return de_CommandError(output, context);
|
|
922
976
|
}
|
|
923
977
|
const contents = map({
|
|
@@ -930,6 +984,20 @@ export const de_CreateCustomModelCommand = async (output, context) => {
|
|
|
930
984
|
Object.assign(contents, doc);
|
|
931
985
|
return contents;
|
|
932
986
|
};
|
|
987
|
+
export const de_CreateCustomModelDeploymentCommand = async (output, context) => {
|
|
988
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
989
|
+
return de_CommandError(output, context);
|
|
990
|
+
}
|
|
991
|
+
const contents = map({
|
|
992
|
+
$metadata: deserializeMetadata(output),
|
|
993
|
+
});
|
|
994
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
995
|
+
const doc = take(data, {
|
|
996
|
+
customModelDeploymentArn: __expectString,
|
|
997
|
+
});
|
|
998
|
+
Object.assign(contents, doc);
|
|
999
|
+
return contents;
|
|
1000
|
+
};
|
|
933
1001
|
export const de_CreateEvaluationJobCommand = async (output, context) => {
|
|
934
1002
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
935
1003
|
return de_CommandError(output, context);
|
|
@@ -1113,6 +1181,16 @@ export const de_DeleteCustomModelCommand = async (output, context) => {
|
|
|
1113
1181
|
await collectBody(output.body, context);
|
|
1114
1182
|
return contents;
|
|
1115
1183
|
};
|
|
1184
|
+
export const de_DeleteCustomModelDeploymentCommand = async (output, context) => {
|
|
1185
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1186
|
+
return de_CommandError(output, context);
|
|
1187
|
+
}
|
|
1188
|
+
const contents = map({
|
|
1189
|
+
$metadata: deserializeMetadata(output),
|
|
1190
|
+
});
|
|
1191
|
+
await collectBody(output.body, context);
|
|
1192
|
+
return contents;
|
|
1193
|
+
};
|
|
1116
1194
|
export const de_DeleteFoundationModelAgreementCommand = async (output, context) => {
|
|
1117
1195
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1118
1196
|
return de_CommandError(output, context);
|
|
@@ -1233,6 +1311,27 @@ export const de_GetCustomModelCommand = async (output, context) => {
|
|
|
1233
1311
|
Object.assign(contents, doc);
|
|
1234
1312
|
return contents;
|
|
1235
1313
|
};
|
|
1314
|
+
export const de_GetCustomModelDeploymentCommand = async (output, context) => {
|
|
1315
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1316
|
+
return de_CommandError(output, context);
|
|
1317
|
+
}
|
|
1318
|
+
const contents = map({
|
|
1319
|
+
$metadata: deserializeMetadata(output),
|
|
1320
|
+
});
|
|
1321
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1322
|
+
const doc = take(data, {
|
|
1323
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1324
|
+
customModelDeploymentArn: __expectString,
|
|
1325
|
+
description: __expectString,
|
|
1326
|
+
failureMessage: __expectString,
|
|
1327
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1328
|
+
modelArn: __expectString,
|
|
1329
|
+
modelDeploymentName: __expectString,
|
|
1330
|
+
status: __expectString,
|
|
1331
|
+
});
|
|
1332
|
+
Object.assign(contents, doc);
|
|
1333
|
+
return contents;
|
|
1334
|
+
};
|
|
1236
1335
|
export const de_GetEvaluationJobCommand = async (output, context) => {
|
|
1237
1336
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1238
1337
|
return de_CommandError(output, context);
|
|
@@ -1574,6 +1673,21 @@ export const de_GetUseCaseForModelAccessCommand = async (output, context) => {
|
|
|
1574
1673
|
Object.assign(contents, doc);
|
|
1575
1674
|
return contents;
|
|
1576
1675
|
};
|
|
1676
|
+
export const de_ListCustomModelDeploymentsCommand = async (output, context) => {
|
|
1677
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1678
|
+
return de_CommandError(output, context);
|
|
1679
|
+
}
|
|
1680
|
+
const contents = map({
|
|
1681
|
+
$metadata: deserializeMetadata(output),
|
|
1682
|
+
});
|
|
1683
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1684
|
+
const doc = take(data, {
|
|
1685
|
+
modelDeploymentSummaries: (_) => de_CustomModelDeploymentSummaryList(_, context),
|
|
1686
|
+
nextToken: __expectString,
|
|
1687
|
+
});
|
|
1688
|
+
Object.assign(contents, doc);
|
|
1689
|
+
return contents;
|
|
1690
|
+
};
|
|
1577
1691
|
export const de_ListCustomModelsCommand = async (output, context) => {
|
|
1578
1692
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1579
1693
|
return de_CommandError(output, context);
|
|
@@ -2412,6 +2526,25 @@ const de_CustomMetricDefinition = (output, context) => {
|
|
|
2412
2526
|
ratingScale: (_) => de_RatingScale(_, context),
|
|
2413
2527
|
});
|
|
2414
2528
|
};
|
|
2529
|
+
const de_CustomModelDeploymentSummary = (output, context) => {
|
|
2530
|
+
return take(output, {
|
|
2531
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2532
|
+
customModelDeploymentArn: __expectString,
|
|
2533
|
+
customModelDeploymentName: __expectString,
|
|
2534
|
+
failureMessage: __expectString,
|
|
2535
|
+
lastUpdatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2536
|
+
modelArn: __expectString,
|
|
2537
|
+
status: __expectString,
|
|
2538
|
+
});
|
|
2539
|
+
};
|
|
2540
|
+
const de_CustomModelDeploymentSummaryList = (output, context) => {
|
|
2541
|
+
const retVal = (output || [])
|
|
2542
|
+
.filter((e) => e != null)
|
|
2543
|
+
.map((entry) => {
|
|
2544
|
+
return de_CustomModelDeploymentSummary(entry, context);
|
|
2545
|
+
});
|
|
2546
|
+
return retVal;
|
|
2547
|
+
};
|
|
2415
2548
|
const de_CustomModelSummary = (output, context) => {
|
|
2416
2549
|
return take(output, {
|
|
2417
2550
|
baseModelArn: __expectString,
|
|
@@ -3044,6 +3177,8 @@ const _bIT = "byInferenceType";
|
|
|
3044
3177
|
const _bMAE = "baseModelArnEquals";
|
|
3045
3178
|
const _bOM = "byOutputModality";
|
|
3046
3179
|
const _bP = "byProvider";
|
|
3180
|
+
const _cA = "createdAfter";
|
|
3181
|
+
const _cB = "createdBefore";
|
|
3047
3182
|
const _cTA = "creationTimeAfter";
|
|
3048
3183
|
const _cTB = "creationTimeBefore";
|
|
3049
3184
|
const _fMAE = "foundationModelArnEquals";
|
package/dist-types/Bedrock.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
3
3
|
import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
4
4
|
import { CreateCustomModelCommandInput, CreateCustomModelCommandOutput } from "./commands/CreateCustomModelCommand";
|
|
5
|
+
import { CreateCustomModelDeploymentCommandInput, CreateCustomModelDeploymentCommandOutput } from "./commands/CreateCustomModelDeploymentCommand";
|
|
5
6
|
import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "./commands/CreateEvaluationJobCommand";
|
|
6
7
|
import { CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput } from "./commands/CreateFoundationModelAgreementCommand";
|
|
7
8
|
import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
|
|
@@ -15,6 +16,7 @@ import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOu
|
|
|
15
16
|
import { CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput } from "./commands/CreatePromptRouterCommand";
|
|
16
17
|
import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "./commands/CreateProvisionedModelThroughputCommand";
|
|
17
18
|
import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "./commands/DeleteCustomModelCommand";
|
|
19
|
+
import { DeleteCustomModelDeploymentCommandInput, DeleteCustomModelDeploymentCommandOutput } from "./commands/DeleteCustomModelDeploymentCommand";
|
|
18
20
|
import { DeleteFoundationModelAgreementCommandInput, DeleteFoundationModelAgreementCommandOutput } from "./commands/DeleteFoundationModelAgreementCommand";
|
|
19
21
|
import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
|
|
20
22
|
import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
|
|
@@ -25,6 +27,7 @@ import { DeletePromptRouterCommandInput, DeletePromptRouterCommandOutput } from
|
|
|
25
27
|
import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
26
28
|
import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
|
|
27
29
|
import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand";
|
|
30
|
+
import { GetCustomModelDeploymentCommandInput, GetCustomModelDeploymentCommandOutput } from "./commands/GetCustomModelDeploymentCommand";
|
|
28
31
|
import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand";
|
|
29
32
|
import { GetFoundationModelAvailabilityCommandInput, GetFoundationModelAvailabilityCommandOutput } from "./commands/GetFoundationModelAvailabilityCommand";
|
|
30
33
|
import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand";
|
|
@@ -40,6 +43,7 @@ import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationL
|
|
|
40
43
|
import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "./commands/GetPromptRouterCommand";
|
|
41
44
|
import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
|
|
42
45
|
import { GetUseCaseForModelAccessCommandInput, GetUseCaseForModelAccessCommandOutput } from "./commands/GetUseCaseForModelAccessCommand";
|
|
46
|
+
import { ListCustomModelDeploymentsCommandInput, ListCustomModelDeploymentsCommandOutput } from "./commands/ListCustomModelDeploymentsCommand";
|
|
43
47
|
import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
|
|
44
48
|
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
|
|
45
49
|
import { ListFoundationModelAgreementOffersCommandInput, ListFoundationModelAgreementOffersCommandOutput } from "./commands/ListFoundationModelAgreementOffersCommand";
|
|
@@ -79,6 +83,12 @@ export interface Bedrock {
|
|
|
79
83
|
createCustomModel(args: CreateCustomModelCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomModelCommandOutput>;
|
|
80
84
|
createCustomModel(args: CreateCustomModelCommandInput, cb: (err: any, data?: CreateCustomModelCommandOutput) => void): void;
|
|
81
85
|
createCustomModel(args: CreateCustomModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomModelCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link CreateCustomModelDeploymentCommand}
|
|
88
|
+
*/
|
|
89
|
+
createCustomModelDeployment(args: CreateCustomModelDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomModelDeploymentCommandOutput>;
|
|
90
|
+
createCustomModelDeployment(args: CreateCustomModelDeploymentCommandInput, cb: (err: any, data?: CreateCustomModelDeploymentCommandOutput) => void): void;
|
|
91
|
+
createCustomModelDeployment(args: CreateCustomModelDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomModelDeploymentCommandOutput) => void): void;
|
|
82
92
|
/**
|
|
83
93
|
* @see {@link CreateEvaluationJobCommand}
|
|
84
94
|
*/
|
|
@@ -157,6 +167,12 @@ export interface Bedrock {
|
|
|
157
167
|
deleteCustomModel(args: DeleteCustomModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomModelCommandOutput>;
|
|
158
168
|
deleteCustomModel(args: DeleteCustomModelCommandInput, cb: (err: any, data?: DeleteCustomModelCommandOutput) => void): void;
|
|
159
169
|
deleteCustomModel(args: DeleteCustomModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomModelCommandOutput) => void): void;
|
|
170
|
+
/**
|
|
171
|
+
* @see {@link DeleteCustomModelDeploymentCommand}
|
|
172
|
+
*/
|
|
173
|
+
deleteCustomModelDeployment(args: DeleteCustomModelDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomModelDeploymentCommandOutput>;
|
|
174
|
+
deleteCustomModelDeployment(args: DeleteCustomModelDeploymentCommandInput, cb: (err: any, data?: DeleteCustomModelDeploymentCommandOutput) => void): void;
|
|
175
|
+
deleteCustomModelDeployment(args: DeleteCustomModelDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomModelDeploymentCommandOutput) => void): void;
|
|
160
176
|
/**
|
|
161
177
|
* @see {@link DeleteFoundationModelAgreementCommand}
|
|
162
178
|
*/
|
|
@@ -218,6 +234,12 @@ export interface Bedrock {
|
|
|
218
234
|
getCustomModel(args: GetCustomModelCommandInput, options?: __HttpHandlerOptions): Promise<GetCustomModelCommandOutput>;
|
|
219
235
|
getCustomModel(args: GetCustomModelCommandInput, cb: (err: any, data?: GetCustomModelCommandOutput) => void): void;
|
|
220
236
|
getCustomModel(args: GetCustomModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCustomModelCommandOutput) => void): void;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link GetCustomModelDeploymentCommand}
|
|
239
|
+
*/
|
|
240
|
+
getCustomModelDeployment(args: GetCustomModelDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<GetCustomModelDeploymentCommandOutput>;
|
|
241
|
+
getCustomModelDeployment(args: GetCustomModelDeploymentCommandInput, cb: (err: any, data?: GetCustomModelDeploymentCommandOutput) => void): void;
|
|
242
|
+
getCustomModelDeployment(args: GetCustomModelDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCustomModelDeploymentCommandOutput) => void): void;
|
|
221
243
|
/**
|
|
222
244
|
* @see {@link GetEvaluationJobCommand}
|
|
223
245
|
*/
|
|
@@ -310,6 +332,13 @@ export interface Bedrock {
|
|
|
310
332
|
getUseCaseForModelAccess(args: GetUseCaseForModelAccessCommandInput, options?: __HttpHandlerOptions): Promise<GetUseCaseForModelAccessCommandOutput>;
|
|
311
333
|
getUseCaseForModelAccess(args: GetUseCaseForModelAccessCommandInput, cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void): void;
|
|
312
334
|
getUseCaseForModelAccess(args: GetUseCaseForModelAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void): void;
|
|
335
|
+
/**
|
|
336
|
+
* @see {@link ListCustomModelDeploymentsCommand}
|
|
337
|
+
*/
|
|
338
|
+
listCustomModelDeployments(): Promise<ListCustomModelDeploymentsCommandOutput>;
|
|
339
|
+
listCustomModelDeployments(args: ListCustomModelDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomModelDeploymentsCommandOutput>;
|
|
340
|
+
listCustomModelDeployments(args: ListCustomModelDeploymentsCommandInput, cb: (err: any, data?: ListCustomModelDeploymentsCommandOutput) => void): void;
|
|
341
|
+
listCustomModelDeployments(args: ListCustomModelDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomModelDeploymentsCommandOutput) => void): void;
|
|
313
342
|
/**
|
|
314
343
|
* @see {@link ListCustomModelsCommand}
|
|
315
344
|
*/
|
|
@@ -9,6 +9,7 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
|
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
11
11
|
import { CreateCustomModelCommandInput, CreateCustomModelCommandOutput } from "./commands/CreateCustomModelCommand";
|
|
12
|
+
import { CreateCustomModelDeploymentCommandInput, CreateCustomModelDeploymentCommandOutput } from "./commands/CreateCustomModelDeploymentCommand";
|
|
12
13
|
import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "./commands/CreateEvaluationJobCommand";
|
|
13
14
|
import { CreateFoundationModelAgreementCommandInput, CreateFoundationModelAgreementCommandOutput } from "./commands/CreateFoundationModelAgreementCommand";
|
|
14
15
|
import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "./commands/CreateGuardrailCommand";
|
|
@@ -22,6 +23,7 @@ import { CreateModelInvocationJobCommandInput, CreateModelInvocationJobCommandOu
|
|
|
22
23
|
import { CreatePromptRouterCommandInput, CreatePromptRouterCommandOutput } from "./commands/CreatePromptRouterCommand";
|
|
23
24
|
import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "./commands/CreateProvisionedModelThroughputCommand";
|
|
24
25
|
import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "./commands/DeleteCustomModelCommand";
|
|
26
|
+
import { DeleteCustomModelDeploymentCommandInput, DeleteCustomModelDeploymentCommandOutput } from "./commands/DeleteCustomModelDeploymentCommand";
|
|
25
27
|
import { DeleteFoundationModelAgreementCommandInput, DeleteFoundationModelAgreementCommandOutput } from "./commands/DeleteFoundationModelAgreementCommand";
|
|
26
28
|
import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "./commands/DeleteGuardrailCommand";
|
|
27
29
|
import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "./commands/DeleteImportedModelCommand";
|
|
@@ -32,6 +34,7 @@ import { DeletePromptRouterCommandInput, DeletePromptRouterCommandOutput } from
|
|
|
32
34
|
import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
33
35
|
import { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
|
|
34
36
|
import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "./commands/GetCustomModelCommand";
|
|
37
|
+
import { GetCustomModelDeploymentCommandInput, GetCustomModelDeploymentCommandOutput } from "./commands/GetCustomModelDeploymentCommand";
|
|
35
38
|
import { GetEvaluationJobCommandInput, GetEvaluationJobCommandOutput } from "./commands/GetEvaluationJobCommand";
|
|
36
39
|
import { GetFoundationModelAvailabilityCommandInput, GetFoundationModelAvailabilityCommandOutput } from "./commands/GetFoundationModelAvailabilityCommand";
|
|
37
40
|
import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "./commands/GetFoundationModelCommand";
|
|
@@ -47,6 +50,7 @@ import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationL
|
|
|
47
50
|
import { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "./commands/GetPromptRouterCommand";
|
|
48
51
|
import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
|
|
49
52
|
import { GetUseCaseForModelAccessCommandInput, GetUseCaseForModelAccessCommandOutput } from "./commands/GetUseCaseForModelAccessCommand";
|
|
53
|
+
import { ListCustomModelDeploymentsCommandInput, ListCustomModelDeploymentsCommandOutput } from "./commands/ListCustomModelDeploymentsCommand";
|
|
50
54
|
import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "./commands/ListCustomModelsCommand";
|
|
51
55
|
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "./commands/ListEvaluationJobsCommand";
|
|
52
56
|
import { ListFoundationModelAgreementOffersCommandInput, ListFoundationModelAgreementOffersCommandOutput } from "./commands/ListFoundationModelAgreementOffersCommand";
|
|
@@ -79,11 +83,11 @@ export { __Client };
|
|
|
79
83
|
/**
|
|
80
84
|
* @public
|
|
81
85
|
*/
|
|
82
|
-
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateCustomModelCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeregisterMarketplaceModelEndpointCommandInput | GetCustomModelCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetUseCaseForModelAccessCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
|
|
86
|
+
export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CreateCustomModelCommandInput | CreateCustomModelDeploymentCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteCustomModelCommandInput | DeleteCustomModelDeploymentCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeregisterMarketplaceModelEndpointCommandInput | GetCustomModelCommandInput | GetCustomModelDeploymentCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetUseCaseForModelAccessCommandInput | ListCustomModelDeploymentsCommandInput | ListCustomModelsCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
|
|
83
87
|
/**
|
|
84
88
|
* @public
|
|
85
89
|
*/
|
|
86
|
-
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateCustomModelCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | GetCustomModelCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetUseCaseForModelAccessCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
|
|
90
|
+
export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CreateCustomModelCommandOutput | CreateCustomModelDeploymentCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteCustomModelCommandOutput | DeleteCustomModelDeploymentCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | GetCustomModelCommandOutput | GetCustomModelDeploymentCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetUseCaseForModelAccessCommandOutput | ListCustomModelDeploymentsCommandOutput | ListCustomModelsCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
|
|
87
91
|
/**
|
|
88
92
|
* @public
|
|
89
93
|
*/
|