getConnectPeer method
Returns information about a core network Connect peer.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter connectPeerId :
The ID of the Connect peer.
Implementation
Future<GetConnectPeerResponse> getConnectPeer({
required String connectPeerId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/connect-peers/${Uri.encodeComponent(connectPeerId)}',
exceptionFnMap: _exceptionFns,
);
return GetConnectPeerResponse.fromJson(response);
}