AWS IoT Device SDK C: Jobs
AWS IoT Jobs library
Return to main page ↑
_jobsOperation_t Struct Reference

Internal structure representing a single Jobs operation. More...

#include <aws_iot_jobs_internal.h>

Data Fields

IotLink_t link
 List link member.
 
_jobsOperationType_t type
 Operation type.
 
uint32_t flags
 Flags passed to operation API function.
 
AwsIotJobsError_t status
 Status of operation.
 
IotMqttConnection_t mqttConnection
 MQTT connection associated with this operation.
 
_jobsSubscription_tpSubscription
 Jobs subscriptions object associated with this operation.
 
const char * pJobsRequest
 JSON document to send to the Jobs service.
 
size_t jobsRequestLength
 Length of _jobsOperation_t.pJobsRequest.
 
const char * pClientToken
 Client token sent with request.
 
size_t clientTokenLength
 Length of _jobsOperation_t.pClientToken.
 
const char * pJobsResponse
 Response received from the Jobs service.
 
size_t jobsResponseLength
 Length of _jobsOperation_t.pJobsResponse.
 
void *(* mallocResponse )(size_t)
 Function to allocate memory for an incoming Jobs response. More...
 
union {
   IotSemaphore_t   waitSemaphore
 Semaphore to be used with AwsIotJobs_Wait.
 
   AwsIotJobsCallbackInfo_t   callback
 User-provided callback function and parameter.
 
notify
 How to notify of an operation's completion.
 
size_t jobIdLength
 Length of _jobsOperation_t.pJobId.
 
char pJobId []
 Job ID, saved for DESCRIBE and UPDATE operations.
 

Detailed Description

Internal structure representing a single Jobs operation.

A list of these structures keeps track of all in-progress Jobs operations.

Field Documentation

◆ mallocResponse

void*( * _jobsOperation_t::mallocResponse) (size_t)

Function to allocate memory for an incoming Jobs response.

Only used when the flag AWS_IOT_JOBS_FLAG_WAITABLE is set.


The documentation for this struct was generated from the following file: