aws_sdk_workmail/client/delete_availability_configuration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteAvailabilityConfiguration`](crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization for which the <code>AvailabilityConfiguration</code> will be deleted.</p><br>
/// - [`domain_name(impl Into<String>)`](crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder::set_domain_name):<br>required: **true**<br><p>The domain for which the <code>AvailabilityConfiguration</code> will be deleted.</p><br>
/// - On success, responds with [`DeleteAvailabilityConfigurationOutput`](crate::operation::delete_availability_configuration::DeleteAvailabilityConfigurationOutput)
/// - On failure, responds with [`SdkError<DeleteAvailabilityConfigurationError>`](crate::operation::delete_availability_configuration::DeleteAvailabilityConfigurationError)
pub fn delete_availability_configuration(
&self,
) -> crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder {
crate::operation::delete_availability_configuration::builders::DeleteAvailabilityConfigurationFluentBuilder::new(self.handle.clone())
}
}