libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.AdminAccount

Description

 
Synopsis

Documentation

data AdminAccount Source #

The account within the organization specified as the GuardDuty delegated administrator.

See: newAdminAccount smart constructor.

Constructors

AdminAccount' 

Fields

Instances

Instances details
Eq AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

Read AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

Show AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

Generic AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

Associated Types

type Rep AdminAccount :: Type -> Type #

NFData AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

Methods

rnf :: AdminAccount -> () #

Hashable AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

FromJSON AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

type Rep AdminAccount Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.AdminAccount

type Rep AdminAccount = D1 ('MetaData "AdminAccount" "Amazonka.GuardDuty.Types.AdminAccount" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "AdminAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "adminAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "adminStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AdminStatus))))

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:adminAccountId:AdminAccount', adminAccount_adminAccountId - The AWS account ID for the account.

$sel:adminStatus:AdminAccount', adminAccount_adminStatus - Indicates whether the account is enabled as the delegated administrator.

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

The AWS account ID for the account.

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

Indicates whether the account is enabled as the delegated administrator.