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'
)
[REQUIRED]
The task's ID.
[REQUIRED]
The task's ID.
dict
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