async fn get_mobile_device_access_effect(
        &self,
        input: GetMobileDeviceAccessEffectRequest,
    ) -> Result<GetMobileDeviceAccessEffectResponse, RusotoError<GetMobileDeviceAccessEffectError>>
    {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header(
            "x-amz-target",
            "WorkMailService.GetMobileDeviceAccessEffect",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, GetMobileDeviceAccessEffectError::from_response)
            .await?;
        let mut response = response;
        let response = response.buffer().await.map_err(RusotoError::HttpDispatch)?;
        proto::json::ResponsePayload::new(&response)
            .deserialize::<GetMobileDeviceAccessEffectResponse, _>()
    }
<p>Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.</p>
rusoto/services/workmail/src/generated.rs