getManagedThingConnectivityData method

Future<GetManagedThingConnectivityDataResponse> getManagedThingConnectivityData({
  1. required String identifier,
})

Get the connectivity status of a managed thing.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw UnauthorizedException. May throw ValidationException.

Parameter identifier : The identifier of a managed thing.

Implementation

Future<GetManagedThingConnectivityDataResponse>
    getManagedThingConnectivityData({
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/managed-things-connectivity-data/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetManagedThingConnectivityDataResponse.fromJson(response);
}