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.InsufficientDependencyServiceAccessPermissionException
CloudTrail.Client.exceptions.CannotDelegateManagementAccountException
CloudTrail.Client.exceptions.CloudTrailAccessNotEnabledException
CloudTrail.Client.exceptions.DelegatedAdminAccountLimitExceededException
CloudTrail.Client.exceptions.NotOrganizationManagementAccountException
CloudTrail.Client.exceptions.OrganizationNotInAllFeaturesModeException