describeNetwork method

Future<DescribeNetworkResponse> describeNetwork({
  1. required String networkId,
})

Get details about a Network.

May throw BadGatewayException. May throw BadRequestException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter networkId : The ID of the network.

Implementation

Future<DescribeNetworkResponse> describeNetwork({
  required String networkId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/prod/networks/${Uri.encodeComponent(networkId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeNetworkResponse.fromJson(response);
}