libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.Adjustment

Description

 
Synopsis

Documentation

data Adjustment Source #

An adjustment to the CVSS metric.

See: newAdjustment smart constructor.

Constructors

Adjustment' 

Fields

Instances

Instances details
Eq Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

Read Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

Show Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

Generic Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

Associated Types

type Rep Adjustment :: Type -> Type #

NFData Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

Methods

rnf :: Adjustment -> () #

Hashable Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

ToJSON Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

FromJSON Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

type Rep Adjustment Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Adjustment

type Rep Adjustment = D1 ('MetaData "Adjustment" "Amazonka.SecurityHub.Types.Adjustment" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Adjustment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAdjustment :: Adjustment Source #

Create a value of Adjustment 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:reason:Adjustment', adjustment_reason - The reason for the adjustment.

$sel:metric:Adjustment', adjustment_metric - The metric to adjust.

adjustment_reason :: Lens' Adjustment (Maybe Text) Source #

The reason for the adjustment.

adjustment_metric :: Lens' Adjustment (Maybe Text) Source #

The metric to adjust.