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

Description

 
Synopsis

Documentation

data StatusReason Source #

Provides additional context for the value of Compliance.Status.

See: newStatusReason smart constructor.

Constructors

StatusReason' 

Fields

Instances

Instances details
Eq StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

Read StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

Show StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

Generic StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

Associated Types

type Rep StatusReason :: Type -> Type #

NFData StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

Methods

rnf :: StatusReason -> () #

Hashable StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

ToJSON StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

FromJSON StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

type Rep StatusReason Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.StatusReason

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

newStatusReason Source #

Create a value of StatusReason 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:StatusReason', statusReason_description - The corresponding description for the status reason code.

$sel:reasonCode:StatusReason', statusReason_reasonCode - A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

statusReason_description :: Lens' StatusReason (Maybe Text) Source #

The corresponding description for the status reason code.

statusReason_reasonCode :: Lens' StatusReason Text Source #

A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.