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

Description

 
Synopsis

Documentation

data AccountState Source #

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.

See: newAccountState smart constructor.

Constructors

AccountState' 

Fields

  • accountId :: Text

    The Amazon Web Services account ID.

  • resourceState :: ResourceState

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

  • state :: State

    An object detailing the status of Amazon Inspector for the account.

Instances

Instances details
FromJSON AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

Generic AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

Associated Types

type Rep AccountState :: Type -> Type #

Read AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

Show AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

NFData AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

Methods

rnf :: AccountState -> () #

Eq AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

Hashable AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

type Rep AccountState Source # 
Instance details

Defined in Amazonka.Inspector2.Types.AccountState

type Rep AccountState = D1 ('MetaData "AccountState" "Amazonka.Inspector2.Types.AccountState" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "AccountState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceState) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 State))))

newAccountState Source #

Create a value of AccountState 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:accountId:AccountState', accountState_accountId - The Amazon Web Services account ID.

$sel:resourceState:AccountState', accountState_resourceState - An object detailing which resources Amazon Inspector is enabled to scan for the account.

$sel:state:AccountState', accountState_state - An object detailing the status of Amazon Inspector for the account.

accountState_accountId :: Lens' AccountState Text Source #

The Amazon Web Services account ID.

accountState_resourceState :: Lens' AccountState ResourceState Source #

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

accountState_state :: Lens' AccountState State Source #

An object detailing the status of Amazon Inspector for the account.