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 BehaviorCriteria = BehaviorCriteria' {}
- newBehaviorCriteria :: BehaviorCriteria
- behaviorCriteria_mlDetectionConfig :: Lens' BehaviorCriteria (Maybe MachineLearningDetectionConfig)
- behaviorCriteria_value :: Lens' BehaviorCriteria (Maybe MetricValue)
- behaviorCriteria_consecutiveDatapointsToAlarm :: Lens' BehaviorCriteria (Maybe Natural)
- behaviorCriteria_comparisonOperator :: Lens' BehaviorCriteria (Maybe ComparisonOperator)
- behaviorCriteria_statisticalThreshold :: Lens' BehaviorCriteria (Maybe StatisticalThreshold)
- behaviorCriteria_durationSeconds :: Lens' BehaviorCriteria (Maybe Int)
- behaviorCriteria_consecutiveDatapointsToClear :: Lens' BehaviorCriteria (Maybe Natural)
Documentation
data BehaviorCriteria Source #
The criteria by which the behavior is determined to be normal.
See: newBehaviorCriteria
smart constructor.
BehaviorCriteria' | |
|
Instances
newBehaviorCriteria :: BehaviorCriteria Source #
Create a value of BehaviorCriteria
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:mlDetectionConfig:BehaviorCriteria'
, behaviorCriteria_mlDetectionConfig
- The configuration of an ML Detect
$sel:value:BehaviorCriteria'
, behaviorCriteria_value
- The value to be compared with the metric
.
$sel:consecutiveDatapointsToAlarm:BehaviorCriteria'
, behaviorCriteria_consecutiveDatapointsToAlarm
- If a device is in violation of the behavior for the specified number of
consecutive datapoints, an alarm occurs. If not specified, the default
is 1.
$sel:comparisonOperator:BehaviorCriteria'
, behaviorCriteria_comparisonOperator
- The operator that relates the thing measured (metric
) to the criteria
(containing a value
or statisticalThreshold
). Valid operators
include:
string-list
:in-set
andnot-in-set
number-list
:in-set
andnot-in-set
ip-address-list
:in-cidr-set
andnot-in-cidr-set
number
:less-than
,less-than-equals
,greater-than
, andgreater-than-equals
$sel:statisticalThreshold:BehaviorCriteria'
, behaviorCriteria_statisticalThreshold
- A statistical ranking (percentile)that indicates a threshold value by
which a behavior is determined to be in compliance or in violation of
the behavior.
$sel:durationSeconds:BehaviorCriteria'
, behaviorCriteria_durationSeconds
- Use this to specify the time duration over which the behavior is
evaluated, for those criteria that have a time dimension (for example,
NUM_MESSAGES_SENT
). For a statisticalThreshhold
metric comparison,
measurements from all devices are accumulated over this time duration
before being used to calculate percentiles, and later, measurements from
an individual device are also accumulated over this time duration before
being given a percentile rank. Cannot be used with list-based metric
datatypes.
$sel:consecutiveDatapointsToClear:BehaviorCriteria'
, behaviorCriteria_consecutiveDatapointsToClear
- If an alarm has occurred and the offending device is no longer in
violation of the behavior for the specified number of consecutive
datapoints, the alarm is cleared. If not specified, the default is 1.
behaviorCriteria_mlDetectionConfig :: Lens' BehaviorCriteria (Maybe MachineLearningDetectionConfig) Source #
The configuration of an ML Detect
behaviorCriteria_value :: Lens' BehaviorCriteria (Maybe MetricValue) Source #
The value to be compared with the metric
.
behaviorCriteria_consecutiveDatapointsToAlarm :: Lens' BehaviorCriteria (Maybe Natural) Source #
If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
behaviorCriteria_comparisonOperator :: Lens' BehaviorCriteria (Maybe ComparisonOperator) Source #
The operator that relates the thing measured (metric
) to the criteria
(containing a value
or statisticalThreshold
). Valid operators
include:
string-list
:in-set
andnot-in-set
number-list
:in-set
andnot-in-set
ip-address-list
:in-cidr-set
andnot-in-cidr-set
number
:less-than
,less-than-equals
,greater-than
, andgreater-than-equals
behaviorCriteria_statisticalThreshold :: Lens' BehaviorCriteria (Maybe StatisticalThreshold) Source #
A statistical ranking (percentile)that indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.
behaviorCriteria_durationSeconds :: Lens' BehaviorCriteria (Maybe Int) Source #
Use this to specify the time duration over which the behavior is
evaluated, for those criteria that have a time dimension (for example,
NUM_MESSAGES_SENT
). For a statisticalThreshhold
metric comparison,
measurements from all devices are accumulated over this time duration
before being used to calculate percentiles, and later, measurements from
an individual device are also accumulated over this time duration before
being given a percentile rank. Cannot be used with list-based metric
datatypes.
behaviorCriteria_consecutiveDatapointsToClear :: Lens' BehaviorCriteria (Maybe Natural) Source #
If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.