libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.Types.Severity

Description

 
Synopsis

Documentation

data Severity Source #

Provides the numerical and qualitative representations of a finding's severity.

See: newSeverity smart constructor.

Constructors

Severity' 

Fields

  • score :: Maybe Integer

    The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

  • description :: Maybe SeverityDescription

    The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).

Instances

Instances details
Eq Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

Read Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

Show Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

Generic Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

Associated Types

type Rep Severity :: Type -> Type #

Methods

from :: Severity -> Rep Severity x #

to :: Rep Severity x -> Severity #

NFData Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

Methods

rnf :: Severity -> () #

Hashable Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

Methods

hashWithSalt :: Int -> Severity -> Int #

hash :: Severity -> Int #

FromJSON Severity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Severity

type Rep Severity Source # 
Instance details

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).