IAM / Client / disable_organizations_root_credentials_management

disable_organizations_root_credentials_management#

IAM.Client.disable_organizations_root_credentials_management()#

Disables the management of privileged root user credentials across member accounts in your organization. When you disable this feature, the management account and the delegated admininstrator for IAM can no longer manage root user credentials for member accounts in your organization.

See also: AWS API Documentation

Request Syntax

response = client.disable_organizations_root_credentials_management()
Return type:

dict

Returns:

Response Syntax

{
    'OrganizationId': 'string',
    'EnabledFeatures': [
        'RootCredentialsManagement'|'RootSessions',
    ]
}

Response Structure

  • (dict) –

    • OrganizationId (string) –

      The unique identifier (ID) of an organization.

    • EnabledFeatures (list) –

      The features enabled for centralized root access for member accounts in your organization.

      • (string) –

Exceptions

  • IAM.Client.exceptions.ServiceAccessNotEnabledException

  • IAM.Client.exceptions.AccountNotManagementOrDelegatedAdministratorException

  • IAM.Client.exceptions.OrganizationNotFoundException

  • IAM.Client.exceptions.OrganizationNotInAllFeaturesModeException