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

Description

 
Synopsis

Documentation

data Account Source #

An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.

See: newAccount smart constructor.

Constructors

Account' 

Fields

Instances

Instances details
FromJSON Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

Read Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

NFData Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

Methods

rnf :: Account -> () #

Eq Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Hashable Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

type Rep Account Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Account

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

newAccount Source #

Create a value of Account 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:Account', account_accountId - The ID of the Amazon Web Services account.

$sel:resourceStatus:Account', account_resourceStatus - Details of the status of Amazon Inspector scans by resource type.

$sel:status:Account', account_status - The status of Amazon Inspector for the account.

account_accountId :: Lens' Account Text Source #

The ID of the Amazon Web Services account.

account_resourceStatus :: Lens' Account ResourceStatus Source #

Details of the status of Amazon Inspector scans by resource type.

account_status :: Lens' Account Status Source #

The status of Amazon Inspector for the account.