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

************************
update_long_term_pricing
************************



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

  

  Updates the long-term pricing type.

  

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


  **Request Syntax**
  ::

    response = client.update_long_term_pricing(
        LongTermPricingId='string',
        ReplacementJob='string',
        IsLongTermPricingAutoRenew=True|False
    )
    
  :type LongTermPricingId: string
  :param LongTermPricingId: **[REQUIRED]** 

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

    

  
  :type ReplacementJob: string
  :param ReplacementJob: 

    Specifies that a device that is ordered with long-term pricing should be replaced with a new device.

    

  
  :type IsLongTermPricingAutoRenew: boolean
  :param IsLongTermPricingAutoRenew: 

    If set to ``true``, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Snowball.Client.exceptions.InvalidResourceException`

  