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

*******************
create_pricing_plan
*******************



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

  

  Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.

  

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


  **Request Syntax**
  ::

    response = client.create_pricing_plan(
        ClientToken='string',
        Name='string',
        Description='string',
        PricingRuleArns=[
            'string',
        ],
        Tags={
            'string': 'string'
        }
    )
    
  :type ClientToken: string
  :param ClientToken: 

    A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.

    This field is autopopulated if not provided.

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

    The name of the pricing plan. The names must be unique to each pricing plan.

    

  
  :type Description: string
  :param Description: 

    The description of the pricing plan.

    

  
  :type PricingRuleArns: list
  :param PricingRuleArns: 

    A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.

    

  
    - *(string) --* 

    

  :type Tags: dict
  :param Tags: 

    A map that contains tag keys and tag values that are attached to a pricing plan.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'Arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the created pricing plan.

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

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

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

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

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

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

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

  