:doc:`LicenseManager <../../license-manager>` / Paginator / ListAssociationsForLicenseConfiguration

***************************************
ListAssociationsForLicenseConfiguration
***************************************



.. py:class:: LicenseManager.Paginator.ListAssociationsForLicenseConfiguration

  ::

    
    paginator = client.get_paginator('list_associations_for_license_configuration')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`LicenseManager.Client.list_associations_for_license_configuration`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfiguration>`_    


    **Request Syntax**
    ::

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

      Amazon Resource Name (ARN) of a license configuration.

      

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

      
      ::

        {
            'LicenseConfigurationAssociations': [
                {
                    'ResourceArn': 'string',
                    'ResourceType': 'EC2_INSTANCE'|'EC2_HOST'|'EC2_AMI'|'RDS'|'SYSTEMS_MANAGER_MANAGED_INSTANCE',
                    'ResourceOwnerId': 'string',
                    'AssociationTime': datetime(2015, 1, 1),
                    'AmiAssociationScope': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **LicenseConfigurationAssociations** *(list) --* 

          Information about the associations for the license configuration.

          
          

          - *(dict) --* 

            Describes an association with a license configuration.

            
            

            - **ResourceArn** *(string) --* 

              Amazon Resource Name (ARN) of the resource.

              
            

            - **ResourceType** *(string) --* 

              Type of server resource.

              
            

            - **ResourceOwnerId** *(string) --* 

              ID of the Amazon Web Services account that owns the resource consuming licenses.

              
            

            - **AssociationTime** *(datetime) --* 

              Time when the license configuration was associated with the resource.

              
            

            - **AmiAssociationScope** *(string) --* 

              Scope of AMI associations. The possible value is ``cross-account``.

              
        
      
    