Skip to content

List Impersonation Roles

workmail_list_impersonation_roles R Documentation

Lists all the impersonation roles for the given WorkMail organization

Description

Lists all the impersonation roles for the given WorkMail organization.

Usage

workmail_list_impersonation_roles(OrganizationId, NextToken, MaxResults)

Arguments

OrganizationId

[required] The WorkMail organization to which the listed impersonation roles belong.

NextToken

The token used to retrieve the next page of results. The first call doesn't require a token.

MaxResults

The maximum number of results returned in a single call.

Value

A list with the following syntax:

list(
  Roles = list(
    list(
      ImpersonationRoleId = "string",
      Name = "string",
      Type = "FULL_ACCESS"|"READ_ONLY",
      DateCreated = as.POSIXct(
        "2015-01-01"
      ),
      DateModified = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_impersonation_roles(
  OrganizationId = "string",
  NextToken = "string",
  MaxResults = 123
)