describeRouteCalculator method
Future<DescribeRouteCalculatorResponse>
describeRouteCalculator({
- required String calculatorName,
Retrieves the route calculator resource details.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter calculatorName :
The name of the route calculator resource.
Implementation
Future<DescribeRouteCalculatorResponse> describeRouteCalculator({
required String calculatorName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/routes/v0/calculators/${Uri.encodeComponent(calculatorName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeRouteCalculatorResponse.fromJson(response);
}