

# SamplingStrategy
<a name="API_SamplingStrategy"></a>

The name and value of a sampling rule to apply to a trace summary.

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

 ** Name **   <a name="xray-Type-SamplingStrategy-Name"></a>
The name of a sampling rule.  
Type: String  
Valid Values: `PartialScan | FixedRate`   
Required: No

 ** Value **   <a name="xray-Type-SamplingStrategy-Value"></a>
The value of a sampling rule.  
Type: Double  
Required: No

## See Also
<a name="API_SamplingStrategy_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/xray-2016-04-12/SamplingStrategy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/xray-2016-04-12/SamplingStrategy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/xray-2016-04-12/SamplingStrategy) 