| 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.CloudWatch.Types.Metric
Description
Documentation
Represents a specific metric.
See: newMetric smart constructor.
Constructors
| Metric' | |
Fields
| |
Instances
| ToQuery Metric Source # | |
Defined in Amazonka.CloudWatch.Types.Metric Methods toQuery :: Metric -> QueryString # | |
| FromXML Metric Source # | |
| Generic Metric Source # | |
| Read Metric Source # | |
| Show Metric Source # | |
| NFData Metric Source # | |
Defined in Amazonka.CloudWatch.Types.Metric | |
| Eq Metric Source # | |
| Hashable Metric Source # | |
Defined in Amazonka.CloudWatch.Types.Metric | |
| type Rep Metric Source # | |
Defined in Amazonka.CloudWatch.Types.Metric type Rep Metric = D1 ('MetaData "Metric" "Amazonka.CloudWatch.Types.Metric" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "Metric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Dimension])) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |
Create a value of Metric 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:dimensions:Metric', metric_dimensions - The dimensions for the metric.
$sel:metricName:Metric', metric_metricName - The name of the metric. This is a required field.
$sel:namespace:Metric', metric_namespace - The namespace of the metric.