getCoreNetwork method

Future<GetCoreNetworkResponse> getCoreNetwork({
  1. required String coreNetworkId,
})

Returns information about the LIVE policy for a core network.

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

Parameter coreNetworkId : The ID of a core network.

Implementation

Future<GetCoreNetworkResponse> getCoreNetwork({
  required String coreNetworkId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/core-networks/${Uri.encodeComponent(coreNetworkId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetCoreNetworkResponse.fromJson(response);
}