:doc:`BillingConductor <../../billingconductor>` / Paginator / ListResourcesAssociatedToCustomLineItem

***************************************
ListResourcesAssociatedToCustomLineItem
***************************************



.. py:class:: BillingConductor.Paginator.ListResourcesAssociatedToCustomLineItem

  ::

    
    paginator = client.get_paginator('list_resources_associated_to_custom_line_item')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`BillingConductor.Client.list_resources_associated_to_custom_line_item`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListResourcesAssociatedToCustomLineItem>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          BillingPeriod='string',
          Arn='string',
          Filters={
              'Relationship': 'PARENT'|'CHILD'
          },
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type BillingPeriod: string
    :param BillingPeriod: 

      The billing period for which the resource associations will be listed.

      

    
    :type Arn: string
    :param Arn: **[REQUIRED]** 

      The ARN of the custom line item for which the resource associations will be listed.

      

    
    :type Filters: dict
    :param Filters: 

      (Optional) A ``ListResourcesAssociatedToCustomLineItemFilter`` that can specify the types of resources that should be retrieved.

      

    
      - **Relationship** *(string) --* 

        The type of relationship between the custom line item and the associated resource.

        

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

      
      ::

        {
            'Arn': 'string',
            'AssociatedResources': [
                {
                    'Arn': 'string',
                    'Relationship': 'PARENT'|'CHILD',
                    'EndBillingPeriod': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

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

          The custom line item ARN for which the resource associations are listed.

          
        

        - **AssociatedResources** *(list) --* 

          A list of ``ListResourcesAssociatedToCustomLineItemResponseElement`` for each resource association retrieved.

          
          

          - *(dict) --* 

            A representation of a resource association for a custom line item.

            
            

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

              The ARN of the associated resource.

              
            

            - **Relationship** *(string) --* 

              The type of relationship between the custom line item and the associated resource.

              
            

            - **EndBillingPeriod** *(string) --* 

              The end billing period of the associated resource.

              
        
      
    