LicenseManager / Client / get_license_conversion_task

get_license_conversion_task#

LicenseManager.Client.get_license_conversion_task(**kwargs)#

Gets information about the specified license type conversion task.

See also: AWS API Documentation

Request Syntax

response = client.get_license_conversion_task(
    LicenseConversionTaskId='string'
)
Parameters:

LicenseConversionTaskId (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

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

    • 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

    • 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