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