get_administrator_account¶
Operation¶
get_administrator_account
async
¶
get_administrator_account(input: GetAdministratorAccountInput, plugins: list[Plugin] | None = None) -> GetAdministratorAccountOutput
Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.
Based on the type of account that runs this API, the following list shows how the API behavior varies:
-
When the GuardDuty administrator account runs this API, it will return success (
HTTP 200) but no content. -
When a member account runs this API, it will return the details of the GuardDuty administrator account that is associated with this calling member account.
-
When an individual account (not associated with an organization) runs this API, it will return success (
HTTP 200) but no content.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetAdministratorAccountInput
|
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 |
|---|---|
GetAdministratorAccountOutput
|
An instance of |
Input¶
GetAdministratorAccountInput
dataclass
¶
Output¶
GetAdministratorAccountOutput
dataclass
¶
Dataclass for GetAdministratorAccountOutput structure.
Attributes¶
administrator
class-attribute
instance-attribute
¶
administrator: Administrator | None = None
The administrator account details.