@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.
Files changed (121) hide show
  1. package/dist-cjs/index.js +6331 -6436
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BedrockClient.js +2 -0
  4. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +3 -10
  5. package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
  6. package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +3 -10
  7. package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
  8. package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +3 -10
  9. package/dist-es/commands/CreateCustomModelCommand.js +3 -9
  10. package/dist-es/commands/CreateCustomModelDeploymentCommand.js +3 -9
  11. package/dist-es/commands/CreateEvaluationJobCommand.js +3 -10
  12. package/dist-es/commands/CreateFoundationModelAgreementCommand.js +3 -9
  13. package/dist-es/commands/CreateGuardrailCommand.js +3 -10
  14. package/dist-es/commands/CreateGuardrailVersionCommand.js +3 -10
  15. package/dist-es/commands/CreateInferenceProfileCommand.js +3 -10
  16. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +3 -9
  17. package/dist-es/commands/CreateModelCopyJobCommand.js +3 -9
  18. package/dist-es/commands/CreateModelCustomizationJobCommand.js +3 -10
  19. package/dist-es/commands/CreateModelImportJobCommand.js +3 -9
  20. package/dist-es/commands/CreateModelInvocationJobCommand.js +3 -9
  21. package/dist-es/commands/CreatePromptRouterCommand.js +3 -10
  22. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +3 -9
  23. package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -9
  24. package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +3 -9
  25. package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +3 -9
  26. package/dist-es/commands/DeleteCustomModelCommand.js +3 -9
  27. package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +3 -9
  28. package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +3 -9
  29. package/dist-es/commands/DeleteGuardrailCommand.js +3 -9
  30. package/dist-es/commands/DeleteImportedModelCommand.js +3 -9
  31. package/dist-es/commands/DeleteInferenceProfileCommand.js +3 -9
  32. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +3 -9
  33. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +3 -9
  34. package/dist-es/commands/DeletePromptRouterCommand.js +3 -9
  35. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +3 -9
  36. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +3 -9
  37. package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +3 -10
  38. package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
  39. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
  40. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +3 -10
  41. package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +3 -10
  42. package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +3 -10
  43. package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +3 -10
  44. package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +3 -10
  45. package/dist-es/commands/GetCustomModelCommand.js +3 -10
  46. package/dist-es/commands/GetCustomModelDeploymentCommand.js +3 -9
  47. package/dist-es/commands/GetEvaluationJobCommand.js +3 -11
  48. package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +3 -9
  49. package/dist-es/commands/GetFoundationModelCommand.js +3 -9
  50. package/dist-es/commands/GetGuardrailCommand.js +3 -10
  51. package/dist-es/commands/GetImportedModelCommand.js +3 -9
  52. package/dist-es/commands/GetInferenceProfileCommand.js +3 -10
  53. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +3 -9
  54. package/dist-es/commands/GetModelCopyJobCommand.js +3 -9
  55. package/dist-es/commands/GetModelCustomizationJobCommand.js +3 -10
  56. package/dist-es/commands/GetModelImportJobCommand.js +3 -9
  57. package/dist-es/commands/GetModelInvocationJobCommand.js +3 -10
  58. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +3 -9
  59. package/dist-es/commands/GetPromptRouterCommand.js +3 -10
  60. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +3 -9
  61. package/dist-es/commands/GetUseCaseForModelAccessCommand.js +3 -9
  62. package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +3 -10
  63. package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +3 -9
  64. package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +3 -10
  65. package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +3 -10
  66. package/dist-es/commands/ListCustomModelDeploymentsCommand.js +3 -9
  67. package/dist-es/commands/ListCustomModelsCommand.js +3 -9
  68. package/dist-es/commands/ListEvaluationJobsCommand.js +3 -9
  69. package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +3 -9
  70. package/dist-es/commands/ListFoundationModelsCommand.js +3 -9
  71. package/dist-es/commands/ListGuardrailsCommand.js +3 -10
  72. package/dist-es/commands/ListImportedModelsCommand.js +3 -9
  73. package/dist-es/commands/ListInferenceProfilesCommand.js +3 -10
  74. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +3 -9
  75. package/dist-es/commands/ListModelCopyJobsCommand.js +3 -9
  76. package/dist-es/commands/ListModelCustomizationJobsCommand.js +3 -9
  77. package/dist-es/commands/ListModelImportJobsCommand.js +3 -9
  78. package/dist-es/commands/ListModelInvocationJobsCommand.js +3 -10
  79. package/dist-es/commands/ListPromptRoutersCommand.js +3 -10
  80. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +3 -9
  81. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  82. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +3 -9
  83. package/dist-es/commands/PutUseCaseForModelAccessCommand.js +3 -9
  84. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +3 -9
  85. package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +3 -10
  86. package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +3 -9
  87. package/dist-es/commands/StopEvaluationJobCommand.js +3 -10
  88. package/dist-es/commands/StopModelCustomizationJobCommand.js +3 -9
  89. package/dist-es/commands/StopModelInvocationJobCommand.js +3 -9
  90. package/dist-es/commands/TagResourceCommand.js +3 -9
  91. package/dist-es/commands/UntagResourceCommand.js +3 -9
  92. package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +3 -10
  93. package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +3 -10
  94. package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +3 -10
  95. package/dist-es/commands/UpdateGuardrailCommand.js +3 -10
  96. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +3 -9
  97. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +3 -9
  98. package/dist-es/models/models_0.js +0 -1027
  99. package/dist-es/models/models_1.js +0 -400
  100. package/dist-es/runtimeConfig.shared.js +2 -0
  101. package/dist-es/schemas/schemas_0.js +6150 -0
  102. package/dist-types/BedrockClient.d.ts +10 -1
  103. package/dist-types/models/models_0.d.ts +84 -509
  104. package/dist-types/models/models_1.d.ts +28 -183
  105. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  106. package/dist-types/runtimeConfig.d.ts +1 -0
  107. package/dist-types/runtimeConfig.native.d.ts +1 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  109. package/dist-types/schemas/schemas_0.d.ts +668 -0
  110. package/dist-types/ts3.4/BedrockClient.d.ts +4 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +0 -420
  112. package/dist-types/ts3.4/models/models_1.d.ts +0 -146
  113. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  114. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  115. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  116. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  117. package/dist-types/ts3.4/schemas/schemas_0.d.ts +675 -0
  118. package/package.json +34 -35
  119. package/dist-es/protocols/Aws_restJson1.js +0 -4177
  120. package/dist-types/protocols/Aws_restJson1.d.ts +0 -848
  121. 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,
@@ -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 { BatchDeleteEvaluationJobRequestFilterSensitiveLog, BatchDeleteEvaluationJobResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(BatchDeleteEvaluationJobRequestFilterSensitiveLog, BatchDeleteEvaluationJobResponseFilterSensitiveLog)
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 { de_CancelAutomatedReasoningPolicyBuildWorkflowCommand, se_CancelAutomatedReasoningPolicyBuildWorkflowCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { CreateAutomatedReasoningPolicyRequestFilterSensitiveLog, CreateAutomatedReasoningPolicyResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(CreateAutomatedReasoningPolicyRequestFilterSensitiveLog, CreateAutomatedReasoningPolicyResponseFilterSensitiveLog)
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 { CreateAutomatedReasoningPolicyTestCaseRequestFilterSensitiveLog, } from "../models/models_0";
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
- .f(CreateAutomatedReasoningPolicyTestCaseRequestFilterSensitiveLog, void 0)
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 { CreateAutomatedReasoningPolicyVersionResponseFilterSensitiveLog, } from "../models/models_0";
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
- .f(void 0, CreateAutomatedReasoningPolicyVersionResponseFilterSensitiveLog)
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 { de_CreateCustomModelCommand, se_CreateCustomModelCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_CreateCustomModelDeploymentCommand, se_CreateCustomModelDeploymentCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { CreateEvaluationJobRequestFilterSensitiveLog } from "../models/models_1";
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
- .f(CreateEvaluationJobRequestFilterSensitiveLog, void 0)
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 { de_CreateFoundationModelAgreementCommand, se_CreateFoundationModelAgreementCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { CreateGuardrailRequestFilterSensitiveLog, } from "../models/models_1";
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
- .f(CreateGuardrailRequestFilterSensitiveLog, void 0)
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 { CreateGuardrailVersionRequestFilterSensitiveLog, } from "../models/models_1";
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
- .f(CreateGuardrailVersionRequestFilterSensitiveLog, void 0)
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 { CreateInferenceProfileRequestFilterSensitiveLog, } from "../models/models_1";
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
- .f(CreateInferenceProfileRequestFilterSensitiveLog, void 0)
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 { de_CreateMarketplaceModelEndpointCommand, se_CreateMarketplaceModelEndpointCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_CreateModelCopyJobCommand, se_CreateModelCopyJobCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { CreateModelCustomizationJobRequestFilterSensitiveLog, } from "../models/models_1";
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
- .f(CreateModelCustomizationJobRequestFilterSensitiveLog, void 0)
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 { de_CreateModelImportJobCommand, se_CreateModelImportJobCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_CreateModelInvocationJobCommand, se_CreateModelInvocationJobCommand } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { CreatePromptRouterRequestFilterSensitiveLog, } from "../models/models_1";
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
- .f(CreatePromptRouterRequestFilterSensitiveLog, void 0)
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 { de_CreateProvisionedModelThroughputCommand, se_CreateProvisionedModelThroughputCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_DeleteAutomatedReasoningPolicyBuildWorkflowCommand, se_DeleteAutomatedReasoningPolicyBuildWorkflowCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_DeleteAutomatedReasoningPolicyCommand, se_DeleteAutomatedReasoningPolicyCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
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 { de_DeleteAutomatedReasoningPolicyTestCaseCommand, se_DeleteAutomatedReasoningPolicyTestCaseCommand, } from "../protocols/Aws_restJson1";
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
- .f(void 0, void 0)
19
- .ser(se_DeleteAutomatedReasoningPolicyTestCaseCommand)
20
- .de(de_DeleteAutomatedReasoningPolicyTestCaseCommand)
14
+ .sc(DeleteAutomatedReasoningPolicyTestCase)
21
15
  .build() {
22
16
  }