libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.StatusReason

Description

 
Synopsis

Documentation

data StatusReason Source #

Provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.

See: newStatusReason smart constructor.

Constructors

StatusReason' 

Fields

  • code :: ReasonCode

    The reason code for the current status of the analyzer.

Instances

Instances details
Eq StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

Read StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

Show StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

Generic StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

Associated Types

type Rep StatusReason :: Type -> Type #

NFData StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

Methods

rnf :: StatusReason -> () #

Hashable StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

FromJSON StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

type Rep StatusReason Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.StatusReason

type Rep StatusReason = D1 ('MetaData "StatusReason" "Amazonka.AccessAnalyzer.Types.StatusReason" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "StatusReason'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReasonCode)))

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:code:StatusReason', statusReason_code - The reason code for the current status of the analyzer.

statusReason_code :: Lens' StatusReason ReasonCode Source #

The reason code for the current status of the analyzer.