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 |
Synopsis
- data SamplingRuleUpdate = SamplingRuleUpdate' {}
- newSamplingRuleUpdate :: SamplingRuleUpdate
- samplingRuleUpdate_attributes :: Lens' SamplingRuleUpdate (Maybe (HashMap Text Text))
- samplingRuleUpdate_fixedRate :: Lens' SamplingRuleUpdate (Maybe Double)
- samplingRuleUpdate_hTTPMethod :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_host :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_priority :: Lens' SamplingRuleUpdate (Maybe Int)
- samplingRuleUpdate_reservoirSize :: Lens' SamplingRuleUpdate (Maybe Int)
- samplingRuleUpdate_resourceARN :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_ruleARN :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_ruleName :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_serviceName :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_serviceType :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_uRLPath :: Lens' SamplingRuleUpdate (Maybe Text)
Documentation
data SamplingRuleUpdate Source #
A document specifying changes to a sampling rule's configuration.
See: newSamplingRuleUpdate
smart constructor.
SamplingRuleUpdate' | |
|
Instances
newSamplingRuleUpdate :: SamplingRuleUpdate Source #
Create a value of SamplingRuleUpdate
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:attributes:SamplingRuleUpdate'
, samplingRuleUpdate_attributes
- Matches attributes derived from the request.
$sel:fixedRate:SamplingRuleUpdate'
, samplingRuleUpdate_fixedRate
- The percentage of matching requests to instrument, after the reservoir
is exhausted.
$sel:hTTPMethod:SamplingRuleUpdate'
, samplingRuleUpdate_hTTPMethod
- Matches the HTTP method of a request.
$sel:host:SamplingRuleUpdate'
, samplingRuleUpdate_host
- Matches the hostname from a request URL.
$sel:priority:SamplingRuleUpdate'
, samplingRuleUpdate_priority
- The priority of the sampling rule.
$sel:reservoirSize:SamplingRuleUpdate'
, samplingRuleUpdate_reservoirSize
- A fixed number of matching requests to instrument per second, prior to
applying the fixed rate. The reservoir is not used directly by services,
but applies to all services using the rule collectively.
$sel:resourceARN:SamplingRuleUpdate'
, samplingRuleUpdate_resourceARN
- Matches the ARN of the Amazon Web Services resource on which the service
runs.
$sel:ruleARN:SamplingRuleUpdate'
, samplingRuleUpdate_ruleARN
- The ARN of the sampling rule. Specify a rule by either name or ARN, but
not both.
$sel:ruleName:SamplingRuleUpdate'
, samplingRuleUpdate_ruleName
- The name of the sampling rule. Specify a rule by either name or ARN, but
not both.
$sel:serviceName:SamplingRuleUpdate'
, samplingRuleUpdate_serviceName
- Matches the name
that the service uses to identify itself in segments.
$sel:serviceType:SamplingRuleUpdate'
, samplingRuleUpdate_serviceType
- Matches the origin
that the service uses to identify its type in
segments.
$sel:uRLPath:SamplingRuleUpdate'
, samplingRuleUpdate_uRLPath
- Matches the path from a request URL.
samplingRuleUpdate_attributes :: Lens' SamplingRuleUpdate (Maybe (HashMap Text Text)) Source #
Matches attributes derived from the request.
samplingRuleUpdate_fixedRate :: Lens' SamplingRuleUpdate (Maybe Double) Source #
The percentage of matching requests to instrument, after the reservoir is exhausted.
samplingRuleUpdate_hTTPMethod :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the HTTP method of a request.
samplingRuleUpdate_host :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the hostname from a request URL.
samplingRuleUpdate_priority :: Lens' SamplingRuleUpdate (Maybe Int) Source #
The priority of the sampling rule.
samplingRuleUpdate_reservoirSize :: Lens' SamplingRuleUpdate (Maybe Int) Source #
A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.
samplingRuleUpdate_resourceARN :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the ARN of the Amazon Web Services resource on which the service runs.
samplingRuleUpdate_ruleARN :: Lens' SamplingRuleUpdate (Maybe Text) Source #
The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
samplingRuleUpdate_ruleName :: Lens' SamplingRuleUpdate (Maybe Text) Source #
The name of the sampling rule. Specify a rule by either name or ARN, but not both.
samplingRuleUpdate_serviceName :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the name
that the service uses to identify itself in segments.
samplingRuleUpdate_serviceType :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the origin
that the service uses to identify its type in
segments.
samplingRuleUpdate_uRLPath :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the path from a request URL.