LicenseManager / Client / list_license_conversion_tasks

list_license_conversion_tasks#

LicenseManager.Client.list_license_conversion_tasks(**kwargs)#

Lists the license type conversion tasks for your account.

See also: AWS API Documentation

Request Syntax

response = client.list_license_conversion_tasks(
    NextToken='string',
    MaxResults=123,
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ]
)
Parameters:
  • NextToken (string) – Token for the next set of results.

  • MaxResults (integer) – Maximum number of results to return in a single call.

  • Filters (list) –

    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) –

Return type:

dict

Returns:

Response Syntax

{
    'LicenseConversionTasks': [
        {
            'LicenseConversionTaskId': 'string',
            'ResourceArn': 'string',
            'SourceLicenseContext': {
                'UsageOperation': 'string'
            },
            'DestinationLicenseContext': {
                'UsageOperation': 'string'
            },
            '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

        • 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

        • 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