GuardDuty / Client / enable_organization_admin_account

enable_organization_admin_account#

GuardDuty.Client.enable_organization_admin_account(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.enable_organization_admin_account(
    AdminAccountId='string'
)
Parameters:

AdminAccountId (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions