create_license_conversion_task_for_resource
async
¶
create_license_conversion_task_for_resource(
resource_arn: Arn,
source_license_context: LicenseConversionContext,
destination_license_context: LicenseConversionContext,
*,
config_overrides: Optional[AsyncLicenseManagerClientConfig] = None,
) -> CreateLicenseConversionTaskForResourceResponse
Creates a new license conversion task.
Parameters:
-
resource_arn(Arn) –Amazon Resource Name (ARN) of the resource you are converting the license type for.
-
source_license_context(LicenseConversionContext) –Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the CLI in the License Manager User Guide.
-
destination_license_context(LicenseConversionContext) –Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the CLI in the License Manager User Guide.
Raises:
-
AccessDeniedException–Access to resource denied.
-
AuthorizationException–The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
-
InvalidParameterValueException–One or more parameter values are not valid.
-
RateLimitExceededException–Too many requests have been submitted. Try again after a brief wait.
-
ServerInternalException–The server experienced an internal error. Try again.
-
ValidationException–The provided input is not valid. Try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.