deleteManagedEndpoint method

Future<DeleteManagedEndpointResponse> deleteManagedEndpoint({
  1. required String id,
  2. required String virtualClusterId,
})

Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

May throw InternalServerException. May throw ValidationException.

Parameter id : The ID of the managed endpoint.

Parameter virtualClusterId : The ID of the endpoint's virtual cluster.

Implementation

Future<DeleteManagedEndpointResponse> deleteManagedEndpoint({
  required String id,
  required String virtualClusterId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/virtualclusters/${Uri.encodeComponent(virtualClusterId)}/endpoints/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteManagedEndpointResponse.fromJson(response);
}