Skip to content

Update Impersonation Role

workmail_update_impersonation_role R Documentation

Updates an impersonation role for the given WorkMail organization

Description

Updates an impersonation role for the given WorkMail organization.

Usage

workmail_update_impersonation_role(OrganizationId, ImpersonationRoleId,
  Name, Type, Description, Rules)

Arguments

OrganizationId

[required] The WorkMail organization that contains the impersonation role to update.

ImpersonationRoleId

[required] The ID of the impersonation role to update.

Name

[required] The updated impersonation role name.

Type

[required] The updated impersonation role type.

Description

The updated impersonation role description.

Rules

[required] The updated list of rules.

Value

An empty list.

Request syntax

svc$update_impersonation_role(
  OrganizationId = "string",
  ImpersonationRoleId = "string",
  Name = "string",
  Type = "FULL_ACCESS"|"READ_ONLY",
  Description = "string",
  Rules = list(
    list(
      ImpersonationRuleId = "string",
      Name = "string",
      Description = "string",
      Effect = "ALLOW"|"DENY",
      TargetUsers = list(
        "string"
      ),
      NotTargetUsers = list(
        "string"
      )
    )
  )
)