// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteOrganizationalUnit`](crate::operation::delete_organizational_unit::builders::DeleteOrganizationalUnitFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organizational_unit_id(impl Into<String>)`](crate::operation::delete_organizational_unit::builders::DeleteOrganizationalUnitFluentBuilder::organizational_unit_id) / [`set_organizational_unit_id(Option<String>)`](crate::operation::delete_organizational_unit::builders::DeleteOrganizationalUnitFluentBuilder::set_organizational_unit_id):<br>required: **true**<br><p>ID for the organizational unit that you want to delete. 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>
/// - On success, responds with [`DeleteOrganizationalUnitOutput`](crate::operation::delete_organizational_unit::DeleteOrganizationalUnitOutput)
/// - On failure, responds with [`SdkError<DeleteOrganizationalUnitError>`](crate::operation::delete_organizational_unit::DeleteOrganizationalUnitError)
pub fn delete_organizational_unit(&self) -> crate::operation::delete_organizational_unit::builders::DeleteOrganizationalUnitFluentBuilder {
crate::operation::delete_organizational_unit::builders::DeleteOrganizationalUnitFluentBuilder::new(self.handle.clone())
}
}