getPrivateGraphEndpoint method

Future<GetPrivateGraphEndpointOutput> getPrivateGraphEndpoint({
  1. required String graphIdentifier,
  2. required String vpcId,
})

Retrieves information about a specified private endpoint.

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

Parameter graphIdentifier : The unique identifier of the Neptune Analytics graph.

Parameter vpcId : The ID of the VPC where the private endpoint is located.

Implementation

Future<GetPrivateGraphEndpointOutput> getPrivateGraphEndpoint({
  required String graphIdentifier,
  required String vpcId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/graphs/${Uri.encodeComponent(graphIdentifier)}/endpoints/${Uri.encodeComponent(vpcId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetPrivateGraphEndpointOutput.fromJson(response);
}