| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.XRay.Types.SamplingStrategy
Description
Documentation
data SamplingStrategy Source #
The name and value of a sampling rule to apply to a trace summary.
See: newSamplingStrategy smart constructor.
Constructors
| SamplingStrategy' | |
Instances
newSamplingStrategy :: SamplingStrategy Source #
Create a value of SamplingStrategy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SamplingStrategy', samplingStrategy_name - The name of a sampling rule.
$sel:value:SamplingStrategy', samplingStrategy_value - The value of a sampling rule.
samplingStrategy_name :: Lens' SamplingStrategy (Maybe SamplingStrategyName) Source #
The name of a sampling rule.
samplingStrategy_value :: Lens' SamplingStrategy (Maybe Double) Source #
The value of a sampling rule.