aws_sdk_workmail/client/
delete_mobile_device_access_override.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteMobileDeviceAccessOverride`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization for which the access override will be deleted.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::set_user_id):<br>required: **true**<br><p>The WorkMail user for which you want to delete the override. Accepts the following types of user identities:</p> <ul>  <li>   <p>User ID: <code>12345678-1234-1234-1234-123456789012</code> or <code>S-1-1-12-1234567890-123456789-123456789-1234</code></p></li>  <li>   <p>Email address: <code>user@domain.tld</code></p></li>  <li>   <p>User name: <code>user</code></p></li> </ul><br>
    ///   - [`device_id(impl Into<String>)`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::set_device_id):<br>required: **true**<br><p>The mobile device for which you delete the override. <code>DeviceId</code> is case insensitive.</p><br>
    /// - On success, responds with [`DeleteMobileDeviceAccessOverrideOutput`](crate::operation::delete_mobile_device_access_override::DeleteMobileDeviceAccessOverrideOutput)
    /// - On failure, responds with [`SdkError<DeleteMobileDeviceAccessOverrideError>`](crate::operation::delete_mobile_device_access_override::DeleteMobileDeviceAccessOverrideError)
    pub fn delete_mobile_device_access_override(
        &self,
    ) -> crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder {
        crate::operation::delete_mobile_device_access_override::builders::DeleteMobileDeviceAccessOverrideFluentBuilder::new(self.handle.clone())
    }
}