amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.Types.Administrator

Description

 
Synopsis

Documentation

data Administrator Source #

Contains information about the administrator account and invitation.

See: newAdministrator smart constructor.

Constructors

Administrator' 

Fields

Instances

Instances details
FromJSON Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

Generic Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

Associated Types

type Rep Administrator :: Type -> Type #

Read Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

Show Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

NFData Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

Methods

rnf :: Administrator -> () #

Eq Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

Hashable Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

type Rep Administrator Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Administrator

type Rep Administrator = D1 ('MetaData "Administrator" "Amazonka.GuardDuty.Types.Administrator" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "Administrator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "invitedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "relationshipStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAdministrator :: Administrator Source #

Create a value of Administrator 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:Administrator', administrator_accountId - The ID of the account used as the administrator account.

$sel:invitationId:Administrator', administrator_invitationId - The value that is used to validate the administrator account to the member account.

$sel:invitedAt:Administrator', administrator_invitedAt - The timestamp when the invitation was sent.

$sel:relationshipStatus:Administrator', administrator_relationshipStatus - The status of the relationship between the administrator and member accounts.

administrator_accountId :: Lens' Administrator (Maybe Text) Source #

The ID of the account used as the administrator account.

administrator_invitationId :: Lens' Administrator (Maybe Text) Source #

The value that is used to validate the administrator account to the member account.

administrator_invitedAt :: Lens' Administrator (Maybe Text) Source #

The timestamp when the invitation was sent.

administrator_relationshipStatus :: Lens' Administrator (Maybe Text) Source #

The status of the relationship between the administrator and member accounts.