Smaws_Client_IAM.DisableOrganizationsRootSessionsDisables root user sessions for privileged tasks across member accounts in your organization. When you disable this feature, the management account and the delegated administrator for IAM can no longer perform privileged tasks on member accounts in your organization.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AccountNotManagementOrDelegatedAdministratorException of
Types.account_not_management_or_delegated_administrator_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.disable_organizations_root_sessions_request ->
(Types.disable_organizations_root_sessions_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccountNotManagementOrDelegatedAdministratorException of
Types.account_not_management_or_delegated_administrator_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.disable_organizations_root_sessions_request ->
(Types.disable_organizations_root_sessions_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccountNotManagementOrDelegatedAdministratorException of
Types.account_not_management_or_delegated_administrator_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