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 Dimension = Dimension' {}
- newDimension :: Text -> Dimension
- dimension_value :: Lens' Dimension Text
Documentation
The value to use in an Amazon CloudWatch custom metric dimension. This
is used in the PublishMetrics
CustomAction. A CloudWatch custom metric
dimension is a name/value pair that's part of the identity of a
metric.
AWS Network Firewall sets the dimension name to CustomAction
and you
provide the dimension value.
For more information about CloudWatch custom metric dimensions, see Publishing Custom Metrics in the Amazon CloudWatch User Guide.
See: newDimension
smart constructor.
Instances
Eq Dimension Source # | |
Read Dimension Source # | |
Show Dimension Source # | |
Generic Dimension Source # | |
NFData Dimension Source # | |
Defined in Amazonka.NetworkFirewall.Types.Dimension | |
Hashable Dimension Source # | |
Defined in Amazonka.NetworkFirewall.Types.Dimension | |
ToJSON Dimension Source # | |
Defined in Amazonka.NetworkFirewall.Types.Dimension | |
FromJSON Dimension Source # | |
type Rep Dimension Source # | |
Defined in Amazonka.NetworkFirewall.Types.Dimension type Rep Dimension = D1 ('MetaData "Dimension" "Amazonka.NetworkFirewall.Types.Dimension" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "Dimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Dimension
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:value:Dimension'
, dimension_value
- The value to use in the custom metric dimension.