@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
@@ -1,7 +1,9 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { BedrockClient } from "./BedrockClient";
3
+ import { type BatchDeleteAdvancedPromptOptimizationJobCommandInput, type BatchDeleteAdvancedPromptOptimizationJobCommandOutput } from "./commands/BatchDeleteAdvancedPromptOptimizationJobCommand";
3
4
  import { type BatchDeleteEvaluationJobCommandInput, type BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
4
5
  import { type CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, type CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
6
+ import { type CreateAdvancedPromptOptimizationJobCommandInput, type CreateAdvancedPromptOptimizationJobCommandOutput } from "./commands/CreateAdvancedPromptOptimizationJobCommand";
5
7
  import { type CreateAutomatedReasoningPolicyCommandInput, type CreateAutomatedReasoningPolicyCommandOutput } from "./commands/CreateAutomatedReasoningPolicyCommand";
6
8
  import { type CreateAutomatedReasoningPolicyTestCaseCommandInput, type CreateAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/CreateAutomatedReasoningPolicyTestCaseCommand";
7
9
  import { type CreateAutomatedReasoningPolicyVersionCommandInput, type CreateAutomatedReasoningPolicyVersionCommandOutput } from "./commands/CreateAutomatedReasoningPolicyVersionCommand";
@@ -36,6 +38,7 @@ import { type DeleteProvisionedModelThroughputCommandInput, type DeleteProvision
36
38
  import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
37
39
  import { type DeregisterMarketplaceModelEndpointCommandInput, type DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
38
40
  import { type ExportAutomatedReasoningPolicyVersionCommandInput, type ExportAutomatedReasoningPolicyVersionCommandOutput } from "./commands/ExportAutomatedReasoningPolicyVersionCommand";
41
+ import { type GetAdvancedPromptOptimizationJobCommandInput, type GetAdvancedPromptOptimizationJobCommandOutput } from "./commands/GetAdvancedPromptOptimizationJobCommand";
39
42
  import { type GetAutomatedReasoningPolicyAnnotationsCommandInput, type GetAutomatedReasoningPolicyAnnotationsCommandOutput } from "./commands/GetAutomatedReasoningPolicyAnnotationsCommand";
40
43
  import { type GetAutomatedReasoningPolicyBuildWorkflowCommandInput, type GetAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/GetAutomatedReasoningPolicyBuildWorkflowCommand";
41
44
  import { type GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput, type GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput } from "./commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand";
@@ -61,6 +64,7 @@ import { type GetPromptRouterCommandInput, type GetPromptRouterCommandOutput } f
61
64
  import { type GetProvisionedModelThroughputCommandInput, type GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
62
65
  import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
63
66
  import { type GetUseCaseForModelAccessCommandInput, type GetUseCaseForModelAccessCommandOutput } from "./commands/GetUseCaseForModelAccessCommand";
67
+ import { type ListAdvancedPromptOptimizationJobsCommandInput, type ListAdvancedPromptOptimizationJobsCommandOutput } from "./commands/ListAdvancedPromptOptimizationJobsCommand";
64
68
  import { type ListAutomatedReasoningPoliciesCommandInput, type ListAutomatedReasoningPoliciesCommandOutput } from "./commands/ListAutomatedReasoningPoliciesCommand";
65
69
  import { type ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, type ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput } from "./commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand";
66
70
  import { type ListAutomatedReasoningPolicyTestCasesCommandInput, type ListAutomatedReasoningPolicyTestCasesCommandOutput } from "./commands/ListAutomatedReasoningPolicyTestCasesCommand";
@@ -89,6 +93,7 @@ import { type PutUseCaseForModelAccessCommandInput, type PutUseCaseForModelAcces
89
93
  import { type RegisterMarketplaceModelEndpointCommandInput, type RegisterMarketplaceModelEndpointCommandOutput } from "./commands/RegisterMarketplaceModelEndpointCommand";
90
94
  import { type StartAutomatedReasoningPolicyBuildWorkflowCommandInput, type StartAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/StartAutomatedReasoningPolicyBuildWorkflowCommand";
91
95
  import { type StartAutomatedReasoningPolicyTestWorkflowCommandInput, type StartAutomatedReasoningPolicyTestWorkflowCommandOutput } from "./commands/StartAutomatedReasoningPolicyTestWorkflowCommand";
96
+ import { type StopAdvancedPromptOptimizationJobCommandInput, type StopAdvancedPromptOptimizationJobCommandOutput } from "./commands/StopAdvancedPromptOptimizationJobCommand";
92
97
  import { type StopEvaluationJobCommandInput, type StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
93
98
  import { type StopModelCustomizationJobCommandInput, type StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
94
99
  import { type StopModelInvocationJobCommandInput, type StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
@@ -102,6 +107,12 @@ import { type UpdateGuardrailCommandInput, type UpdateGuardrailCommandOutput } f
102
107
  import { type UpdateMarketplaceModelEndpointCommandInput, type UpdateMarketplaceModelEndpointCommandOutput } from "./commands/UpdateMarketplaceModelEndpointCommand";
103
108
  import { type UpdateProvisionedModelThroughputCommandInput, type UpdateProvisionedModelThroughputCommandOutput } from "./commands/UpdateProvisionedModelThroughputCommand";
104
109
  export interface Bedrock {
110
+ /**
111
+ * @see {@link BatchDeleteAdvancedPromptOptimizationJobCommand}
112
+ */
113
+ batchDeleteAdvancedPromptOptimizationJob(args: BatchDeleteAdvancedPromptOptimizationJobCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteAdvancedPromptOptimizationJobCommandOutput>;
114
+ batchDeleteAdvancedPromptOptimizationJob(args: BatchDeleteAdvancedPromptOptimizationJobCommandInput, cb: (err: any, data?: BatchDeleteAdvancedPromptOptimizationJobCommandOutput) => void): void;
115
+ batchDeleteAdvancedPromptOptimizationJob(args: BatchDeleteAdvancedPromptOptimizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteAdvancedPromptOptimizationJobCommandOutput) => void): void;
105
116
  /**
106
117
  * @see {@link BatchDeleteEvaluationJobCommand}
107
118
  */
@@ -114,6 +125,12 @@ export interface Bedrock {
114
125
  cancelAutomatedReasoningPolicyBuildWorkflow(args: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput>;
115
126
  cancelAutomatedReasoningPolicyBuildWorkflow(args: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, cb: (err: any, data?: CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput) => void): void;
116
127
  cancelAutomatedReasoningPolicyBuildWorkflow(args: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput) => void): void;
128
+ /**
129
+ * @see {@link CreateAdvancedPromptOptimizationJobCommand}
130
+ */
131
+ createAdvancedPromptOptimizationJob(args: CreateAdvancedPromptOptimizationJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateAdvancedPromptOptimizationJobCommandOutput>;
132
+ createAdvancedPromptOptimizationJob(args: CreateAdvancedPromptOptimizationJobCommandInput, cb: (err: any, data?: CreateAdvancedPromptOptimizationJobCommandOutput) => void): void;
133
+ createAdvancedPromptOptimizationJob(args: CreateAdvancedPromptOptimizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAdvancedPromptOptimizationJobCommandOutput) => void): void;
117
134
  /**
118
135
  * @see {@link CreateAutomatedReasoningPolicyCommand}
119
136
  */
@@ -319,6 +336,12 @@ export interface Bedrock {
319
336
  exportAutomatedReasoningPolicyVersion(args: ExportAutomatedReasoningPolicyVersionCommandInput, options?: __HttpHandlerOptions): Promise<ExportAutomatedReasoningPolicyVersionCommandOutput>;
320
337
  exportAutomatedReasoningPolicyVersion(args: ExportAutomatedReasoningPolicyVersionCommandInput, cb: (err: any, data?: ExportAutomatedReasoningPolicyVersionCommandOutput) => void): void;
321
338
  exportAutomatedReasoningPolicyVersion(args: ExportAutomatedReasoningPolicyVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportAutomatedReasoningPolicyVersionCommandOutput) => void): void;
339
+ /**
340
+ * @see {@link GetAdvancedPromptOptimizationJobCommand}
341
+ */
342
+ getAdvancedPromptOptimizationJob(args: GetAdvancedPromptOptimizationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetAdvancedPromptOptimizationJobCommandOutput>;
343
+ getAdvancedPromptOptimizationJob(args: GetAdvancedPromptOptimizationJobCommandInput, cb: (err: any, data?: GetAdvancedPromptOptimizationJobCommandOutput) => void): void;
344
+ getAdvancedPromptOptimizationJob(args: GetAdvancedPromptOptimizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdvancedPromptOptimizationJobCommandOutput) => void): void;
322
345
  /**
323
346
  * @see {@link GetAutomatedReasoningPolicyCommand}
324
347
  */
@@ -471,6 +494,13 @@ export interface Bedrock {
471
494
  getUseCaseForModelAccess(args: GetUseCaseForModelAccessCommandInput, options?: __HttpHandlerOptions): Promise<GetUseCaseForModelAccessCommandOutput>;
472
495
  getUseCaseForModelAccess(args: GetUseCaseForModelAccessCommandInput, cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void): void;
473
496
  getUseCaseForModelAccess(args: GetUseCaseForModelAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUseCaseForModelAccessCommandOutput) => void): void;
497
+ /**
498
+ * @see {@link ListAdvancedPromptOptimizationJobsCommand}
499
+ */
500
+ listAdvancedPromptOptimizationJobs(): Promise<ListAdvancedPromptOptimizationJobsCommandOutput>;
501
+ listAdvancedPromptOptimizationJobs(args: ListAdvancedPromptOptimizationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListAdvancedPromptOptimizationJobsCommandOutput>;
502
+ listAdvancedPromptOptimizationJobs(args: ListAdvancedPromptOptimizationJobsCommandInput, cb: (err: any, data?: ListAdvancedPromptOptimizationJobsCommandOutput) => void): void;
503
+ listAdvancedPromptOptimizationJobs(args: ListAdvancedPromptOptimizationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAdvancedPromptOptimizationJobsCommandOutput) => void): void;
474
504
  /**
475
505
  * @see {@link ListAutomatedReasoningPoliciesCommand}
476
506
  */
@@ -655,6 +685,12 @@ export interface Bedrock {
655
685
  startAutomatedReasoningPolicyTestWorkflow(args: StartAutomatedReasoningPolicyTestWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<StartAutomatedReasoningPolicyTestWorkflowCommandOutput>;
656
686
  startAutomatedReasoningPolicyTestWorkflow(args: StartAutomatedReasoningPolicyTestWorkflowCommandInput, cb: (err: any, data?: StartAutomatedReasoningPolicyTestWorkflowCommandOutput) => void): void;
657
687
  startAutomatedReasoningPolicyTestWorkflow(args: StartAutomatedReasoningPolicyTestWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAutomatedReasoningPolicyTestWorkflowCommandOutput) => void): void;
688
+ /**
689
+ * @see {@link StopAdvancedPromptOptimizationJobCommand}
690
+ */
691
+ stopAdvancedPromptOptimizationJob(args: StopAdvancedPromptOptimizationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopAdvancedPromptOptimizationJobCommandOutput>;
692
+ stopAdvancedPromptOptimizationJob(args: StopAdvancedPromptOptimizationJobCommandInput, cb: (err: any, data?: StopAdvancedPromptOptimizationJobCommandOutput) => void): void;
693
+ stopAdvancedPromptOptimizationJob(args: StopAdvancedPromptOptimizationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAdvancedPromptOptimizationJobCommandOutput) => void): void;
658
694
  /**
659
695
  * @see {@link StopEvaluationJobCommand}
660
696
  */
@@ -727,6 +763,13 @@ export interface Bedrock {
727
763
  updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProvisionedModelThroughputCommandOutput>;
728
764
  updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void): void;
729
765
  updateProvisionedModelThroughput(args: UpdateProvisionedModelThroughputCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void): void;
766
+ /**
767
+ * @see {@link ListAdvancedPromptOptimizationJobsCommand}
768
+ * @param args - command input.
769
+ * @param paginationConfig - optional pagination config.
770
+ * @returns AsyncIterable of {@link ListAdvancedPromptOptimizationJobsCommandOutput}.
771
+ */
772
+ paginateListAdvancedPromptOptimizationJobs(args?: ListAdvancedPromptOptimizationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAdvancedPromptOptimizationJobsCommandOutput>;
730
773
  /**
731
774
  * @see {@link ListAutomatedReasoningPoliciesCommand}
732
775
  * @param args - command input.
@@ -1,14 +1,16 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import type { BatchDeleteAdvancedPromptOptimizationJobCommandInput, BatchDeleteAdvancedPromptOptimizationJobCommandOutput } from "./commands/BatchDeleteAdvancedPromptOptimizationJobCommand";
10
11
  import type { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
11
12
  import type { CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
13
+ import type { CreateAdvancedPromptOptimizationJobCommandInput, CreateAdvancedPromptOptimizationJobCommandOutput } from "./commands/CreateAdvancedPromptOptimizationJobCommand";
12
14
  import type { CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput } from "./commands/CreateAutomatedReasoningPolicyCommand";
13
15
  import type { CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput } from "./commands/CreateAutomatedReasoningPolicyTestCaseCommand";
14
16
  import type { CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput } from "./commands/CreateAutomatedReasoningPolicyVersionCommand";
@@ -43,6 +45,7 @@ import type { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedMod
43
45
  import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
44
46
  import type { DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput } from "./commands/DeregisterMarketplaceModelEndpointCommand";
45
47
  import type { ExportAutomatedReasoningPolicyVersionCommandInput, ExportAutomatedReasoningPolicyVersionCommandOutput } from "./commands/ExportAutomatedReasoningPolicyVersionCommand";
48
+ import type { GetAdvancedPromptOptimizationJobCommandInput, GetAdvancedPromptOptimizationJobCommandOutput } from "./commands/GetAdvancedPromptOptimizationJobCommand";
46
49
  import type { GetAutomatedReasoningPolicyAnnotationsCommandInput, GetAutomatedReasoningPolicyAnnotationsCommandOutput } from "./commands/GetAutomatedReasoningPolicyAnnotationsCommand";
47
50
  import type { GetAutomatedReasoningPolicyBuildWorkflowCommandInput, GetAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/GetAutomatedReasoningPolicyBuildWorkflowCommand";
48
51
  import type { GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput, GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput } from "./commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand";
@@ -68,6 +71,7 @@ import type { GetPromptRouterCommandInput, GetPromptRouterCommandOutput } from "
68
71
  import type { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "./commands/GetProvisionedModelThroughputCommand";
69
72
  import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
70
73
  import type { GetUseCaseForModelAccessCommandInput, GetUseCaseForModelAccessCommandOutput } from "./commands/GetUseCaseForModelAccessCommand";
74
+ import type { ListAdvancedPromptOptimizationJobsCommandInput, ListAdvancedPromptOptimizationJobsCommandOutput } from "./commands/ListAdvancedPromptOptimizationJobsCommand";
71
75
  import type { ListAutomatedReasoningPoliciesCommandInput, ListAutomatedReasoningPoliciesCommandOutput } from "./commands/ListAutomatedReasoningPoliciesCommand";
72
76
  import type { ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput } from "./commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand";
73
77
  import type { ListAutomatedReasoningPolicyTestCasesCommandInput, ListAutomatedReasoningPolicyTestCasesCommandOutput } from "./commands/ListAutomatedReasoningPolicyTestCasesCommand";
@@ -96,6 +100,7 @@ import type { PutUseCaseForModelAccessCommandInput, PutUseCaseForModelAccessComm
96
100
  import type { RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput } from "./commands/RegisterMarketplaceModelEndpointCommand";
97
101
  import type { StartAutomatedReasoningPolicyBuildWorkflowCommandInput, StartAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/StartAutomatedReasoningPolicyBuildWorkflowCommand";
98
102
  import type { StartAutomatedReasoningPolicyTestWorkflowCommandInput, StartAutomatedReasoningPolicyTestWorkflowCommandOutput } from "./commands/StartAutomatedReasoningPolicyTestWorkflowCommand";
103
+ import type { StopAdvancedPromptOptimizationJobCommandInput, StopAdvancedPromptOptimizationJobCommandOutput } from "./commands/StopAdvancedPromptOptimizationJobCommand";
99
104
  import type { StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput } from "./commands/StopEvaluationJobCommand";
100
105
  import type { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "./commands/StopModelCustomizationJobCommand";
101
106
  import type { StopModelInvocationJobCommandInput, StopModelInvocationJobCommandOutput } from "./commands/StopModelInvocationJobCommand";
@@ -114,11 +119,11 @@ export { __Client };
114
119
  /**
115
120
  * @public
116
121
  */
117
- export type ServiceInputTypes = BatchDeleteEvaluationJobCommandInput | CancelAutomatedReasoningPolicyBuildWorkflowCommandInput | CreateAutomatedReasoningPolicyCommandInput | CreateAutomatedReasoningPolicyTestCaseCommandInput | CreateAutomatedReasoningPolicyVersionCommandInput | CreateCustomModelCommandInput | CreateCustomModelDeploymentCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput | DeleteAutomatedReasoningPolicyCommandInput | DeleteAutomatedReasoningPolicyTestCaseCommandInput | DeleteCustomModelCommandInput | DeleteCustomModelDeploymentCommandInput | DeleteEnforcedGuardrailConfigurationCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeleteResourcePolicyCommandInput | DeregisterMarketplaceModelEndpointCommandInput | ExportAutomatedReasoningPolicyVersionCommandInput | GetAutomatedReasoningPolicyAnnotationsCommandInput | GetAutomatedReasoningPolicyBuildWorkflowCommandInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput | GetAutomatedReasoningPolicyCommandInput | GetAutomatedReasoningPolicyNextScenarioCommandInput | GetAutomatedReasoningPolicyTestCaseCommandInput | GetAutomatedReasoningPolicyTestResultCommandInput | GetCustomModelCommandInput | GetCustomModelDeploymentCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetResourcePolicyCommandInput | GetUseCaseForModelAccessCommandInput | ListAutomatedReasoningPoliciesCommandInput | ListAutomatedReasoningPolicyBuildWorkflowsCommandInput | ListAutomatedReasoningPolicyTestCasesCommandInput | ListAutomatedReasoningPolicyTestResultsCommandInput | ListCustomModelDeploymentsCommandInput | ListCustomModelsCommandInput | ListEnforcedGuardrailsConfigurationCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutEnforcedGuardrailConfigurationCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutResourcePolicyCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StartAutomatedReasoningPolicyBuildWorkflowCommandInput | StartAutomatedReasoningPolicyTestWorkflowCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAutomatedReasoningPolicyAnnotationsCommandInput | UpdateAutomatedReasoningPolicyCommandInput | UpdateAutomatedReasoningPolicyTestCaseCommandInput | UpdateCustomModelDeploymentCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
122
+ export type ServiceInputTypes = BatchDeleteAdvancedPromptOptimizationJobCommandInput | BatchDeleteEvaluationJobCommandInput | CancelAutomatedReasoningPolicyBuildWorkflowCommandInput | CreateAdvancedPromptOptimizationJobCommandInput | CreateAutomatedReasoningPolicyCommandInput | CreateAutomatedReasoningPolicyTestCaseCommandInput | CreateAutomatedReasoningPolicyVersionCommandInput | CreateCustomModelCommandInput | CreateCustomModelDeploymentCommandInput | CreateEvaluationJobCommandInput | CreateFoundationModelAgreementCommandInput | CreateGuardrailCommandInput | CreateGuardrailVersionCommandInput | CreateInferenceProfileCommandInput | CreateMarketplaceModelEndpointCommandInput | CreateModelCopyJobCommandInput | CreateModelCustomizationJobCommandInput | CreateModelImportJobCommandInput | CreateModelInvocationJobCommandInput | CreatePromptRouterCommandInput | CreateProvisionedModelThroughputCommandInput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandInput | DeleteAutomatedReasoningPolicyCommandInput | DeleteAutomatedReasoningPolicyTestCaseCommandInput | DeleteCustomModelCommandInput | DeleteCustomModelDeploymentCommandInput | DeleteEnforcedGuardrailConfigurationCommandInput | DeleteFoundationModelAgreementCommandInput | DeleteGuardrailCommandInput | DeleteImportedModelCommandInput | DeleteInferenceProfileCommandInput | DeleteMarketplaceModelEndpointCommandInput | DeleteModelInvocationLoggingConfigurationCommandInput | DeletePromptRouterCommandInput | DeleteProvisionedModelThroughputCommandInput | DeleteResourcePolicyCommandInput | DeregisterMarketplaceModelEndpointCommandInput | ExportAutomatedReasoningPolicyVersionCommandInput | GetAdvancedPromptOptimizationJobCommandInput | GetAutomatedReasoningPolicyAnnotationsCommandInput | GetAutomatedReasoningPolicyBuildWorkflowCommandInput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandInput | GetAutomatedReasoningPolicyCommandInput | GetAutomatedReasoningPolicyNextScenarioCommandInput | GetAutomatedReasoningPolicyTestCaseCommandInput | GetAutomatedReasoningPolicyTestResultCommandInput | GetCustomModelCommandInput | GetCustomModelDeploymentCommandInput | GetEvaluationJobCommandInput | GetFoundationModelAvailabilityCommandInput | GetFoundationModelCommandInput | GetGuardrailCommandInput | GetImportedModelCommandInput | GetInferenceProfileCommandInput | GetMarketplaceModelEndpointCommandInput | GetModelCopyJobCommandInput | GetModelCustomizationJobCommandInput | GetModelImportJobCommandInput | GetModelInvocationJobCommandInput | GetModelInvocationLoggingConfigurationCommandInput | GetPromptRouterCommandInput | GetProvisionedModelThroughputCommandInput | GetResourcePolicyCommandInput | GetUseCaseForModelAccessCommandInput | ListAdvancedPromptOptimizationJobsCommandInput | ListAutomatedReasoningPoliciesCommandInput | ListAutomatedReasoningPolicyBuildWorkflowsCommandInput | ListAutomatedReasoningPolicyTestCasesCommandInput | ListAutomatedReasoningPolicyTestResultsCommandInput | ListCustomModelDeploymentsCommandInput | ListCustomModelsCommandInput | ListEnforcedGuardrailsConfigurationCommandInput | ListEvaluationJobsCommandInput | ListFoundationModelAgreementOffersCommandInput | ListFoundationModelsCommandInput | ListGuardrailsCommandInput | ListImportedModelsCommandInput | ListInferenceProfilesCommandInput | ListMarketplaceModelEndpointsCommandInput | ListModelCopyJobsCommandInput | ListModelCustomizationJobsCommandInput | ListModelImportJobsCommandInput | ListModelInvocationJobsCommandInput | ListPromptRoutersCommandInput | ListProvisionedModelThroughputsCommandInput | ListTagsForResourceCommandInput | PutEnforcedGuardrailConfigurationCommandInput | PutModelInvocationLoggingConfigurationCommandInput | PutResourcePolicyCommandInput | PutUseCaseForModelAccessCommandInput | RegisterMarketplaceModelEndpointCommandInput | StartAutomatedReasoningPolicyBuildWorkflowCommandInput | StartAutomatedReasoningPolicyTestWorkflowCommandInput | StopAdvancedPromptOptimizationJobCommandInput | StopEvaluationJobCommandInput | StopModelCustomizationJobCommandInput | StopModelInvocationJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAutomatedReasoningPolicyAnnotationsCommandInput | UpdateAutomatedReasoningPolicyCommandInput | UpdateAutomatedReasoningPolicyTestCaseCommandInput | UpdateCustomModelDeploymentCommandInput | UpdateGuardrailCommandInput | UpdateMarketplaceModelEndpointCommandInput | UpdateProvisionedModelThroughputCommandInput;
118
123
  /**
119
124
  * @public
120
125
  */
121
- export type ServiceOutputTypes = BatchDeleteEvaluationJobCommandOutput | CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput | CreateAutomatedReasoningPolicyCommandOutput | CreateAutomatedReasoningPolicyTestCaseCommandOutput | CreateAutomatedReasoningPolicyVersionCommandOutput | CreateCustomModelCommandOutput | CreateCustomModelDeploymentCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput | DeleteAutomatedReasoningPolicyCommandOutput | DeleteAutomatedReasoningPolicyTestCaseCommandOutput | DeleteCustomModelCommandOutput | DeleteCustomModelDeploymentCommandOutput | DeleteEnforcedGuardrailConfigurationCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | ExportAutomatedReasoningPolicyVersionCommandOutput | GetAutomatedReasoningPolicyAnnotationsCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput | GetAutomatedReasoningPolicyCommandOutput | GetAutomatedReasoningPolicyNextScenarioCommandOutput | GetAutomatedReasoningPolicyTestCaseCommandOutput | GetAutomatedReasoningPolicyTestResultCommandOutput | GetCustomModelCommandOutput | GetCustomModelDeploymentCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetResourcePolicyCommandOutput | GetUseCaseForModelAccessCommandOutput | ListAutomatedReasoningPoliciesCommandOutput | ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput | ListAutomatedReasoningPolicyTestCasesCommandOutput | ListAutomatedReasoningPolicyTestResultsCommandOutput | ListCustomModelDeploymentsCommandOutput | ListCustomModelsCommandOutput | ListEnforcedGuardrailsConfigurationCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutEnforcedGuardrailConfigurationCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutResourcePolicyCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StartAutomatedReasoningPolicyBuildWorkflowCommandOutput | StartAutomatedReasoningPolicyTestWorkflowCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAutomatedReasoningPolicyAnnotationsCommandOutput | UpdateAutomatedReasoningPolicyCommandOutput | UpdateAutomatedReasoningPolicyTestCaseCommandOutput | UpdateCustomModelDeploymentCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
126
+ export type ServiceOutputTypes = BatchDeleteAdvancedPromptOptimizationJobCommandOutput | BatchDeleteEvaluationJobCommandOutput | CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput | CreateAdvancedPromptOptimizationJobCommandOutput | CreateAutomatedReasoningPolicyCommandOutput | CreateAutomatedReasoningPolicyTestCaseCommandOutput | CreateAutomatedReasoningPolicyVersionCommandOutput | CreateCustomModelCommandOutput | CreateCustomModelDeploymentCommandOutput | CreateEvaluationJobCommandOutput | CreateFoundationModelAgreementCommandOutput | CreateGuardrailCommandOutput | CreateGuardrailVersionCommandOutput | CreateInferenceProfileCommandOutput | CreateMarketplaceModelEndpointCommandOutput | CreateModelCopyJobCommandOutput | CreateModelCustomizationJobCommandOutput | CreateModelImportJobCommandOutput | CreateModelInvocationJobCommandOutput | CreatePromptRouterCommandOutput | CreateProvisionedModelThroughputCommandOutput | DeleteAutomatedReasoningPolicyBuildWorkflowCommandOutput | DeleteAutomatedReasoningPolicyCommandOutput | DeleteAutomatedReasoningPolicyTestCaseCommandOutput | DeleteCustomModelCommandOutput | DeleteCustomModelDeploymentCommandOutput | DeleteEnforcedGuardrailConfigurationCommandOutput | DeleteFoundationModelAgreementCommandOutput | DeleteGuardrailCommandOutput | DeleteImportedModelCommandOutput | DeleteInferenceProfileCommandOutput | DeleteMarketplaceModelEndpointCommandOutput | DeleteModelInvocationLoggingConfigurationCommandOutput | DeletePromptRouterCommandOutput | DeleteProvisionedModelThroughputCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterMarketplaceModelEndpointCommandOutput | ExportAutomatedReasoningPolicyVersionCommandOutput | GetAdvancedPromptOptimizationJobCommandOutput | GetAutomatedReasoningPolicyAnnotationsCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowCommandOutput | GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommandOutput | GetAutomatedReasoningPolicyCommandOutput | GetAutomatedReasoningPolicyNextScenarioCommandOutput | GetAutomatedReasoningPolicyTestCaseCommandOutput | GetAutomatedReasoningPolicyTestResultCommandOutput | GetCustomModelCommandOutput | GetCustomModelDeploymentCommandOutput | GetEvaluationJobCommandOutput | GetFoundationModelAvailabilityCommandOutput | GetFoundationModelCommandOutput | GetGuardrailCommandOutput | GetImportedModelCommandOutput | GetInferenceProfileCommandOutput | GetMarketplaceModelEndpointCommandOutput | GetModelCopyJobCommandOutput | GetModelCustomizationJobCommandOutput | GetModelImportJobCommandOutput | GetModelInvocationJobCommandOutput | GetModelInvocationLoggingConfigurationCommandOutput | GetPromptRouterCommandOutput | GetProvisionedModelThroughputCommandOutput | GetResourcePolicyCommandOutput | GetUseCaseForModelAccessCommandOutput | ListAdvancedPromptOptimizationJobsCommandOutput | ListAutomatedReasoningPoliciesCommandOutput | ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput | ListAutomatedReasoningPolicyTestCasesCommandOutput | ListAutomatedReasoningPolicyTestResultsCommandOutput | ListCustomModelDeploymentsCommandOutput | ListCustomModelsCommandOutput | ListEnforcedGuardrailsConfigurationCommandOutput | ListEvaluationJobsCommandOutput | ListFoundationModelAgreementOffersCommandOutput | ListFoundationModelsCommandOutput | ListGuardrailsCommandOutput | ListImportedModelsCommandOutput | ListInferenceProfilesCommandOutput | ListMarketplaceModelEndpointsCommandOutput | ListModelCopyJobsCommandOutput | ListModelCustomizationJobsCommandOutput | ListModelImportJobsCommandOutput | ListModelInvocationJobsCommandOutput | ListPromptRoutersCommandOutput | ListProvisionedModelThroughputsCommandOutput | ListTagsForResourceCommandOutput | PutEnforcedGuardrailConfigurationCommandOutput | PutModelInvocationLoggingConfigurationCommandOutput | PutResourcePolicyCommandOutput | PutUseCaseForModelAccessCommandOutput | RegisterMarketplaceModelEndpointCommandOutput | StartAutomatedReasoningPolicyBuildWorkflowCommandOutput | StartAutomatedReasoningPolicyTestWorkflowCommandOutput | StopAdvancedPromptOptimizationJobCommandOutput | StopEvaluationJobCommandOutput | StopModelCustomizationJobCommandOutput | StopModelInvocationJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAutomatedReasoningPolicyAnnotationsCommandOutput | UpdateAutomatedReasoningPolicyCommandOutput | UpdateAutomatedReasoningPolicyTestCaseCommandOutput | UpdateCustomModelDeploymentCommandOutput | UpdateGuardrailCommandOutput | UpdateMarketplaceModelEndpointCommandOutput | UpdateProvisionedModelThroughputCommandOutput;
122
127
  /**
123
128
  * @public
124
129
  */
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import type { BatchDeleteAdvancedPromptOptimizationJobRequest, BatchDeleteAdvancedPromptOptimizationJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchDeleteAdvancedPromptOptimizationJobCommand}.
14
+ */
15
+ export interface BatchDeleteAdvancedPromptOptimizationJobCommandInput extends BatchDeleteAdvancedPromptOptimizationJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchDeleteAdvancedPromptOptimizationJobCommand}.
21
+ */
22
+ export interface BatchDeleteAdvancedPromptOptimizationJobCommandOutput extends BatchDeleteAdvancedPromptOptimizationJobResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchDeleteAdvancedPromptOptimizationJobCommand_base: {
25
+ new (input: BatchDeleteAdvancedPromptOptimizationJobCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteAdvancedPromptOptimizationJobCommandInput, BatchDeleteAdvancedPromptOptimizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchDeleteAdvancedPromptOptimizationJobCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteAdvancedPromptOptimizationJobCommandInput, BatchDeleteAdvancedPromptOptimizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Batch delete the specified advanced prompt optimization jobs.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BedrockClient, BatchDeleteAdvancedPromptOptimizationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
37
+ * // const { BedrockClient, BatchDeleteAdvancedPromptOptimizationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
38
+ * // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
39
+ * const config = {}; // type is BedrockClientConfig
40
+ * const client = new BedrockClient(config);
41
+ * const input = { // BatchDeleteAdvancedPromptOptimizationJobRequest
42
+ * jobIdentifiers: [ // AdvancedPromptOptimizationJobIdentifiers // required
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * };
46
+ * const command = new BatchDeleteAdvancedPromptOptimizationJobCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // BatchDeleteAdvancedPromptOptimizationJobResponse
49
+ * // errors: [ // BatchDeleteAdvancedPromptOptimizationJobErrors // required
50
+ * // { // BatchDeleteAdvancedPromptOptimizationJobError
51
+ * // jobIdentifier: "STRING_VALUE", // required
52
+ * // code: "STRING_VALUE", // required
53
+ * // message: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // advancedPromptOptimizationJobs: [ // BatchDeleteAdvancedPromptOptimizationJobItems // required
57
+ * // { // BatchDeleteAdvancedPromptOptimizationJobItem
58
+ * // jobIdentifier: "STRING_VALUE", // required
59
+ * // jobStatus: "InProgress" || "Completed" || "Failed" || "PartiallyCompleted" || "Stopping" || "Stopped" || "Deleting", // required
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param BatchDeleteAdvancedPromptOptimizationJobCommandInput - {@link BatchDeleteAdvancedPromptOptimizationJobCommandInput}
67
+ * @returns {@link BatchDeleteAdvancedPromptOptimizationJobCommandOutput}
68
+ * @see {@link BatchDeleteAdvancedPromptOptimizationJobCommandInput} for command's `input` shape.
69
+ * @see {@link BatchDeleteAdvancedPromptOptimizationJobCommandOutput} for command's `response` shape.
70
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>The request is denied because of missing access permissions.</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>An internal server error occurred. Retry your request.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
83
+ *
84
+ * @throws {@link BedrockServiceException}
85
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class BatchDeleteAdvancedPromptOptimizationJobCommand extends BatchDeleteAdvancedPromptOptimizationJobCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: BatchDeleteAdvancedPromptOptimizationJobRequest;
95
+ output: BatchDeleteAdvancedPromptOptimizationJobResponse;
96
+ };
97
+ sdk: {
98
+ input: BatchDeleteAdvancedPromptOptimizationJobCommandInput;
99
+ output: BatchDeleteAdvancedPromptOptimizationJobCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
4
  import type { BatchDeleteEvaluationJobRequest, BatchDeleteEvaluationJobResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface BatchDeleteEvaluationJobCommandInput extends BatchDeleteEvaluat
22
22
  export interface BatchDeleteEvaluationJobCommandOutput extends BatchDeleteEvaluationJobResponse, __MetadataBearer {
23
23
  }
24
24
  declare const BatchDeleteEvaluationJobCommand_base: {
25
- new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/smithy-client").CommandImpl<BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchDeleteEvaluationJobCommandInput): import("@smithy/core/client").CommandImpl<BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes a batch of evaluation jobs. An evaluation job can only be deleted if it has following status <code>FAILED</code>, <code>COMPLETED</code>, and <code>STOPPED</code>. You can request up to 25 model evaluation jobs be deleted in a single request.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
4
  import type { CancelAutomatedReasoningPolicyBuildWorkflowRequest, CancelAutomatedReasoningPolicyBuildWorkflowResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CancelAutomatedReasoningPolicyBuildWorkflowCommandInput extends
22
22
  export interface CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput extends CancelAutomatedReasoningPolicyBuildWorkflowResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CancelAutomatedReasoningPolicyBuildWorkflowCommand_base: {
25
- new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/smithy-client").CommandImpl<CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CancelAutomatedReasoningPolicyBuildWorkflowCommandInput): import("@smithy/core/client").CommandImpl<CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Cancels a running Automated Reasoning policy build workflow. This stops the policy generation process and prevents further processing of the source documents.</p>
@@ -0,0 +1,131 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import type { CreateAdvancedPromptOptimizationJobRequest, CreateAdvancedPromptOptimizationJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAdvancedPromptOptimizationJobCommand}.
14
+ */
15
+ export interface CreateAdvancedPromptOptimizationJobCommandInput extends CreateAdvancedPromptOptimizationJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAdvancedPromptOptimizationJobCommand}.
21
+ */
22
+ export interface CreateAdvancedPromptOptimizationJobCommandOutput extends CreateAdvancedPromptOptimizationJobResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateAdvancedPromptOptimizationJobCommand_base: {
25
+ new (input: CreateAdvancedPromptOptimizationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateAdvancedPromptOptimizationJobCommandInput, CreateAdvancedPromptOptimizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAdvancedPromptOptimizationJobCommandInput): import("@smithy/core/client").CommandImpl<CreateAdvancedPromptOptimizationJobCommandInput, CreateAdvancedPromptOptimizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Creates an asynchronous batch job for advanced prompt optimization.
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BedrockClient, CreateAdvancedPromptOptimizationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
37
+ * // const { BedrockClient, CreateAdvancedPromptOptimizationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
38
+ * // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
39
+ * const config = {}; // type is BedrockClientConfig
40
+ * const client = new BedrockClient(config);
41
+ * const input = { // CreateAdvancedPromptOptimizationJobRequest
42
+ * jobName: "STRING_VALUE", // required
43
+ * jobDescription: "STRING_VALUE",
44
+ * clientToken: "STRING_VALUE",
45
+ * inputConfig: { // AdvancedPromptOptimizationInputConfig
46
+ * s3Uri: "STRING_VALUE", // required
47
+ * },
48
+ * outputConfig: { // AdvancedPromptOptimizationOutputConfig
49
+ * s3Uri: "STRING_VALUE", // required
50
+ * },
51
+ * encryptionKeyArn: "STRING_VALUE",
52
+ * tags: [ // TagList
53
+ * { // Tag
54
+ * key: "STRING_VALUE", // required
55
+ * value: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * modelConfigurations: [ // ModelConfigurations // required
59
+ * { // ModelConfiguration
60
+ * modelId: "STRING_VALUE", // required
61
+ * inferenceConfig: { // InferenceConfiguration
62
+ * maxTokens: Number("int"),
63
+ * temperature: Number("float"),
64
+ * topP: Number("float"),
65
+ * stopSequences: [ // NonEmptyStringList
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * },
69
+ * additionalModelRequestFields: { // AdditionalModelRequestFields
70
+ * "<keys>": "DOCUMENT_VALUE",
71
+ * },
72
+ * },
73
+ * ],
74
+ * };
75
+ * const command = new CreateAdvancedPromptOptimizationJobCommand(input);
76
+ * const response = await client.send(command);
77
+ * // { // CreateAdvancedPromptOptimizationJobResponse
78
+ * // jobArn: "STRING_VALUE", // required
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param CreateAdvancedPromptOptimizationJobCommandInput - {@link CreateAdvancedPromptOptimizationJobCommandInput}
84
+ * @returns {@link CreateAdvancedPromptOptimizationJobCommandOutput}
85
+ * @see {@link CreateAdvancedPromptOptimizationJobCommandInput} for command's `input` shape.
86
+ * @see {@link CreateAdvancedPromptOptimizationJobCommandOutput} for command's `response` shape.
87
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
88
+ *
89
+ * @throws {@link AccessDeniedException} (client fault)
90
+ * <p>The request is denied because of missing access permissions.</p>
91
+ *
92
+ * @throws {@link ConflictException} (client fault)
93
+ * <p>Error occurred because of a conflict while performing an operation.</p>
94
+ *
95
+ * @throws {@link InternalServerException} (server fault)
96
+ * <p>An internal server error occurred. Retry your request.</p>
97
+ *
98
+ * @throws {@link ResourceNotFoundException} (client fault)
99
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
100
+ *
101
+ * @throws {@link ServiceQuotaExceededException} (client fault)
102
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
103
+ *
104
+ * @throws {@link ThrottlingException} (client fault)
105
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
106
+ *
107
+ * @throws {@link TooManyTagsException} (client fault)
108
+ * <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
109
+ *
110
+ * @throws {@link ValidationException} (client fault)
111
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
112
+ *
113
+ * @throws {@link BedrockServiceException}
114
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
115
+ *
116
+ *
117
+ * @public
118
+ */
119
+ export declare class CreateAdvancedPromptOptimizationJobCommand extends CreateAdvancedPromptOptimizationJobCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: CreateAdvancedPromptOptimizationJobRequest;
124
+ output: CreateAdvancedPromptOptimizationJobResponse;
125
+ };
126
+ sdk: {
127
+ input: CreateAdvancedPromptOptimizationJobCommandInput;
128
+ output: CreateAdvancedPromptOptimizationJobCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
4
  import type { CreateAutomatedReasoningPolicyRequest, CreateAutomatedReasoningPolicyResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateAutomatedReasoningPolicyCommandInput extends CreateAutoma
22
22
  export interface CreateAutomatedReasoningPolicyCommandOutput extends CreateAutomatedReasoningPolicyResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateAutomatedReasoningPolicyCommand_base: {
25
- new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAutomatedReasoningPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyCommandInput, CreateAutomatedReasoningPolicyCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates an Automated Reasoning policy for Amazon Bedrock Guardrails. Automated Reasoning policies use mathematical techniques to detect hallucinations, suggest corrections, and highlight unstated assumptions in the responses of your GenAI application.</p> <p>To create a policy, you upload a source document that describes the rules that you're encoding. Automated Reasoning extracts important concepts from the source document that will become variables in the policy and infers policy rules.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
4
  import type { CreateAutomatedReasoningPolicyTestCaseRequest, CreateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateAutomatedReasoningPolicyTestCaseCommandInput extends Crea
22
22
  export interface CreateAutomatedReasoningPolicyTestCaseCommandOutput extends CreateAutomatedReasoningPolicyTestCaseResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateAutomatedReasoningPolicyTestCaseCommand_base: {
25
- new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAutomatedReasoningPolicyTestCaseCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyTestCaseCommandInput, CreateAutomatedReasoningPolicyTestCaseCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a test for an Automated Reasoning policy. Tests validate that your policy works as expected by providing sample inputs and expected outcomes. Use tests to verify policy behavior before deploying to production.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
4
  import type { CreateAutomatedReasoningPolicyVersionRequest, CreateAutomatedReasoningPolicyVersionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateAutomatedReasoningPolicyVersionCommandInput extends Creat
22
22
  export interface CreateAutomatedReasoningPolicyVersionCommandOutput extends CreateAutomatedReasoningPolicyVersionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateAutomatedReasoningPolicyVersionCommand_base: {
25
- new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateAutomatedReasoningPolicyVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAutomatedReasoningPolicyVersionCommandInput, CreateAutomatedReasoningPolicyVersionCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a new version of an existing Automated Reasoning policy. This allows you to iterate on your policy rules while maintaining previous versions for rollback or comparison purposes.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
4
  import type { CreateCustomModelRequest, CreateCustomModelResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface CreateCustomModelCommandInput extends CreateCustomModelRequest
22
22
  export interface CreateCustomModelCommandOutput extends CreateCustomModelResponse, __MetadataBearer {
23
23
  }
24
24
  declare const CreateCustomModelCommand_base: {
25
- new (input: CreateCustomModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCustomModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: CreateCustomModelCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateCustomModelCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Creates a new custom model in Amazon Bedrock. After the model is active, you can use it for inference.</p> <p>To use the model for inference, you must purchase Provisioned Throughput for it. You can't use On-demand inference with these custom models. For more information about Provisioned Throughput, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html">Provisioned Throughput</a>.</p> <p>The model appears in <code>ListCustomModels</code> with a <code>customizationType</code> of <code>imported</code>. To track the status of the new model, you use the <code>GetCustomModel</code> API operation. The model can be in the following states:</p> <ul> <li> <p> <code>Creating</code> - Initial state during validation and registration</p> </li> <li> <p> <code>Active</code> - Model is ready for use in inference</p> </li> <li> <p> <code>Failed</code> - Creation process encountered an error</p> </li> </ul> <p> <b>Related APIs</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModel.html">GetCustomModel</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModels.html">ListCustomModels</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModel.html">DeleteCustomModel</a> </p> </li> </ul>