aws_sdk_workmail/client/delete_mobile_device_access_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteMobileDeviceAccessRule`](crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization under which the rule will be deleted.</p><br>
/// - [`mobile_device_access_rule_id(impl Into<String>)`](crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder::mobile_device_access_rule_id) / [`set_mobile_device_access_rule_id(Option<String>)`](crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder::set_mobile_device_access_rule_id):<br>required: **true**<br><p>The identifier of the rule to be deleted.</p><br>
/// - On success, responds with [`DeleteMobileDeviceAccessRuleOutput`](crate::operation::delete_mobile_device_access_rule::DeleteMobileDeviceAccessRuleOutput)
/// - On failure, responds with [`SdkError<DeleteMobileDeviceAccessRuleError>`](crate::operation::delete_mobile_device_access_rule::DeleteMobileDeviceAccessRuleError)
pub fn delete_mobile_device_access_rule(
&self,
) -> crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder {
crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder::new(self.handle.clone())
}
}