Skip to content

list_organization_admin_accounts

Operation

list_organization_admin_accounts

list_organization_admin_accounts(request: ListOrganizationAdminAccountsInput | ListOrganizationAdminAccountsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListOrganizationAdminAccountsInputDict]) -> 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
request ListOrganizationAdminAccountsInput | ListOrganizationAdminAccountsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[ListOrganizationAdminAccountsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListOrganizationAdminAccountsOutput

An instance of ListOrganizationAdminAccountsOutput.

list_organization_admin_accounts async

list_organization_admin_accounts(request: ListOrganizationAdminAccountsInput | ListOrganizationAdminAccountsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListOrganizationAdminAccountsInputDict]) -> 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
request ListOrganizationAdminAccountsInput | ListOrganizationAdminAccountsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[ListOrganizationAdminAccountsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListOrganizationAdminAccountsOutput

An instance of ListOrganizationAdminAccountsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ListOrganizationAdminAccountsInputDict

Bases: TypedDict

Dictionary form of ListOrganizationAdminAccountsInput.

Attributes

max_results instance-attribute
max_results: int | None

The maximum number of results to return in the response.

next_token instance-attribute
next_token: str | 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.

ListOrganizationAdminAccountsInput dataclass

Bases: _SerdeShape

Dataclass for ListOrganizationAdminAccountsInput structure.

Attributes

max_results class-attribute instance-attribute
max_results: int | None = ...

The maximum number of results to return in the response.

next_token class-attribute instance-attribute
next_token: str | 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

Bases: _SerdeShape

Dataclass for ListOrganizationAdminAccountsOutput structure.

Attributes

admin_accounts class-attribute instance-attribute
admin_accounts: list[AdminAccount] | None = ...

A list of accounts configured as GuardDuty delegated administrators.

next_token class-attribute instance-attribute
next_token: str | None = ...

The pagination parameter to be used on the next list operation to retrieve more items.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.