28 #ifndef AWS_IOT_JOBS_H_ 29 #define AWS_IOT_JOBS_H_ 32 #include "iot_config.h" 410 int32_t executionNumber,
411 bool includeJobDocument,
449 int32_t executionNumber,
450 bool includeJobDocument,
747 const char * pThingName,
748 size_t thingNameLength,
840 const char * pThingName,
841 size_t thingNameLength,
struct _jobsOperation * AwsIotJobsOperation_t
Opaque handle that references an in-progress Jobs operation.
Definition: aws_iot_jobs_types.h:66
AwsIotJobsError_t AwsIotJobs_DescribeAsync(const AwsIotJobsRequestInfo_t *pRequestInfo, int32_t executionNumber, bool includeJobDocument, uint32_t flags, const AwsIotJobsCallbackInfo_t *pCallbackInfo, AwsIotJobsOperation_t *const pDescribeOperation)
Get detailed information about a job execution and receive an asynchronous notification when the resp...
Definition: aws_iot_jobs_api.c:1165
Output parameter of blocking Jobs API functions.
Definition: aws_iot_jobs_types.h:649
AwsIotJobsError_t AwsIotJobs_UpdateSync(const AwsIotJobsRequestInfo_t *pRequestInfo, const AwsIotJobsUpdateInfo_t *pUpdateInfo, uint32_t flags, uint32_t timeoutMs, AwsIotJobsResponse_t *const pJobsResponse)
Update the status of a job execution with a timeout for receiving the response.
Definition: aws_iot_jobs_api.c:1342
AwsIotJobsError_t AwsIotJobs_GetPendingSync(const AwsIotJobsRequestInfo_t *pRequestInfo, uint32_t flags, uint32_t timeoutMs, AwsIotJobsResponse_t *const pJobsResponse)
Get the list of all pending jobs for a Thing with a timeout for receiving the response.
Definition: aws_iot_jobs_api.c:1028
AwsIotJobsError_t
Return codes of Jobs functions.
Definition: aws_iot_jobs_types.h:87
Common information provided to Jobs requests.
Definition: aws_iot_jobs_types.h:569
struct _mqttConnection * IotMqttConnection_t
AwsIotJobsError_t AwsIotJobs_Wait(AwsIotJobsOperation_t operation, uint32_t timeoutMs, AwsIotJobsResponse_t *const pJobsResponse)
Wait for a Jobs operation to complete.
Definition: aws_iot_jobs_api.c:1374
AwsIotJobsError_t AwsIotJobs_SetNotifyPendingCallback(IotMqttConnection_t mqttConnection, const char *pThingName, size_t thingNameLength, uint32_t flags, const AwsIotJobsCallbackInfo_t *pNotifyPendingCallback)
Set a callback to be invoked when the list of pending Jobs changes.
Definition: aws_iot_jobs_api.c:1454
AwsIotJobState_t
Possible states of jobs.
Definition: aws_iot_jobs_types.h:358
AwsIotJobsError_t AwsIotJobs_DescribeSync(const AwsIotJobsRequestInfo_t *pRequestInfo, int32_t executionNumber, bool includeJobDocument, uint32_t flags, uint32_t timeoutMs, AwsIotJobsResponse_t *const pJobsResponse)
Get detailed information about a job execution with a timeout for receiving the response.
Definition: aws_iot_jobs_api.c:1233
Information on a user-provided Jobs callback function.
Definition: aws_iot_jobs_types.h:501
Information on a Job update for AwsIotJobs_StartNextAsync and AwsIotJobs_UpdateAsync. These functions modify a Job's state.
Definition: aws_iot_jobs_types.h:666
AwsIotJobsError_t AwsIotJobs_StartNextAsync(const AwsIotJobsRequestInfo_t *pRequestInfo, const AwsIotJobsUpdateInfo_t *pUpdateInfo, uint32_t flags, const AwsIotJobsCallbackInfo_t *pCallbackInfo, AwsIotJobsOperation_t *const pStartNextOperation)
Start the next pending job execution for a Thing and receive an asynchronous notification when the re...
Definition: aws_iot_jobs_api.c:1058
AwsIotJobsError_t AwsIotJobs_UpdateAsync(const AwsIotJobsRequestInfo_t *pRequestInfo, const AwsIotJobsUpdateInfo_t *pUpdateInfo, uint32_t flags, const AwsIotJobsCallbackInfo_t *pCallbackInfo, AwsIotJobsOperation_t *const pUpdateOperation)
Update the status of a job execution and receive an asynchronous notification when the Job update com...
Definition: aws_iot_jobs_api.c:1267
const char * AwsIotJobs_strerror(AwsIotJobsError_t status)
Returns a string that describes an AwsIotJobsError_t.
Definition: aws_iot_jobs_api.c:1490
AwsIotJobsError_t AwsIotJobs_SetNotifyNextCallback(IotMqttConnection_t mqttConnection, const char *pThingName, size_t thingNameLength, uint32_t flags, const AwsIotJobsCallbackInfo_t *pNotifyNextCallback)
Set a callback to be invoked when the next pending Job changes.
Definition: aws_iot_jobs_api.c:1472
Types of the Jobs library.
const char * AwsIotJobs_StateName(AwsIotJobState_t state)
Returns a string that describes an AwsIotJobState_t.
Definition: aws_iot_jobs_api.c:1578
void AwsIotJobs_Cleanup(void)
One-time deinitialization function for the Jobs library.
Definition: aws_iot_jobs_api.c:929
AwsIotJobsError_t AwsIotJobs_Init(uint32_t mqttTimeoutMs)
One-time initialization function for the Jobs library.
Definition: aws_iot_jobs_api.c:887
AwsIotJobsError_t AwsIotJobs_GetPendingAsync(const AwsIotJobsRequestInfo_t *pRequestInfo, uint32_t flags, const AwsIotJobsCallbackInfo_t *pCallbackInfo, AwsIotJobsOperation_t *const pGetPendingOperation)
Get the list of all pending jobs for a Thing and receive an asynchronous notification when the respon...
Definition: aws_iot_jobs_api.c:966
AwsIotJobsError_t AwsIotJobs_StartNextSync(const AwsIotJobsRequestInfo_t *pRequestInfo, const AwsIotJobsUpdateInfo_t *pUpdateInfo, uint32_t flags, uint32_t timeoutMs, AwsIotJobsResponse_t *const pJobsResponse)
Start the next pending job execution for a Thing with a timeout for receiving the response...
Definition: aws_iot_jobs_api.c:1133
AwsIotJobsError_t AwsIotJobs_RemovePersistentSubscriptions(const AwsIotJobsRequestInfo_t *pRequestInfo, uint32_t flags)
Remove persistent Jobs operation topic subscriptions.
Definition: aws_iot_jobs_subscription.c:432