getConnectivityInfo method
Retrieves the connectivity information for a core.
May throw BadRequestException. May throw InternalServerErrorException.
Parameter thingName
:
The thing name.
Implementation
Future<GetConnectivityInfoResponse> getConnectivityInfo({
required String thingName,
}) async {
ArgumentError.checkNotNull(thingName, 'thingName');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/things/${Uri.encodeComponent(thingName)}/connectivityInfo',
exceptionFnMap: _exceptionFns,
);
return GetConnectivityInfoResponse.fromJson(response);
}