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