:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Paginator / ListAccountAssociations

***********************
ListAccountAssociations
***********************



.. py:class:: ManagedintegrationsforIoTDeviceManagement.Paginator.ListAccountAssociations

  ::

    
    paginator = client.get_paginator('list_account_associations')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`ManagedintegrationsforIoTDeviceManagement.Client.list_account_associations`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/ListAccountAssociations>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          ConnectorDestinationId='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type ConnectorDestinationId: string
    :param ConnectorDestinationId: 

      The identifier of the connector destination to filter account associations by.

      

    
    :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**

      
      ::

        {
            'Items': [
                {
                    'AccountAssociationId': 'string',
                    'AssociationState': 'ASSOCIATION_IN_PROGRESS'|'ASSOCIATION_FAILED'|'ASSOCIATION_SUCCEEDED'|'ASSOCIATION_DELETING'|'REFRESH_TOKEN_EXPIRED',
                    'ErrorMessage': 'string',
                    'ConnectorDestinationId': 'string',
                    'Name': 'string',
                    'Description': 'string',
                    'Arn': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **Items** *(list) --* 

          The list of account associations that match the specified criteria.

          
          

          - *(dict) --* 

            Structure containing information about an account association, including its identifier, state, and related metadata.

            
            

            - **AccountAssociationId** *(string) --* 

              The unique identifier of the account association.

              
            

            - **AssociationState** *(string) --* 

              The current state of the account association, indicating its status in the association lifecycle.

              
            

            - **ErrorMessage** *(string) --* 

              The error message explaining any issues with the account association, if applicable.

              
            

            - **ConnectorDestinationId** *(string) --* 

              The identifier of the connector destination associated with this account association.

              
            

            - **Name** *(string) --* 

              The name of the account association.

              
            

            - **Description** *(string) --* 

              A description of the account association.

              
            

            - **Arn** *(string) --* 

              The Amazon Resource Name (ARN) of the account association.

              
        
      
    