{ "type": "object", "required": [ "OrganizationId", "Name", "Type", "Rules" ], "title": "CreateImpersonationRoleRequest", "properties": { "ClientToken": { "allOf": [ { "$ref": "#/components/schemas/IdempotencyClientToken" }, { "description": "The idempotency token for the client request." } ] }, "OrganizationId": { "allOf": [ { "$ref": "#/components/schemas/OrganizationId" }, { "description": "The WorkMail organization to create the new impersonation role within." } ] }, "Name": { "allOf": [ { "$ref": "#/components/schemas/ImpersonationRoleName" }, { "description": "The name of the new impersonation role." } ] }, "Type": { "allOf": [ { "$ref": "#/components/schemas/ImpersonationRoleType" }, { "description": "The impersonation role's type. The available impersonation role types are READ_ONLY or FULL_ACCESS." } ] }, "Description": { "allOf": [ { "$ref": "#/components/schemas/ImpersonationRoleDescription" }, { "description": "The description of the new impersonation role." } ] }, "Rules": { "allOf": [ { "$ref": "#/components/schemas/ImpersonationRuleList" }, { "description": "The list of rules for the impersonation role." } ] } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-workmail/refs/heads/main/json-schema/workmail-create-impersonation-role-request-schema.json", "description": "CreateImpersonationRoleRequest schema from Amazon WorkMail API" }