AWS IoT Device SDK C:
Jobs
AWS IoT Jobs library
|
Return to main page ↑ |
Get the list of all pending jobs for a Thing and receive an asynchronous notification when the response arrives.
This function implements the GetPendingJobExecutions command of the Jobs API, which gets the list of all Jobs for a Thing that are not in a terminal state. The list of retrieved Jobs is returned as the pResponse
member in AwsIotJobsCallbackParam_t, or through the AwsIotJobsResponse_t parameter of AwsIotJobs_Wait.
[in] | pRequestInfo | Jobs request parameters. |
[in] | flags | Flags which modify the behavior of the Jobs request. See Jobs Function Flags. |
[in] | pCallbackInfo | Asynchronous notification of this function's completion. |
[out] | pGetPendingOperation | Set to a handle by which this operation may be referenced after this function returns. This reference is invalidated once the Jobs operation completes. |
Example