getSatellite method

Future<GetSatelliteResponse> getSatellite({
  1. required String satelliteId,
})

Returns a satellite.

May throw InvalidParameterException. May throw DependencyException. May throw ResourceNotFoundException.

Parameter satelliteId : UUID of a satellite.

Implementation

Future<GetSatelliteResponse> getSatellite({
  required String satelliteId,
}) async {
  ArgumentError.checkNotNull(satelliteId, 'satelliteId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/satellite/${Uri.encodeComponent(satelliteId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetSatelliteResponse.fromJson(response);
}