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
Documentation
Contains information about the threshold for service level metrics.
See: newThreshold
smart constructor.
Threshold' | |
|
Instances
Eq Threshold Source # | |
Read Threshold Source # | |
Show Threshold Source # | |
Generic Threshold Source # | |
NFData Threshold Source # | |
Defined in Amazonka.Connect.Types.Threshold | |
Hashable Threshold Source # | |
Defined in Amazonka.Connect.Types.Threshold | |
ToJSON Threshold Source # | |
Defined in Amazonka.Connect.Types.Threshold | |
FromJSON Threshold Source # | |
type Rep Threshold Source # | |
Defined in Amazonka.Connect.Types.Threshold type Rep Threshold = D1 ('MetaData "Threshold" "Amazonka.Connect.Types.Threshold" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "Threshold'" 'PrefixI 'True) (S1 ('MetaSel ('Just "thresholdValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "comparison") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Comparison)))) |
newThreshold :: Threshold Source #
Create a value of Threshold
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:thresholdValue:Threshold'
, threshold_thresholdValue
- The threshold value to compare.
$sel:comparison:Threshold'
, threshold_comparison
- The type of comparison. Only "less than" (LT) comparisons are
supported.
threshold_comparison :: Lens' Threshold (Maybe Comparison) Source #
The type of comparison. Only "less than" (LT) comparisons are supported.