

# ValidationExceptionDetail


The input failed to meet the constraints specified by the Amazon service in a specified field.

## Contents


 ** fieldName **   <a name="awscostmanagement-Type-CostOptimizationHub_ValidationExceptionDetail-fieldName"></a>
The field name where the invalid entry was detected.  
Type: String  
Required: Yes

 ** message **   <a name="awscostmanagement-Type-CostOptimizationHub_ValidationExceptionDetail-message"></a>
A message with the reason for the validation exception error.  
Type: String  
Required: Yes

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/cost-optimization-hub-2022-07-26/ValidationExceptionDetail) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/cost-optimization-hub-2022-07-26/ValidationExceptionDetail) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/cost-optimization-hub-2022-07-26/ValidationExceptionDetail) 