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

*********************************************
list_pricing_rules_associated_to_pricing_plan
*********************************************



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

  

  Lists the pricing rules that are associated with a pricing plan.

  

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


  **Request Syntax**
  ::

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

    The billing period for which the pricing rule associations are to be listed.

    

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

    The Amazon Resource Name (ARN) of the pricing plan for which associations are to 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',
          'PricingPlanArn': 'string',
          'PricingRuleArns': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The billing period for which the pricing rule associations are listed.

        
      

      - **PricingPlanArn** *(string) --* 

        The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.

        
      

      - **PricingRuleArns** *(list) --* 

        A list containing pricing rules that are associated with the requested pricing plan.

        
        

        - *(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`

  