IoTJobsDataPlane.Client.
get_pending_job_executions
(**kwargs)¶Gets the list of all jobs for a thing that are not in a terminal status.
See also: AWS API Documentation
Request Syntax
response = client.get_pending_job_executions(
thingName='string'
)
[REQUIRED]
The name of the thing that is executing the job.
{
'inProgressJobs': [
{
'jobId': 'string',
'queuedAt': 123,
'startedAt': 123,
'lastUpdatedAt': 123,
'versionNumber': 123,
'executionNumber': 123
},
],
'queuedJobs': [
{
'jobId': 'string',
'queuedAt': 123,
'startedAt': 123,
'lastUpdatedAt': 123,
'versionNumber': 123,
'executionNumber': 123
},
]
}
Response Structure
A list of JobExecutionSummary objects with status IN_PROGRESS.
Contains a subset of information about a job execution.
The unique identifier you assigned to this job when it was created.
The time, in milliseconds since the epoch, when the job execution was enqueued.
The time, in milliseconds since the epoch, when the job execution started.
The time, in milliseconds since the epoch, when the job execution was last updated.
The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives an update from a device.
A number that identifies a particular job execution on a particular device.
A list of JobExecutionSummary objects with status QUEUED.
Contains a subset of information about a job execution.
The unique identifier you assigned to this job when it was created.
The time, in milliseconds since the epoch, when the job execution was enqueued.
The time, in milliseconds since the epoch, when the job execution started.
The time, in milliseconds since the epoch, when the job execution was last updated.
The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives an update from a device.
A number that identifies a particular job execution on a particular device.
Exceptions
IoTJobsDataPlane.Client.exceptions.InvalidRequestException
IoTJobsDataPlane.Client.exceptions.ResourceNotFoundException
IoTJobsDataPlane.Client.exceptions.ThrottlingException
IoTJobsDataPlane.Client.exceptions.ServiceUnavailableException
IoTJobsDataPlane.Client.exceptions.CertificateValidationException