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

*****************************
list_license_conversion_tasks
*****************************



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

  

  Lists the license type conversion tasks for your account.

  

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


  **Request Syntax**
  ::

    response = client.list_license_conversion_tasks(
        NextToken='string',
        MaxResults=123,
        Filters=[
            {
                'Name': 'string',
                'Values': [
                    'string',
                ]
            },
        ]
    )
    
  :type NextToken: string
  :param NextToken: 

    Token for the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    Maximum number of results to return in a single call.

    

  
  :type Filters: list
  :param Filters: 

    Filters to scope the results. Valid filters are ``ResourceArns`` and ``Status``.

    

  
    - *(dict) --* 

      A filter name and value pair that is used to return more specific results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

      

    
      - **Name** *(string) --* 

        Name of the filter. Filter names are case-sensitive.

        

      
      - **Values** *(list) --* 

        The value of the filter, which is case-sensitive. You can only specify one value for the filter.

        

      
        - *(string) --* 

        
    
    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **LicenseConversionTasks** *(list) --* 

        Information about the license configuration tasks for your account.

        
        

        - *(dict) --* 

          Information about a license type conversion task.

          
          

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

            The ID of the license type conversion task.

            
          

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

            The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.

            
          

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

            Information about the license type this conversion task 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 this conversion task 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

                  
            
          
        
          

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

            The status of the conversion task.

            
          

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

            The status message for the conversion task.

            
          

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

            The time the conversion task was started at.

            
          

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

            The time the usage operation value of the resource was changed.

            
          

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

            The time the conversion task was completed.

            
      
    
      

      - **NextToken** *(string) --* 

        Token for the next set of results.

        
  
  **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`

  