

# MobileDeviceAccessMatchedRule
<a name="API_MobileDeviceAccessMatchedRule"></a>

**Important**  
End of support notice: On March 31, 2027, AWS will end support for Amazon WorkMail. After March 31, 2027, you will no longer be able to access the WorkMail console or WorkMail resources. For more information, see [Amazon WorkMail end of support](https://docs.aws.amazon.com/workmail/latest/adminguide/workmail-end-of-support.html). 

The rule that a simulated user matches.

## Contents
<a name="API_MobileDeviceAccessMatchedRule_Contents"></a>

 ** MobileDeviceAccessRuleId **   <a name="workmail-Type-MobileDeviceAccessMatchedRule-MobileDeviceAccessRuleId"></a>
Identifier of the rule that a simulated user matches.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z0-9_-]+`   
Required: No

 ** Name **   <a name="workmail-Type-MobileDeviceAccessMatchedRule-Name"></a>
Name of a rule that a simulated user matches.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[\S\s]+`   
Required: No

## See Also
<a name="API_MobileDeviceAccessMatchedRule_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/workmail-2017-10-01/MobileDeviceAccessMatchedRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/workmail-2017-10-01/MobileDeviceAccessMatchedRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/workmail-2017-10-01/MobileDeviceAccessMatchedRule) 