@aws-sdk/client-bedrock 3.928.0 → 3.930.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/dist-cjs/index.js +6331 -6436
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BedrockClient.js +2 -0
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +3 -10
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +3 -10
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +3 -10
- package/dist-es/commands/CreateCustomModelCommand.js +3 -9
- package/dist-es/commands/CreateCustomModelDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateEvaluationJobCommand.js +3 -10
- package/dist-es/commands/CreateFoundationModelAgreementCommand.js +3 -9
- package/dist-es/commands/CreateGuardrailCommand.js +3 -10
- package/dist-es/commands/CreateGuardrailVersionCommand.js +3 -10
- package/dist-es/commands/CreateInferenceProfileCommand.js +3 -10
- package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/CreateModelCopyJobCommand.js +3 -9
- package/dist-es/commands/CreateModelCustomizationJobCommand.js +3 -10
- package/dist-es/commands/CreateModelImportJobCommand.js +3 -9
- package/dist-es/commands/CreateModelInvocationJobCommand.js +3 -9
- package/dist-es/commands/CreatePromptRouterCommand.js +3 -10
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +3 -9
- package/dist-es/commands/DeleteCustomModelCommand.js +3 -9
- package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +3 -9
- package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +3 -9
- package/dist-es/commands/DeleteGuardrailCommand.js +3 -9
- package/dist-es/commands/DeleteImportedModelCommand.js +3 -9
- package/dist-es/commands/DeleteInferenceProfileCommand.js +3 -9
- package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeletePromptRouterCommand.js +3 -9
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +3 -10
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +3 -10
- package/dist-es/commands/GetCustomModelCommand.js +3 -10
- package/dist-es/commands/GetCustomModelDeploymentCommand.js +3 -9
- package/dist-es/commands/GetEvaluationJobCommand.js +3 -11
- package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +3 -9
- package/dist-es/commands/GetFoundationModelCommand.js +3 -9
- package/dist-es/commands/GetGuardrailCommand.js +3 -10
- package/dist-es/commands/GetImportedModelCommand.js +3 -9
- package/dist-es/commands/GetInferenceProfileCommand.js +3 -10
- package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/GetModelCopyJobCommand.js +3 -9
- package/dist-es/commands/GetModelCustomizationJobCommand.js +3 -10
- package/dist-es/commands/GetModelImportJobCommand.js +3 -9
- package/dist-es/commands/GetModelInvocationJobCommand.js +3 -10
- package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/GetPromptRouterCommand.js +3 -10
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/commands/GetUseCaseForModelAccessCommand.js +3 -9
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +3 -10
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +3 -9
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +3 -10
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +3 -10
- package/dist-es/commands/ListCustomModelDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListCustomModelsCommand.js +3 -9
- package/dist-es/commands/ListEvaluationJobsCommand.js +3 -9
- package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +3 -9
- package/dist-es/commands/ListFoundationModelsCommand.js +3 -9
- package/dist-es/commands/ListGuardrailsCommand.js +3 -10
- package/dist-es/commands/ListImportedModelsCommand.js +3 -9
- package/dist-es/commands/ListInferenceProfilesCommand.js +3 -10
- package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +3 -9
- package/dist-es/commands/ListModelCopyJobsCommand.js +3 -9
- package/dist-es/commands/ListModelCustomizationJobsCommand.js +3 -9
- package/dist-es/commands/ListModelImportJobsCommand.js +3 -9
- package/dist-es/commands/ListModelInvocationJobsCommand.js +3 -10
- package/dist-es/commands/ListPromptRoutersCommand.js +3 -10
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/PutUseCaseForModelAccessCommand.js +3 -9
- package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +3 -9
- package/dist-es/commands/StopEvaluationJobCommand.js +3 -10
- package/dist-es/commands/StopModelCustomizationJobCommand.js +3 -9
- package/dist-es/commands/StopModelInvocationJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +3 -10
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
- package/dist-es/commands/UpdateGuardrailCommand.js +3 -10
- package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +3 -9
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -1027
- package/dist-es/models/models_1.js +0 -400
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +6150 -0
- package/dist-types/BedrockClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +84 -509
- package/dist-types/models/models_1.d.ts +28 -183
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +668 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -420
- package/dist-types/ts3.4/models/models_1.d.ts +0 -146
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +675 -0
- package/package.json +34 -35
- package/dist-es/protocols/Aws_restJson1.js +0 -4177
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -848
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1133
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteCustomModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteCustomModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteCustomModel", {})
|
|
17
13
|
.n("BedrockClient", "DeleteCustomModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteCustomModelCommand)
|
|
20
|
-
.de(de_DeleteCustomModelCommand)
|
|
14
|
+
.sc(DeleteCustomModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteCustomModelDeployment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteCustomModelDeploymentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteCustomModelDeployment", {})
|
|
17
13
|
.n("BedrockClient", "DeleteCustomModelDeploymentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteCustomModelDeploymentCommand)
|
|
20
|
-
.de(de_DeleteCustomModelDeploymentCommand)
|
|
14
|
+
.sc(DeleteCustomModelDeployment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteFoundationModelAgreement } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteFoundationModelAgreementCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteFoundationModelAgreement", {})
|
|
17
13
|
.n("BedrockClient", "DeleteFoundationModelAgreementCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteFoundationModelAgreementCommand)
|
|
20
|
-
.de(de_DeleteFoundationModelAgreementCommand)
|
|
14
|
+
.sc(DeleteFoundationModelAgreement)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteGuardrail } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteGuardrailCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteGuardrail", {})
|
|
17
13
|
.n("BedrockClient", "DeleteGuardrailCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteGuardrailCommand)
|
|
20
|
-
.de(de_DeleteGuardrailCommand)
|
|
14
|
+
.sc(DeleteGuardrail)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteImportedModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteImportedModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteImportedModel", {})
|
|
17
13
|
.n("BedrockClient", "DeleteImportedModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteImportedModelCommand)
|
|
20
|
-
.de(de_DeleteImportedModelCommand)
|
|
14
|
+
.sc(DeleteImportedModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteInferenceProfile } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteInferenceProfileCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteInferenceProfile", {})
|
|
17
13
|
.n("BedrockClient", "DeleteInferenceProfileCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteInferenceProfileCommand)
|
|
20
|
-
.de(de_DeleteInferenceProfileCommand)
|
|
14
|
+
.sc(DeleteInferenceProfile)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteMarketplaceModelEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteMarketplaceModelEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteMarketplaceModelEndpoint", {})
|
|
17
13
|
.n("BedrockClient", "DeleteMarketplaceModelEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteMarketplaceModelEndpointCommand)
|
|
20
|
-
.de(de_DeleteMarketplaceModelEndpointCommand)
|
|
14
|
+
.sc(DeleteMarketplaceModelEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteModelInvocationLoggingConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteModelInvocationLoggingConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteModelInvocationLoggingConfiguration", {})
|
|
17
13
|
.n("BedrockClient", "DeleteModelInvocationLoggingConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteModelInvocationLoggingConfigurationCommand)
|
|
20
|
-
.de(de_DeleteModelInvocationLoggingConfigurationCommand)
|
|
14
|
+
.sc(DeleteModelInvocationLoggingConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeletePromptRouter } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePromptRouterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeletePromptRouter", {})
|
|
17
13
|
.n("BedrockClient", "DeletePromptRouterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeletePromptRouterCommand)
|
|
20
|
-
.de(de_DeletePromptRouterCommand)
|
|
14
|
+
.sc(DeletePromptRouter)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteProvisionedModelThroughput } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteProvisionedModelThroughputCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeleteProvisionedModelThroughput", {})
|
|
17
13
|
.n("BedrockClient", "DeleteProvisionedModelThroughputCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteProvisionedModelThroughputCommand)
|
|
20
|
-
.de(de_DeleteProvisionedModelThroughputCommand)
|
|
14
|
+
.sc(DeleteProvisionedModelThroughput)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeregisterMarketplaceModelEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeregisterMarketplaceModelEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "DeregisterMarketplaceModelEndpoint", {})
|
|
17
13
|
.n("BedrockClient", "DeregisterMarketplaceModelEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeregisterMarketplaceModelEndpointCommand)
|
|
20
|
-
.de(de_DeregisterMarketplaceModelEndpointCommand)
|
|
14
|
+
.sc(DeregisterMarketplaceModelEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_ExportAutomatedReasoningPolicyVersionCommand, se_ExportAutomatedReasoningPolicyVersionCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ExportAutomatedReasoningPolicyVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ExportAutomatedReasoningPolicyVersionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "ExportAutomatedReasoningPolicyVersion", {})
|
|
18
13
|
.n("BedrockClient", "ExportAutomatedReasoningPolicyVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ExportAutomatedReasoningPolicyVersionCommand)
|
|
21
|
-
.de(de_ExportAutomatedReasoningPolicyVersionCommand)
|
|
14
|
+
.sc(ExportAutomatedReasoningPolicyVersion)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyAnnotationsCommand, se_GetAutomatedReasoningPolicyAnnotationsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicyAnnotations } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyAnnotationsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyAnnotations", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyAnnotationsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyAnnotationsCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyAnnotationsCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicyAnnotations)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyBuildWorkflowCommand, se_GetAutomatedReasoningPolicyBuildWorkflowCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicyBuildWorkflow } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyBuildWorkflowCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyBuildWorkflow", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyBuildWorkflowCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyBuildWorkflowCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyBuildWorkflowCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicyBuildWorkflow)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand, se_GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicyBuildWorkflowResultAssets } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyBuildWorkflowResultAssets", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicyBuildWorkflowResultAssets)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyCommand, se_GetAutomatedReasoningPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicy } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicy", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicy)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyNextScenarioCommand, se_GetAutomatedReasoningPolicyNextScenarioCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicyNextScenario } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyNextScenarioCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyNextScenario", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyNextScenarioCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyNextScenarioCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyNextScenarioCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicyNextScenario)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyTestCaseCommand, se_GetAutomatedReasoningPolicyTestCaseCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicyTestCase } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyTestCaseCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyTestCase", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyTestCaseCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyTestCaseCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyTestCaseCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicyTestCase)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetAutomatedReasoningPolicyTestResultCommand, se_GetAutomatedReasoningPolicyTestResultCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetAutomatedReasoningPolicyTestResult } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetAutomatedReasoningPolicyTestResultCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyTestResult", {})
|
|
18
13
|
.n("BedrockClient", "GetAutomatedReasoningPolicyTestResultCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetAutomatedReasoningPolicyTestResultCommand)
|
|
21
|
-
.de(de_GetAutomatedReasoningPolicyTestResultCommand)
|
|
14
|
+
.sc(GetAutomatedReasoningPolicyTestResult)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetCustomModelCommand, se_GetCustomModelCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetCustomModel } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetCustomModelCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonBedrockControlPlaneService", "GetCustomModel", {})
|
|
18
13
|
.n("BedrockClient", "GetCustomModelCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetCustomModelCommand)
|
|
21
|
-
.de(de_GetCustomModelCommand)
|
|
14
|
+
.sc(GetCustomModel)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetCustomModelDeployment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetCustomModelDeploymentCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "GetCustomModelDeployment", {})
|
|
17
13
|
.n("BedrockClient", "GetCustomModelDeploymentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetCustomModelDeploymentCommand)
|
|
20
|
-
.de(de_GetCustomModelDeploymentCommand)
|
|
14
|
+
.sc(GetCustomModelDeployment)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { GetEvaluationJobResponseFilterSensitiveLog } from "../models/models_1";
|
|
7
|
-
import { de_GetEvaluationJobCommand, se_GetEvaluationJobCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetEvaluationJob } from "../schemas/schemas_0";
|
|
8
5
|
export { $Command };
|
|
9
6
|
export class GetEvaluationJobCommand extends $Command
|
|
10
7
|
.classBuilder()
|
|
11
8
|
.ep(commonParams)
|
|
12
9
|
.m(function (Command, cs, config, o) {
|
|
13
|
-
return [
|
|
14
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
17
11
|
})
|
|
18
12
|
.s("AmazonBedrockControlPlaneService", "GetEvaluationJob", {})
|
|
19
13
|
.n("BedrockClient", "GetEvaluationJobCommand")
|
|
20
|
-
.
|
|
21
|
-
.ser(se_GetEvaluationJobCommand)
|
|
22
|
-
.de(de_GetEvaluationJobCommand)
|
|
14
|
+
.sc(GetEvaluationJob)
|
|
23
15
|
.build() {
|
|
24
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetFoundationModelAvailability } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetFoundationModelAvailabilityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonBedrockControlPlaneService", "GetFoundationModelAvailability", {})
|
|
17
13
|
.n("BedrockClient", "GetFoundationModelAvailabilityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetFoundationModelAvailabilityCommand)
|
|
20
|
-
.de(de_GetFoundationModelAvailabilityCommand)
|
|
14
|
+
.sc(GetFoundationModelAvailability)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|