@aws-sdk/client-bedrock 3.1045.0 → 3.1047.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 (378) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  3. package/dist-cjs/endpoint/bdd.js +2 -2
  4. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  5. package/dist-cjs/index.js +309 -226
  6. package/dist-cjs/models/BedrockServiceException.js +3 -3
  7. package/dist-cjs/models/errors.js +14 -14
  8. package/dist-cjs/runtimeConfig.browser.js +12 -14
  9. package/dist-cjs/runtimeConfig.js +18 -22
  10. package/dist-cjs/runtimeConfig.shared.js +9 -10
  11. package/dist-cjs/schemas/schemas_0.js +192 -46
  12. package/dist-es/Bedrock.js +13 -1
  13. package/dist-es/BedrockClient.js +5 -5
  14. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  15. package/dist-es/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.js +16 -0
  16. package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +2 -2
  17. package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  18. package/dist-es/commands/CreateAdvancedPromptOptimizationJobCommand.js +16 -0
  19. package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +2 -2
  20. package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  21. package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +2 -2
  22. package/dist-es/commands/CreateCustomModelCommand.js +2 -2
  23. package/dist-es/commands/CreateCustomModelDeploymentCommand.js +2 -2
  24. package/dist-es/commands/CreateEvaluationJobCommand.js +2 -2
  25. package/dist-es/commands/CreateFoundationModelAgreementCommand.js +2 -2
  26. package/dist-es/commands/CreateGuardrailCommand.js +2 -2
  27. package/dist-es/commands/CreateGuardrailVersionCommand.js +2 -2
  28. package/dist-es/commands/CreateInferenceProfileCommand.js +2 -2
  29. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +2 -2
  30. package/dist-es/commands/CreateModelCopyJobCommand.js +2 -2
  31. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -2
  32. package/dist-es/commands/CreateModelImportJobCommand.js +2 -2
  33. package/dist-es/commands/CreateModelInvocationJobCommand.js +2 -2
  34. package/dist-es/commands/CreatePromptRouterCommand.js +2 -2
  35. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +2 -2
  36. package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  37. package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +2 -2
  38. package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  39. package/dist-es/commands/DeleteCustomModelCommand.js +2 -2
  40. package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +2 -2
  41. package/dist-es/commands/DeleteEnforcedGuardrailConfigurationCommand.js +2 -2
  42. package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +2 -2
  43. package/dist-es/commands/DeleteGuardrailCommand.js +2 -2
  44. package/dist-es/commands/DeleteImportedModelCommand.js +2 -2
  45. package/dist-es/commands/DeleteInferenceProfileCommand.js +2 -2
  46. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +2 -2
  47. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +2 -2
  48. package/dist-es/commands/DeletePromptRouterCommand.js +2 -2
  49. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +2 -2
  50. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  51. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +2 -2
  52. package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +2 -2
  53. package/dist-es/commands/GetAdvancedPromptOptimizationJobCommand.js +16 -0
  54. package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
  55. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  56. package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +2 -2
  57. package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +2 -2
  58. package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +2 -2
  59. package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  60. package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +2 -2
  61. package/dist-es/commands/GetCustomModelCommand.js +2 -2
  62. package/dist-es/commands/GetCustomModelDeploymentCommand.js +2 -2
  63. package/dist-es/commands/GetEvaluationJobCommand.js +2 -2
  64. package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +2 -2
  65. package/dist-es/commands/GetFoundationModelCommand.js +2 -2
  66. package/dist-es/commands/GetGuardrailCommand.js +2 -2
  67. package/dist-es/commands/GetImportedModelCommand.js +2 -2
  68. package/dist-es/commands/GetInferenceProfileCommand.js +2 -2
  69. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +2 -2
  70. package/dist-es/commands/GetModelCopyJobCommand.js +2 -2
  71. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -2
  72. package/dist-es/commands/GetModelImportJobCommand.js +2 -2
  73. package/dist-es/commands/GetModelInvocationJobCommand.js +2 -2
  74. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +2 -2
  75. package/dist-es/commands/GetPromptRouterCommand.js +2 -2
  76. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +2 -2
  77. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  78. package/dist-es/commands/GetUseCaseForModelAccessCommand.js +2 -2
  79. package/dist-es/commands/ListAdvancedPromptOptimizationJobsCommand.js +16 -0
  80. package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +2 -2
  81. package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +2 -2
  82. package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +2 -2
  83. package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +2 -2
  84. package/dist-es/commands/ListCustomModelDeploymentsCommand.js +2 -2
  85. package/dist-es/commands/ListCustomModelsCommand.js +2 -2
  86. package/dist-es/commands/ListEnforcedGuardrailsConfigurationCommand.js +2 -2
  87. package/dist-es/commands/ListEvaluationJobsCommand.js +2 -2
  88. package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +2 -2
  89. package/dist-es/commands/ListFoundationModelsCommand.js +2 -2
  90. package/dist-es/commands/ListGuardrailsCommand.js +2 -2
  91. package/dist-es/commands/ListImportedModelsCommand.js +2 -2
  92. package/dist-es/commands/ListInferenceProfilesCommand.js +2 -2
  93. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +2 -2
  94. package/dist-es/commands/ListModelCopyJobsCommand.js +2 -2
  95. package/dist-es/commands/ListModelCustomizationJobsCommand.js +2 -2
  96. package/dist-es/commands/ListModelImportJobsCommand.js +2 -2
  97. package/dist-es/commands/ListModelInvocationJobsCommand.js +2 -2
  98. package/dist-es/commands/ListPromptRoutersCommand.js +2 -2
  99. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +2 -2
  100. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  101. package/dist-es/commands/PutEnforcedGuardrailConfigurationCommand.js +2 -2
  102. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +2 -2
  103. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  104. package/dist-es/commands/PutUseCaseForModelAccessCommand.js +2 -2
  105. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +2 -2
  106. package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
  107. package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +2 -2
  108. package/dist-es/commands/StopAdvancedPromptOptimizationJobCommand.js +16 -0
  109. package/dist-es/commands/StopEvaluationJobCommand.js +2 -2
  110. package/dist-es/commands/StopModelCustomizationJobCommand.js +2 -2
  111. package/dist-es/commands/StopModelInvocationJobCommand.js +2 -2
  112. package/dist-es/commands/TagResourceCommand.js +2 -2
  113. package/dist-es/commands/UntagResourceCommand.js +2 -2
  114. package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
  115. package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +2 -2
  116. package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
  117. package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +2 -2
  118. package/dist-es/commands/UpdateGuardrailCommand.js +2 -2
  119. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +2 -2
  120. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +2 -2
  121. package/dist-es/commands/index.js +5 -0
  122. package/dist-es/endpoint/bdd.js +1 -1
  123. package/dist-es/endpoint/endpointResolver.js +1 -1
  124. package/dist-es/models/BedrockServiceException.js +1 -1
  125. package/dist-es/models/enums.js +16 -7
  126. package/dist-es/models/errors.js +12 -12
  127. package/dist-es/pagination/ListAdvancedPromptOptimizationJobsPaginator.js +4 -0
  128. package/dist-es/pagination/index.js +1 -0
  129. package/dist-es/runtimeConfig.browser.js +4 -6
  130. package/dist-es/runtimeConfig.js +4 -8
  131. package/dist-es/runtimeConfig.shared.js +3 -4
  132. package/dist-es/runtimeExtensions.js +2 -2
  133. package/dist-es/schemas/schemas_0.js +180 -34
  134. package/dist-types/Bedrock.d.ts +43 -0
  135. package/dist-types/BedrockClient.d.ts +12 -7
  136. package/dist-types/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +102 -0
  137. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +6 -4
  138. package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  139. package/dist-types/commands/CreateAdvancedPromptOptimizationJobCommand.d.ts +131 -0
  140. package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +6 -4
  141. package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  142. package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
  143. package/dist-types/commands/CreateCustomModelCommand.d.ts +6 -4
  144. package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +6 -4
  145. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +6 -4
  146. package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +6 -4
  147. package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -5
  148. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +7 -5
  149. package/dist-types/commands/CreateInferenceProfileCommand.d.ts +6 -4
  150. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +6 -4
  151. package/dist-types/commands/CreateModelCopyJobCommand.d.ts +6 -4
  152. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -4
  153. package/dist-types/commands/CreateModelImportJobCommand.d.ts +6 -4
  154. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +6 -4
  155. package/dist-types/commands/CreatePromptRouterCommand.d.ts +6 -4
  156. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +6 -4
  157. package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  158. package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +6 -4
  159. package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  160. package/dist-types/commands/DeleteCustomModelCommand.d.ts +6 -4
  161. package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +6 -4
  162. package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +6 -4
  163. package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +6 -4
  164. package/dist-types/commands/DeleteGuardrailCommand.d.ts +7 -5
  165. package/dist-types/commands/DeleteImportedModelCommand.d.ts +6 -4
  166. package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +6 -4
  167. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +6 -4
  168. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +6 -4
  169. package/dist-types/commands/DeletePromptRouterCommand.d.ts +6 -4
  170. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +6 -4
  171. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  172. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +6 -4
  173. package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
  174. package/dist-types/commands/GetAdvancedPromptOptimizationJobCommand.d.ts +120 -0
  175. package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
  176. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  177. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +6 -4
  178. package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +6 -4
  179. package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +6 -4
  180. package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  181. package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +6 -4
  182. package/dist-types/commands/GetCustomModelCommand.d.ts +6 -4
  183. package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +6 -4
  184. package/dist-types/commands/GetEvaluationJobCommand.d.ts +6 -4
  185. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +6 -4
  186. package/dist-types/commands/GetFoundationModelCommand.d.ts +6 -4
  187. package/dist-types/commands/GetGuardrailCommand.d.ts +7 -6
  188. package/dist-types/commands/GetImportedModelCommand.d.ts +6 -4
  189. package/dist-types/commands/GetInferenceProfileCommand.d.ts +6 -4
  190. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +6 -4
  191. package/dist-types/commands/GetModelCopyJobCommand.d.ts +6 -4
  192. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +6 -4
  193. package/dist-types/commands/GetModelImportJobCommand.d.ts +6 -4
  194. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +6 -4
  195. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +6 -4
  196. package/dist-types/commands/GetPromptRouterCommand.d.ts +6 -4
  197. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +6 -4
  198. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
  199. package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +6 -4
  200. package/dist-types/commands/ListAdvancedPromptOptimizationJobsCommand.d.ts +100 -0
  201. package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +6 -4
  202. package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +6 -4
  203. package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +6 -4
  204. package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +6 -4
  205. package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +6 -4
  206. package/dist-types/commands/ListCustomModelsCommand.d.ts +6 -4
  207. package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +6 -4
  208. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +6 -4
  209. package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +6 -4
  210. package/dist-types/commands/ListFoundationModelsCommand.d.ts +6 -4
  211. package/dist-types/commands/ListGuardrailsCommand.d.ts +6 -4
  212. package/dist-types/commands/ListImportedModelsCommand.d.ts +6 -4
  213. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +6 -4
  214. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +6 -4
  215. package/dist-types/commands/ListModelCopyJobsCommand.d.ts +6 -4
  216. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +6 -4
  217. package/dist-types/commands/ListModelImportJobsCommand.d.ts +6 -4
  218. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +6 -4
  219. package/dist-types/commands/ListPromptRoutersCommand.d.ts +6 -4
  220. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +6 -4
  221. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  222. package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +6 -4
  223. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +6 -4
  224. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
  225. package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +6 -4
  226. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +6 -4
  227. package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  228. package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +6 -4
  229. package/dist-types/commands/StopAdvancedPromptOptimizationJobCommand.d.ts +92 -0
  230. package/dist-types/commands/StopEvaluationJobCommand.d.ts +6 -4
  231. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +6 -4
  232. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +6 -4
  233. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  234. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  235. package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
  236. package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +6 -4
  237. package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  238. package/dist-types/commands/UpdateCustomModelDeploymentCommand.d.ts +6 -4
  239. package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -4
  240. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +6 -4
  241. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +6 -4
  242. package/dist-types/commands/index.d.ts +5 -0
  243. package/dist-types/endpoint/bdd.d.ts +1 -1
  244. package/dist-types/extensionConfiguration.d.ts +1 -1
  245. package/dist-types/models/BedrockServiceException.d.ts +1 -1
  246. package/dist-types/models/enums.d.ts +40 -23
  247. package/dist-types/models/errors.d.ts +13 -13
  248. package/dist-types/models/models_0.d.ts +3481 -3544
  249. package/dist-types/models/models_1.d.ts +417 -2
  250. package/dist-types/pagination/ListAdvancedPromptOptimizationJobsPaginator.d.ts +7 -0
  251. package/dist-types/pagination/index.d.ts +1 -0
  252. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  253. package/dist-types/runtimeConfig.d.ts +2 -2
  254. package/dist-types/runtimeConfig.native.d.ts +2 -2
  255. package/dist-types/schemas/schemas_0.d.ts +22 -0
  256. package/dist-types/ts3.4/Bedrock.d.ts +117 -0
  257. package/dist-types/ts3.4/BedrockClient.d.ts +38 -14
  258. package/dist-types/ts3.4/commands/BatchDeleteAdvancedPromptOptimizationJobCommand.d.ts +53 -0
  259. package/dist-types/ts3.4/commands/BatchDeleteEvaluationJobCommand.d.ts +6 -4
  260. package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  261. package/dist-types/ts3.4/commands/CreateAdvancedPromptOptimizationJobCommand.d.ts +53 -0
  262. package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +6 -4
  263. package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  264. package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
  265. package/dist-types/ts3.4/commands/CreateCustomModelCommand.d.ts +6 -4
  266. package/dist-types/ts3.4/commands/CreateCustomModelDeploymentCommand.d.ts +6 -4
  267. package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +6 -4
  268. package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +6 -4
  269. package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +7 -5
  270. package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +7 -5
  271. package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +6 -4
  272. package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +6 -4
  273. package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +6 -4
  274. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +6 -4
  275. package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +6 -4
  276. package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +6 -4
  277. package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +6 -4
  278. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +6 -4
  279. package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  280. package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +6 -4
  281. package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  282. package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +6 -4
  283. package/dist-types/ts3.4/commands/DeleteCustomModelDeploymentCommand.d.ts +6 -4
  284. package/dist-types/ts3.4/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +6 -4
  285. package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +6 -4
  286. package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +7 -5
  287. package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +6 -4
  288. package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +6 -4
  289. package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +6 -4
  290. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +6 -4
  291. package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +6 -4
  292. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +6 -4
  293. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  294. package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +6 -4
  295. package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +6 -4
  296. package/dist-types/ts3.4/commands/GetAdvancedPromptOptimizationJobCommand.d.ts +53 -0
  297. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
  298. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  299. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +6 -4
  300. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +6 -4
  301. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +6 -4
  302. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  303. package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +6 -4
  304. package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +6 -4
  305. package/dist-types/ts3.4/commands/GetCustomModelDeploymentCommand.d.ts +6 -4
  306. package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +6 -4
  307. package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +6 -4
  308. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +6 -4
  309. package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +7 -6
  310. package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +6 -4
  311. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +6 -4
  312. package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +6 -4
  313. package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +6 -4
  314. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +6 -4
  315. package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +6 -4
  316. package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +6 -4
  317. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +6 -4
  318. package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +6 -4
  319. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +6 -4
  320. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
  321. package/dist-types/ts3.4/commands/GetUseCaseForModelAccessCommand.d.ts +6 -4
  322. package/dist-types/ts3.4/commands/ListAdvancedPromptOptimizationJobsCommand.d.ts +53 -0
  323. package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +6 -4
  324. package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +6 -4
  325. package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +6 -4
  326. package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +6 -4
  327. package/dist-types/ts3.4/commands/ListCustomModelDeploymentsCommand.d.ts +6 -4
  328. package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +6 -4
  329. package/dist-types/ts3.4/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +6 -4
  330. package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +6 -4
  331. package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +6 -4
  332. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +6 -4
  333. package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +6 -4
  334. package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +6 -4
  335. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +6 -4
  336. package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +6 -4
  337. package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +6 -4
  338. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +6 -4
  339. package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +6 -4
  340. package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +6 -4
  341. package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +6 -4
  342. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +6 -4
  343. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  344. package/dist-types/ts3.4/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +6 -4
  345. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +6 -4
  346. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
  347. package/dist-types/ts3.4/commands/PutUseCaseForModelAccessCommand.d.ts +6 -4
  348. package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +6 -4
  349. package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +6 -4
  350. package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +6 -4
  351. package/dist-types/ts3.4/commands/StopAdvancedPromptOptimizationJobCommand.d.ts +53 -0
  352. package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +6 -4
  353. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +6 -4
  354. package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +6 -4
  355. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  356. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  357. package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +6 -4
  358. package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +6 -4
  359. package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +6 -4
  360. package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +6 -4
  361. package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +6 -4
  362. package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +6 -4
  363. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +6 -4
  364. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  365. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  366. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  367. package/dist-types/ts3.4/models/BedrockServiceException.d.ts +1 -1
  368. package/dist-types/ts3.4/models/enums.d.ts +20 -9
  369. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  370. package/dist-types/ts3.4/models/models_0.d.ts +90 -107
  371. package/dist-types/ts3.4/models/models_1.d.ts +114 -7
  372. package/dist-types/ts3.4/pagination/ListAdvancedPromptOptimizationJobsPaginator.d.ts +11 -0
  373. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  374. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  375. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  376. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  377. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  378. package/package.json +14 -35
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var BedrockServiceException = require('./models/BedrockServiceException');
@@ -81,12 +80,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
81
80
  };
82
81
 
83
82
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
84
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
83
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
85
84
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
86
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
85
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
87
86
  };
88
87
 
89
- class BedrockClient extends smithyClient.Client {
88
+ class BedrockClient extends client.Client {
90
89
  config;
91
90
  constructor(...[configuration]) {
92
91
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -94,17 +93,17 @@ class BedrockClient extends smithyClient.Client {
94
93
  this.initConfig = _config_0;
95
94
  const _config_1 = resolveClientEndpointParameters(_config_0);
96
95
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
97
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
98
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
96
+ const _config_3 = retry.resolveRetryConfig(_config_2);
97
+ const _config_4 = config.resolveRegionConfig(_config_3);
99
98
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
100
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
99
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
101
100
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
102
101
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
103
102
  this.config = _config_8;
104
103
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
105
104
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
106
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
107
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
105
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
106
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
108
107
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
109
108
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
110
109
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -122,11 +121,23 @@ class BedrockClient extends smithyClient.Client {
122
121
  }
123
122
  }
124
123
 
125
- class BatchDeleteEvaluationJobCommand extends smithyClient.Command
124
+ class BatchDeleteAdvancedPromptOptimizationJobCommand extends client.Command
126
125
  .classBuilder()
127
126
  .ep(commonParams)
128
127
  .m(function (Command, cs, config, o) {
129
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
129
+ })
130
+ .s("AmazonBedrockControlPlaneService", "BatchDeleteAdvancedPromptOptimizationJob", {})
131
+ .n("BedrockClient", "BatchDeleteAdvancedPromptOptimizationJobCommand")
132
+ .sc(schemas_0.BatchDeleteAdvancedPromptOptimizationJob$)
133
+ .build() {
134
+ }
135
+
136
+ class BatchDeleteEvaluationJobCommand extends client.Command
137
+ .classBuilder()
138
+ .ep(commonParams)
139
+ .m(function (Command, cs, config, o) {
140
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
141
  })
131
142
  .s("AmazonBedrockControlPlaneService", "BatchDeleteEvaluationJob", {})
132
143
  .n("BedrockClient", "BatchDeleteEvaluationJobCommand")
@@ -134,11 +145,11 @@ class BatchDeleteEvaluationJobCommand extends smithyClient.Command
134
145
  .build() {
135
146
  }
136
147
 
137
- class CancelAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Command
148
+ class CancelAutomatedReasoningPolicyBuildWorkflowCommand extends client.Command
138
149
  .classBuilder()
139
150
  .ep(commonParams)
140
151
  .m(function (Command, cs, config, o) {
141
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
142
153
  })
143
154
  .s("AmazonBedrockControlPlaneService", "CancelAutomatedReasoningPolicyBuildWorkflow", {})
144
155
  .n("BedrockClient", "CancelAutomatedReasoningPolicyBuildWorkflowCommand")
@@ -146,11 +157,23 @@ class CancelAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Co
146
157
  .build() {
147
158
  }
148
159
 
149
- class CreateAutomatedReasoningPolicyCommand extends smithyClient.Command
160
+ class CreateAdvancedPromptOptimizationJobCommand extends client.Command
150
161
  .classBuilder()
151
162
  .ep(commonParams)
152
163
  .m(function (Command, cs, config, o) {
153
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
165
+ })
166
+ .s("AmazonBedrockControlPlaneService", "CreateAdvancedPromptOptimizationJob", {})
167
+ .n("BedrockClient", "CreateAdvancedPromptOptimizationJobCommand")
168
+ .sc(schemas_0.CreateAdvancedPromptOptimizationJob$)
169
+ .build() {
170
+ }
171
+
172
+ class CreateAutomatedReasoningPolicyCommand extends client.Command
173
+ .classBuilder()
174
+ .ep(commonParams)
175
+ .m(function (Command, cs, config, o) {
176
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
154
177
  })
155
178
  .s("AmazonBedrockControlPlaneService", "CreateAutomatedReasoningPolicy", {})
156
179
  .n("BedrockClient", "CreateAutomatedReasoningPolicyCommand")
@@ -158,11 +181,11 @@ class CreateAutomatedReasoningPolicyCommand extends smithyClient.Command
158
181
  .build() {
159
182
  }
160
183
 
161
- class CreateAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
184
+ class CreateAutomatedReasoningPolicyTestCaseCommand extends client.Command
162
185
  .classBuilder()
163
186
  .ep(commonParams)
164
187
  .m(function (Command, cs, config, o) {
165
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
166
189
  })
167
190
  .s("AmazonBedrockControlPlaneService", "CreateAutomatedReasoningPolicyTestCase", {})
168
191
  .n("BedrockClient", "CreateAutomatedReasoningPolicyTestCaseCommand")
@@ -170,11 +193,11 @@ class CreateAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
170
193
  .build() {
171
194
  }
172
195
 
173
- class CreateAutomatedReasoningPolicyVersionCommand extends smithyClient.Command
196
+ class CreateAutomatedReasoningPolicyVersionCommand extends client.Command
174
197
  .classBuilder()
175
198
  .ep(commonParams)
176
199
  .m(function (Command, cs, config, o) {
177
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
201
  })
179
202
  .s("AmazonBedrockControlPlaneService", "CreateAutomatedReasoningPolicyVersion", {})
180
203
  .n("BedrockClient", "CreateAutomatedReasoningPolicyVersionCommand")
@@ -182,11 +205,11 @@ class CreateAutomatedReasoningPolicyVersionCommand extends smithyClient.Command
182
205
  .build() {
183
206
  }
184
207
 
185
- class CreateCustomModelCommand extends smithyClient.Command
208
+ class CreateCustomModelCommand extends client.Command
186
209
  .classBuilder()
187
210
  .ep(commonParams)
188
211
  .m(function (Command, cs, config, o) {
189
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
213
  })
191
214
  .s("AmazonBedrockControlPlaneService", "CreateCustomModel", {})
192
215
  .n("BedrockClient", "CreateCustomModelCommand")
@@ -194,11 +217,11 @@ class CreateCustomModelCommand extends smithyClient.Command
194
217
  .build() {
195
218
  }
196
219
 
197
- class CreateCustomModelDeploymentCommand extends smithyClient.Command
220
+ class CreateCustomModelDeploymentCommand extends client.Command
198
221
  .classBuilder()
199
222
  .ep(commonParams)
200
223
  .m(function (Command, cs, config, o) {
201
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
225
  })
203
226
  .s("AmazonBedrockControlPlaneService", "CreateCustomModelDeployment", {})
204
227
  .n("BedrockClient", "CreateCustomModelDeploymentCommand")
@@ -206,11 +229,11 @@ class CreateCustomModelDeploymentCommand extends smithyClient.Command
206
229
  .build() {
207
230
  }
208
231
 
209
- class CreateEvaluationJobCommand extends smithyClient.Command
232
+ class CreateEvaluationJobCommand extends client.Command
210
233
  .classBuilder()
211
234
  .ep(commonParams)
212
235
  .m(function (Command, cs, config, o) {
213
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
214
237
  })
215
238
  .s("AmazonBedrockControlPlaneService", "CreateEvaluationJob", {})
216
239
  .n("BedrockClient", "CreateEvaluationJobCommand")
@@ -218,11 +241,11 @@ class CreateEvaluationJobCommand extends smithyClient.Command
218
241
  .build() {
219
242
  }
220
243
 
221
- class CreateFoundationModelAgreementCommand extends smithyClient.Command
244
+ class CreateFoundationModelAgreementCommand extends client.Command
222
245
  .classBuilder()
223
246
  .ep(commonParams)
224
247
  .m(function (Command, cs, config, o) {
225
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
226
249
  })
227
250
  .s("AmazonBedrockControlPlaneService", "CreateFoundationModelAgreement", {})
228
251
  .n("BedrockClient", "CreateFoundationModelAgreementCommand")
@@ -230,11 +253,11 @@ class CreateFoundationModelAgreementCommand extends smithyClient.Command
230
253
  .build() {
231
254
  }
232
255
 
233
- class CreateGuardrailCommand extends smithyClient.Command
256
+ class CreateGuardrailCommand extends client.Command
234
257
  .classBuilder()
235
258
  .ep(commonParams)
236
259
  .m(function (Command, cs, config, o) {
237
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
238
261
  })
239
262
  .s("AmazonBedrockControlPlaneService", "CreateGuardrail", {})
240
263
  .n("BedrockClient", "CreateGuardrailCommand")
@@ -242,11 +265,11 @@ class CreateGuardrailCommand extends smithyClient.Command
242
265
  .build() {
243
266
  }
244
267
 
245
- class CreateGuardrailVersionCommand extends smithyClient.Command
268
+ class CreateGuardrailVersionCommand extends client.Command
246
269
  .classBuilder()
247
270
  .ep(commonParams)
248
271
  .m(function (Command, cs, config, o) {
249
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
250
273
  })
251
274
  .s("AmazonBedrockControlPlaneService", "CreateGuardrailVersion", {})
252
275
  .n("BedrockClient", "CreateGuardrailVersionCommand")
@@ -254,11 +277,11 @@ class CreateGuardrailVersionCommand extends smithyClient.Command
254
277
  .build() {
255
278
  }
256
279
 
257
- class CreateInferenceProfileCommand extends smithyClient.Command
280
+ class CreateInferenceProfileCommand extends client.Command
258
281
  .classBuilder()
259
282
  .ep(commonParams)
260
283
  .m(function (Command, cs, config, o) {
261
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
262
285
  })
263
286
  .s("AmazonBedrockControlPlaneService", "CreateInferenceProfile", {})
264
287
  .n("BedrockClient", "CreateInferenceProfileCommand")
@@ -266,11 +289,11 @@ class CreateInferenceProfileCommand extends smithyClient.Command
266
289
  .build() {
267
290
  }
268
291
 
269
- class CreateMarketplaceModelEndpointCommand extends smithyClient.Command
292
+ class CreateMarketplaceModelEndpointCommand extends client.Command
270
293
  .classBuilder()
271
294
  .ep(commonParams)
272
295
  .m(function (Command, cs, config, o) {
273
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
296
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
274
297
  })
275
298
  .s("AmazonBedrockControlPlaneService", "CreateMarketplaceModelEndpoint", {})
276
299
  .n("BedrockClient", "CreateMarketplaceModelEndpointCommand")
@@ -278,11 +301,11 @@ class CreateMarketplaceModelEndpointCommand extends smithyClient.Command
278
301
  .build() {
279
302
  }
280
303
 
281
- class CreateModelCopyJobCommand extends smithyClient.Command
304
+ class CreateModelCopyJobCommand extends client.Command
282
305
  .classBuilder()
283
306
  .ep(commonParams)
284
307
  .m(function (Command, cs, config, o) {
285
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
308
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
286
309
  })
287
310
  .s("AmazonBedrockControlPlaneService", "CreateModelCopyJob", {})
288
311
  .n("BedrockClient", "CreateModelCopyJobCommand")
@@ -290,11 +313,11 @@ class CreateModelCopyJobCommand extends smithyClient.Command
290
313
  .build() {
291
314
  }
292
315
 
293
- class CreateModelCustomizationJobCommand extends smithyClient.Command
316
+ class CreateModelCustomizationJobCommand extends client.Command
294
317
  .classBuilder()
295
318
  .ep(commonParams)
296
319
  .m(function (Command, cs, config, o) {
297
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
298
321
  })
299
322
  .s("AmazonBedrockControlPlaneService", "CreateModelCustomizationJob", {})
300
323
  .n("BedrockClient", "CreateModelCustomizationJobCommand")
@@ -302,11 +325,11 @@ class CreateModelCustomizationJobCommand extends smithyClient.Command
302
325
  .build() {
303
326
  }
304
327
 
305
- class CreateModelImportJobCommand extends smithyClient.Command
328
+ class CreateModelImportJobCommand extends client.Command
306
329
  .classBuilder()
307
330
  .ep(commonParams)
308
331
  .m(function (Command, cs, config, o) {
309
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
310
333
  })
311
334
  .s("AmazonBedrockControlPlaneService", "CreateModelImportJob", {})
312
335
  .n("BedrockClient", "CreateModelImportJobCommand")
@@ -314,11 +337,11 @@ class CreateModelImportJobCommand extends smithyClient.Command
314
337
  .build() {
315
338
  }
316
339
 
317
- class CreateModelInvocationJobCommand extends smithyClient.Command
340
+ class CreateModelInvocationJobCommand extends client.Command
318
341
  .classBuilder()
319
342
  .ep(commonParams)
320
343
  .m(function (Command, cs, config, o) {
321
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
344
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
322
345
  })
323
346
  .s("AmazonBedrockControlPlaneService", "CreateModelInvocationJob", {})
324
347
  .n("BedrockClient", "CreateModelInvocationJobCommand")
@@ -326,11 +349,11 @@ class CreateModelInvocationJobCommand extends smithyClient.Command
326
349
  .build() {
327
350
  }
328
351
 
329
- class CreatePromptRouterCommand extends smithyClient.Command
352
+ class CreatePromptRouterCommand extends client.Command
330
353
  .classBuilder()
331
354
  .ep(commonParams)
332
355
  .m(function (Command, cs, config, o) {
333
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
356
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
334
357
  })
335
358
  .s("AmazonBedrockControlPlaneService", "CreatePromptRouter", {})
336
359
  .n("BedrockClient", "CreatePromptRouterCommand")
@@ -338,11 +361,11 @@ class CreatePromptRouterCommand extends smithyClient.Command
338
361
  .build() {
339
362
  }
340
363
 
341
- class CreateProvisionedModelThroughputCommand extends smithyClient.Command
364
+ class CreateProvisionedModelThroughputCommand extends client.Command
342
365
  .classBuilder()
343
366
  .ep(commonParams)
344
367
  .m(function (Command, cs, config, o) {
345
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
368
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
346
369
  })
347
370
  .s("AmazonBedrockControlPlaneService", "CreateProvisionedModelThroughput", {})
348
371
  .n("BedrockClient", "CreateProvisionedModelThroughputCommand")
@@ -350,11 +373,11 @@ class CreateProvisionedModelThroughputCommand extends smithyClient.Command
350
373
  .build() {
351
374
  }
352
375
 
353
- class DeleteAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Command
376
+ class DeleteAutomatedReasoningPolicyBuildWorkflowCommand extends client.Command
354
377
  .classBuilder()
355
378
  .ep(commonParams)
356
379
  .m(function (Command, cs, config, o) {
357
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
358
381
  })
359
382
  .s("AmazonBedrockControlPlaneService", "DeleteAutomatedReasoningPolicyBuildWorkflow", {})
360
383
  .n("BedrockClient", "DeleteAutomatedReasoningPolicyBuildWorkflowCommand")
@@ -362,11 +385,11 @@ class DeleteAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Co
362
385
  .build() {
363
386
  }
364
387
 
365
- class DeleteAutomatedReasoningPolicyCommand extends smithyClient.Command
388
+ class DeleteAutomatedReasoningPolicyCommand extends client.Command
366
389
  .classBuilder()
367
390
  .ep(commonParams)
368
391
  .m(function (Command, cs, config, o) {
369
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
392
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
370
393
  })
371
394
  .s("AmazonBedrockControlPlaneService", "DeleteAutomatedReasoningPolicy", {})
372
395
  .n("BedrockClient", "DeleteAutomatedReasoningPolicyCommand")
@@ -374,11 +397,11 @@ class DeleteAutomatedReasoningPolicyCommand extends smithyClient.Command
374
397
  .build() {
375
398
  }
376
399
 
377
- class DeleteAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
400
+ class DeleteAutomatedReasoningPolicyTestCaseCommand extends client.Command
378
401
  .classBuilder()
379
402
  .ep(commonParams)
380
403
  .m(function (Command, cs, config, o) {
381
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
404
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
382
405
  })
383
406
  .s("AmazonBedrockControlPlaneService", "DeleteAutomatedReasoningPolicyTestCase", {})
384
407
  .n("BedrockClient", "DeleteAutomatedReasoningPolicyTestCaseCommand")
@@ -386,11 +409,11 @@ class DeleteAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
386
409
  .build() {
387
410
  }
388
411
 
389
- class DeleteCustomModelCommand extends smithyClient.Command
412
+ class DeleteCustomModelCommand extends client.Command
390
413
  .classBuilder()
391
414
  .ep(commonParams)
392
415
  .m(function (Command, cs, config, o) {
393
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
416
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
394
417
  })
395
418
  .s("AmazonBedrockControlPlaneService", "DeleteCustomModel", {})
396
419
  .n("BedrockClient", "DeleteCustomModelCommand")
@@ -398,11 +421,11 @@ class DeleteCustomModelCommand extends smithyClient.Command
398
421
  .build() {
399
422
  }
400
423
 
401
- class DeleteCustomModelDeploymentCommand extends smithyClient.Command
424
+ class DeleteCustomModelDeploymentCommand extends client.Command
402
425
  .classBuilder()
403
426
  .ep(commonParams)
404
427
  .m(function (Command, cs, config, o) {
405
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
428
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
406
429
  })
407
430
  .s("AmazonBedrockControlPlaneService", "DeleteCustomModelDeployment", {})
408
431
  .n("BedrockClient", "DeleteCustomModelDeploymentCommand")
@@ -410,11 +433,11 @@ class DeleteCustomModelDeploymentCommand extends smithyClient.Command
410
433
  .build() {
411
434
  }
412
435
 
413
- class DeleteEnforcedGuardrailConfigurationCommand extends smithyClient.Command
436
+ class DeleteEnforcedGuardrailConfigurationCommand extends client.Command
414
437
  .classBuilder()
415
438
  .ep(commonParams)
416
439
  .m(function (Command, cs, config, o) {
417
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
440
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
418
441
  })
419
442
  .s("AmazonBedrockControlPlaneService", "DeleteEnforcedGuardrailConfiguration", {})
420
443
  .n("BedrockClient", "DeleteEnforcedGuardrailConfigurationCommand")
@@ -422,11 +445,11 @@ class DeleteEnforcedGuardrailConfigurationCommand extends smithyClient.Command
422
445
  .build() {
423
446
  }
424
447
 
425
- class DeleteFoundationModelAgreementCommand extends smithyClient.Command
448
+ class DeleteFoundationModelAgreementCommand extends client.Command
426
449
  .classBuilder()
427
450
  .ep(commonParams)
428
451
  .m(function (Command, cs, config, o) {
429
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
452
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
430
453
  })
431
454
  .s("AmazonBedrockControlPlaneService", "DeleteFoundationModelAgreement", {})
432
455
  .n("BedrockClient", "DeleteFoundationModelAgreementCommand")
@@ -434,11 +457,11 @@ class DeleteFoundationModelAgreementCommand extends smithyClient.Command
434
457
  .build() {
435
458
  }
436
459
 
437
- class DeleteGuardrailCommand extends smithyClient.Command
460
+ class DeleteGuardrailCommand extends client.Command
438
461
  .classBuilder()
439
462
  .ep(commonParams)
440
463
  .m(function (Command, cs, config, o) {
441
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
464
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
442
465
  })
443
466
  .s("AmazonBedrockControlPlaneService", "DeleteGuardrail", {})
444
467
  .n("BedrockClient", "DeleteGuardrailCommand")
@@ -446,11 +469,11 @@ class DeleteGuardrailCommand extends smithyClient.Command
446
469
  .build() {
447
470
  }
448
471
 
449
- class DeleteImportedModelCommand extends smithyClient.Command
472
+ class DeleteImportedModelCommand extends client.Command
450
473
  .classBuilder()
451
474
  .ep(commonParams)
452
475
  .m(function (Command, cs, config, o) {
453
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
476
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
454
477
  })
455
478
  .s("AmazonBedrockControlPlaneService", "DeleteImportedModel", {})
456
479
  .n("BedrockClient", "DeleteImportedModelCommand")
@@ -458,11 +481,11 @@ class DeleteImportedModelCommand extends smithyClient.Command
458
481
  .build() {
459
482
  }
460
483
 
461
- class DeleteInferenceProfileCommand extends smithyClient.Command
484
+ class DeleteInferenceProfileCommand extends client.Command
462
485
  .classBuilder()
463
486
  .ep(commonParams)
464
487
  .m(function (Command, cs, config, o) {
465
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
488
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
466
489
  })
467
490
  .s("AmazonBedrockControlPlaneService", "DeleteInferenceProfile", {})
468
491
  .n("BedrockClient", "DeleteInferenceProfileCommand")
@@ -470,11 +493,11 @@ class DeleteInferenceProfileCommand extends smithyClient.Command
470
493
  .build() {
471
494
  }
472
495
 
473
- class DeleteMarketplaceModelEndpointCommand extends smithyClient.Command
496
+ class DeleteMarketplaceModelEndpointCommand extends client.Command
474
497
  .classBuilder()
475
498
  .ep(commonParams)
476
499
  .m(function (Command, cs, config, o) {
477
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
500
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
478
501
  })
479
502
  .s("AmazonBedrockControlPlaneService", "DeleteMarketplaceModelEndpoint", {})
480
503
  .n("BedrockClient", "DeleteMarketplaceModelEndpointCommand")
@@ -482,11 +505,11 @@ class DeleteMarketplaceModelEndpointCommand extends smithyClient.Command
482
505
  .build() {
483
506
  }
484
507
 
485
- class DeleteModelInvocationLoggingConfigurationCommand extends smithyClient.Command
508
+ class DeleteModelInvocationLoggingConfigurationCommand extends client.Command
486
509
  .classBuilder()
487
510
  .ep(commonParams)
488
511
  .m(function (Command, cs, config, o) {
489
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
512
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
490
513
  })
491
514
  .s("AmazonBedrockControlPlaneService", "DeleteModelInvocationLoggingConfiguration", {})
492
515
  .n("BedrockClient", "DeleteModelInvocationLoggingConfigurationCommand")
@@ -494,11 +517,11 @@ class DeleteModelInvocationLoggingConfigurationCommand extends smithyClient.Comm
494
517
  .build() {
495
518
  }
496
519
 
497
- class DeletePromptRouterCommand extends smithyClient.Command
520
+ class DeletePromptRouterCommand extends client.Command
498
521
  .classBuilder()
499
522
  .ep(commonParams)
500
523
  .m(function (Command, cs, config, o) {
501
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
524
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
502
525
  })
503
526
  .s("AmazonBedrockControlPlaneService", "DeletePromptRouter", {})
504
527
  .n("BedrockClient", "DeletePromptRouterCommand")
@@ -506,11 +529,11 @@ class DeletePromptRouterCommand extends smithyClient.Command
506
529
  .build() {
507
530
  }
508
531
 
509
- class DeleteProvisionedModelThroughputCommand extends smithyClient.Command
532
+ class DeleteProvisionedModelThroughputCommand extends client.Command
510
533
  .classBuilder()
511
534
  .ep(commonParams)
512
535
  .m(function (Command, cs, config, o) {
513
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
536
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
514
537
  })
515
538
  .s("AmazonBedrockControlPlaneService", "DeleteProvisionedModelThroughput", {})
516
539
  .n("BedrockClient", "DeleteProvisionedModelThroughputCommand")
@@ -518,11 +541,11 @@ class DeleteProvisionedModelThroughputCommand extends smithyClient.Command
518
541
  .build() {
519
542
  }
520
543
 
521
- class DeleteResourcePolicyCommand extends smithyClient.Command
544
+ class DeleteResourcePolicyCommand extends client.Command
522
545
  .classBuilder()
523
546
  .ep(commonParams)
524
547
  .m(function (Command, cs, config, o) {
525
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
548
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
526
549
  })
527
550
  .s("AmazonBedrockControlPlaneService", "DeleteResourcePolicy", {})
528
551
  .n("BedrockClient", "DeleteResourcePolicyCommand")
@@ -530,11 +553,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
530
553
  .build() {
531
554
  }
532
555
 
533
- class DeregisterMarketplaceModelEndpointCommand extends smithyClient.Command
556
+ class DeregisterMarketplaceModelEndpointCommand extends client.Command
534
557
  .classBuilder()
535
558
  .ep(commonParams)
536
559
  .m(function (Command, cs, config, o) {
537
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
560
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
538
561
  })
539
562
  .s("AmazonBedrockControlPlaneService", "DeregisterMarketplaceModelEndpoint", {})
540
563
  .n("BedrockClient", "DeregisterMarketplaceModelEndpointCommand")
@@ -542,11 +565,11 @@ class DeregisterMarketplaceModelEndpointCommand extends smithyClient.Command
542
565
  .build() {
543
566
  }
544
567
 
545
- class ExportAutomatedReasoningPolicyVersionCommand extends smithyClient.Command
568
+ class ExportAutomatedReasoningPolicyVersionCommand extends client.Command
546
569
  .classBuilder()
547
570
  .ep(commonParams)
548
571
  .m(function (Command, cs, config, o) {
549
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
572
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
550
573
  })
551
574
  .s("AmazonBedrockControlPlaneService", "ExportAutomatedReasoningPolicyVersion", {})
552
575
  .n("BedrockClient", "ExportAutomatedReasoningPolicyVersionCommand")
@@ -554,11 +577,23 @@ class ExportAutomatedReasoningPolicyVersionCommand extends smithyClient.Command
554
577
  .build() {
555
578
  }
556
579
 
557
- class GetAutomatedReasoningPolicyAnnotationsCommand extends smithyClient.Command
580
+ class GetAdvancedPromptOptimizationJobCommand extends client.Command
558
581
  .classBuilder()
559
582
  .ep(commonParams)
560
583
  .m(function (Command, cs, config, o) {
561
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
584
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
585
+ })
586
+ .s("AmazonBedrockControlPlaneService", "GetAdvancedPromptOptimizationJob", {})
587
+ .n("BedrockClient", "GetAdvancedPromptOptimizationJobCommand")
588
+ .sc(schemas_0.GetAdvancedPromptOptimizationJob$)
589
+ .build() {
590
+ }
591
+
592
+ class GetAutomatedReasoningPolicyAnnotationsCommand extends client.Command
593
+ .classBuilder()
594
+ .ep(commonParams)
595
+ .m(function (Command, cs, config, o) {
596
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
562
597
  })
563
598
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyAnnotations", {})
564
599
  .n("BedrockClient", "GetAutomatedReasoningPolicyAnnotationsCommand")
@@ -566,11 +601,11 @@ class GetAutomatedReasoningPolicyAnnotationsCommand extends smithyClient.Command
566
601
  .build() {
567
602
  }
568
603
 
569
- class GetAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Command
604
+ class GetAutomatedReasoningPolicyBuildWorkflowCommand extends client.Command
570
605
  .classBuilder()
571
606
  .ep(commonParams)
572
607
  .m(function (Command, cs, config, o) {
573
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
608
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
574
609
  })
575
610
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyBuildWorkflow", {})
576
611
  .n("BedrockClient", "GetAutomatedReasoningPolicyBuildWorkflowCommand")
@@ -578,11 +613,11 @@ class GetAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Comma
578
613
  .build() {
579
614
  }
580
615
 
581
- class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand extends smithyClient.Command
616
+ class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand extends client.Command
582
617
  .classBuilder()
583
618
  .ep(commonParams)
584
619
  .m(function (Command, cs, config, o) {
585
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
620
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
586
621
  })
587
622
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyBuildWorkflowResultAssets", {})
588
623
  .n("BedrockClient", "GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand")
@@ -590,11 +625,11 @@ class GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand extends smithy
590
625
  .build() {
591
626
  }
592
627
 
593
- class GetAutomatedReasoningPolicyCommand extends smithyClient.Command
628
+ class GetAutomatedReasoningPolicyCommand extends client.Command
594
629
  .classBuilder()
595
630
  .ep(commonParams)
596
631
  .m(function (Command, cs, config, o) {
597
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
632
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
598
633
  })
599
634
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicy", {})
600
635
  .n("BedrockClient", "GetAutomatedReasoningPolicyCommand")
@@ -602,11 +637,11 @@ class GetAutomatedReasoningPolicyCommand extends smithyClient.Command
602
637
  .build() {
603
638
  }
604
639
 
605
- class GetAutomatedReasoningPolicyNextScenarioCommand extends smithyClient.Command
640
+ class GetAutomatedReasoningPolicyNextScenarioCommand extends client.Command
606
641
  .classBuilder()
607
642
  .ep(commonParams)
608
643
  .m(function (Command, cs, config, o) {
609
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
644
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
610
645
  })
611
646
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyNextScenario", {})
612
647
  .n("BedrockClient", "GetAutomatedReasoningPolicyNextScenarioCommand")
@@ -614,11 +649,11 @@ class GetAutomatedReasoningPolicyNextScenarioCommand extends smithyClient.Comman
614
649
  .build() {
615
650
  }
616
651
 
617
- class GetAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
652
+ class GetAutomatedReasoningPolicyTestCaseCommand extends client.Command
618
653
  .classBuilder()
619
654
  .ep(commonParams)
620
655
  .m(function (Command, cs, config, o) {
621
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
656
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
622
657
  })
623
658
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyTestCase", {})
624
659
  .n("BedrockClient", "GetAutomatedReasoningPolicyTestCaseCommand")
@@ -626,11 +661,11 @@ class GetAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
626
661
  .build() {
627
662
  }
628
663
 
629
- class GetAutomatedReasoningPolicyTestResultCommand extends smithyClient.Command
664
+ class GetAutomatedReasoningPolicyTestResultCommand extends client.Command
630
665
  .classBuilder()
631
666
  .ep(commonParams)
632
667
  .m(function (Command, cs, config, o) {
633
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
668
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
634
669
  })
635
670
  .s("AmazonBedrockControlPlaneService", "GetAutomatedReasoningPolicyTestResult", {})
636
671
  .n("BedrockClient", "GetAutomatedReasoningPolicyTestResultCommand")
@@ -638,11 +673,11 @@ class GetAutomatedReasoningPolicyTestResultCommand extends smithyClient.Command
638
673
  .build() {
639
674
  }
640
675
 
641
- class GetCustomModelCommand extends smithyClient.Command
676
+ class GetCustomModelCommand extends client.Command
642
677
  .classBuilder()
643
678
  .ep(commonParams)
644
679
  .m(function (Command, cs, config, o) {
645
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
680
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
646
681
  })
647
682
  .s("AmazonBedrockControlPlaneService", "GetCustomModel", {})
648
683
  .n("BedrockClient", "GetCustomModelCommand")
@@ -650,11 +685,11 @@ class GetCustomModelCommand extends smithyClient.Command
650
685
  .build() {
651
686
  }
652
687
 
653
- class GetCustomModelDeploymentCommand extends smithyClient.Command
688
+ class GetCustomModelDeploymentCommand extends client.Command
654
689
  .classBuilder()
655
690
  .ep(commonParams)
656
691
  .m(function (Command, cs, config, o) {
657
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
692
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
658
693
  })
659
694
  .s("AmazonBedrockControlPlaneService", "GetCustomModelDeployment", {})
660
695
  .n("BedrockClient", "GetCustomModelDeploymentCommand")
@@ -662,11 +697,11 @@ class GetCustomModelDeploymentCommand extends smithyClient.Command
662
697
  .build() {
663
698
  }
664
699
 
665
- class GetEvaluationJobCommand extends smithyClient.Command
700
+ class GetEvaluationJobCommand extends client.Command
666
701
  .classBuilder()
667
702
  .ep(commonParams)
668
703
  .m(function (Command, cs, config, o) {
669
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
704
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
670
705
  })
671
706
  .s("AmazonBedrockControlPlaneService", "GetEvaluationJob", {})
672
707
  .n("BedrockClient", "GetEvaluationJobCommand")
@@ -674,11 +709,11 @@ class GetEvaluationJobCommand extends smithyClient.Command
674
709
  .build() {
675
710
  }
676
711
 
677
- class GetFoundationModelAvailabilityCommand extends smithyClient.Command
712
+ class GetFoundationModelAvailabilityCommand extends client.Command
678
713
  .classBuilder()
679
714
  .ep(commonParams)
680
715
  .m(function (Command, cs, config, o) {
681
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
716
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
682
717
  })
683
718
  .s("AmazonBedrockControlPlaneService", "GetFoundationModelAvailability", {})
684
719
  .n("BedrockClient", "GetFoundationModelAvailabilityCommand")
@@ -686,11 +721,11 @@ class GetFoundationModelAvailabilityCommand extends smithyClient.Command
686
721
  .build() {
687
722
  }
688
723
 
689
- class GetFoundationModelCommand extends smithyClient.Command
724
+ class GetFoundationModelCommand extends client.Command
690
725
  .classBuilder()
691
726
  .ep(commonParams)
692
727
  .m(function (Command, cs, config, o) {
693
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
728
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
694
729
  })
695
730
  .s("AmazonBedrockControlPlaneService", "GetFoundationModel", {})
696
731
  .n("BedrockClient", "GetFoundationModelCommand")
@@ -698,11 +733,11 @@ class GetFoundationModelCommand extends smithyClient.Command
698
733
  .build() {
699
734
  }
700
735
 
701
- class GetGuardrailCommand extends smithyClient.Command
736
+ class GetGuardrailCommand extends client.Command
702
737
  .classBuilder()
703
738
  .ep(commonParams)
704
739
  .m(function (Command, cs, config, o) {
705
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
740
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
706
741
  })
707
742
  .s("AmazonBedrockControlPlaneService", "GetGuardrail", {})
708
743
  .n("BedrockClient", "GetGuardrailCommand")
@@ -710,11 +745,11 @@ class GetGuardrailCommand extends smithyClient.Command
710
745
  .build() {
711
746
  }
712
747
 
713
- class GetImportedModelCommand extends smithyClient.Command
748
+ class GetImportedModelCommand extends client.Command
714
749
  .classBuilder()
715
750
  .ep(commonParams)
716
751
  .m(function (Command, cs, config, o) {
717
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
752
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
718
753
  })
719
754
  .s("AmazonBedrockControlPlaneService", "GetImportedModel", {})
720
755
  .n("BedrockClient", "GetImportedModelCommand")
@@ -722,11 +757,11 @@ class GetImportedModelCommand extends smithyClient.Command
722
757
  .build() {
723
758
  }
724
759
 
725
- class GetInferenceProfileCommand extends smithyClient.Command
760
+ class GetInferenceProfileCommand extends client.Command
726
761
  .classBuilder()
727
762
  .ep(commonParams)
728
763
  .m(function (Command, cs, config, o) {
729
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
764
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
730
765
  })
731
766
  .s("AmazonBedrockControlPlaneService", "GetInferenceProfile", {})
732
767
  .n("BedrockClient", "GetInferenceProfileCommand")
@@ -734,11 +769,11 @@ class GetInferenceProfileCommand extends smithyClient.Command
734
769
  .build() {
735
770
  }
736
771
 
737
- class GetMarketplaceModelEndpointCommand extends smithyClient.Command
772
+ class GetMarketplaceModelEndpointCommand extends client.Command
738
773
  .classBuilder()
739
774
  .ep(commonParams)
740
775
  .m(function (Command, cs, config, o) {
741
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
776
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
742
777
  })
743
778
  .s("AmazonBedrockControlPlaneService", "GetMarketplaceModelEndpoint", {})
744
779
  .n("BedrockClient", "GetMarketplaceModelEndpointCommand")
@@ -746,11 +781,11 @@ class GetMarketplaceModelEndpointCommand extends smithyClient.Command
746
781
  .build() {
747
782
  }
748
783
 
749
- class GetModelCopyJobCommand extends smithyClient.Command
784
+ class GetModelCopyJobCommand extends client.Command
750
785
  .classBuilder()
751
786
  .ep(commonParams)
752
787
  .m(function (Command, cs, config, o) {
753
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
788
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
754
789
  })
755
790
  .s("AmazonBedrockControlPlaneService", "GetModelCopyJob", {})
756
791
  .n("BedrockClient", "GetModelCopyJobCommand")
@@ -758,11 +793,11 @@ class GetModelCopyJobCommand extends smithyClient.Command
758
793
  .build() {
759
794
  }
760
795
 
761
- class GetModelCustomizationJobCommand extends smithyClient.Command
796
+ class GetModelCustomizationJobCommand extends client.Command
762
797
  .classBuilder()
763
798
  .ep(commonParams)
764
799
  .m(function (Command, cs, config, o) {
765
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
800
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
766
801
  })
767
802
  .s("AmazonBedrockControlPlaneService", "GetModelCustomizationJob", {})
768
803
  .n("BedrockClient", "GetModelCustomizationJobCommand")
@@ -770,11 +805,11 @@ class GetModelCustomizationJobCommand extends smithyClient.Command
770
805
  .build() {
771
806
  }
772
807
 
773
- class GetModelImportJobCommand extends smithyClient.Command
808
+ class GetModelImportJobCommand extends client.Command
774
809
  .classBuilder()
775
810
  .ep(commonParams)
776
811
  .m(function (Command, cs, config, o) {
777
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
812
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
778
813
  })
779
814
  .s("AmazonBedrockControlPlaneService", "GetModelImportJob", {})
780
815
  .n("BedrockClient", "GetModelImportJobCommand")
@@ -782,11 +817,11 @@ class GetModelImportJobCommand extends smithyClient.Command
782
817
  .build() {
783
818
  }
784
819
 
785
- class GetModelInvocationJobCommand extends smithyClient.Command
820
+ class GetModelInvocationJobCommand extends client.Command
786
821
  .classBuilder()
787
822
  .ep(commonParams)
788
823
  .m(function (Command, cs, config, o) {
789
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
824
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
790
825
  })
791
826
  .s("AmazonBedrockControlPlaneService", "GetModelInvocationJob", {})
792
827
  .n("BedrockClient", "GetModelInvocationJobCommand")
@@ -794,11 +829,11 @@ class GetModelInvocationJobCommand extends smithyClient.Command
794
829
  .build() {
795
830
  }
796
831
 
797
- class GetModelInvocationLoggingConfigurationCommand extends smithyClient.Command
832
+ class GetModelInvocationLoggingConfigurationCommand extends client.Command
798
833
  .classBuilder()
799
834
  .ep(commonParams)
800
835
  .m(function (Command, cs, config, o) {
801
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
836
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
802
837
  })
803
838
  .s("AmazonBedrockControlPlaneService", "GetModelInvocationLoggingConfiguration", {})
804
839
  .n("BedrockClient", "GetModelInvocationLoggingConfigurationCommand")
@@ -806,11 +841,11 @@ class GetModelInvocationLoggingConfigurationCommand extends smithyClient.Command
806
841
  .build() {
807
842
  }
808
843
 
809
- class GetPromptRouterCommand extends smithyClient.Command
844
+ class GetPromptRouterCommand extends client.Command
810
845
  .classBuilder()
811
846
  .ep(commonParams)
812
847
  .m(function (Command, cs, config, o) {
813
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
848
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
814
849
  })
815
850
  .s("AmazonBedrockControlPlaneService", "GetPromptRouter", {})
816
851
  .n("BedrockClient", "GetPromptRouterCommand")
@@ -818,11 +853,11 @@ class GetPromptRouterCommand extends smithyClient.Command
818
853
  .build() {
819
854
  }
820
855
 
821
- class GetProvisionedModelThroughputCommand extends smithyClient.Command
856
+ class GetProvisionedModelThroughputCommand extends client.Command
822
857
  .classBuilder()
823
858
  .ep(commonParams)
824
859
  .m(function (Command, cs, config, o) {
825
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
860
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
826
861
  })
827
862
  .s("AmazonBedrockControlPlaneService", "GetProvisionedModelThroughput", {})
828
863
  .n("BedrockClient", "GetProvisionedModelThroughputCommand")
@@ -830,11 +865,11 @@ class GetProvisionedModelThroughputCommand extends smithyClient.Command
830
865
  .build() {
831
866
  }
832
867
 
833
- class GetResourcePolicyCommand extends smithyClient.Command
868
+ class GetResourcePolicyCommand extends client.Command
834
869
  .classBuilder()
835
870
  .ep(commonParams)
836
871
  .m(function (Command, cs, config, o) {
837
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
872
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
838
873
  })
839
874
  .s("AmazonBedrockControlPlaneService", "GetResourcePolicy", {})
840
875
  .n("BedrockClient", "GetResourcePolicyCommand")
@@ -842,11 +877,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
842
877
  .build() {
843
878
  }
844
879
 
845
- class GetUseCaseForModelAccessCommand extends smithyClient.Command
880
+ class GetUseCaseForModelAccessCommand extends client.Command
846
881
  .classBuilder()
847
882
  .ep(commonParams)
848
883
  .m(function (Command, cs, config, o) {
849
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
884
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
850
885
  })
851
886
  .s("AmazonBedrockControlPlaneService", "GetUseCaseForModelAccess", {})
852
887
  .n("BedrockClient", "GetUseCaseForModelAccessCommand")
@@ -854,11 +889,23 @@ class GetUseCaseForModelAccessCommand extends smithyClient.Command
854
889
  .build() {
855
890
  }
856
891
 
857
- class ListAutomatedReasoningPoliciesCommand extends smithyClient.Command
892
+ class ListAdvancedPromptOptimizationJobsCommand extends client.Command
893
+ .classBuilder()
894
+ .ep(commonParams)
895
+ .m(function (Command, cs, config, o) {
896
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
897
+ })
898
+ .s("AmazonBedrockControlPlaneService", "ListAdvancedPromptOptimizationJobs", {})
899
+ .n("BedrockClient", "ListAdvancedPromptOptimizationJobsCommand")
900
+ .sc(schemas_0.ListAdvancedPromptOptimizationJobs$)
901
+ .build() {
902
+ }
903
+
904
+ class ListAutomatedReasoningPoliciesCommand extends client.Command
858
905
  .classBuilder()
859
906
  .ep(commonParams)
860
907
  .m(function (Command, cs, config, o) {
861
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
908
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
862
909
  })
863
910
  .s("AmazonBedrockControlPlaneService", "ListAutomatedReasoningPolicies", {})
864
911
  .n("BedrockClient", "ListAutomatedReasoningPoliciesCommand")
@@ -866,11 +913,11 @@ class ListAutomatedReasoningPoliciesCommand extends smithyClient.Command
866
913
  .build() {
867
914
  }
868
915
 
869
- class ListAutomatedReasoningPolicyBuildWorkflowsCommand extends smithyClient.Command
916
+ class ListAutomatedReasoningPolicyBuildWorkflowsCommand extends client.Command
870
917
  .classBuilder()
871
918
  .ep(commonParams)
872
919
  .m(function (Command, cs, config, o) {
873
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
920
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
874
921
  })
875
922
  .s("AmazonBedrockControlPlaneService", "ListAutomatedReasoningPolicyBuildWorkflows", {})
876
923
  .n("BedrockClient", "ListAutomatedReasoningPolicyBuildWorkflowsCommand")
@@ -878,11 +925,11 @@ class ListAutomatedReasoningPolicyBuildWorkflowsCommand extends smithyClient.Com
878
925
  .build() {
879
926
  }
880
927
 
881
- class ListAutomatedReasoningPolicyTestCasesCommand extends smithyClient.Command
928
+ class ListAutomatedReasoningPolicyTestCasesCommand extends client.Command
882
929
  .classBuilder()
883
930
  .ep(commonParams)
884
931
  .m(function (Command, cs, config, o) {
885
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
932
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
886
933
  })
887
934
  .s("AmazonBedrockControlPlaneService", "ListAutomatedReasoningPolicyTestCases", {})
888
935
  .n("BedrockClient", "ListAutomatedReasoningPolicyTestCasesCommand")
@@ -890,11 +937,11 @@ class ListAutomatedReasoningPolicyTestCasesCommand extends smithyClient.Command
890
937
  .build() {
891
938
  }
892
939
 
893
- class ListAutomatedReasoningPolicyTestResultsCommand extends smithyClient.Command
940
+ class ListAutomatedReasoningPolicyTestResultsCommand extends client.Command
894
941
  .classBuilder()
895
942
  .ep(commonParams)
896
943
  .m(function (Command, cs, config, o) {
897
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
944
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
898
945
  })
899
946
  .s("AmazonBedrockControlPlaneService", "ListAutomatedReasoningPolicyTestResults", {})
900
947
  .n("BedrockClient", "ListAutomatedReasoningPolicyTestResultsCommand")
@@ -902,11 +949,11 @@ class ListAutomatedReasoningPolicyTestResultsCommand extends smithyClient.Comman
902
949
  .build() {
903
950
  }
904
951
 
905
- class ListCustomModelDeploymentsCommand extends smithyClient.Command
952
+ class ListCustomModelDeploymentsCommand extends client.Command
906
953
  .classBuilder()
907
954
  .ep(commonParams)
908
955
  .m(function (Command, cs, config, o) {
909
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
956
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
910
957
  })
911
958
  .s("AmazonBedrockControlPlaneService", "ListCustomModelDeployments", {})
912
959
  .n("BedrockClient", "ListCustomModelDeploymentsCommand")
@@ -914,11 +961,11 @@ class ListCustomModelDeploymentsCommand extends smithyClient.Command
914
961
  .build() {
915
962
  }
916
963
 
917
- class ListCustomModelsCommand extends smithyClient.Command
964
+ class ListCustomModelsCommand extends client.Command
918
965
  .classBuilder()
919
966
  .ep(commonParams)
920
967
  .m(function (Command, cs, config, o) {
921
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
968
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
922
969
  })
923
970
  .s("AmazonBedrockControlPlaneService", "ListCustomModels", {})
924
971
  .n("BedrockClient", "ListCustomModelsCommand")
@@ -926,11 +973,11 @@ class ListCustomModelsCommand extends smithyClient.Command
926
973
  .build() {
927
974
  }
928
975
 
929
- class ListEnforcedGuardrailsConfigurationCommand extends smithyClient.Command
976
+ class ListEnforcedGuardrailsConfigurationCommand extends client.Command
930
977
  .classBuilder()
931
978
  .ep(commonParams)
932
979
  .m(function (Command, cs, config, o) {
933
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
980
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
934
981
  })
935
982
  .s("AmazonBedrockControlPlaneService", "ListEnforcedGuardrailsConfiguration", {})
936
983
  .n("BedrockClient", "ListEnforcedGuardrailsConfigurationCommand")
@@ -938,11 +985,11 @@ class ListEnforcedGuardrailsConfigurationCommand extends smithyClient.Command
938
985
  .build() {
939
986
  }
940
987
 
941
- class ListEvaluationJobsCommand extends smithyClient.Command
988
+ class ListEvaluationJobsCommand extends client.Command
942
989
  .classBuilder()
943
990
  .ep(commonParams)
944
991
  .m(function (Command, cs, config, o) {
945
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
992
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
946
993
  })
947
994
  .s("AmazonBedrockControlPlaneService", "ListEvaluationJobs", {})
948
995
  .n("BedrockClient", "ListEvaluationJobsCommand")
@@ -950,11 +997,11 @@ class ListEvaluationJobsCommand extends smithyClient.Command
950
997
  .build() {
951
998
  }
952
999
 
953
- class ListFoundationModelAgreementOffersCommand extends smithyClient.Command
1000
+ class ListFoundationModelAgreementOffersCommand extends client.Command
954
1001
  .classBuilder()
955
1002
  .ep(commonParams)
956
1003
  .m(function (Command, cs, config, o) {
957
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1004
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
958
1005
  })
959
1006
  .s("AmazonBedrockControlPlaneService", "ListFoundationModelAgreementOffers", {})
960
1007
  .n("BedrockClient", "ListFoundationModelAgreementOffersCommand")
@@ -962,11 +1009,11 @@ class ListFoundationModelAgreementOffersCommand extends smithyClient.Command
962
1009
  .build() {
963
1010
  }
964
1011
 
965
- class ListFoundationModelsCommand extends smithyClient.Command
1012
+ class ListFoundationModelsCommand extends client.Command
966
1013
  .classBuilder()
967
1014
  .ep(commonParams)
968
1015
  .m(function (Command, cs, config, o) {
969
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1016
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
970
1017
  })
971
1018
  .s("AmazonBedrockControlPlaneService", "ListFoundationModels", {})
972
1019
  .n("BedrockClient", "ListFoundationModelsCommand")
@@ -974,11 +1021,11 @@ class ListFoundationModelsCommand extends smithyClient.Command
974
1021
  .build() {
975
1022
  }
976
1023
 
977
- class ListGuardrailsCommand extends smithyClient.Command
1024
+ class ListGuardrailsCommand extends client.Command
978
1025
  .classBuilder()
979
1026
  .ep(commonParams)
980
1027
  .m(function (Command, cs, config, o) {
981
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1028
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
982
1029
  })
983
1030
  .s("AmazonBedrockControlPlaneService", "ListGuardrails", {})
984
1031
  .n("BedrockClient", "ListGuardrailsCommand")
@@ -986,11 +1033,11 @@ class ListGuardrailsCommand extends smithyClient.Command
986
1033
  .build() {
987
1034
  }
988
1035
 
989
- class ListImportedModelsCommand extends smithyClient.Command
1036
+ class ListImportedModelsCommand extends client.Command
990
1037
  .classBuilder()
991
1038
  .ep(commonParams)
992
1039
  .m(function (Command, cs, config, o) {
993
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1040
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
994
1041
  })
995
1042
  .s("AmazonBedrockControlPlaneService", "ListImportedModels", {})
996
1043
  .n("BedrockClient", "ListImportedModelsCommand")
@@ -998,11 +1045,11 @@ class ListImportedModelsCommand extends smithyClient.Command
998
1045
  .build() {
999
1046
  }
1000
1047
 
1001
- class ListInferenceProfilesCommand extends smithyClient.Command
1048
+ class ListInferenceProfilesCommand extends client.Command
1002
1049
  .classBuilder()
1003
1050
  .ep(commonParams)
1004
1051
  .m(function (Command, cs, config, o) {
1005
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1052
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1006
1053
  })
1007
1054
  .s("AmazonBedrockControlPlaneService", "ListInferenceProfiles", {})
1008
1055
  .n("BedrockClient", "ListInferenceProfilesCommand")
@@ -1010,11 +1057,11 @@ class ListInferenceProfilesCommand extends smithyClient.Command
1010
1057
  .build() {
1011
1058
  }
1012
1059
 
1013
- class ListMarketplaceModelEndpointsCommand extends smithyClient.Command
1060
+ class ListMarketplaceModelEndpointsCommand extends client.Command
1014
1061
  .classBuilder()
1015
1062
  .ep(commonParams)
1016
1063
  .m(function (Command, cs, config, o) {
1017
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1064
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1018
1065
  })
1019
1066
  .s("AmazonBedrockControlPlaneService", "ListMarketplaceModelEndpoints", {})
1020
1067
  .n("BedrockClient", "ListMarketplaceModelEndpointsCommand")
@@ -1022,11 +1069,11 @@ class ListMarketplaceModelEndpointsCommand extends smithyClient.Command
1022
1069
  .build() {
1023
1070
  }
1024
1071
 
1025
- class ListModelCopyJobsCommand extends smithyClient.Command
1072
+ class ListModelCopyJobsCommand extends client.Command
1026
1073
  .classBuilder()
1027
1074
  .ep(commonParams)
1028
1075
  .m(function (Command, cs, config, o) {
1029
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1076
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1030
1077
  })
1031
1078
  .s("AmazonBedrockControlPlaneService", "ListModelCopyJobs", {})
1032
1079
  .n("BedrockClient", "ListModelCopyJobsCommand")
@@ -1034,11 +1081,11 @@ class ListModelCopyJobsCommand extends smithyClient.Command
1034
1081
  .build() {
1035
1082
  }
1036
1083
 
1037
- class ListModelCustomizationJobsCommand extends smithyClient.Command
1084
+ class ListModelCustomizationJobsCommand extends client.Command
1038
1085
  .classBuilder()
1039
1086
  .ep(commonParams)
1040
1087
  .m(function (Command, cs, config, o) {
1041
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1088
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1042
1089
  })
1043
1090
  .s("AmazonBedrockControlPlaneService", "ListModelCustomizationJobs", {})
1044
1091
  .n("BedrockClient", "ListModelCustomizationJobsCommand")
@@ -1046,11 +1093,11 @@ class ListModelCustomizationJobsCommand extends smithyClient.Command
1046
1093
  .build() {
1047
1094
  }
1048
1095
 
1049
- class ListModelImportJobsCommand extends smithyClient.Command
1096
+ class ListModelImportJobsCommand extends client.Command
1050
1097
  .classBuilder()
1051
1098
  .ep(commonParams)
1052
1099
  .m(function (Command, cs, config, o) {
1053
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1100
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1054
1101
  })
1055
1102
  .s("AmazonBedrockControlPlaneService", "ListModelImportJobs", {})
1056
1103
  .n("BedrockClient", "ListModelImportJobsCommand")
@@ -1058,11 +1105,11 @@ class ListModelImportJobsCommand extends smithyClient.Command
1058
1105
  .build() {
1059
1106
  }
1060
1107
 
1061
- class ListModelInvocationJobsCommand extends smithyClient.Command
1108
+ class ListModelInvocationJobsCommand extends client.Command
1062
1109
  .classBuilder()
1063
1110
  .ep(commonParams)
1064
1111
  .m(function (Command, cs, config, o) {
1065
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1112
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1066
1113
  })
1067
1114
  .s("AmazonBedrockControlPlaneService", "ListModelInvocationJobs", {})
1068
1115
  .n("BedrockClient", "ListModelInvocationJobsCommand")
@@ -1070,11 +1117,11 @@ class ListModelInvocationJobsCommand extends smithyClient.Command
1070
1117
  .build() {
1071
1118
  }
1072
1119
 
1073
- class ListPromptRoutersCommand extends smithyClient.Command
1120
+ class ListPromptRoutersCommand extends client.Command
1074
1121
  .classBuilder()
1075
1122
  .ep(commonParams)
1076
1123
  .m(function (Command, cs, config, o) {
1077
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1124
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1078
1125
  })
1079
1126
  .s("AmazonBedrockControlPlaneService", "ListPromptRouters", {})
1080
1127
  .n("BedrockClient", "ListPromptRoutersCommand")
@@ -1082,11 +1129,11 @@ class ListPromptRoutersCommand extends smithyClient.Command
1082
1129
  .build() {
1083
1130
  }
1084
1131
 
1085
- class ListProvisionedModelThroughputsCommand extends smithyClient.Command
1132
+ class ListProvisionedModelThroughputsCommand extends client.Command
1086
1133
  .classBuilder()
1087
1134
  .ep(commonParams)
1088
1135
  .m(function (Command, cs, config, o) {
1089
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1136
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1090
1137
  })
1091
1138
  .s("AmazonBedrockControlPlaneService", "ListProvisionedModelThroughputs", {})
1092
1139
  .n("BedrockClient", "ListProvisionedModelThroughputsCommand")
@@ -1094,11 +1141,11 @@ class ListProvisionedModelThroughputsCommand extends smithyClient.Command
1094
1141
  .build() {
1095
1142
  }
1096
1143
 
1097
- class ListTagsForResourceCommand extends smithyClient.Command
1144
+ class ListTagsForResourceCommand extends client.Command
1098
1145
  .classBuilder()
1099
1146
  .ep(commonParams)
1100
1147
  .m(function (Command, cs, config, o) {
1101
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1148
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1102
1149
  })
1103
1150
  .s("AmazonBedrockControlPlaneService", "ListTagsForResource", {})
1104
1151
  .n("BedrockClient", "ListTagsForResourceCommand")
@@ -1106,11 +1153,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1106
1153
  .build() {
1107
1154
  }
1108
1155
 
1109
- class PutEnforcedGuardrailConfigurationCommand extends smithyClient.Command
1156
+ class PutEnforcedGuardrailConfigurationCommand extends client.Command
1110
1157
  .classBuilder()
1111
1158
  .ep(commonParams)
1112
1159
  .m(function (Command, cs, config, o) {
1113
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
1161
  })
1115
1162
  .s("AmazonBedrockControlPlaneService", "PutEnforcedGuardrailConfiguration", {})
1116
1163
  .n("BedrockClient", "PutEnforcedGuardrailConfigurationCommand")
@@ -1118,11 +1165,11 @@ class PutEnforcedGuardrailConfigurationCommand extends smithyClient.Command
1118
1165
  .build() {
1119
1166
  }
1120
1167
 
1121
- class PutModelInvocationLoggingConfigurationCommand extends smithyClient.Command
1168
+ class PutModelInvocationLoggingConfigurationCommand extends client.Command
1122
1169
  .classBuilder()
1123
1170
  .ep(commonParams)
1124
1171
  .m(function (Command, cs, config, o) {
1125
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1172
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
1173
  })
1127
1174
  .s("AmazonBedrockControlPlaneService", "PutModelInvocationLoggingConfiguration", {})
1128
1175
  .n("BedrockClient", "PutModelInvocationLoggingConfigurationCommand")
@@ -1130,11 +1177,11 @@ class PutModelInvocationLoggingConfigurationCommand extends smithyClient.Command
1130
1177
  .build() {
1131
1178
  }
1132
1179
 
1133
- class PutResourcePolicyCommand extends smithyClient.Command
1180
+ class PutResourcePolicyCommand extends client.Command
1134
1181
  .classBuilder()
1135
1182
  .ep(commonParams)
1136
1183
  .m(function (Command, cs, config, o) {
1137
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1184
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1138
1185
  })
1139
1186
  .s("AmazonBedrockControlPlaneService", "PutResourcePolicy", {})
1140
1187
  .n("BedrockClient", "PutResourcePolicyCommand")
@@ -1142,11 +1189,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
1142
1189
  .build() {
1143
1190
  }
1144
1191
 
1145
- class PutUseCaseForModelAccessCommand extends smithyClient.Command
1192
+ class PutUseCaseForModelAccessCommand extends client.Command
1146
1193
  .classBuilder()
1147
1194
  .ep(commonParams)
1148
1195
  .m(function (Command, cs, config, o) {
1149
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1196
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1150
1197
  })
1151
1198
  .s("AmazonBedrockControlPlaneService", "PutUseCaseForModelAccess", {})
1152
1199
  .n("BedrockClient", "PutUseCaseForModelAccessCommand")
@@ -1154,11 +1201,11 @@ class PutUseCaseForModelAccessCommand extends smithyClient.Command
1154
1201
  .build() {
1155
1202
  }
1156
1203
 
1157
- class RegisterMarketplaceModelEndpointCommand extends smithyClient.Command
1204
+ class RegisterMarketplaceModelEndpointCommand extends client.Command
1158
1205
  .classBuilder()
1159
1206
  .ep(commonParams)
1160
1207
  .m(function (Command, cs, config, o) {
1161
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1208
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1162
1209
  })
1163
1210
  .s("AmazonBedrockControlPlaneService", "RegisterMarketplaceModelEndpoint", {})
1164
1211
  .n("BedrockClient", "RegisterMarketplaceModelEndpointCommand")
@@ -1166,11 +1213,11 @@ class RegisterMarketplaceModelEndpointCommand extends smithyClient.Command
1166
1213
  .build() {
1167
1214
  }
1168
1215
 
1169
- class StartAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Command
1216
+ class StartAutomatedReasoningPolicyBuildWorkflowCommand extends client.Command
1170
1217
  .classBuilder()
1171
1218
  .ep(commonParams)
1172
1219
  .m(function (Command, cs, config, o) {
1173
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1220
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1174
1221
  })
1175
1222
  .s("AmazonBedrockControlPlaneService", "StartAutomatedReasoningPolicyBuildWorkflow", {})
1176
1223
  .n("BedrockClient", "StartAutomatedReasoningPolicyBuildWorkflowCommand")
@@ -1178,11 +1225,11 @@ class StartAutomatedReasoningPolicyBuildWorkflowCommand extends smithyClient.Com
1178
1225
  .build() {
1179
1226
  }
1180
1227
 
1181
- class StartAutomatedReasoningPolicyTestWorkflowCommand extends smithyClient.Command
1228
+ class StartAutomatedReasoningPolicyTestWorkflowCommand extends client.Command
1182
1229
  .classBuilder()
1183
1230
  .ep(commonParams)
1184
1231
  .m(function (Command, cs, config, o) {
1185
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1232
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1186
1233
  })
1187
1234
  .s("AmazonBedrockControlPlaneService", "StartAutomatedReasoningPolicyTestWorkflow", {})
1188
1235
  .n("BedrockClient", "StartAutomatedReasoningPolicyTestWorkflowCommand")
@@ -1190,11 +1237,23 @@ class StartAutomatedReasoningPolicyTestWorkflowCommand extends smithyClient.Comm
1190
1237
  .build() {
1191
1238
  }
1192
1239
 
1193
- class StopEvaluationJobCommand extends smithyClient.Command
1240
+ class StopAdvancedPromptOptimizationJobCommand extends client.Command
1241
+ .classBuilder()
1242
+ .ep(commonParams)
1243
+ .m(function (Command, cs, config, o) {
1244
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
+ })
1246
+ .s("AmazonBedrockControlPlaneService", "StopAdvancedPromptOptimizationJob", {})
1247
+ .n("BedrockClient", "StopAdvancedPromptOptimizationJobCommand")
1248
+ .sc(schemas_0.StopAdvancedPromptOptimizationJob$)
1249
+ .build() {
1250
+ }
1251
+
1252
+ class StopEvaluationJobCommand extends client.Command
1194
1253
  .classBuilder()
1195
1254
  .ep(commonParams)
1196
1255
  .m(function (Command, cs, config, o) {
1197
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1198
1257
  })
1199
1258
  .s("AmazonBedrockControlPlaneService", "StopEvaluationJob", {})
1200
1259
  .n("BedrockClient", "StopEvaluationJobCommand")
@@ -1202,11 +1261,11 @@ class StopEvaluationJobCommand extends smithyClient.Command
1202
1261
  .build() {
1203
1262
  }
1204
1263
 
1205
- class StopModelCustomizationJobCommand extends smithyClient.Command
1264
+ class StopModelCustomizationJobCommand extends client.Command
1206
1265
  .classBuilder()
1207
1266
  .ep(commonParams)
1208
1267
  .m(function (Command, cs, config, o) {
1209
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1210
1269
  })
1211
1270
  .s("AmazonBedrockControlPlaneService", "StopModelCustomizationJob", {})
1212
1271
  .n("BedrockClient", "StopModelCustomizationJobCommand")
@@ -1214,11 +1273,11 @@ class StopModelCustomizationJobCommand extends smithyClient.Command
1214
1273
  .build() {
1215
1274
  }
1216
1275
 
1217
- class StopModelInvocationJobCommand extends smithyClient.Command
1276
+ class StopModelInvocationJobCommand extends client.Command
1218
1277
  .classBuilder()
1219
1278
  .ep(commonParams)
1220
1279
  .m(function (Command, cs, config, o) {
1221
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1222
1281
  })
1223
1282
  .s("AmazonBedrockControlPlaneService", "StopModelInvocationJob", {})
1224
1283
  .n("BedrockClient", "StopModelInvocationJobCommand")
@@ -1226,11 +1285,11 @@ class StopModelInvocationJobCommand extends smithyClient.Command
1226
1285
  .build() {
1227
1286
  }
1228
1287
 
1229
- class TagResourceCommand extends smithyClient.Command
1288
+ class TagResourceCommand extends client.Command
1230
1289
  .classBuilder()
1231
1290
  .ep(commonParams)
1232
1291
  .m(function (Command, cs, config, o) {
1233
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1292
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1234
1293
  })
1235
1294
  .s("AmazonBedrockControlPlaneService", "TagResource", {})
1236
1295
  .n("BedrockClient", "TagResourceCommand")
@@ -1238,11 +1297,11 @@ class TagResourceCommand extends smithyClient.Command
1238
1297
  .build() {
1239
1298
  }
1240
1299
 
1241
- class UntagResourceCommand extends smithyClient.Command
1300
+ class UntagResourceCommand extends client.Command
1242
1301
  .classBuilder()
1243
1302
  .ep(commonParams)
1244
1303
  .m(function (Command, cs, config, o) {
1245
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1246
1305
  })
1247
1306
  .s("AmazonBedrockControlPlaneService", "UntagResource", {})
1248
1307
  .n("BedrockClient", "UntagResourceCommand")
@@ -1250,11 +1309,11 @@ class UntagResourceCommand extends smithyClient.Command
1250
1309
  .build() {
1251
1310
  }
1252
1311
 
1253
- class UpdateAutomatedReasoningPolicyAnnotationsCommand extends smithyClient.Command
1312
+ class UpdateAutomatedReasoningPolicyAnnotationsCommand extends client.Command
1254
1313
  .classBuilder()
1255
1314
  .ep(commonParams)
1256
1315
  .m(function (Command, cs, config, o) {
1257
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1258
1317
  })
1259
1318
  .s("AmazonBedrockControlPlaneService", "UpdateAutomatedReasoningPolicyAnnotations", {})
1260
1319
  .n("BedrockClient", "UpdateAutomatedReasoningPolicyAnnotationsCommand")
@@ -1262,11 +1321,11 @@ class UpdateAutomatedReasoningPolicyAnnotationsCommand extends smithyClient.Comm
1262
1321
  .build() {
1263
1322
  }
1264
1323
 
1265
- class UpdateAutomatedReasoningPolicyCommand extends smithyClient.Command
1324
+ class UpdateAutomatedReasoningPolicyCommand extends client.Command
1266
1325
  .classBuilder()
1267
1326
  .ep(commonParams)
1268
1327
  .m(function (Command, cs, config, o) {
1269
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1270
1329
  })
1271
1330
  .s("AmazonBedrockControlPlaneService", "UpdateAutomatedReasoningPolicy", {})
1272
1331
  .n("BedrockClient", "UpdateAutomatedReasoningPolicyCommand")
@@ -1274,11 +1333,11 @@ class UpdateAutomatedReasoningPolicyCommand extends smithyClient.Command
1274
1333
  .build() {
1275
1334
  }
1276
1335
 
1277
- class UpdateAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
1336
+ class UpdateAutomatedReasoningPolicyTestCaseCommand extends client.Command
1278
1337
  .classBuilder()
1279
1338
  .ep(commonParams)
1280
1339
  .m(function (Command, cs, config, o) {
1281
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1282
1341
  })
1283
1342
  .s("AmazonBedrockControlPlaneService", "UpdateAutomatedReasoningPolicyTestCase", {})
1284
1343
  .n("BedrockClient", "UpdateAutomatedReasoningPolicyTestCaseCommand")
@@ -1286,11 +1345,11 @@ class UpdateAutomatedReasoningPolicyTestCaseCommand extends smithyClient.Command
1286
1345
  .build() {
1287
1346
  }
1288
1347
 
1289
- class UpdateCustomModelDeploymentCommand extends smithyClient.Command
1348
+ class UpdateCustomModelDeploymentCommand extends client.Command
1290
1349
  .classBuilder()
1291
1350
  .ep(commonParams)
1292
1351
  .m(function (Command, cs, config, o) {
1293
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1294
1353
  })
1295
1354
  .s("AmazonBedrockControlPlaneService", "UpdateCustomModelDeployment", {})
1296
1355
  .n("BedrockClient", "UpdateCustomModelDeploymentCommand")
@@ -1298,11 +1357,11 @@ class UpdateCustomModelDeploymentCommand extends smithyClient.Command
1298
1357
  .build() {
1299
1358
  }
1300
1359
 
1301
- class UpdateGuardrailCommand extends smithyClient.Command
1360
+ class UpdateGuardrailCommand extends client.Command
1302
1361
  .classBuilder()
1303
1362
  .ep(commonParams)
1304
1363
  .m(function (Command, cs, config, o) {
1305
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1364
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1306
1365
  })
1307
1366
  .s("AmazonBedrockControlPlaneService", "UpdateGuardrail", {})
1308
1367
  .n("BedrockClient", "UpdateGuardrailCommand")
@@ -1310,11 +1369,11 @@ class UpdateGuardrailCommand extends smithyClient.Command
1310
1369
  .build() {
1311
1370
  }
1312
1371
 
1313
- class UpdateMarketplaceModelEndpointCommand extends smithyClient.Command
1372
+ class UpdateMarketplaceModelEndpointCommand extends client.Command
1314
1373
  .classBuilder()
1315
1374
  .ep(commonParams)
1316
1375
  .m(function (Command, cs, config, o) {
1317
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1376
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1318
1377
  })
1319
1378
  .s("AmazonBedrockControlPlaneService", "UpdateMarketplaceModelEndpoint", {})
1320
1379
  .n("BedrockClient", "UpdateMarketplaceModelEndpointCommand")
@@ -1322,11 +1381,11 @@ class UpdateMarketplaceModelEndpointCommand extends smithyClient.Command
1322
1381
  .build() {
1323
1382
  }
1324
1383
 
1325
- class UpdateProvisionedModelThroughputCommand extends smithyClient.Command
1384
+ class UpdateProvisionedModelThroughputCommand extends client.Command
1326
1385
  .classBuilder()
1327
1386
  .ep(commonParams)
1328
1387
  .m(function (Command, cs, config, o) {
1329
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1388
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1330
1389
  })
1331
1390
  .s("AmazonBedrockControlPlaneService", "UpdateProvisionedModelThroughput", {})
1332
1391
  .n("BedrockClient", "UpdateProvisionedModelThroughputCommand")
@@ -1334,6 +1393,8 @@ class UpdateProvisionedModelThroughputCommand extends smithyClient.Command
1334
1393
  .build() {
1335
1394
  }
1336
1395
 
1396
+ const paginateListAdvancedPromptOptimizationJobs = core.createPaginator(BedrockClient, ListAdvancedPromptOptimizationJobsCommand, "nextToken", "nextToken", "maxResults");
1397
+
1337
1398
  const paginateListAutomatedReasoningPolicies = core.createPaginator(BedrockClient, ListAutomatedReasoningPoliciesCommand, "nextToken", "nextToken", "maxResults");
1338
1399
 
1339
1400
  const paginateListAutomatedReasoningPolicyBuildWorkflows = core.createPaginator(BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand, "nextToken", "nextToken", "maxResults");
@@ -1371,8 +1432,10 @@ const paginateListPromptRouters = core.createPaginator(BedrockClient, ListPrompt
1371
1432
  const paginateListProvisionedModelThroughputs = core.createPaginator(BedrockClient, ListProvisionedModelThroughputsCommand, "nextToken", "nextToken", "maxResults");
1372
1433
 
1373
1434
  const commands = {
1435
+ BatchDeleteAdvancedPromptOptimizationJobCommand,
1374
1436
  BatchDeleteEvaluationJobCommand,
1375
1437
  CancelAutomatedReasoningPolicyBuildWorkflowCommand,
1438
+ CreateAdvancedPromptOptimizationJobCommand,
1376
1439
  CreateAutomatedReasoningPolicyCommand,
1377
1440
  CreateAutomatedReasoningPolicyTestCaseCommand,
1378
1441
  CreateAutomatedReasoningPolicyVersionCommand,
@@ -1407,6 +1470,7 @@ const commands = {
1407
1470
  DeleteResourcePolicyCommand,
1408
1471
  DeregisterMarketplaceModelEndpointCommand,
1409
1472
  ExportAutomatedReasoningPolicyVersionCommand,
1473
+ GetAdvancedPromptOptimizationJobCommand,
1410
1474
  GetAutomatedReasoningPolicyCommand,
1411
1475
  GetAutomatedReasoningPolicyAnnotationsCommand,
1412
1476
  GetAutomatedReasoningPolicyBuildWorkflowCommand,
@@ -1432,6 +1496,7 @@ const commands = {
1432
1496
  GetProvisionedModelThroughputCommand,
1433
1497
  GetResourcePolicyCommand,
1434
1498
  GetUseCaseForModelAccessCommand,
1499
+ ListAdvancedPromptOptimizationJobsCommand,
1435
1500
  ListAutomatedReasoningPoliciesCommand,
1436
1501
  ListAutomatedReasoningPolicyBuildWorkflowsCommand,
1437
1502
  ListAutomatedReasoningPolicyTestCasesCommand,
@@ -1460,6 +1525,7 @@ const commands = {
1460
1525
  RegisterMarketplaceModelEndpointCommand,
1461
1526
  StartAutomatedReasoningPolicyBuildWorkflowCommand,
1462
1527
  StartAutomatedReasoningPolicyTestWorkflowCommand,
1528
+ StopAdvancedPromptOptimizationJobCommand,
1463
1529
  StopEvaluationJobCommand,
1464
1530
  StopModelCustomizationJobCommand,
1465
1531
  StopModelInvocationJobCommand,
@@ -1474,6 +1540,7 @@ const commands = {
1474
1540
  UpdateProvisionedModelThroughputCommand,
1475
1541
  };
1476
1542
  const paginators = {
1543
+ paginateListAdvancedPromptOptimizationJobs,
1477
1544
  paginateListAutomatedReasoningPolicies,
1478
1545
  paginateListAutomatedReasoningPolicyBuildWorkflows,
1479
1546
  paginateListAutomatedReasoningPolicyTestCases,
@@ -1495,7 +1562,7 @@ const paginators = {
1495
1562
  };
1496
1563
  class Bedrock extends BedrockClient {
1497
1564
  }
1498
- smithyClient.createAggregatedClient(commands, Bedrock, { paginators });
1565
+ client.createAggregatedClient(commands, Bedrock, { paginators });
1499
1566
 
1500
1567
  const SelectiveGuardingMode = {
1501
1568
  COMPREHENSIVE: "COMPREHENSIVE",
@@ -1508,6 +1575,22 @@ const InputTags = {
1508
1575
  const ConfigurationOwner = {
1509
1576
  ACCOUNT: "ACCOUNT",
1510
1577
  };
1578
+ const AdvancedPromptOptimizationJobStatus = {
1579
+ COMPLETED: "Completed",
1580
+ DELETING: "Deleting",
1581
+ FAILED: "Failed",
1582
+ IN_PROGRESS: "InProgress",
1583
+ PARTIALLY_COMPLETED: "PartiallyCompleted",
1584
+ STOPPED: "Stopped",
1585
+ STOPPING: "Stopping",
1586
+ };
1587
+ const SortJobsBy = {
1588
+ CREATION_TIME: "CreationTime",
1589
+ };
1590
+ const SortOrder = {
1591
+ ASCENDING: "Ascending",
1592
+ DESCENDING: "Descending",
1593
+ };
1511
1594
  const AgreementStatus = {
1512
1595
  AVAILABLE: "AVAILABLE",
1513
1596
  ERROR: "ERROR",
@@ -1595,10 +1678,6 @@ const CustomModelDeploymentUpdateStatus = {
1595
1678
  const SortModelsBy = {
1596
1679
  CREATION_TIME: "CreationTime",
1597
1680
  };
1598
- const SortOrder = {
1599
- ASCENDING: "Ascending",
1600
- DESCENDING: "Descending",
1601
- };
1602
1681
  const ReasoningEffort = {
1603
1682
  HIGH: "high",
1604
1683
  LOW: "low",
@@ -1671,9 +1750,6 @@ const EvaluationJobType = {
1671
1750
  AUTOMATED: "Automated",
1672
1751
  HUMAN: "Human",
1673
1752
  };
1674
- const SortJobsBy = {
1675
- CREATION_TIME: "CreationTime",
1676
- };
1677
1753
  const GuardrailContentFilterAction = {
1678
1754
  BLOCK: "BLOCK",
1679
1755
  NONE: "NONE",
@@ -1885,9 +1961,10 @@ const FineTuningJobStatus = {
1885
1961
  STOPPING: "Stopping",
1886
1962
  };
1887
1963
 
1888
- exports.$Command = smithyClient.Command;
1889
- exports.__Client = smithyClient.Client;
1964
+ exports.$Command = client.Command;
1965
+ exports.__Client = client.Client;
1890
1966
  exports.BedrockServiceException = BedrockServiceException.BedrockServiceException;
1967
+ exports.AdvancedPromptOptimizationJobStatus = AdvancedPromptOptimizationJobStatus;
1891
1968
  exports.AgreementStatus = AgreementStatus;
1892
1969
  exports.ApplicationType = ApplicationType;
1893
1970
  exports.AttributeType = AttributeType;
@@ -1902,12 +1979,14 @@ exports.AutomatedReasoningPolicyBuildWorkflowStatus = AutomatedReasoningPolicyBu
1902
1979
  exports.AutomatedReasoningPolicyBuildWorkflowType = AutomatedReasoningPolicyBuildWorkflowType;
1903
1980
  exports.AutomatedReasoningPolicyTestRunResult = AutomatedReasoningPolicyTestRunResult;
1904
1981
  exports.AutomatedReasoningPolicyTestRunStatus = AutomatedReasoningPolicyTestRunStatus;
1982
+ exports.BatchDeleteAdvancedPromptOptimizationJobCommand = BatchDeleteAdvancedPromptOptimizationJobCommand;
1905
1983
  exports.BatchDeleteEvaluationJobCommand = BatchDeleteEvaluationJobCommand;
1906
1984
  exports.Bedrock = Bedrock;
1907
1985
  exports.BedrockClient = BedrockClient;
1908
1986
  exports.CancelAutomatedReasoningPolicyBuildWorkflowCommand = CancelAutomatedReasoningPolicyBuildWorkflowCommand;
1909
1987
  exports.CommitmentDuration = CommitmentDuration;
1910
1988
  exports.ConfigurationOwner = ConfigurationOwner;
1989
+ exports.CreateAdvancedPromptOptimizationJobCommand = CreateAdvancedPromptOptimizationJobCommand;
1911
1990
  exports.CreateAutomatedReasoningPolicyCommand = CreateAutomatedReasoningPolicyCommand;
1912
1991
  exports.CreateAutomatedReasoningPolicyTestCaseCommand = CreateAutomatedReasoningPolicyTestCaseCommand;
1913
1992
  exports.CreateAutomatedReasoningPolicyVersionCommand = CreateAutomatedReasoningPolicyVersionCommand;
@@ -1952,6 +2031,7 @@ exports.ExportAutomatedReasoningPolicyVersionCommand = ExportAutomatedReasoningP
1952
2031
  exports.ExternalSourceType = ExternalSourceType;
1953
2032
  exports.FineTuningJobStatus = FineTuningJobStatus;
1954
2033
  exports.FoundationModelLifecycleStatus = FoundationModelLifecycleStatus;
2034
+ exports.GetAdvancedPromptOptimizationJobCommand = GetAdvancedPromptOptimizationJobCommand;
1955
2035
  exports.GetAutomatedReasoningPolicyAnnotationsCommand = GetAutomatedReasoningPolicyAnnotationsCommand;
1956
2036
  exports.GetAutomatedReasoningPolicyBuildWorkflowCommand = GetAutomatedReasoningPolicyBuildWorkflowCommand;
1957
2037
  exports.GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand = GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand;
@@ -1997,6 +2077,7 @@ exports.InferenceProfileType = InferenceProfileType;
1997
2077
  exports.InferenceType = InferenceType;
1998
2078
  exports.InputTags = InputTags;
1999
2079
  exports.JobStatusDetails = JobStatusDetails;
2080
+ exports.ListAdvancedPromptOptimizationJobsCommand = ListAdvancedPromptOptimizationJobsCommand;
2000
2081
  exports.ListAutomatedReasoningPoliciesCommand = ListAutomatedReasoningPoliciesCommand;
2001
2082
  exports.ListAutomatedReasoningPolicyBuildWorkflowsCommand = ListAutomatedReasoningPolicyBuildWorkflowsCommand;
2002
2083
  exports.ListAutomatedReasoningPolicyTestCasesCommand = ListAutomatedReasoningPolicyTestCasesCommand;
@@ -2051,6 +2132,7 @@ exports.SortOrder = SortOrder;
2051
2132
  exports.StartAutomatedReasoningPolicyBuildWorkflowCommand = StartAutomatedReasoningPolicyBuildWorkflowCommand;
2052
2133
  exports.StartAutomatedReasoningPolicyTestWorkflowCommand = StartAutomatedReasoningPolicyTestWorkflowCommand;
2053
2134
  exports.Status = Status;
2135
+ exports.StopAdvancedPromptOptimizationJobCommand = StopAdvancedPromptOptimizationJobCommand;
2054
2136
  exports.StopEvaluationJobCommand = StopEvaluationJobCommand;
2055
2137
  exports.StopModelCustomizationJobCommand = StopModelCustomizationJobCommand;
2056
2138
  exports.StopModelInvocationJobCommand = StopModelInvocationJobCommand;
@@ -2064,6 +2146,7 @@ exports.UpdateGuardrailCommand = UpdateGuardrailCommand;
2064
2146
  exports.UpdateMarketplaceModelEndpointCommand = UpdateMarketplaceModelEndpointCommand;
2065
2147
  exports.UpdateProvisionedModelThroughputCommand = UpdateProvisionedModelThroughputCommand;
2066
2148
  exports.VectorSearchRerankingConfigurationType = VectorSearchRerankingConfigurationType;
2149
+ exports.paginateListAdvancedPromptOptimizationJobs = paginateListAdvancedPromptOptimizationJobs;
2067
2150
  exports.paginateListAutomatedReasoningPolicies = paginateListAutomatedReasoningPolicies;
2068
2151
  exports.paginateListAutomatedReasoningPolicyBuildWorkflows = paginateListAutomatedReasoningPolicyBuildWorkflows;
2069
2152
  exports.paginateListAutomatedReasoningPolicyTestCases = paginateListAutomatedReasoningPolicyTestCases;