code: @Override
      public DeleteEndpointResult deleteEndpoint(DeleteEndpointRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteEndpoint(request);
      }
docs: <p>
  Deletes the specified endpoint.
  </p>
  <note>
  <p>
  All tasks associated with the endpoint must be deleted before you can delete the endpoint.
  </p>
  </note>
  <p/>
  
  @param deleteEndpointRequest
  @return Result of the DeleteEndpoint operation returned by the service.
  @throws ResourceNotFoundException
  The resource could not be found.
  @throws InvalidResourceStateException
  The resource is in a state that prevents it from being used for database migration.
  @sample AWSDatabaseMigrationService.DeleteEndpoint
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint" target="_top">AWS API
  Documentation</a>