:doc:`LicenseManager <../../license-manager>` / Client / extend_license_consumption

**************************
extend_license_consumption
**************************



.. py:method:: LicenseManager.Client.extend_license_consumption(**kwargs)

  

  Extends the expiration date for license consumption.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumption>`_  


  **Request Syntax**
  ::

    response = client.extend_license_consumption(
        LicenseConsumptionToken='string',
        DryRun=True|False
    )
    
  :type LicenseConsumptionToken: string
  :param LicenseConsumptionToken: **[REQUIRED]** 

    License consumption token.

    

  
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.

    

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

    
    ::

      {
          'LicenseConsumptionToken': 'string',
          'Expiration': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LicenseConsumptionToken** *(string) --* 

        License consumption token.

        
      

      - **Expiration** *(string) --* 

        Date and time at which the license consumption expires.

        
  
  **Exceptions**
  
  *   :py:class:`LicenseManager.Client.exceptions.ValidationException`

  
  *   :py:class:`LicenseManager.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`LicenseManager.Client.exceptions.AuthorizationException`

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

  
  *   :py:class:`LicenseManager.Client.exceptions.RateLimitExceededException`

  
  *   :py:class:`LicenseManager.Client.exceptions.ServerInternalException`

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

  