listPrivateConnections method

Future<ListPrivateConnectionsOutput> listPrivateConnections()

Lists all Private Connections in the caller's account.

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

Implementation

Future<ListPrivateConnectionsOutput> listPrivateConnections() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/private-connections',
    hostPrefix: 'cp.',
    exceptionFnMap: _exceptionFns,
  );
  return ListPrivateConnectionsOutput.fromJson(response);
}