Skip to content

Guardduty  >  Operations  >  enable_organization_admin_account

enable_organization_admin_account

Operation

enable_organization_admin_account async

enable_organization_admin_account(input: EnableOrganizationAdminAccountInput, plugins: list[Plugin] | None = None) -> EnableOrganizationAdminAccountOutput

Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.

Parameters:

Name Type Description Default
input EnableOrganizationAdminAccountInput

An instance of EnableOrganizationAdminAccountInput.

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
EnableOrganizationAdminAccountOutput

An instance of EnableOrganizationAdminAccountOutput.

Input

EnableOrganizationAdminAccountInput dataclass

Dataclass for EnableOrganizationAdminAccountInput structure.

Attributes

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

The Amazon Web Services account ID for the organization account to be enabled as a GuardDuty delegated administrator.

Output

EnableOrganizationAdminAccountOutput dataclass

Dataclass for EnableOrganizationAdminAccountOutput structure.