WorkMail / Client / update_mobile_device_access_rule

update_mobile_device_access_rule#

WorkMail.Client.update_mobile_device_access_rule(**kwargs)#

Updates a mobile device access rule for the specified WorkMail organization.

See also: AWS API Documentation

Request Syntax

response = client.update_mobile_device_access_rule(
    OrganizationId='string',
    MobileDeviceAccessRuleId='string',
    Name='string',
    Description='string',
    Effect='ALLOW'|'DENY',
    DeviceTypes=[
        'string',
    ],
    NotDeviceTypes=[
        'string',
    ],
    DeviceModels=[
        'string',
    ],
    NotDeviceModels=[
        'string',
    ],
    DeviceOperatingSystems=[
        'string',
    ],
    NotDeviceOperatingSystems=[
        'string',
    ],
    DeviceUserAgents=[
        'string',
    ],
    NotDeviceUserAgents=[
        'string',
    ]
)
Parameters:
  • OrganizationId (string) –

    [REQUIRED]

    The WorkMail organization under which the rule will be updated.

  • MobileDeviceAccessRuleId (string) –

    [REQUIRED]

    The identifier of the rule to be updated.

  • Name (string) –

    [REQUIRED]

    The updated rule name.

  • Description (string) – The updated rule description.

  • Effect (string) –

    [REQUIRED]

    The effect of the rule when it matches. Allowed values are ALLOW or DENY.

  • DeviceTypes (list) –

    Device types that the updated rule will match.

    • (string) –

  • NotDeviceTypes (list) –

    Device types that the updated rule will not match. All other device types will match.

    • (string) –

  • DeviceModels (list) –

    Device models that the updated rule will match.

    • (string) –

  • NotDeviceModels (list) –

    Device models that the updated rule will not match. All other device models will match.

    • (string) –

  • DeviceOperatingSystems (list) –

    Device operating systems that the updated rule will match.

    • (string) –

  • NotDeviceOperatingSystems (list) –

    Device operating systems that the updated rule will not match. All other device operating systems will match.

    • (string) –

  • DeviceUserAgents (list) –

    User agents that the updated rule will match.

    • (string) –

  • NotDeviceUserAgents (list) –

    User agents that the updated rule will not match. All other user agents will match.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions