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

***************************
get_license_conversion_task
***************************



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

  

  Gets information about the specified license type conversion task.

  

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


  **Request Syntax**
  ::

    response = client.get_license_conversion_task(
        LicenseConversionTaskId='string'
    )
    
  :type LicenseConversionTaskId: string
  :param LicenseConversionTaskId: **[REQUIRED]** 

    ID of the license type conversion task to retrieve information on.

    

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

    
    ::

      {
          'LicenseConversionTaskId': 'string',
          'ResourceArn': 'string',
          'SourceLicenseContext': {
              'UsageOperation': 'string',
              'ProductCodes': [
                  {
                      'ProductCodeId': 'string',
                      'ProductCodeType': 'marketplace'
                  },
              ]
          },
          'DestinationLicenseContext': {
              'UsageOperation': 'string',
              'ProductCodes': [
                  {
                      'ProductCodeId': 'string',
                      'ProductCodeType': 'marketplace'
                  },
              ]
          },
          'StatusMessage': 'string',
          'Status': 'IN_PROGRESS'|'SUCCEEDED'|'FAILED',
          'StartTime': datetime(2015, 1, 1),
          'LicenseConversionTime': datetime(2015, 1, 1),
          'EndTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LicenseConversionTaskId** *(string) --* 

        ID of the license type conversion task.

        
      

      - **ResourceArn** *(string) --* 

        Amazon Resource Names (ARN) of the resources the license conversion task is associated with.

        
      

      - **SourceLicenseContext** *(dict) --* 

        Information about the license type converted from.

        
        

        - **UsageOperation** *(string) --* 

          The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see `Sample data\: usage operation by platform <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html#billing-info>`__

          
        

        - **ProductCodes** *(list) --* 

          Product codes referred to in the license conversion process.

          
          

          - *(dict) --* 

            A list item that contains a product code.

            
            

            - **ProductCodeId** *(string) --* 

              The product code ID

              
            

            - **ProductCodeType** *(string) --* 

              The product code type

              
        
      
    
      

      - **DestinationLicenseContext** *(dict) --* 

        Information about the license type converted to.

        
        

        - **UsageOperation** *(string) --* 

          The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see `Sample data\: usage operation by platform <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html#billing-info>`__

          
        

        - **ProductCodes** *(list) --* 

          Product codes referred to in the license conversion process.

          
          

          - *(dict) --* 

            A list item that contains a product code.

            
            

            - **ProductCodeId** *(string) --* 

              The product code ID

              
            

            - **ProductCodeType** *(string) --* 

              The product code type

              
        
      
    
      

      - **StatusMessage** *(string) --* 

        The status message for the conversion task.

        
      

      - **Status** *(string) --* 

        Status of the license type conversion task.

        
      

      - **StartTime** *(datetime) --* 

        Time at which the license type conversion task was started .

        
      

      - **LicenseConversionTime** *(datetime) --* 

        Amount of time to complete the license type conversion.

        
      

      - **EndTime** *(datetime) --* 

        Time at which the license type conversion task was completed.

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

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

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

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

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

  