Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data SamplingStrategy Source #
The name and value of a sampling rule to apply to a trace summary.
See: newSamplingStrategy
smart constructor.
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:value:SamplingStrategy'
, samplingStrategy_value
- The value of a sampling rule.
$sel:name:SamplingStrategy'
, samplingStrategy_name
- The name of a sampling rule.
samplingStrategy_value :: Lens' SamplingStrategy (Maybe Double) Source #
The value of a sampling rule.
samplingStrategy_name :: Lens' SamplingStrategy (Maybe SamplingStrategyName) Source #
The name of a sampling rule.