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.RemoteAccountDetails

Description

 
Synopsis

Documentation

data RemoteAccountDetails Source #

Contains details about the remote Amazon Web Services account that made the API call.

See: newRemoteAccountDetails smart constructor.

Constructors

RemoteAccountDetails' 

Fields

  • accountId :: Maybe Text

    The Amazon Web Services account ID of the remote API caller.

  • affiliated :: Maybe Bool

    Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment.

Instances

Instances details
FromJSON RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

Generic RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

Associated Types

type Rep RemoteAccountDetails :: Type -> Type #

Read RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

Show RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

NFData RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

Methods

rnf :: RemoteAccountDetails -> () #

Eq RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

Hashable RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

type Rep RemoteAccountDetails Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.RemoteAccountDetails

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

newRemoteAccountDetails :: RemoteAccountDetails Source #

Create a value of RemoteAccountDetails 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:RemoteAccountDetails', remoteAccountDetails_accountId - The Amazon Web Services account ID of the remote API caller.

$sel:affiliated:RemoteAccountDetails', remoteAccountDetails_affiliated - Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment.

remoteAccountDetails_accountId :: Lens' RemoteAccountDetails (Maybe Text) Source #

The Amazon Web Services account ID of the remote API caller.

remoteAccountDetails_affiliated :: Lens' RemoteAccountDetails (Maybe Bool) Source #

Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment.