// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateOrganizationalUnit`](crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organizational_unit_id(impl Into<String>)`](crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder::organizational_unit_id) / [`set_organizational_unit_id(Option<String>)`](crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder::set_organizational_unit_id):<br>required: **true**<br><p>ID for the OU that you want to rename. You can get the ID from the <code>ListOrganizationalUnitsForParent</code> operation.</p> <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder::set_name):<br>required: **false**<br><p>The new name that you want to assign to the OU.</p> <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> that is used to validate this parameter is a string of any of the characters in the ASCII character range.</p><br>
/// - On success, responds with [`UpdateOrganizationalUnitOutput`](crate::operation::update_organizational_unit::UpdateOrganizationalUnitOutput) with field(s):
/// - [`organizational_unit(Option<OrganizationalUnit>)`](crate::operation::update_organizational_unit::UpdateOrganizationalUnitOutput::organizational_unit): <p>A structure that contains the details about the specified OU, including its new name.</p>
/// - On failure, responds with [`SdkError<UpdateOrganizationalUnitError>`](crate::operation::update_organizational_unit::UpdateOrganizationalUnitError)
pub fn update_organizational_unit(&self) -> crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder {
crate::operation::update_organizational_unit::builders::UpdateOrganizationalUnitFluentBuilder::new(self.handle.clone())
}
}