:doc:`SESV2 <../../sesv2>` / Paginator / ListResourceTenants

*******************
ListResourceTenants
*******************



.. py:class:: SESV2.Paginator.ListResourceTenants

  ::

    
    paginator = client.get_paginator('list_resource_tenants')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`SESV2.Client.list_resource_tenants`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListResourceTenants>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          ResourceArn='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type ResourceArn: string
    :param ResourceArn: **[REQUIRED]** 

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

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: 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.

              
        
      
    