1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMobileDeviceAccessEffect`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization to simulate the access effect for.</p><br>
    ///   - [`device_type(impl Into<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::device_type) / [`set_device_type(Option<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::set_device_type):<br>required: **false**<br><p>Device type the simulated user will report.</p><br>
    ///   - [`device_model(impl Into<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::device_model) / [`set_device_model(Option<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::set_device_model):<br>required: **false**<br><p>Device model the simulated user will report.</p><br>
    ///   - [`device_operating_system(impl Into<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::device_operating_system) / [`set_device_operating_system(Option<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::set_device_operating_system):<br>required: **false**<br><p>Device operating system the simulated user will report.</p><br>
    ///   - [`device_user_agent(impl Into<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::device_user_agent) / [`set_device_user_agent(Option<String>)`](crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::set_device_user_agent):<br>required: **false**<br><p>Device user agent the simulated user will report.</p><br>
    /// - On success, responds with [`GetMobileDeviceAccessEffectOutput`](crate::operation::get_mobile_device_access_effect::GetMobileDeviceAccessEffectOutput) with field(s):
    ///   - [`effect(Option<MobileDeviceAccessRuleEffect>)`](crate::operation::get_mobile_device_access_effect::GetMobileDeviceAccessEffectOutput::effect): <p>The effect of the simulated access, <code>ALLOW</code> or <code>DENY</code>, after evaluating mobile device access rules in the WorkMail organization for the simulated user parameters.</p>
    ///   - [`matched_rules(Option<Vec::<MobileDeviceAccessMatchedRule>>)`](crate::operation::get_mobile_device_access_effect::GetMobileDeviceAccessEffectOutput::matched_rules): <p>A list of the rules which matched the simulated user input and produced the effect.</p>
    /// - On failure, responds with [`SdkError<GetMobileDeviceAccessEffectError>`](crate::operation::get_mobile_device_access_effect::GetMobileDeviceAccessEffectError)
    pub fn get_mobile_device_access_effect(
        &self,
    ) -> crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder {
        crate::operation::get_mobile_device_access_effect::builders::GetMobileDeviceAccessEffectFluentBuilder::new(self.handle.clone())
    }
}