amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.Types.FailedAccount

Description

 
Synopsis

Documentation

data FailedAccount Source #

An object with details on why an account failed to enable Amazon Inspector.

See: newFailedAccount smart constructor.

Constructors

FailedAccount' 

Fields

Instances

Instances details
FromJSON FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

Generic FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

Associated Types

type Rep FailedAccount :: Type -> Type #

Read FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

Show FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

NFData FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

Methods

rnf :: FailedAccount -> () #

Eq FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

Hashable FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

type Rep FailedAccount Source # 
Instance details

Defined in Amazonka.Inspector2.Types.FailedAccount

type Rep FailedAccount = D1 ('MetaData "FailedAccount" "Amazonka.Inspector2.Types.FailedAccount" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "FailedAccount'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status))) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ErrorCode) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newFailedAccount Source #

Create a value of FailedAccount 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:resourceStatus:FailedAccount', failedAccount_resourceStatus - An object detailing which resources Amazon Inspector is enabled to scan for the account.

$sel:status:FailedAccount', failedAccount_status - The status of Amazon Inspector for the account.

$sel:accountId:FailedAccount', failedAccount_accountId - The Amazon Web Services account ID.

$sel:errorCode:FailedAccount', failedAccount_errorCode - The error code explaining why the account failed to enable Amazon Inspector.

$sel:errorMessage:FailedAccount', failedAccount_errorMessage - The error message received when the account failed to enable Amazon Inspector.

failedAccount_resourceStatus :: Lens' FailedAccount (Maybe ResourceStatus) Source #

An object detailing which resources Amazon Inspector is enabled to scan for the account.

failedAccount_status :: Lens' FailedAccount (Maybe Status) Source #

The status of Amazon Inspector for the account.

failedAccount_accountId :: Lens' FailedAccount Text Source #

The Amazon Web Services account ID.

failedAccount_errorCode :: Lens' FailedAccount ErrorCode Source #

The error code explaining why the account failed to enable Amazon Inspector.

failedAccount_errorMessage :: Lens' FailedAccount Text Source #

The error message received when the account failed to enable Amazon Inspector.