libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.AdminAccount

Description

 
Synopsis

Documentation

data AdminAccount Source #

Provides information about the delegated Amazon Macie administrator account for an Amazon Web Services organization.

See: newAdminAccount smart constructor.

Constructors

AdminAccount' 

Fields

  • status :: Maybe AdminStatus

    The current status of the account as the delegated administrator of Amazon Macie for the organization.

  • accountId :: Maybe Text

    The Amazon Web Services account ID for the account.

Instances

Instances details
Eq AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

Read AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

Show AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

Generic AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

Associated Types

type Rep AdminAccount :: Type -> Type #

NFData AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

Methods

rnf :: AdminAccount -> () #

Hashable AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

FromJSON AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

type Rep AdminAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AdminAccount

type Rep AdminAccount = D1 ('MetaData "AdminAccount" "Amazonka.MacieV2.Types.AdminAccount" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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 account as the delegated administrator of Amazon Macie for the organization.

$sel:accountId:AdminAccount', adminAccount_accountId - The Amazon Web Services account ID for the account.

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

The current status of the account as the delegated administrator of Amazon Macie for the organization.

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

The Amazon Web Services account ID for the account.