@aws-sdk/client-bedrock 3.928.0 → 3.929.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 -6098
- 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 -775
- package/dist-es/models/models_1.js +0 -314
- 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 +0 -488
- package/dist-types/models/models_1.d.ts +0 -176
- 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 -366
- package/dist-types/ts3.4/models/models_1.d.ts +0 -130
- 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 +3 -4
- 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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const core_2 = require("@smithy/core");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -31,6 +32,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
32
|
},
|
|
32
33
|
],
|
|
33
34
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
35
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.bedrock" }),
|
|
34
36
|
serviceId: config?.serviceId ?? "Bedrock",
|
|
35
37
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/BedrockClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class BedrockClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -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_BatchDeleteEvaluationJobCommand, se_BatchDeleteEvaluationJobCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { BatchDeleteEvaluationJob } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class BatchDeleteEvaluationJobCommand 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", "BatchDeleteEvaluationJob", {})
|
|
18
13
|
.n("BedrockClient", "BatchDeleteEvaluationJobCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_BatchDeleteEvaluationJobCommand)
|
|
21
|
-
.de(de_BatchDeleteEvaluationJobCommand)
|
|
14
|
+
.sc(BatchDeleteEvaluationJob)
|
|
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 { CancelAutomatedReasoningPolicyBuildWorkflow } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CancelAutomatedReasoningPolicyBuildWorkflowCommand 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", "CancelAutomatedReasoningPolicyBuildWorkflow", {})
|
|
17
13
|
.n("BedrockClient", "CancelAutomatedReasoningPolicyBuildWorkflowCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CancelAutomatedReasoningPolicyBuildWorkflowCommand)
|
|
20
|
-
.de(de_CancelAutomatedReasoningPolicyBuildWorkflowCommand)
|
|
14
|
+
.sc(CancelAutomatedReasoningPolicyBuildWorkflow)
|
|
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_CreateAutomatedReasoningPolicyCommand, se_CreateAutomatedReasoningPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateAutomatedReasoningPolicy } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateAutomatedReasoningPolicyCommand 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", "CreateAutomatedReasoningPolicy", {})
|
|
18
13
|
.n("BedrockClient", "CreateAutomatedReasoningPolicyCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateAutomatedReasoningPolicyCommand)
|
|
21
|
-
.de(de_CreateAutomatedReasoningPolicyCommand)
|
|
14
|
+
.sc(CreateAutomatedReasoningPolicy)
|
|
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_CreateAutomatedReasoningPolicyTestCaseCommand, se_CreateAutomatedReasoningPolicyTestCaseCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateAutomatedReasoningPolicyTestCase } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateAutomatedReasoningPolicyTestCaseCommand 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", "CreateAutomatedReasoningPolicyTestCase", {})
|
|
18
13
|
.n("BedrockClient", "CreateAutomatedReasoningPolicyTestCaseCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateAutomatedReasoningPolicyTestCaseCommand)
|
|
21
|
-
.de(de_CreateAutomatedReasoningPolicyTestCaseCommand)
|
|
14
|
+
.sc(CreateAutomatedReasoningPolicyTestCase)
|
|
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_CreateAutomatedReasoningPolicyVersionCommand, se_CreateAutomatedReasoningPolicyVersionCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateAutomatedReasoningPolicyVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateAutomatedReasoningPolicyVersionCommand 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", "CreateAutomatedReasoningPolicyVersion", {})
|
|
18
13
|
.n("BedrockClient", "CreateAutomatedReasoningPolicyVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateAutomatedReasoningPolicyVersionCommand)
|
|
21
|
-
.de(de_CreateAutomatedReasoningPolicyVersionCommand)
|
|
14
|
+
.sc(CreateAutomatedReasoningPolicyVersion)
|
|
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 { CreateCustomModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateCustomModelCommand 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", "CreateCustomModel", {})
|
|
17
13
|
.n("BedrockClient", "CreateCustomModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateCustomModelCommand)
|
|
20
|
-
.de(de_CreateCustomModelCommand)
|
|
14
|
+
.sc(CreateCustomModel)
|
|
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 { CreateCustomModelDeployment } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateCustomModelDeploymentCommand 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", "CreateCustomModelDeployment", {})
|
|
17
13
|
.n("BedrockClient", "CreateCustomModelDeploymentCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateCustomModelDeploymentCommand)
|
|
20
|
-
.de(de_CreateCustomModelDeploymentCommand)
|
|
14
|
+
.sc(CreateCustomModelDeployment)
|
|
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_CreateEvaluationJobCommand, se_CreateEvaluationJobCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateEvaluationJob } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateEvaluationJobCommand 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", "CreateEvaluationJob", {})
|
|
18
13
|
.n("BedrockClient", "CreateEvaluationJobCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateEvaluationJobCommand)
|
|
21
|
-
.de(de_CreateEvaluationJobCommand)
|
|
14
|
+
.sc(CreateEvaluationJob)
|
|
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 { CreateFoundationModelAgreement } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateFoundationModelAgreementCommand 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", "CreateFoundationModelAgreement", {})
|
|
17
13
|
.n("BedrockClient", "CreateFoundationModelAgreementCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateFoundationModelAgreementCommand)
|
|
20
|
-
.de(de_CreateFoundationModelAgreementCommand)
|
|
14
|
+
.sc(CreateFoundationModelAgreement)
|
|
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_CreateGuardrailCommand, se_CreateGuardrailCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateGuardrail } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateGuardrailCommand 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", "CreateGuardrail", {})
|
|
18
13
|
.n("BedrockClient", "CreateGuardrailCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateGuardrailCommand)
|
|
21
|
-
.de(de_CreateGuardrailCommand)
|
|
14
|
+
.sc(CreateGuardrail)
|
|
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_CreateGuardrailVersionCommand, se_CreateGuardrailVersionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateGuardrailVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateGuardrailVersionCommand 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", "CreateGuardrailVersion", {})
|
|
18
13
|
.n("BedrockClient", "CreateGuardrailVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateGuardrailVersionCommand)
|
|
21
|
-
.de(de_CreateGuardrailVersionCommand)
|
|
14
|
+
.sc(CreateGuardrailVersion)
|
|
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_CreateInferenceProfileCommand, se_CreateInferenceProfileCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateInferenceProfile } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateInferenceProfileCommand 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", "CreateInferenceProfile", {})
|
|
18
13
|
.n("BedrockClient", "CreateInferenceProfileCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateInferenceProfileCommand)
|
|
21
|
-
.de(de_CreateInferenceProfileCommand)
|
|
14
|
+
.sc(CreateInferenceProfile)
|
|
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 { CreateMarketplaceModelEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateMarketplaceModelEndpointCommand 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", "CreateMarketplaceModelEndpoint", {})
|
|
17
13
|
.n("BedrockClient", "CreateMarketplaceModelEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateMarketplaceModelEndpointCommand)
|
|
20
|
-
.de(de_CreateMarketplaceModelEndpointCommand)
|
|
14
|
+
.sc(CreateMarketplaceModelEndpoint)
|
|
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 { CreateModelCopyJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateModelCopyJobCommand 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", "CreateModelCopyJob", {})
|
|
17
13
|
.n("BedrockClient", "CreateModelCopyJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateModelCopyJobCommand)
|
|
20
|
-
.de(de_CreateModelCopyJobCommand)
|
|
14
|
+
.sc(CreateModelCopyJob)
|
|
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_CreateModelCustomizationJobCommand, se_CreateModelCustomizationJobCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateModelCustomizationJob } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateModelCustomizationJobCommand 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", "CreateModelCustomizationJob", {})
|
|
18
13
|
.n("BedrockClient", "CreateModelCustomizationJobCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateModelCustomizationJobCommand)
|
|
21
|
-
.de(de_CreateModelCustomizationJobCommand)
|
|
14
|
+
.sc(CreateModelCustomizationJob)
|
|
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 { CreateModelImportJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateModelImportJobCommand 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", "CreateModelImportJob", {})
|
|
17
13
|
.n("BedrockClient", "CreateModelImportJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateModelImportJobCommand)
|
|
20
|
-
.de(de_CreateModelImportJobCommand)
|
|
14
|
+
.sc(CreateModelImportJob)
|
|
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 { CreateModelInvocationJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateModelInvocationJobCommand 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", "CreateModelInvocationJob", {})
|
|
17
13
|
.n("BedrockClient", "CreateModelInvocationJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateModelInvocationJobCommand)
|
|
20
|
-
.de(de_CreateModelInvocationJobCommand)
|
|
14
|
+
.sc(CreateModelInvocationJob)
|
|
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_CreatePromptRouterCommand, se_CreatePromptRouterCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreatePromptRouter } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreatePromptRouterCommand 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", "CreatePromptRouter", {})
|
|
18
13
|
.n("BedrockClient", "CreatePromptRouterCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreatePromptRouterCommand)
|
|
21
|
-
.de(de_CreatePromptRouterCommand)
|
|
14
|
+
.sc(CreatePromptRouter)
|
|
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 { CreateProvisionedModelThroughput } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateProvisionedModelThroughputCommand 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", "CreateProvisionedModelThroughput", {})
|
|
17
13
|
.n("BedrockClient", "CreateProvisionedModelThroughputCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateProvisionedModelThroughputCommand)
|
|
20
|
-
.de(de_CreateProvisionedModelThroughputCommand)
|
|
14
|
+
.sc(CreateProvisionedModelThroughput)
|
|
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 { DeleteAutomatedReasoningPolicyBuildWorkflow } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAutomatedReasoningPolicyBuildWorkflowCommand 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", "DeleteAutomatedReasoningPolicyBuildWorkflow", {})
|
|
17
13
|
.n("BedrockClient", "DeleteAutomatedReasoningPolicyBuildWorkflowCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAutomatedReasoningPolicyBuildWorkflowCommand)
|
|
20
|
-
.de(de_DeleteAutomatedReasoningPolicyBuildWorkflowCommand)
|
|
14
|
+
.sc(DeleteAutomatedReasoningPolicyBuildWorkflow)
|
|
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 { DeleteAutomatedReasoningPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAutomatedReasoningPolicyCommand 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", "DeleteAutomatedReasoningPolicy", {})
|
|
17
13
|
.n("BedrockClient", "DeleteAutomatedReasoningPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAutomatedReasoningPolicyCommand)
|
|
20
|
-
.de(de_DeleteAutomatedReasoningPolicyCommand)
|
|
14
|
+
.sc(DeleteAutomatedReasoningPolicy)
|
|
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 { DeleteAutomatedReasoningPolicyTestCase } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteAutomatedReasoningPolicyTestCaseCommand 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", "DeleteAutomatedReasoningPolicyTestCase", {})
|
|
17
13
|
.n("BedrockClient", "DeleteAutomatedReasoningPolicyTestCaseCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteAutomatedReasoningPolicyTestCaseCommand)
|
|
20
|
-
.de(de_DeleteAutomatedReasoningPolicyTestCaseCommand)
|
|
14
|
+
.sc(DeleteAutomatedReasoningPolicyTestCase)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|