AWS IoT Device SDK C:
Jobs
AWS IoT Jobs library
|
Return to main page ↑ |
Opaque handles of the Jobs library. More...
Typedefs | |
typedef struct _jobsOperation * | AwsIotJobsOperation_t |
Opaque handle that references an in-progress Jobs operation. More... | |
Opaque handles of the Jobs library.
typedef struct _jobsOperation* AwsIotJobsOperation_t |
Opaque handle that references an in-progress Jobs operation.
Set as an output parameter of AwsIotJobs_GetPendingAsync, AwsIotJobs_StartNextAsync, AwsIotJobs_DescribeAsync, and AwsIotJobs_UpdateAsync. These functions send a message to the Jobs service requesting a Jobs operation; the result of this operation is unknown until the Jobs service sends a response. Therefore, this handle serves as a reference to Jobs operations awaiting a response from the Jobs service.
This reference will be valid from the successful return of AwsIotJobs_GetPendingAsync, AwsIotJobs_StartNextAsync, AwsIotJobs_DescribeAsync, and AwsIotJobs_UpdateAsync. The reference becomes invalid once the completion callback is invoked, or AwsIotJobs_Wait returns.
All instances of AwsIotJobsOperation_t should be initialized with AWS_IOT_JOBS_OPERATION_INITIALIZER.