Optimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_optimize_prompt/ for full documentation.
bedrockagentruntime_optimize_prompt(input, targetModelId)
[required] Contains the prompt to optimize.
[required] The unique identifier of the model that you want to optimize the prompt for.