ManagedintegrationsforIoTDeviceManagement / Client / get_managed_thing_connectivity_data
get_managed_thing_connectivity_data#
- ManagedintegrationsforIoTDeviceManagement.Client.get_managed_thing_connectivity_data(**kwargs)#
Get the connectivity status of a managed thing.
See also: AWS API Documentation
Request Syntax
response = client.get_managed_thing_connectivity_data( Identifier='string' )
- Parameters:
Identifier (string) –
[REQUIRED]
The identifier of a managed thing.
- Return type:
dict
- Returns:
Response Syntax
{ 'ManagedThingId': 'string', 'Connected': True|False, 'Timestamp': datetime(2015, 1, 1), 'DisconnectReason': 'AUTH_ERROR'|'CLIENT_INITIATED_DISCONNECT'|'CLIENT_ERROR'|'CONNECTION_LOST'|'DUPLICATE_CLIENTID'|'FORBIDDEN_ACCESS'|'MQTT_KEEP_ALIVE_TIMEOUT'|'SERVER_ERROR'|'SERVER_INITIATED_DISCONNECT'|'THROTTLED'|'WEBSOCKET_TTL_EXPIRATION'|'CUSTOMAUTH_TTL_EXPIRATION'|'UNKNOWN'|'NONE' }
Response Structure
(dict) –
ManagedThingId (string) –
The id of a managed thing.
Connected (boolean) –
The connectivity status for a managed thing.
Timestamp (datetime) –
The timestamp value of when the connectivity status for a managed thing was last taken.
DisconnectReason (string) –
The reason for the connectivity disconnect with the managed thing.
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.UnauthorizedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceUnavailableException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException