Module Smaws_Client_IAM.EnableOrganizationsRootSessions

Allows the management account or delegated administrator to perform privileged tasks on member accounts in your organization. For more information, see Centrally manage root access for member accounts in the Identity and Access Management User Guide.

Before you enable this feature, 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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.enable_organizations_root_sessions_request -> (Types.enable_organizations_root_sessions_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.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.enable_organizations_root_sessions_request -> (Types.enable_organizations_root_sessions_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