libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.StatisticalThreshold

Description

 
Synopsis

Documentation

data 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.

See: newStatisticalThreshold smart constructor.

Constructors

StatisticalThreshold' 

Fields

  • statistic :: Maybe Text

    The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.

Instances

Instances details
Eq StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

Read StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

Show StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

Generic StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

Associated Types

type Rep StatisticalThreshold :: Type -> Type #

NFData StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

Methods

rnf :: StatisticalThreshold -> () #

Hashable StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

ToJSON StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

FromJSON StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

type Rep StatisticalThreshold Source # 
Instance details

Defined in Amazonka.IoT.Types.StatisticalThreshold

type Rep StatisticalThreshold = D1 ('MetaData "StatisticalThreshold" "Amazonka.IoT.Types.StatisticalThreshold" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "StatisticalThreshold'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStatisticalThreshold :: StatisticalThreshold Source #

Create a value of StatisticalThreshold 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:statistic:StatisticalThreshold', statisticalThreshold_statistic - The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.

statisticalThreshold_statistic :: Lens' StatisticalThreshold (Maybe Text) Source #

The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.