list_executions(**kwargs)¶Returns the status of tasks for one or more target devices.
See also: AWS API Documentation
Request Syntax
response = client.list_executions(
    maxResults=123,
    nextToken='string',
    state='QUEUED'|'IN_PROGRESS'|'CANCELED'|'FAILED'|'SUCCEEDED'|'REJECTED'|'TIMED_OUT',
    taskId='string'
)
[REQUIRED]
The ID of the task.
dict
Response Syntax
{
    'executions': [
        {
            'executionId': 'string',
            'managedDeviceId': 'string',
            'state': 'QUEUED'|'IN_PROGRESS'|'CANCELED'|'FAILED'|'SUCCEEDED'|'REJECTED'|'TIMED_OUT',
            'taskId': 'string'
        },
    ],
    'nextToken': 'string'
}
Response Structure
(dict) --
executions (list) --
A list of executions. Each execution contains the task ID, the device that the task is executing on, the execution ID, and the status of the execution.
(dict) --
The summary of a task execution on a specified device.
executionId (string) --
The ID of the execution.
managedDeviceId (string) --
The ID of the managed device that the task is being executed on.
state (string) --
The state of the execution.
taskId (string) --
The ID of the task.
nextToken (string) --
A pagination token to continue to the next page of executions.
Exceptions
SnowDeviceManagement.Client.exceptions.ThrottlingExceptionSnowDeviceManagement.Client.exceptions.InternalServerExceptionSnowDeviceManagement.Client.exceptions.ResourceNotFoundExceptionSnowDeviceManagement.Client.exceptions.ValidationExceptionSnowDeviceManagement.Client.exceptions.AccessDeniedException