Smaws_Client_IAM.EnableOrganizationsRootCredentialsManagementEnables the management of privileged root user credentials across member accounts in your organization. When you enable root credentials management for centralized root access, the management account and the delegated administrator for IAM can manage root user credentials for member accounts in your organization.
Before you enable centralized root access, you must have an account configured with the following settings:
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AccountNotManagementOrDelegatedAdministratorException of
Types.account_not_management_or_delegated_administrator_exception
| `CallerIsNotManagementAccountException of
Types.caller_is_not_management_account_exception
| `OrganizationNotFoundException of Types.organization_not_found_exception
| `OrganizationNotInAllFeaturesModeException of
Types.organization_not_in_all_features_mode_exception
| `ServiceAccessNotEnabledException of
Types.service_access_not_enabled_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.enable_organizations_root_credentials_management_request ->
(Types.enable_organizations_root_credentials_management_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccountNotManagementOrDelegatedAdministratorException of
Types.account_not_management_or_delegated_administrator_exception
| `CallerIsNotManagementAccountException of
Types.caller_is_not_management_account_exception
| `OrganizationNotFoundException of Types.organization_not_found_exception
| `OrganizationNotInAllFeaturesModeException of
Types.organization_not_in_all_features_mode_exception
| `ServiceAccessNotEnabledException of
Types.service_access_not_enabled_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.enable_organizations_root_credentials_management_request ->
(Types.enable_organizations_root_credentials_management_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccountNotManagementOrDelegatedAdministratorException of
Types.account_not_management_or_delegated_administrator_exception
| `CallerIsNotManagementAccountException of
Types.caller_is_not_management_account_exception
| `OrganizationNotFoundException of Types.organization_not_found_exception
| `OrganizationNotInAllFeaturesModeException of
Types.organization_not_in_all_features_mode_exception
| `ServiceAccessNotEnabledException of
Types.service_access_not_enabled_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result