getRouteAnalysis method

Future<GetRouteAnalysisResponse> getRouteAnalysis({
  1. required String globalNetworkId,
  2. required String routeAnalysisId,
})

Gets information about the specified route analysis.

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

Parameter globalNetworkId : The ID of the global network.

Parameter routeAnalysisId : The ID of the route analysis.

Implementation

Future<GetRouteAnalysisResponse> getRouteAnalysis({
  required String globalNetworkId,
  required String routeAnalysisId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/global-networks/${Uri.encodeComponent(globalNetworkId)}/route-analyses/${Uri.encodeComponent(routeAnalysisId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetRouteAnalysisResponse.fromJson(response);
}