Amazon Web ServicesBusiness CommunicationCalendarEmailEnterprise
ImpersonationRule is a JSON Structure definition published by Amazon WorkMail, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"type": "object",
"required": [
"ImpersonationRuleId",
"Effect"
],
"properties": {
"ImpersonationRuleId": {
"allOf": [
{
"$ref": "#/components/schemas/ImpersonationRuleId"
},
{
"description": "The identifier of the rule."
}
]
},
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/ImpersonationRuleName"
},
{
"description": "The rule name."
}
]
},
"Description": {
"allOf": [
{
"$ref": "#/components/schemas/ImpersonationRuleDescription"
},
{
"description": "The rule description."
}
]
},
"Effect": {
"allOf": [
{
"$ref": "#/components/schemas/AccessEffect"
},
{
"description": "The effect of the rule when it matches the input. Allowed effect values are <code>ALLOW</code> or <code>DENY</code>."
}
]
},
"TargetUsers": {
"allOf": [
{
"$ref": "#/components/schemas/TargetUsers"
},
{
"description": "A list of user IDs that match the rule."
}
]
},
"NotTargetUsers": {
"allOf": [
{
"$ref": "#/components/schemas/TargetUsers"
},
{
"description": "A list of user IDs that don't match the rule."
}
]
}
},
"description": "The rules for the given impersonation role.",
"$schema": "https://json-structure.org/meta/core/v0/#",
"name": "ImpersonationRule",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-workmail/refs/heads/main/json-structure/workmail-impersonation-rule-structure.json"
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.