Skip to main content

license_conversion_tasks

Creates, updates, deletes, gets or lists a license_conversion_tasks resource.

Overview

Namelicense_conversion_tasks
TypeResource
Idaws.license_manager.license_conversion_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destination_license_contextobjectInformation about the license type converted to.
end_timestring (date-time)Time at which the license type conversion task was completed.
license_conversion_task_idstringID of the license type conversion task. (pattern: <code>^lct-[a-zA-Z0-9]*</code>)
license_conversion_timestring (date-time)Amount of time to complete the license type conversion.
resource_arnstringAmazon Resource Names (ARN) of the resources the license conversion task is associated with.
source_license_contextobjectInformation about the license type converted from.
start_timestring (date-time)Time at which the license type conversion task was started .
statusstringStatus of the license type conversion task. (IN_PROGRESS, SUCCEEDED, FAILED)
status_messagestringThe status message for the conversion task.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_license_conversion_taskselectregionGets information about the specified license type conversion task.
list_license_conversion_tasksselectregionLists the license type conversion tasks for your account.
create_license_conversion_task_for_resourceinsertregion, ResourceArn, SourceLicenseContext, DestinationLicenseContextCreates a new license conversion task.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about the specified license type conversion task.

SELECT
destination_license_context,
end_time,
license_conversion_task_id,
license_conversion_time,
resource_arn,
source_license_context,
start_time,
status,
status_message
FROM aws.license_manager.license_conversion_tasks
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new license conversion task.

INSERT INTO aws.license_manager.license_conversion_tasks (
ResourceArn,
SourceLicenseContext,
DestinationLicenseContext,
region
)
SELECT
'{{ ResourceArn }}' /* required */,
'{{ SourceLicenseContext }}' /* required */,
'{{ DestinationLicenseContext }}' /* required */,
'{{ region }}'
RETURNING
license_conversion_task_id
;