list_organization_admin_accounts¶
Operation¶
list_organization_admin_accounts
async
¶
list_organization_admin_accounts(input: ListOrganizationAdminAccountsInput, plugins: list[Plugin] | None = None) -> ListOrganizationAdminAccountsOutput
Lists the accounts designated as GuardDuty delegated administrators. Only the organization's management account can run this API operation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListOrganizationAdminAccountsInput
|
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 |
|---|---|
ListOrganizationAdminAccountsOutput
|
An instance of |
Input¶
ListOrganizationAdminAccountsInput
dataclass
¶
Dataclass for ListOrganizationAdminAccountsInput structure.
Attributes¶
max_results
class-attribute
instance-attribute
¶
max_results: int | None = None
The maximum number of results to return in the response.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
Output¶
ListOrganizationAdminAccountsOutput
dataclass
¶
Dataclass for ListOrganizationAdminAccountsOutput structure.
Attributes¶
admin_accounts
class-attribute
instance-attribute
¶
admin_accounts: list[AdminAccount] | None = None
A list of accounts configured as GuardDuty delegated administrators.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
The pagination parameter to be used on the next list operation to retrieve more items.