

# RatingScaleItemValue
<a name="API_RatingScaleItemValue"></a>

Defines the value for one rating in a custom metric rating scale.

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

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

 ** floatValue **   <a name="bedrock-Type-RatingScaleItemValue-floatValue"></a>
A floating point number representing the value for a rating in a custom metric rating scale.  
Type: Float  
Required: No

 ** stringValue **   <a name="bedrock-Type-RatingScaleItemValue-stringValue"></a>
A string representing the value for a rating in a custom metric rating scale.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Required: No

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

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