WorkMail.Client.
delete_mobile_device_access_rule
(**kwargs)¶Deletes a mobile device access rule for the specified WorkMail organization.
Note
Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
See also: AWS API Documentation
Request Syntax
response = client.delete_mobile_device_access_rule(
OrganizationId='string',
MobileDeviceAccessRuleId='string'
)
[REQUIRED]
The WorkMail organization under which the rule will be deleted.
[REQUIRED]
The identifier of the rule to be deleted.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException