amazonka-detective-2.0: Amazon Detective 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.Detective.Types.Administrator

Description

 
Synopsis

Documentation

data Administrator Source #

Information about the Detective administrator account for an organization.

See: newAdministrator smart constructor.

Constructors

Administrator' 

Fields

  • accountId :: Maybe Text

    The Amazon Web Services account identifier of the Detective administrator account for the organization.

  • delegationTime :: Maybe ISO8601

    The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

  • graphArn :: Maybe Text

    The ARN of the organization behavior graph.

Instances

Instances details
FromJSON Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

Generic Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

Associated Types

type Rep Administrator :: Type -> Type #

Read Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

Show Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

NFData Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

Methods

rnf :: Administrator -> () #

Eq Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

Hashable Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

type Rep Administrator Source # 
Instance details

Defined in Amazonka.Detective.Types.Administrator

type Rep Administrator = D1 ('MetaData "Administrator" "Amazonka.Detective.Types.Administrator" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "Administrator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "delegationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "graphArn") '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 Amazon Web Services account identifier of the Detective administrator account for the organization.

$sel:delegationTime:Administrator', administrator_delegationTime - The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

$sel:graphArn:Administrator', administrator_graphArn - The ARN of the organization behavior graph.

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

The Amazon Web Services account identifier of the Detective administrator account for the organization.

administrator_delegationTime :: Lens' Administrator (Maybe UTCTime) Source #

The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

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

The ARN of the organization behavior graph.