Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
An object that described the state of Amazon Inspector scans for an account.
See: newState
smart constructor.
Instances
FromJSON State Source # | |
Generic State Source # | |
Read State Source # | |
Show State Source # | |
NFData State Source # | |
Defined in Amazonka.Inspector2.Types.State | |
Eq State Source # | |
Hashable State Source # | |
Defined in Amazonka.Inspector2.Types.State | |
type Rep State Source # | |
Defined in Amazonka.Inspector2.Types.State type Rep State = D1 ('MetaData "State" "Amazonka.Inspector2.Types.State" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "State'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ErrorCode) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status)))) |
Create a value of State
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:errorCode:State'
, state_errorCode
- The error code explaining why the account failed to enable Amazon
Inspector.
$sel:errorMessage:State'
, state_errorMessage
- The error message received when the account failed to enable Amazon
Inspector.
$sel:status:State'
, state_status
- The status of Amazon Inspector for the account.
state_errorCode :: Lens' State ErrorCode Source #
The error code explaining why the account failed to enable Amazon Inspector.