AWS IoT Device SDK C: Fleet Provisioning
AWS IoT Fleet Provisioning
Return to main page ↑
AwsIotProvisioningRegisterThingResponse_t Struct Reference

Aggregates the AWS IoT Core server response data sent for the request to provision device. More...

#include <aws_iot_provisioning_types.h>

Data Fields

AwsIotProvisioningServerStatusCode_t statusCode
 The highest level HTTP based status code sent by the server. More...
 
union {
   struct {
      const char *   pThingName
 The name of the Thing resource that was created to provision the device. More...
 
      size_t   thingNameLength
 A list of device configuration data that is received from the server.
 
      const AwsIotProvisioningResponseDeviceConfigurationEntry_t *   pDeviceConfigList
 The number of configuration entries in the device configuration list.
 
      size_t   numOfConfigurationEntries
 
   }   acceptedResponse
 Represents the information received as response from the AWS IoT Core service when the request for provisioning device with the Fleet Provisioning feature is successful. More...
 
   AwsIotProvisioningRejectedResponse_t   rejectedResponse
 
u
 Valid member depends on operation status.
 

Detailed Description

Aggregates the AWS IoT Core server response data sent for the request to provision device.

Parameter for: Response Callback function of AwsIotProvisioning_RegisterThing

The AwsIotProvisioning_RegisterThing library API passes this object as a parameter to a user-provided callback function whenever the operation completes with a response from the server.

Field Documentation

◆ statusCode

AwsIotProvisioningServerStatusCode_t AwsIotProvisioningRegisterThingResponse_t::statusCode

The highest level HTTP based status code sent by the server.

<

◆ pThingName

const char* AwsIotProvisioningRegisterThingResponse_t::pThingName

The name of the Thing resource that was created to provision the device.

<The length of the Thing resource name.

◆ acceptedResponse

struct { ... } AwsIotProvisioningRegisterThingResponse_t::acceptedResponse

Represents the information received as response from the AWS IoT Core service when the request for provisioning device with the Fleet Provisioning feature is successful.

Represents the rejected response information received from the server.


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