delete_mobile_device_access_rule

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'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The WorkMail organization under which the rule will be deleted.

  • MobileDeviceAccessRuleId (string) --

    [REQUIRED]

    The identifier of the rule to be deleted.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException