SESV2 / Paginator / ListResourceTenants

ListResourceTenants

class SESV2.Paginator.ListResourceTenants
paginator = client.get_paginator('list_resource_tenants')
paginate(**kwargs)

Creates an iterator that will paginate through responses from SESV2.Client.list_resource_tenants().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ResourceArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

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

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceTenants': [
        {
            'TenantName': 'string',
            'TenantId': 'string',
            'ResourceArn': 'string',
            'AssociatedTimestamp': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    Information about tenants associated with a specific resource.

    • ResourceTenants (list) –

      An array that contains information about each tenant associated with the resource.

      • (dict) –

        A structure that contains information about a tenant associated with a resource.

        • TenantName (string) –

          The name of the tenant associated with the resource.

        • TenantId (string) –

          A unique identifier for the tenant associated with the resource.

        • ResourceArn (string) –

          The Amazon Resource Name (ARN) of the resource.

        • AssociatedTimestamp (datetime) –

          The date and time when the resource was associated with the tenant.