aws_sdk_workmail/client/delete_mobile_device_access_rule.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteMobileDeviceAccessRule`](crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DeleteMobileDeviceAccessRuleOutput`](crate::operation::delete_mobile_device_access_rule::DeleteMobileDeviceAccessRuleOutput)
9 /// - On failure, responds with [`SdkError<DeleteMobileDeviceAccessRuleError>`](crate::operation::delete_mobile_device_access_rule::DeleteMobileDeviceAccessRuleError)
10 pub fn delete_mobile_device_access_rule(
11 &self,
12 ) -> crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder {
13 crate::operation::delete_mobile_device_access_rule::builders::DeleteMobileDeviceAccessRuleFluentBuilder::new(self.handle.clone())
14 }
15}