@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,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateAutomatedReasoningPolicyAnnotationsCommandOutput
19
19
  declare const UpdateAutomatedReasoningPolicyAnnotationsCommand_base: {
20
20
  new (
21
21
  input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateAutomatedReasoningPolicyAnnotationsCommandInput,
24
24
  UpdateAutomatedReasoningPolicyAnnotationsCommandOutput,
25
25
  BedrockClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateAutomatedReasoningPolicyAnnotationsCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateAutomatedReasoningPolicyAnnotationsCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateAutomatedReasoningPolicyAnnotationsCommandInput,
33
33
  UpdateAutomatedReasoningPolicyAnnotationsCommandOutput,
34
34
  BedrockClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateAutomatedReasoningPolicyAnnotationsCommand extends UpdateAutomatedReasoningPolicyAnnotationsCommand_base {
41
43
  protected static __types: {
@@ -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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateAutomatedReasoningPolicyCommandOutput
19
19
  declare const UpdateAutomatedReasoningPolicyCommand_base: {
20
20
  new (
21
21
  input: UpdateAutomatedReasoningPolicyCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateAutomatedReasoningPolicyCommandInput,
24
24
  UpdateAutomatedReasoningPolicyCommandOutput,
25
25
  BedrockClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateAutomatedReasoningPolicyCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateAutomatedReasoningPolicyCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateAutomatedReasoningPolicyCommandInput,
33
33
  UpdateAutomatedReasoningPolicyCommandOutput,
34
34
  BedrockClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateAutomatedReasoningPolicyCommand extends UpdateAutomatedReasoningPolicyCommand_base {
41
43
  protected static __types: {
@@ -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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateAutomatedReasoningPolicyTestCaseCommandOutput
19
19
  declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
20
20
  new (
21
21
  input: UpdateAutomatedReasoningPolicyTestCaseCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateAutomatedReasoningPolicyTestCaseCommandInput,
24
24
  UpdateAutomatedReasoningPolicyTestCaseCommandOutput,
25
25
  BedrockClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateAutomatedReasoningPolicyTestCaseCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateAutomatedReasoningPolicyTestCaseCommandInput,
33
33
  UpdateAutomatedReasoningPolicyTestCaseCommandOutput,
34
34
  BedrockClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateAutomatedReasoningPolicyTestCaseCommand extends UpdateAutomatedReasoningPolicyTestCaseCommand_base {
41
43
  protected static __types: {
@@ -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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateCustomModelDeploymentCommandOutput
19
19
  declare const UpdateCustomModelDeploymentCommand_base: {
20
20
  new (
21
21
  input: UpdateCustomModelDeploymentCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateCustomModelDeploymentCommandInput,
24
24
  UpdateCustomModelDeploymentCommandOutput,
25
25
  BedrockClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateCustomModelDeploymentCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateCustomModelDeploymentCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateCustomModelDeploymentCommandInput,
33
33
  UpdateCustomModelDeploymentCommandOutput,
34
34
  BedrockClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateCustomModelDeploymentCommand extends UpdateCustomModelDeploymentCommand_base {
41
43
  protected static __types: {
@@ -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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface UpdateGuardrailCommandOutput
18
18
  declare const UpdateGuardrailCommand_base: {
19
19
  new (
20
20
  input: UpdateGuardrailCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  UpdateGuardrailCommandInput,
23
23
  UpdateGuardrailCommandOutput,
24
24
  BedrockClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const UpdateGuardrailCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: UpdateGuardrailCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  UpdateGuardrailCommandInput,
32
32
  UpdateGuardrailCommandOutput,
33
33
  BedrockClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class UpdateGuardrailCommand extends UpdateGuardrailCommand_base {
40
42
  protected static __types: {
@@ -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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateMarketplaceModelEndpointCommandOutput
19
19
  declare const UpdateMarketplaceModelEndpointCommand_base: {
20
20
  new (
21
21
  input: UpdateMarketplaceModelEndpointCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateMarketplaceModelEndpointCommandInput,
24
24
  UpdateMarketplaceModelEndpointCommandOutput,
25
25
  BedrockClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateMarketplaceModelEndpointCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateMarketplaceModelEndpointCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateMarketplaceModelEndpointCommandInput,
33
33
  UpdateMarketplaceModelEndpointCommandOutput,
34
34
  BedrockClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateMarketplaceModelEndpointCommand extends UpdateMarketplaceModelEndpointCommand_base {
41
43
  protected static __types: {
@@ -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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BedrockClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateProvisionedModelThroughputCommandOutput
19
19
  declare const UpdateProvisionedModelThroughputCommand_base: {
20
20
  new (
21
21
  input: UpdateProvisionedModelThroughputCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateProvisionedModelThroughputCommandInput,
24
24
  UpdateProvisionedModelThroughputCommandOutput,
25
25
  BedrockClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateProvisionedModelThroughputCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateProvisionedModelThroughputCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateProvisionedModelThroughputCommandInput,
33
33
  UpdateProvisionedModelThroughputCommandOutput,
34
34
  BedrockClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateProvisionedModelThroughputCommand extends UpdateProvisionedModelThroughputCommand_base {
41
43
  protected static __types: {
@@ -1,5 +1,7 @@
1
+ export * from "./BatchDeleteAdvancedPromptOptimizationJobCommand";
1
2
  export * from "./BatchDeleteEvaluationJobCommand";
2
3
  export * from "./CancelAutomatedReasoningPolicyBuildWorkflowCommand";
4
+ export * from "./CreateAdvancedPromptOptimizationJobCommand";
3
5
  export * from "./CreateAutomatedReasoningPolicyCommand";
4
6
  export * from "./CreateAutomatedReasoningPolicyTestCaseCommand";
5
7
  export * from "./CreateAutomatedReasoningPolicyVersionCommand";
@@ -34,6 +36,7 @@ export * from "./DeleteProvisionedModelThroughputCommand";
34
36
  export * from "./DeleteResourcePolicyCommand";
35
37
  export * from "./DeregisterMarketplaceModelEndpointCommand";
36
38
  export * from "./ExportAutomatedReasoningPolicyVersionCommand";
39
+ export * from "./GetAdvancedPromptOptimizationJobCommand";
37
40
  export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
38
41
  export * from "./GetAutomatedReasoningPolicyBuildWorkflowCommand";
39
42
  export * from "./GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand";
@@ -59,6 +62,7 @@ export * from "./GetPromptRouterCommand";
59
62
  export * from "./GetProvisionedModelThroughputCommand";
60
63
  export * from "./GetResourcePolicyCommand";
61
64
  export * from "./GetUseCaseForModelAccessCommand";
65
+ export * from "./ListAdvancedPromptOptimizationJobsCommand";
62
66
  export * from "./ListAutomatedReasoningPoliciesCommand";
63
67
  export * from "./ListAutomatedReasoningPolicyBuildWorkflowsCommand";
64
68
  export * from "./ListAutomatedReasoningPolicyTestCasesCommand";
@@ -87,6 +91,7 @@ export * from "./PutUseCaseForModelAccessCommand";
87
91
  export * from "./RegisterMarketplaceModelEndpointCommand";
88
92
  export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
89
93
  export * from "./StartAutomatedReasoningPolicyTestWorkflowCommand";
94
+ export * from "./StopAdvancedPromptOptimizationJobCommand";
90
95
  export * from "./StopEvaluationJobCommand";
91
96
  export * from "./StopModelCustomizationJobCommand";
92
97
  export * from "./StopModelInvocationJobCommand";
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface BedrockExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class BedrockServiceException extends __ServiceException {
@@ -14,6 +14,26 @@ export declare const ConfigurationOwner: {
14
14
  };
15
15
  export type ConfigurationOwner =
16
16
  (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
17
+ export declare const AdvancedPromptOptimizationJobStatus: {
18
+ readonly COMPLETED: "Completed";
19
+ readonly DELETING: "Deleting";
20
+ readonly FAILED: "Failed";
21
+ readonly IN_PROGRESS: "InProgress";
22
+ readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
23
+ readonly STOPPED: "Stopped";
24
+ readonly STOPPING: "Stopping";
25
+ };
26
+ export type AdvancedPromptOptimizationJobStatus =
27
+ (typeof AdvancedPromptOptimizationJobStatus)[keyof typeof AdvancedPromptOptimizationJobStatus];
28
+ export declare const SortJobsBy: {
29
+ readonly CREATION_TIME: "CreationTime";
30
+ };
31
+ export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
32
+ export declare const SortOrder: {
33
+ readonly ASCENDING: "Ascending";
34
+ readonly DESCENDING: "Descending";
35
+ };
36
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
17
37
  export declare const AgreementStatus: {
18
38
  readonly AVAILABLE: "AVAILABLE";
19
39
  readonly ERROR: "ERROR";
@@ -129,11 +149,6 @@ export declare const SortModelsBy: {
129
149
  readonly CREATION_TIME: "CreationTime";
130
150
  };
131
151
  export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
132
- export declare const SortOrder: {
133
- readonly ASCENDING: "Ascending";
134
- readonly DESCENDING: "Descending";
135
- };
136
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
137
152
  export declare const ReasoningEffort: {
138
153
  readonly HIGH: "high";
139
154
  readonly LOW: "low";
@@ -233,10 +248,6 @@ export declare const EvaluationJobType: {
233
248
  };
234
249
  export type EvaluationJobType =
235
250
  (typeof EvaluationJobType)[keyof typeof EvaluationJobType];
236
- export declare const SortJobsBy: {
237
- readonly CREATION_TIME: "CreationTime";
238
- };
239
- export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
240
251
  export declare const GuardrailContentFilterAction: {
241
252
  readonly BLOCK: "BLOCK";
242
253
  readonly NONE: "NONE";
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
@@ -14,13 +14,6 @@ export declare class InternalServerException extends __BaseException {
14
14
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
15
15
  );
16
16
  }
17
- export declare class ResourceNotFoundException extends __BaseException {
18
- readonly name: "ResourceNotFoundException";
19
- readonly $fault: "client";
20
- constructor(
21
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
22
- );
23
- }
24
17
  export declare class ThrottlingException extends __BaseException {
25
18
  readonly name: "ThrottlingException";
26
19
  readonly $fault: "client";
@@ -40,6 +33,13 @@ export declare class ConflictException extends __BaseException {
40
33
  readonly $fault: "client";
41
34
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
42
35
  }
36
+ export declare class ResourceNotFoundException extends __BaseException {
37
+ readonly name: "ResourceNotFoundException";
38
+ readonly $fault: "client";
39
+ constructor(
40
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
41
+ );
42
+ }
43
43
  export declare class ServiceQuotaExceededException extends __BaseException {
44
44
  readonly name: "ServiceQuotaExceededException";
45
45
  readonly $fault: "client";
@@ -1,5 +1,6 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import {
3
+ AdvancedPromptOptimizationJobStatus,
3
4
  AgreementStatus,
4
5
  ApplicationType,
5
6
  AttributeType,
@@ -76,6 +77,95 @@ export interface AccountEnforcedGuardrailOutputConfiguration {
76
77
  owner?: ConfigurationOwner | undefined;
77
78
  modelEnforcement?: ModelEnforcement | undefined;
78
79
  }
80
+ export interface AdvancedPromptOptimizationInputConfig {
81
+ s3Uri: string | undefined;
82
+ }
83
+ export interface BatchDeleteAdvancedPromptOptimizationJobRequest {
84
+ jobIdentifiers: string[] | undefined;
85
+ }
86
+ export interface BatchDeleteAdvancedPromptOptimizationJobItem {
87
+ jobIdentifier: string | undefined;
88
+ jobStatus: AdvancedPromptOptimizationJobStatus | undefined;
89
+ }
90
+ export interface BatchDeleteAdvancedPromptOptimizationJobError {
91
+ jobIdentifier: string | undefined;
92
+ code: string | undefined;
93
+ message?: string | undefined;
94
+ }
95
+ export interface BatchDeleteAdvancedPromptOptimizationJobResponse {
96
+ errors: BatchDeleteAdvancedPromptOptimizationJobError[] | undefined;
97
+ advancedPromptOptimizationJobs:
98
+ | BatchDeleteAdvancedPromptOptimizationJobItem[]
99
+ | undefined;
100
+ }
101
+ export interface InferenceConfiguration {
102
+ maxTokens?: number | undefined;
103
+ temperature?: number | undefined;
104
+ topP?: number | undefined;
105
+ stopSequences?: string[] | undefined;
106
+ }
107
+ export interface ModelConfiguration {
108
+ modelId: string | undefined;
109
+ inferenceConfig?: InferenceConfiguration | undefined;
110
+ additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
111
+ }
112
+ export interface AdvancedPromptOptimizationOutputConfig {
113
+ s3Uri: string | undefined;
114
+ }
115
+ export interface Tag {
116
+ key: string | undefined;
117
+ value: string | undefined;
118
+ }
119
+ export interface CreateAdvancedPromptOptimizationJobRequest {
120
+ jobName: string | undefined;
121
+ jobDescription?: string | undefined;
122
+ clientToken?: string | undefined;
123
+ inputConfig: AdvancedPromptOptimizationInputConfig | undefined;
124
+ outputConfig: AdvancedPromptOptimizationOutputConfig | undefined;
125
+ encryptionKeyArn?: string | undefined;
126
+ tags?: Tag[] | undefined;
127
+ modelConfigurations: ModelConfiguration[] | undefined;
128
+ }
129
+ export interface CreateAdvancedPromptOptimizationJobResponse {
130
+ jobArn: string | undefined;
131
+ }
132
+ export interface GetAdvancedPromptOptimizationJobRequest {
133
+ jobIdentifier: string | undefined;
134
+ }
135
+ export interface GetAdvancedPromptOptimizationJobResponse {
136
+ jobArn: string | undefined;
137
+ jobName: string | undefined;
138
+ jobDescription?: string | undefined;
139
+ jobStatus: AdvancedPromptOptimizationJobStatus | undefined;
140
+ inputConfig: AdvancedPromptOptimizationInputConfig | undefined;
141
+ outputConfig: AdvancedPromptOptimizationOutputConfig | undefined;
142
+ encryptionKeyArn?: string | undefined;
143
+ creationTime: Date | undefined;
144
+ lastModifiedTime?: Date | undefined;
145
+ failureMessage?: string | undefined;
146
+ modelConfigurations: ModelConfiguration[] | undefined;
147
+ }
148
+ export interface ListAdvancedPromptOptimizationJobsRequest {
149
+ maxResults?: number | undefined;
150
+ nextToken?: string | undefined;
151
+ sortBy?: SortJobsBy | undefined;
152
+ sortOrder?: SortOrder | undefined;
153
+ }
154
+ export interface AdvancedPromptOptimizationJobSummary {
155
+ jobArn: string | undefined;
156
+ jobName: string | undefined;
157
+ jobStatus: AdvancedPromptOptimizationJobStatus | undefined;
158
+ creationTime: Date | undefined;
159
+ lastModifiedTime?: Date | undefined;
160
+ }
161
+ export interface ListAdvancedPromptOptimizationJobsResponse {
162
+ jobSummaries?: AdvancedPromptOptimizationJobSummary[] | undefined;
163
+ nextToken?: string | undefined;
164
+ }
165
+ export interface StopAdvancedPromptOptimizationJobRequest {
166
+ jobIdentifier: string | undefined;
167
+ }
168
+ export interface StopAdvancedPromptOptimizationJobResponse {}
79
169
  export interface AgreementAvailability {
80
170
  status: AgreementStatus | undefined;
81
171
  errorMessage?: string | undefined;
@@ -118,10 +208,6 @@ export interface AutomatedReasoningPolicyDefinition {
118
208
  rules?: AutomatedReasoningPolicyDefinitionRule[] | undefined;
119
209
  variables?: AutomatedReasoningPolicyDefinitionVariable[] | undefined;
120
210
  }
121
- export interface Tag {
122
- key: string | undefined;
123
- value: string | undefined;
124
- }
125
211
  export interface CreateAutomatedReasoningPolicyRequest {
126
212
  name: string | undefined;
127
213
  description?: string | undefined;
@@ -2447,106 +2533,3 @@ export interface GuardrailWordConfig {
2447
2533
  inputEnabled?: boolean | undefined;
2448
2534
  outputEnabled?: boolean | undefined;
2449
2535
  }
2450
- export interface GuardrailWordPolicyConfig {
2451
- wordsConfig?: GuardrailWordConfig[] | undefined;
2452
- managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
2453
- }
2454
- export interface CreateGuardrailRequest {
2455
- name: string | undefined;
2456
- description?: string | undefined;
2457
- topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
2458
- contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
2459
- wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
2460
- sensitiveInformationPolicyConfig?:
2461
- | GuardrailSensitiveInformationPolicyConfig
2462
- | undefined;
2463
- contextualGroundingPolicyConfig?:
2464
- | GuardrailContextualGroundingPolicyConfig
2465
- | undefined;
2466
- automatedReasoningPolicyConfig?:
2467
- | GuardrailAutomatedReasoningPolicyConfig
2468
- | undefined;
2469
- crossRegionConfig?: GuardrailCrossRegionConfig | undefined;
2470
- blockedInputMessaging: string | undefined;
2471
- blockedOutputsMessaging: string | undefined;
2472
- kmsKeyId?: string | undefined;
2473
- tags?: Tag[] | undefined;
2474
- clientRequestToken?: string | undefined;
2475
- }
2476
- export interface CreateGuardrailResponse {
2477
- guardrailId: string | undefined;
2478
- guardrailArn: string | undefined;
2479
- version: string | undefined;
2480
- createdAt: Date | undefined;
2481
- }
2482
- export interface CreateGuardrailVersionRequest {
2483
- guardrailIdentifier: string | undefined;
2484
- description?: string | undefined;
2485
- clientRequestToken?: string | undefined;
2486
- }
2487
- export interface CreateGuardrailVersionResponse {
2488
- guardrailId: string | undefined;
2489
- version: string | undefined;
2490
- }
2491
- export interface DeleteGuardrailRequest {
2492
- guardrailIdentifier: string | undefined;
2493
- guardrailVersion?: string | undefined;
2494
- }
2495
- export interface DeleteGuardrailResponse {}
2496
- export interface GetGuardrailRequest {
2497
- guardrailIdentifier: string | undefined;
2498
- guardrailVersion?: string | undefined;
2499
- }
2500
- export interface GuardrailAutomatedReasoningPolicy {
2501
- policies: string[] | undefined;
2502
- confidenceThreshold?: number | undefined;
2503
- }
2504
- export interface GuardrailContentFilter {
2505
- type: GuardrailContentFilterType | undefined;
2506
- inputStrength: GuardrailFilterStrength | undefined;
2507
- outputStrength: GuardrailFilterStrength | undefined;
2508
- inputModalities?: GuardrailModality[] | undefined;
2509
- outputModalities?: GuardrailModality[] | undefined;
2510
- inputAction?: GuardrailContentFilterAction | undefined;
2511
- outputAction?: GuardrailContentFilterAction | undefined;
2512
- inputEnabled?: boolean | undefined;
2513
- outputEnabled?: boolean | undefined;
2514
- }
2515
- export interface GuardrailContentFiltersTier {
2516
- tierName: GuardrailContentFiltersTierName | undefined;
2517
- }
2518
- export interface GuardrailContentPolicy {
2519
- filters?: GuardrailContentFilter[] | undefined;
2520
- tier?: GuardrailContentFiltersTier | undefined;
2521
- }
2522
- export interface GuardrailContextualGroundingFilter {
2523
- type: GuardrailContextualGroundingFilterType | undefined;
2524
- threshold: number | undefined;
2525
- action?: GuardrailContextualGroundingAction | undefined;
2526
- enabled?: boolean | undefined;
2527
- }
2528
- export interface GuardrailContextualGroundingPolicy {
2529
- filters: GuardrailContextualGroundingFilter[] | undefined;
2530
- }
2531
- export interface GuardrailCrossRegionDetails {
2532
- guardrailProfileId?: string | undefined;
2533
- guardrailProfileArn?: string | undefined;
2534
- }
2535
- export interface GuardrailPiiEntity {
2536
- type: GuardrailPiiEntityType | undefined;
2537
- action: GuardrailSensitiveInformationAction | undefined;
2538
- inputAction?: GuardrailSensitiveInformationAction | undefined;
2539
- outputAction?: GuardrailSensitiveInformationAction | undefined;
2540
- inputEnabled?: boolean | undefined;
2541
- outputEnabled?: boolean | undefined;
2542
- }
2543
- export interface GuardrailRegex {
2544
- name: string | undefined;
2545
- description?: string | undefined;
2546
- pattern: string | undefined;
2547
- action: GuardrailSensitiveInformationAction | undefined;
2548
- inputAction?: GuardrailSensitiveInformationAction | undefined;
2549
- outputAction?: GuardrailSensitiveInformationAction | undefined;
2550
- inputEnabled?: boolean | undefined;
2551
- outputEnabled?: boolean | undefined;
2552
- }