Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data JobError = JobError' {
- code :: JobErrorCode
- message :: Text
- newJobError :: JobErrorCode -> Text -> JobError
- jobError_code :: Lens' JobError JobErrorCode
- jobError_message :: Lens' JobError Text
Documentation
Contains the details about the policy generation error.
See: newJobError
smart constructor.
JobError' | |
|
Instances
Eq JobError Source # | |
Read JobError Source # | |
Show JobError Source # | |
Generic JobError Source # | |
NFData JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
Hashable JobError Source # | |
Defined in Amazonka.AccessAnalyzer.Types.JobError | |
FromJSON JobError Source # | |
type Rep JobError Source # | |
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))) |
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_code :: Lens' JobError JobErrorCode Source #
The job error code.