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 |
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 |
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.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.