:doc:`BillingConductor <../../billingconductor>` / Client / list_pricing_plans_associated_with_pricing_rule

***********************************************
list_pricing_plans_associated_with_pricing_rule
***********************************************



.. py:method:: BillingConductor.Client.list_pricing_plans_associated_with_pricing_rule(**kwargs)

  

  A list of the pricing plans that are associated with a pricing rule.

  

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


  **Request Syntax**
  ::

    response = client.list_pricing_plans_associated_with_pricing_rule(
        BillingPeriod='string',
        PricingRuleArn='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type BillingPeriod: string
  :param BillingPeriod: 

    The pricing plan billing period for which associations will be listed.

    

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

    The pricing rule Amazon Resource Name (ARN) for which associations will be listed.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The optional maximum number of pricing rule associations to retrieve.

    

  
  :type NextToken: string
  :param NextToken: 

    The optional pagination token returned by a previous call.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'BillingPeriod': 'string',
          'PricingRuleArn': 'string',
          'PricingPlanArns': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **BillingPeriod** *(string) --* 

        The pricing plan billing period for which associations will be listed.

        
      

      - **PricingRuleArn** *(string) --* 

        The pricing rule Amazon Resource Name (ARN) for which associations will be listed.

        
      

      - **PricingPlanArns** *(list) --* 

        The list containing pricing plans that are associated with the requested pricing rule.

        
        

        - *(string) --* 
    
      

      - **NextToken** *(string) --* 

        The pagination token to be used on subsequent calls.

        
  
  **Exceptions**
  
  *   :py:class:`BillingConductor.Client.exceptions.ThrottlingException`

  
  *   :py:class:`BillingConductor.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`BillingConductor.Client.exceptions.ValidationException`

  
  *   :py:class:`BillingConductor.Client.exceptions.InternalServerException`

  
  *   :py:class:`BillingConductor.Client.exceptions.ResourceNotFoundException`

  