CloudTrail / Client / register_organization_delegated_admin

register_organization_delegated_admin#

CloudTrail.Client.register_organization_delegated_admin(**kwargs)#

Registers an organization’s member account as the CloudTrail delegated administrator.

See also: AWS API Documentation

Request Syntax

response = client.register_organization_delegated_admin(
    MemberAccountId='string'
)
Parameters:

MemberAccountId (string) –

[REQUIRED]

An organization member account ID that you want to designate as a delegated administrator.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Returns the following response if successful. Otherwise, returns an error.

Exceptions

  • CloudTrail.Client.exceptions.AccountRegisteredException

  • CloudTrail.Client.exceptions.AccountNotFoundException

  • CloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionException

  • CloudTrail.Client.exceptions.InvalidParameterException

  • CloudTrail.Client.exceptions.CannotDelegateManagementAccountException

  • CloudTrail.Client.exceptions.CloudTrailAccessNotEnabledException

  • CloudTrail.Client.exceptions.ConflictException

  • CloudTrail.Client.exceptions.DelegatedAdminAccountLimitExceededException

  • CloudTrail.Client.exceptions.NotOrganizationManagementAccountException

  • CloudTrail.Client.exceptions.OrganizationNotInAllFeaturesModeException

  • CloudTrail.Client.exceptions.OrganizationsNotInUseException

  • CloudTrail.Client.exceptions.UnsupportedOperationException

  • CloudTrail.Client.exceptions.OperationNotPermittedException