libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AdminAccount

Description

 
Synopsis

Documentation

data AdminAccount Source #

Represents a Security Hub administrator account designated by an organization management account.

See: newAdminAccount smart constructor.

Constructors

AdminAccount' 

Fields

  • status :: Maybe AdminStatus

    The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.

  • accountId :: Maybe Text

    The Amazon Web Services account identifier of the Security Hub administrator account.

Instances

Instances details
Eq AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

Read AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

Show AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

Generic AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

Associated Types

type Rep AdminAccount :: Type -> Type #

NFData AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

Methods

rnf :: AdminAccount -> () #

Hashable AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

FromJSON AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

type Rep AdminAccount Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AdminAccount

type Rep AdminAccount = D1 ('MetaData "AdminAccount" "Amazonka.SecurityHub.Types.AdminAccount" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AdminAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AdminStatus)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAdminAccount :: AdminAccount Source #

Create a value of AdminAccount 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:status:AdminAccount', adminAccount_status - The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.

$sel:accountId:AdminAccount', adminAccount_accountId - The Amazon Web Services account identifier of the Security Hub administrator account.

adminAccount_status :: Lens' AdminAccount (Maybe AdminStatus) Source #

The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator.

adminAccount_accountId :: Lens' AdminAccount (Maybe Text) Source #

The Amazon Web Services account identifier of the Security Hub administrator account.