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