1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
1
Hi Don. The ThingConnectivity
object is returned by the ThingDocument
object:
- https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/IoT/Generated/Model/ThingDocument.cs#L69
- https://docs.aws.amazon.com/iot/latest/apireference/API_ThingDocument.html
You can get a list of ThingDocument
objects by searching the fleet index:
- https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/IoT/MIoTSearchIndexSearchIndexRequest.html
- https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/IoT/TSearchIndexResponse.html
This uses AWS IoT fleet indexing: https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html. So fleet indexing will need to be enabled in your account.
Contenido relevante
- OFICIAL DE AWSActualizada hace 6 meses
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 4 años
- OFICIAL DE AWSActualizada hace 2 meses
Thanks I was able to test this and it works but the delay in status change is too long for our application. We receive the lifecycle events well before the fleet index reports the correct state. This is confirmed in question https://repost.aws/questions/QU5zUQchQ3SWyLWQPeDH7umQ/aws-iot-core-takes-too-long-to-update-the-connectivity-information-of-a-device. We do monitor lifecycle events in a different application and store status in another database, so I will need to tie into that system to get a more reliable result. Thank you for your response.