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 |
Synopsis
- data SamplingRuleUpdate = SamplingRuleUpdate' {}
- newSamplingRuleUpdate :: SamplingRuleUpdate
- samplingRuleUpdate_hTTPMethod :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_priority :: Lens' SamplingRuleUpdate (Maybe Int)
- samplingRuleUpdate_ruleName :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_reservoirSize :: Lens' SamplingRuleUpdate (Maybe Int)
- samplingRuleUpdate_fixedRate :: Lens' SamplingRuleUpdate (Maybe Double)
- samplingRuleUpdate_resourceARN :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_attributes :: Lens' SamplingRuleUpdate (Maybe (HashMap Text Text))
- samplingRuleUpdate_serviceName :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_serviceType :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_host :: Lens' SamplingRuleUpdate (Maybe Text)
- samplingRuleUpdate_ruleARN :: 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:hTTPMethod:SamplingRuleUpdate'
, samplingRuleUpdate_hTTPMethod
- Matches the HTTP method of a request.
$sel:priority:SamplingRuleUpdate'
, samplingRuleUpdate_priority
- The priority of the sampling rule.
$sel:ruleName:SamplingRuleUpdate'
, samplingRuleUpdate_ruleName
- The name of the sampling rule. Specify a rule by either name or ARN, but
not both.
$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:fixedRate:SamplingRuleUpdate'
, samplingRuleUpdate_fixedRate
- The percentage of matching requests to instrument, after the reservoir
is exhausted.
$sel:resourceARN:SamplingRuleUpdate'
, samplingRuleUpdate_resourceARN
- Matches the ARN of the Amazon Web Services resource on which the service
runs.
$sel:attributes:SamplingRuleUpdate'
, samplingRuleUpdate_attributes
- Matches attributes derived from the request.
$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:host:SamplingRuleUpdate'
, samplingRuleUpdate_host
- Matches the hostname from a request URL.
$sel:ruleARN:SamplingRuleUpdate'
, samplingRuleUpdate_ruleARN
- The ARN of the sampling rule. Specify a rule by either name or ARN, but
not both.
$sel:uRLPath:SamplingRuleUpdate'
, samplingRuleUpdate_uRLPath
- Matches the path from a request URL.
samplingRuleUpdate_hTTPMethod :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the HTTP method of a request.
samplingRuleUpdate_priority :: Lens' SamplingRuleUpdate (Maybe Int) Source #
The priority of the sampling rule.
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_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_fixedRate :: Lens' SamplingRuleUpdate (Maybe Double) Source #
The percentage of matching requests to instrument, after the reservoir is exhausted.
samplingRuleUpdate_resourceARN :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the ARN of the Amazon Web Services resource on which the service runs.
samplingRuleUpdate_attributes :: Lens' SamplingRuleUpdate (Maybe (HashMap Text Text)) Source #
Matches attributes derived from the request.
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_host :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the hostname from a request URL.
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_uRLPath :: Lens' SamplingRuleUpdate (Maybe Text) Source #
Matches the path from a request URL.