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 MetricValue = MetricValue' {}
- newMetricValue :: MetricValue
- metricValue_cidrs :: Lens' MetricValue (Maybe [Text])
- metricValue_count :: Lens' MetricValue (Maybe Natural)
- metricValue_ports :: Lens' MetricValue (Maybe [Natural])
- metricValue_numbers :: Lens' MetricValue (Maybe [Double])
- metricValue_number :: Lens' MetricValue (Maybe Double)
- metricValue_strings :: Lens' MetricValue (Maybe [Text])
Documentation
data MetricValue Source #
The value to be compared with the metric
.
See: newMetricValue
smart constructor.
MetricValue' | |
|
Instances
newMetricValue :: MetricValue Source #
Create a value of MetricValue
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:cidrs:MetricValue'
, metricValue_cidrs
- If the comparisonOperator
calls for a set of CIDRs, use this to
specify that set to be compared with the metric
.
$sel:count:MetricValue'
, metricValue_count
- If the comparisonOperator
calls for a numeric value, use this to
specify that numeric value to be compared with the metric
.
$sel:ports:MetricValue'
, metricValue_ports
- If the comparisonOperator
calls for a set of ports, use this to
specify that set to be compared with the metric
.
$sel:numbers:MetricValue'
, metricValue_numbers
- The numeral values of a metric.
$sel:number:MetricValue'
, metricValue_number
- The numeral value of a metric.
$sel:strings:MetricValue'
, metricValue_strings
- The string values of a metric.
metricValue_cidrs :: Lens' MetricValue (Maybe [Text]) Source #
If the comparisonOperator
calls for a set of CIDRs, use this to
specify that set to be compared with the metric
.
metricValue_count :: Lens' MetricValue (Maybe Natural) Source #
If the comparisonOperator
calls for a numeric value, use this to
specify that numeric value to be compared with the metric
.
metricValue_ports :: Lens' MetricValue (Maybe [Natural]) Source #
If the comparisonOperator
calls for a set of ports, use this to
specify that set to be compared with the metric
.
metricValue_numbers :: Lens' MetricValue (Maybe [Double]) Source #
The numeral values of a metric.
metricValue_number :: Lens' MetricValue (Maybe Double) Source #
The numeral value of a metric.
metricValue_strings :: Lens' MetricValue (Maybe [Text]) Source #
The string values of a metric.