Skip to content

List Tenant Resources

sesv2_list_tenant_resources R Documentation

List all resources associated with a specific tenant

Description

List all resources associated with a specific tenant.

This operation returns a list of resources (email identities, configuration sets, or email templates) that are associated with the specified tenant. You can optionally filter the results by resource type.

Usage

sesv2_list_tenant_resources(TenantName, Filter, PageSize, NextToken)

Arguments

TenantName

[required] The name of the tenant to list resources for.

Filter

A map of filter keys and values for filtering the list of tenant resources. Currently, the only supported filter key is RESOURCE_TYPE.

PageSize

The number of results to show in a single call to list_tenant_resources. 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_tenant_resources to indicate the position in the list of tenant resources.

Value

A list with the following syntax:

list(
  TenantResources = list(
    list(
      ResourceType = "EMAIL_IDENTITY"|"CONFIGURATION_SET"|"EMAIL_TEMPLATE",
      ResourceArn = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_tenant_resources(
  TenantName = "string",
  Filter = list(
    "string"
  ),
  PageSize = 123,
  NextToken = "string"
)