Skip to content

List Resource Tenants

sesv2_list_resource_tenants R Documentation

List all tenants associated with a specific resource

Description

List all tenants associated with a specific resource.

This operation returns a list of tenants that are associated with the specified resource. This is useful for understanding which tenants are currently using a particular resource such as an email identity, configuration set, or email template.

Usage

sesv2_list_resource_tenants(ResourceArn, PageSize, NextToken)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource to list associated tenants for.

PageSize

The number of results to show in a single call to list_resource_tenants. If the number of results is larger than the number you specified in this parameter, then the response includes a NextToken element, which you can use to obtain additional results.

NextToken

A token returned from a previous call to list_resource_tenants to indicate the position in the list of resource tenants.

Value

A list with the following syntax:

list(
  ResourceTenants = list(
    list(
      TenantName = "string",
      TenantId = "string",
      ResourceArn = "string",
      AssociatedTimestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_resource_tenants(
  ResourceArn = "string",
  PageSize = 123,
  NextToken = "string"
)