aws_sdk_workmail/client/put_mobile_device_access_override.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutMobileDeviceAccessOverride`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::set_organization_id):<br>required: **true**<br><p>Identifies the WorkMail organization for which you create the override.</p><br>
/// - [`user_id(impl Into<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::set_user_id):<br>required: **true**<br><p>The WorkMail user for which you create 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::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::set_device_id):<br>required: **true**<br><p>The mobile device for which you create the override. <code>DeviceId</code> is case insensitive.</p><br>
/// - [`effect(MobileDeviceAccessRuleEffect)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::effect) / [`set_effect(Option<MobileDeviceAccessRuleEffect>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::set_effect):<br>required: **true**<br><p>The effect of the override, <code>ALLOW</code> or <code>DENY</code>.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::set_description):<br>required: **false**<br><p>A description of the override.</p><br>
/// - On success, responds with [`PutMobileDeviceAccessOverrideOutput`](crate::operation::put_mobile_device_access_override::PutMobileDeviceAccessOverrideOutput)
/// - On failure, responds with [`SdkError<PutMobileDeviceAccessOverrideError>`](crate::operation::put_mobile_device_access_override::PutMobileDeviceAccessOverrideError)
pub fn put_mobile_device_access_override(
&self,
) -> crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder {
crate::operation::put_mobile_device_access_override::builders::PutMobileDeviceAccessOverrideFluentBuilder::new(self.handle.clone())
}
}