Skip to content

List Resource Delegates

workmail_list_resource_delegates R Documentation

Lists the delegates associated with a resource

Description

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.

Usage

workmail_list_resource_delegates(OrganizationId, ResourceId, NextToken,
  MaxResults)

Arguments

OrganizationId

[required] The identifier for the organization that contains the resource for which delegates are listed.

ResourceId

[required] The identifier for the resource whose delegates are listed.

The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

  • Resource ID: r-0123456789a0123456789b0123456789

  • Email address: resource@domain.tld

  • Resource name: resource

NextToken

The token used to paginate through the delegates associated with a resource.

MaxResults

The number of maximum results in a page.

Value

A list with the following syntax:

list(
  Delegates = list(
    list(
      Id = "string",
      Type = "GROUP"|"USER"
    )
  ),
  NextToken = "string"
)

Request syntax

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