GuardDuty / Client / enable_organization_admin_account

enable_organization_admin_account#

GuardDuty.Client.enable_organization_admin_account(**kwargs)#

Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.

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

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException