Skip to content

Guardduty  >  Operations  >  get_master_account

get_master_account

Operation

get_master_account async

get_master_account(input: GetMasterAccountInput, plugins: list[Plugin] | None = None) -> GetMasterAccountOutput

Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.

Parameters:

Name Type Description Default
input GetMasterAccountInput

An instance of GetMasterAccountInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetMasterAccountOutput

An instance of GetMasterAccountOutput.

Input

GetMasterAccountInput dataclass

Dataclass for GetMasterAccountInput structure.

Attributes

detector_id class-attribute instance-attribute
detector_id: str | None = None

The unique ID of the detector of the GuardDuty member account.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

Output

GetMasterAccountOutput dataclass

Dataclass for GetMasterAccountOutput structure.

Attributes

master class-attribute instance-attribute
master: Master | None = None

The administrator account details.