

# SystemPromptRecommendationResult
<a name="API_SystemPromptRecommendationResult"></a>

The result of a system prompt recommendation, containing the optimized prompt.

## Contents
<a name="API_SystemPromptRecommendationResult_Contents"></a>

 ** configurationBundle **   <a name="BedrockAgentCore-Type-SystemPromptRecommendationResult-configurationBundle"></a>
The configuration bundle containing the recommended system prompt, if the input was sourced from a configuration bundle.  
Type: [RecommendationResultConfigurationBundle](API_RecommendationResultConfigurationBundle.md) object  
Required: No

 ** errorCode **   <a name="BedrockAgentCore-Type-SystemPromptRecommendationResult-errorCode"></a>
The error code if the recommendation failed.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Required: No

 ** errorMessage **   <a name="BedrockAgentCore-Type-SystemPromptRecommendationResult-errorMessage"></a>
The error message if the recommendation failed.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Required: No

 ** recommendedSystemPrompt **   <a name="BedrockAgentCore-Type-SystemPromptRecommendationResult-recommendedSystemPrompt"></a>
The optimized system prompt text generated by the recommendation.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 20000.  
Required: No

## See Also
<a name="API_SystemPromptRecommendationResult_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agentcore-2024-02-28/SystemPromptRecommendationResult) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-2024-02-28/SystemPromptRecommendationResult) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-2024-02-28/SystemPromptRecommendationResult) 