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
Provides the numerical and qualitative representations of a finding's severity.
See: newSeverity
smart constructor.
Severity' | |
|
Instances
Eq Severity Source # | |
Read Severity Source # | |
Show Severity Source # | |
Generic Severity Source # | |
NFData Severity Source # | |
Defined in Amazonka.MacieV2.Types.Severity | |
Hashable Severity Source # | |
Defined in Amazonka.MacieV2.Types.Severity | |
FromJSON Severity Source # | |
type Rep Severity Source # | |
Defined in Amazonka.MacieV2.Types.Severity type Rep Severity = D1 ('MetaData "Severity" "Amazonka.MacieV2.Types.Severity" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "Severity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SeverityDescription)))) |
newSeverity :: Severity Source #
Create a value of Severity
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:score:Severity'
, severity_score
- The numerical representation of the finding's severity, ranging from 1
(least severe) to 3 (most severe).
$sel:description:Severity'
, severity_description
- The qualitative representation of the finding's severity, ranging from
Low (least severe) to High (most severe).
severity_score :: Lens' Severity (Maybe Integer) Source #
The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
severity_description :: Lens' Severity (Maybe SeverityDescription) Source #
The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).