deleteVpcEndpoint method

Future<DeleteVpcEndpointResponse> deleteVpcEndpoint({
  1. required String vpcEndpointId,
})

Deletes an Amazon OpenSearch Service-managed interface VPC endpoint.

May throw BaseException. May throw DisabledOperationException. May throw InternalException. May throw ResourceNotFoundException.

Parameter vpcEndpointId : The unique identifier of the endpoint to be deleted.

Implementation

Future<DeleteVpcEndpointResponse> deleteVpcEndpoint({
  required String vpcEndpointId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2015-01-01/es/vpcEndpoints/${Uri.encodeComponent(vpcEndpointId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteVpcEndpointResponse.fromJson(response);
}