Skip to content

/AWS1/CL_GDYREMOTEACCOUNTDETS

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_accountid TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

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

iv_affiliated TYPE /AWS1/GDYBOOLEAN /AWS1/GDYBOOLEAN

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.


Queryable Attributes

AccountId

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

Accessible with the following methods

Method Description
GET_ACCOUNTID() Getter for ACCOUNTID, with configurable default
ASK_ACCOUNTID() Getter for ACCOUNTID w/ exceptions if field has no value
HAS_ACCOUNTID() Determine if ACCOUNTID has a value

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.

Accessible with the following methods

Method Description
GET_AFFILIATED() Getter for AFFILIATED, with configurable default
ASK_AFFILIATED() Getter for AFFILIATED w/ exceptions if field has no value
HAS_AFFILIATED() Determine if AFFILIATED has a value