DeadlineCloud / Client / update_task

update_task#

DeadlineCloud.Client.update_task(**kwargs)#

Updates a task.

See also: AWS API Documentation

Request Syntax

response = client.update_task(
    clientToken='string',
    farmId='string',
    jobId='string',
    queueId='string',
    stepId='string',
    targetRunStatus='READY'|'FAILED'|'SUCCEEDED'|'CANCELED'|'SUSPENDED'|'PENDING',
    taskId='string'
)
Parameters:
  • clientToken (string) –

    The unique token which the server uses to recognize retries of the same request.

    This field is autopopulated if not provided.

  • farmId (string) –

    [REQUIRED]

    The farm ID to update.

  • jobId (string) –

    [REQUIRED]

    The job ID to update.

  • queueId (string) –

    [REQUIRED]

    The queue ID to update.

  • stepId (string) –

    [REQUIRED]

    The step ID to update.

  • targetRunStatus (string) –

    [REQUIRED]

    The run status with which to start the task.

  • taskId (string) –

    [REQUIRED]

    The task ID to update.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ResourceNotFoundException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ConflictException

  • DeadlineCloud.Client.exceptions.ValidationException