

# PredefinedMetricSpecification
<a name="API_PredefinedMetricSpecification"></a>

A specification for a predefined metric.

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

 ** PredefinedMetricType **   <a name="sagemaker-Type-PredefinedMetricSpecification-PredefinedMetricType"></a>
The metric type. You can only apply SageMaker metric types to SageMaker endpoints.  
Type: String  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/sagemaker-2017-07-24/PredefinedMetricSpecification) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/sagemaker-2017-07-24/PredefinedMetricSpecification) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/sagemaker-2017-07-24/PredefinedMetricSpecification) 