OptimizedPrompt - Amazon Bedrock
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: January 2, 2026.

OptimizedPrompt

Contains information about the optimized prompt.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

textPrompt

Contains information about the text in the prompt that was optimized.

Type: TextPrompt object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: