libZSservicesZSamazonka-xrayZSamazonka-xray
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.XRay.Types.SamplingStrategy

Description

 
Synopsis

Documentation

data SamplingStrategy Source #

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

See: newSamplingStrategy smart constructor.

Constructors

SamplingStrategy' 

Fields

Instances

Instances details
Eq SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

Read SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

Show SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

Generic SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

Associated Types

type Rep SamplingStrategy :: Type -> Type #

NFData SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

Methods

rnf :: SamplingStrategy -> () #

Hashable SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

ToJSON SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

type Rep SamplingStrategy Source # 
Instance details

Defined in Amazonka.XRay.Types.SamplingStrategy

type Rep SamplingStrategy = D1 ('MetaData "SamplingStrategy" "Amazonka.XRay.Types.SamplingStrategy" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "SamplingStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SamplingStrategyName))))

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.