{
"type": "object",
"required": [
"OrganizationId",
"MobileDeviceAccessRuleId",
"Name",
"Effect"
],
"title": "UpdateMobileDeviceAccessRuleRequest",
"properties": {
"OrganizationId": {
"allOf": [
{
"$ref": "#/components/schemas/OrganizationId"
},
{
"description": "The WorkMail organization under which the rule will be updated."
}
]
},
"MobileDeviceAccessRuleId": {
"allOf": [
{
"$ref": "#/components/schemas/MobileDeviceAccessRuleId"
},
{
"description": "The identifier of the rule to be updated."
}
]
},
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/MobileDeviceAccessRuleName"
},
{
"description": "The updated rule name."
}
]
},
"Description": {
"allOf": [
{
"$ref": "#/components/schemas/MobileDeviceAccessRuleDescription"
},
{
"description": "The updated rule description."
}
]
},
"Effect": {
"allOf": [
{
"$ref": "#/components/schemas/MobileDeviceAccessRuleEffect"
},
{
"description": "The effect of the rule when it matches. Allowed values are ALLOW or DENY."
}
]
},
"DeviceTypes": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceTypeList"
},
{
"description": "Device types that the updated rule will match."
}
]
},
"NotDeviceTypes": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceTypeList"
},
{
"description": "Device types that the updated rule will not match. All other device types will match."
}
]
},
"DeviceModels": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceModelList"
},
{
"description": "Device models that the updated rule will match."
}
]
},
"NotDeviceModels": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceModelList"
},
{
"description": "Device models that the updated rule will not match. All other device models will match."
}
]
},
"DeviceOperatingSystems": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceOperatingSystemList"
},
{
"description": "Device operating systems that the updated rule will match."
}
]
},
"NotDeviceOperatingSystems": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceOperatingSystemList"
},
{
"description": "Device operating systems that the updated rule will not match. All other device operating systems will match."
}
]
},
"DeviceUserAgents": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceUserAgentList"
},
{
"description": "User agents that the updated rule will match."
}
]
},
"NotDeviceUserAgents": {
"allOf": [
{
"$ref": "#/components/schemas/DeviceUserAgentList"
},
{
"description": "User agents that the updated rule will not match. All other user agents will match."
}
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-workmail/refs/heads/main/json-schema/workmail-update-mobile-device-access-rule-request-schema.json",
"description": "UpdateMobileDeviceAccessRuleRequest schema from Amazon WorkMail API"
}