:doc:`Snowball <../../snowball>` / Client / create_long_term_pricing

************************
create_long_term_pricing
************************



.. py:method:: Snowball.Client.create_long_term_pricing(**kwargs)

  

  Creates a job with the long-term usage option for a device. The long-term usage is a 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateLongTermPricing>`_  


  **Request Syntax**
  ::

    response = client.create_long_term_pricing(
        LongTermPricingType='OneYear'|'ThreeYear'|'OneMonth',
        IsLongTermPricingAutoRenew=True|False,
        SnowballType='STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C'
    )
    
  :type LongTermPricingType: string
  :param LongTermPricingType: **[REQUIRED]** 

    The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.

    

  
  :type IsLongTermPricingAutoRenew: boolean
  :param IsLongTermPricingAutoRenew: 

    Specifies whether the current long-term pricing type for the device should be renewed.

    

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

    The type of Snow Family devices to use for the long-term pricing job.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **LongTermPricingId** *(string) --* 

        The ID of the long-term pricing type for the device.

        
  
  **Exceptions**
  
  *   :py:class:`Snowball.Client.exceptions.InvalidResourceException`

  