Module Smaws_Client_Organizations.UpdateOrganizationalUnit

Renames the specified organizational unit (OU). The ID and ARN don't change. The child OUs and accounts remain in place, and any attached policies of the OU remain attached.

You can only call this operation from the management account.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `DuplicateOrganizationalUnitException of Types.duplicate_organizational_unit_exception | `InvalidInputException of Types.invalid_input_exception | `OrganizationalUnitNotFoundException of Types.organizational_unit_not_found_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_organizational_unit_request -> (Types.update_organizational_unit_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `DuplicateOrganizationalUnitException of Types.duplicate_organizational_unit_exception | `InvalidInputException of Types.invalid_input_exception | `OrganizationalUnitNotFoundException of Types.organizational_unit_not_found_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_organizational_unit_request -> (Types.update_organizational_unit_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `DuplicateOrganizationalUnitException of Types.duplicate_organizational_unit_exception | `InvalidInputException of Types.invalid_input_exception | `OrganizationalUnitNotFoundException of Types.organizational_unit_not_found_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception ] * Smaws_Lib.Response.metadata) Stdlib.result