describeMap method

Future<DescribeMapResponse> describeMap({
  1. required String mapName,
})
Retrieves the map resource details.

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

Parameter mapName : The name of the map resource.

Implementation

Future<DescribeMapResponse> describeMap({
  required String mapName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/maps/v0/maps/${Uri.encodeComponent(mapName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeMapResponse.fromJson(response);
}