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

Description

 
Synopsis

Documentation

data JobError Source #

Contains the details about the policy generation error.

See: newJobError smart constructor.

Constructors

JobError' 

Fields

  • code :: JobErrorCode

    The job error code.

  • message :: Text

    Specific information about the error. For example, which service quota was exceeded or which resource was not found.

Instances

Instances details
Eq JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

Read JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

Show JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

Generic JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

Associated Types

type Rep JobError :: Type -> Type #

Methods

from :: JobError -> Rep JobError x #

to :: Rep JobError x -> JobError #

NFData JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

Methods

rnf :: JobError -> () #

Hashable JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

Methods

hashWithSalt :: Int -> JobError -> Int #

hash :: JobError -> Int #

FromJSON JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

type Rep JobError Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobError

type Rep JobError = D1 ('MetaData "JobError" "Amazonka.AccessAnalyzer.Types.JobError" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "JobError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobErrorCode) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newJobError Source #

Create a value of JobError 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:JobError', jobError_code - The job error code.

$sel:message:JobError', jobError_message - Specific information about the error. For example, which service quota was exceeded or which resource was not found.

jobError_message :: Lens' JobError Text Source #

Specific information about the error. For example, which service quota was exceeded or which resource was not found.