AWS IoT Device SDK C: Jobs
AWS IoT Jobs library
Return to main page ↑
AwsIotJobs_DescribeSync

Get detailed information about a job execution with a timeout for receiving the response.

int32_t executionNumber,
bool includeJobDocument,
uint32_t flags,
uint32_t timeoutMs,
AwsIotJobsResponse_t * const pJobsResponse );

This function queues a Jobs DESCRIBE, then waits for the result. Internally, this function is a call to AwsIotJobs_DescribeAsync followed by AwsIotJobs_Wait. See AwsIotJobs_DescribeAsync for more information on the Jobs DESCRIBE command.

Parameters
[in]pRequestInfoJobs request parameters.
[in]executionNumberThe execution number to describe. Optional; pass AWS_IOT_JOBS_NO_EXECUTION_NUMBER to ignore.
[in]includeJobDocumentWhether the response should include the full Job document.
[in]flagsFlags which modify the behavior of the Jobs request. See Jobs Function Flags.
[in]timeoutMsIf a response is not received within this timeout, this function returns AWS_IOT_JOBS_TIMEOUT.
[out]pJobsResponseThe response received from the Jobs service.
Returns
One of the following: