Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_run_task

get_run_task(**kwargs)

Gets information about a workflow run task.

See also: AWS API Documentation

Request Syntax

response = client.get_run_task(
    id='string',
    taskId='string'
)
Parameters
  • id (string) --

    [REQUIRED]

    The task's ID.

  • taskId (string) --

    [REQUIRED]

    The task's ID.

Return type

dict

Returns

Response Syntax

{
    'cpus': 123,
    'creationTime': datetime(2015, 1, 1),
    'logStream': 'string',
    'memory': 123,
    'name': 'string',
    'startTime': datetime(2015, 1, 1),
    'status': 'PENDING'|'STARTING'|'RUNNING'|'STOPPING'|'COMPLETED'|'CANCELLED'|'FAILED',
    'statusMessage': 'string',
    'stopTime': datetime(2015, 1, 1),
    'taskId': 'string'
}

Response Structure

  • (dict) --

    • cpus (integer) --

      The task's CPU usage.

    • creationTime (datetime) --

      When the task was created.

    • logStream (string) --

      The task's log stream.

    • memory (integer) --

      The task's memory use in gigabytes.

    • name (string) --

      The task's name.

    • startTime (datetime) --

      The task's start time.

    • status (string) --

      The task's status.

    • statusMessage (string) --

      The task's status message.

    • stopTime (datetime) --

      The task's stop time.

    • taskId (string) --

      The task's ID.

Exceptions

  • Omics.Client.exceptions.InternalServerException
  • Omics.Client.exceptions.ServiceQuotaExceededException
  • Omics.Client.exceptions.ThrottlingException
  • Omics.Client.exceptions.ValidationException
  • Omics.Client.exceptions.ConflictException
  • Omics.Client.exceptions.ResourceNotFoundException
  • Omics.Client.exceptions.AccessDeniedException
  • Omics.Client.exceptions.RequestTimeoutException