@aws-sdk/client-bedrock 3.952.0 → 3.954.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 (118) hide show
  1. package/dist-cjs/index.js +1720 -1206
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +2 -2
  4. package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  5. package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +2 -2
  6. package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  7. package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +2 -2
  8. package/dist-es/commands/CreateCustomModelCommand.js +2 -2
  9. package/dist-es/commands/CreateCustomModelDeploymentCommand.js +2 -2
  10. package/dist-es/commands/CreateEvaluationJobCommand.js +2 -2
  11. package/dist-es/commands/CreateFoundationModelAgreementCommand.js +2 -2
  12. package/dist-es/commands/CreateGuardrailCommand.js +2 -2
  13. package/dist-es/commands/CreateGuardrailVersionCommand.js +2 -2
  14. package/dist-es/commands/CreateInferenceProfileCommand.js +2 -2
  15. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +2 -2
  16. package/dist-es/commands/CreateModelCopyJobCommand.js +2 -2
  17. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -2
  18. package/dist-es/commands/CreateModelImportJobCommand.js +2 -2
  19. package/dist-es/commands/CreateModelInvocationJobCommand.js +2 -2
  20. package/dist-es/commands/CreatePromptRouterCommand.js +2 -2
  21. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +2 -2
  22. package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  23. package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +2 -2
  24. package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  25. package/dist-es/commands/DeleteCustomModelCommand.js +2 -2
  26. package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +2 -2
  27. package/dist-es/commands/DeleteEnforcedGuardrailConfigurationCommand.js +2 -2
  28. package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +2 -2
  29. package/dist-es/commands/DeleteGuardrailCommand.js +2 -2
  30. package/dist-es/commands/DeleteImportedModelCommand.js +2 -2
  31. package/dist-es/commands/DeleteInferenceProfileCommand.js +2 -2
  32. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +2 -2
  33. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +2 -2
  34. package/dist-es/commands/DeletePromptRouterCommand.js +2 -2
  35. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +2 -2
  36. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +2 -2
  37. package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +2 -2
  38. package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
  39. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  40. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +2 -2
  41. package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +2 -2
  42. package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +2 -2
  43. package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  44. package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +2 -2
  45. package/dist-es/commands/GetCustomModelCommand.js +2 -2
  46. package/dist-es/commands/GetCustomModelDeploymentCommand.js +2 -2
  47. package/dist-es/commands/GetEvaluationJobCommand.js +2 -2
  48. package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +2 -2
  49. package/dist-es/commands/GetFoundationModelCommand.js +2 -2
  50. package/dist-es/commands/GetGuardrailCommand.js +2 -2
  51. package/dist-es/commands/GetImportedModelCommand.js +2 -2
  52. package/dist-es/commands/GetInferenceProfileCommand.js +2 -2
  53. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +2 -2
  54. package/dist-es/commands/GetModelCopyJobCommand.js +2 -2
  55. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -2
  56. package/dist-es/commands/GetModelImportJobCommand.js +2 -2
  57. package/dist-es/commands/GetModelInvocationJobCommand.js +2 -2
  58. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +2 -2
  59. package/dist-es/commands/GetPromptRouterCommand.js +2 -2
  60. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +2 -2
  61. package/dist-es/commands/GetUseCaseForModelAccessCommand.js +2 -2
  62. package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +2 -2
  63. package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +2 -2
  64. package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +2 -2
  65. package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +2 -2
  66. package/dist-es/commands/ListCustomModelDeploymentsCommand.js +2 -2
  67. package/dist-es/commands/ListCustomModelsCommand.js +2 -2
  68. package/dist-es/commands/ListEnforcedGuardrailsConfigurationCommand.js +2 -2
  69. package/dist-es/commands/ListEvaluationJobsCommand.js +2 -2
  70. package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +2 -2
  71. package/dist-es/commands/ListFoundationModelsCommand.js +2 -2
  72. package/dist-es/commands/ListGuardrailsCommand.js +2 -2
  73. package/dist-es/commands/ListImportedModelsCommand.js +2 -2
  74. package/dist-es/commands/ListInferenceProfilesCommand.js +2 -2
  75. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +2 -2
  76. package/dist-es/commands/ListModelCopyJobsCommand.js +2 -2
  77. package/dist-es/commands/ListModelCustomizationJobsCommand.js +2 -2
  78. package/dist-es/commands/ListModelImportJobsCommand.js +2 -2
  79. package/dist-es/commands/ListModelInvocationJobsCommand.js +2 -2
  80. package/dist-es/commands/ListPromptRoutersCommand.js +2 -2
  81. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +2 -2
  82. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  83. package/dist-es/commands/PutEnforcedGuardrailConfigurationCommand.js +2 -2
  84. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +2 -2
  85. package/dist-es/commands/PutUseCaseForModelAccessCommand.js +2 -2
  86. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +2 -2
  87. package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  88. package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +2 -2
  89. package/dist-es/commands/StopEvaluationJobCommand.js +2 -2
  90. package/dist-es/commands/StopModelCustomizationJobCommand.js +2 -2
  91. package/dist-es/commands/StopModelInvocationJobCommand.js +2 -2
  92. package/dist-es/commands/TagResourceCommand.js +2 -2
  93. package/dist-es/commands/UntagResourceCommand.js +2 -2
  94. package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
  95. package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +2 -2
  96. package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  97. package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +2 -2
  98. package/dist-es/commands/UpdateGuardrailCommand.js +2 -2
  99. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +2 -2
  100. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +2 -2
  101. package/dist-es/index.js +1 -0
  102. package/dist-es/runtimeConfig.shared.js +6 -1
  103. package/dist-es/schemas/schemas_0.js +1166 -1187
  104. package/dist-types/BedrockClient.d.ts +1 -10
  105. package/dist-types/index.d.ts +1 -0
  106. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  107. package/dist-types/runtimeConfig.d.ts +6 -2
  108. package/dist-types/runtimeConfig.native.d.ts +6 -2
  109. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  110. package/dist-types/schemas/schemas_0.d.ts +536 -692
  111. package/dist-types/ts3.4/BedrockClient.d.ts +0 -4
  112. package/dist-types/ts3.4/index.d.ts +1 -0
  113. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  114. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  115. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  116. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  117. package/dist-types/ts3.4/schemas/schemas_0.d.ts +535 -694
  118. package/package.json +35 -35
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListImportedModels } from "../schemas/schemas_0";
4
+ import { ListImportedModels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListImportedModelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListImportedModelsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListImportedModels", {})
13
13
  .n("BedrockClient", "ListImportedModelsCommand")
14
- .sc(ListImportedModels)
14
+ .sc(ListImportedModels$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListInferenceProfiles } from "../schemas/schemas_0";
4
+ import { ListInferenceProfiles$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInferenceProfilesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInferenceProfilesCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListInferenceProfiles", {})
13
13
  .n("BedrockClient", "ListInferenceProfilesCommand")
14
- .sc(ListInferenceProfiles)
14
+ .sc(ListInferenceProfiles$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListMarketplaceModelEndpoints } from "../schemas/schemas_0";
4
+ import { ListMarketplaceModelEndpoints$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListMarketplaceModelEndpointsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListMarketplaceModelEndpointsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListMarketplaceModelEndpoints", {})
13
13
  .n("BedrockClient", "ListMarketplaceModelEndpointsCommand")
14
- .sc(ListMarketplaceModelEndpoints)
14
+ .sc(ListMarketplaceModelEndpoints$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListModelCopyJobs } from "../schemas/schemas_0";
4
+ import { ListModelCopyJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListModelCopyJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListModelCopyJobsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListModelCopyJobs", {})
13
13
  .n("BedrockClient", "ListModelCopyJobsCommand")
14
- .sc(ListModelCopyJobs)
14
+ .sc(ListModelCopyJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListModelCustomizationJobs } from "../schemas/schemas_0";
4
+ import { ListModelCustomizationJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListModelCustomizationJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListModelCustomizationJobsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListModelCustomizationJobs", {})
13
13
  .n("BedrockClient", "ListModelCustomizationJobsCommand")
14
- .sc(ListModelCustomizationJobs)
14
+ .sc(ListModelCustomizationJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListModelImportJobs } from "../schemas/schemas_0";
4
+ import { ListModelImportJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListModelImportJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListModelImportJobsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListModelImportJobs", {})
13
13
  .n("BedrockClient", "ListModelImportJobsCommand")
14
- .sc(ListModelImportJobs)
14
+ .sc(ListModelImportJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListModelInvocationJobs } from "../schemas/schemas_0";
4
+ import { ListModelInvocationJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListModelInvocationJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListModelInvocationJobsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListModelInvocationJobs", {})
13
13
  .n("BedrockClient", "ListModelInvocationJobsCommand")
14
- .sc(ListModelInvocationJobs)
14
+ .sc(ListModelInvocationJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListPromptRouters } from "../schemas/schemas_0";
4
+ import { ListPromptRouters$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPromptRoutersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPromptRoutersCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListPromptRouters", {})
13
13
  .n("BedrockClient", "ListPromptRoutersCommand")
14
- .sc(ListPromptRouters)
14
+ .sc(ListPromptRouters$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListProvisionedModelThroughputs } from "../schemas/schemas_0";
4
+ import { ListProvisionedModelThroughputs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListProvisionedModelThroughputsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListProvisionedModelThroughputsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListProvisionedModelThroughputs", {})
13
13
  .n("BedrockClient", "ListProvisionedModelThroughputsCommand")
14
- .sc(ListProvisionedModelThroughputs)
14
+ .sc(ListProvisionedModelThroughputs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "ListTagsForResource", {})
13
13
  .n("BedrockClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutEnforcedGuardrailConfiguration } from "../schemas/schemas_0";
4
+ import { PutEnforcedGuardrailConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutEnforcedGuardrailConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutEnforcedGuardrailConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "PutEnforcedGuardrailConfiguration", {})
13
13
  .n("BedrockClient", "PutEnforcedGuardrailConfigurationCommand")
14
- .sc(PutEnforcedGuardrailConfiguration)
14
+ .sc(PutEnforcedGuardrailConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutModelInvocationLoggingConfiguration } from "../schemas/schemas_0";
4
+ import { PutModelInvocationLoggingConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutModelInvocationLoggingConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutModelInvocationLoggingConfigurationCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "PutModelInvocationLoggingConfiguration", {})
13
13
  .n("BedrockClient", "PutModelInvocationLoggingConfigurationCommand")
14
- .sc(PutModelInvocationLoggingConfiguration)
14
+ .sc(PutModelInvocationLoggingConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutUseCaseForModelAccess } from "../schemas/schemas_0";
4
+ import { PutUseCaseForModelAccess$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutUseCaseForModelAccessCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutUseCaseForModelAccessCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "PutUseCaseForModelAccess", {})
13
13
  .n("BedrockClient", "PutUseCaseForModelAccessCommand")
14
- .sc(PutUseCaseForModelAccess)
14
+ .sc(PutUseCaseForModelAccess$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RegisterMarketplaceModelEndpoint } from "../schemas/schemas_0";
4
+ import { RegisterMarketplaceModelEndpoint$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RegisterMarketplaceModelEndpointCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RegisterMarketplaceModelEndpointCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "RegisterMarketplaceModelEndpoint", {})
13
13
  .n("BedrockClient", "RegisterMarketplaceModelEndpointCommand")
14
- .sc(RegisterMarketplaceModelEndpoint)
14
+ .sc(RegisterMarketplaceModelEndpoint$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartAutomatedReasoningPolicyBuildWorkflow } from "../schemas/schemas_0";
4
+ import { StartAutomatedReasoningPolicyBuildWorkflow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartAutomatedReasoningPolicyBuildWorkflowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartAutomatedReasoningPolicyBuildWorkflowCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "StartAutomatedReasoningPolicyBuildWorkflow", {})
13
13
  .n("BedrockClient", "StartAutomatedReasoningPolicyBuildWorkflowCommand")
14
- .sc(StartAutomatedReasoningPolicyBuildWorkflow)
14
+ .sc(StartAutomatedReasoningPolicyBuildWorkflow$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartAutomatedReasoningPolicyTestWorkflow } from "../schemas/schemas_0";
4
+ import { StartAutomatedReasoningPolicyTestWorkflow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartAutomatedReasoningPolicyTestWorkflowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartAutomatedReasoningPolicyTestWorkflowCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "StartAutomatedReasoningPolicyTestWorkflow", {})
13
13
  .n("BedrockClient", "StartAutomatedReasoningPolicyTestWorkflowCommand")
14
- .sc(StartAutomatedReasoningPolicyTestWorkflow)
14
+ .sc(StartAutomatedReasoningPolicyTestWorkflow$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopEvaluationJob } from "../schemas/schemas_0";
4
+ import { StopEvaluationJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopEvaluationJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopEvaluationJobCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "StopEvaluationJob", {})
13
13
  .n("BedrockClient", "StopEvaluationJobCommand")
14
- .sc(StopEvaluationJob)
14
+ .sc(StopEvaluationJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopModelCustomizationJob } from "../schemas/schemas_0";
4
+ import { StopModelCustomizationJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopModelCustomizationJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopModelCustomizationJobCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "StopModelCustomizationJob", {})
13
13
  .n("BedrockClient", "StopModelCustomizationJobCommand")
14
- .sc(StopModelCustomizationJob)
14
+ .sc(StopModelCustomizationJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopModelInvocationJob } from "../schemas/schemas_0";
4
+ import { StopModelInvocationJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopModelInvocationJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopModelInvocationJobCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "StopModelInvocationJob", {})
13
13
  .n("BedrockClient", "StopModelInvocationJobCommand")
14
- .sc(StopModelInvocationJob)
14
+ .sc(StopModelInvocationJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "TagResource", {})
13
13
  .n("BedrockClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UntagResource", {})
13
13
  .n("BedrockClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAutomatedReasoningPolicyAnnotations } from "../schemas/schemas_0";
4
+ import { UpdateAutomatedReasoningPolicyAnnotations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAutomatedReasoningPolicyAnnotationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAutomatedReasoningPolicyAnnotationsCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateAutomatedReasoningPolicyAnnotations", {})
13
13
  .n("BedrockClient", "UpdateAutomatedReasoningPolicyAnnotationsCommand")
14
- .sc(UpdateAutomatedReasoningPolicyAnnotations)
14
+ .sc(UpdateAutomatedReasoningPolicyAnnotations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAutomatedReasoningPolicy } from "../schemas/schemas_0";
4
+ import { UpdateAutomatedReasoningPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAutomatedReasoningPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAutomatedReasoningPolicyCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateAutomatedReasoningPolicy", {})
13
13
  .n("BedrockClient", "UpdateAutomatedReasoningPolicyCommand")
14
- .sc(UpdateAutomatedReasoningPolicy)
14
+ .sc(UpdateAutomatedReasoningPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateAutomatedReasoningPolicyTestCase } from "../schemas/schemas_0";
4
+ import { UpdateAutomatedReasoningPolicyTestCase$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateAutomatedReasoningPolicyTestCaseCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateAutomatedReasoningPolicyTestCaseCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateAutomatedReasoningPolicyTestCase", {})
13
13
  .n("BedrockClient", "UpdateAutomatedReasoningPolicyTestCaseCommand")
14
- .sc(UpdateAutomatedReasoningPolicyTestCase)
14
+ .sc(UpdateAutomatedReasoningPolicyTestCase$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateCustomModelDeployment } from "../schemas/schemas_0";
4
+ import { UpdateCustomModelDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateCustomModelDeploymentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateCustomModelDeploymentCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateCustomModelDeployment", {})
13
13
  .n("BedrockClient", "UpdateCustomModelDeploymentCommand")
14
- .sc(UpdateCustomModelDeployment)
14
+ .sc(UpdateCustomModelDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateGuardrail } from "../schemas/schemas_0";
4
+ import { UpdateGuardrail$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateGuardrailCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateGuardrailCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateGuardrail", {})
13
13
  .n("BedrockClient", "UpdateGuardrailCommand")
14
- .sc(UpdateGuardrail)
14
+ .sc(UpdateGuardrail$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateMarketplaceModelEndpoint } from "../schemas/schemas_0";
4
+ import { UpdateMarketplaceModelEndpoint$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateMarketplaceModelEndpointCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateMarketplaceModelEndpointCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateMarketplaceModelEndpoint", {})
13
13
  .n("BedrockClient", "UpdateMarketplaceModelEndpointCommand")
14
- .sc(UpdateMarketplaceModelEndpoint)
14
+ .sc(UpdateMarketplaceModelEndpoint$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateProvisionedModelThroughput } from "../schemas/schemas_0";
4
+ import { UpdateProvisionedModelThroughput$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateProvisionedModelThroughputCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateProvisionedModelThroughputCommand extends $Command
11
11
  })
12
12
  .s("AmazonBedrockControlPlaneService", "UpdateProvisionedModelThroughput", {})
13
13
  .n("BedrockClient", "UpdateProvisionedModelThroughputCommand")
14
- .sc(UpdateProvisionedModelThroughput)
14
+ .sc(UpdateProvisionedModelThroughput$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BedrockClient";
2
2
  export * from "./Bedrock";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -29,7 +29,12 @@ export const getRuntimeConfig = (config) => {
29
29
  },
30
30
  ],
31
31
  logger: config?.logger ?? new NoOpLogger(),
32
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.bedrock" }),
32
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
33
+ protocolSettings: config?.protocolSettings ?? {
34
+ defaultNamespace: "com.amazonaws.bedrock",
35
+ version: "2023-04-20",
36
+ serviceTarget: "AmazonBedrockControlPlaneService",
37
+ },
33
38
  serviceId: config?.serviceId ?? "Bedrock",
34
39
  urlParser: config?.urlParser ?? parseUrl,
35
40
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,