@Override
    public StopReplicationTaskResult stopReplicationTask(StopReplicationTaskRequest request) {
        request = beforeClientExecution(request);
        return executeStopReplicationTask(request);
    }
@ Override public StopReplicationTaskResult stopReplicationTask ( StopReplicationTaskRequest request ) { request = beforeClientExecution ( request ) ; return executeStopReplicationTask ( request ) ; }
<p>
Stops the replication task.
</p>
<p/>

@param stopReplicationTaskRequest
@return Result of the StopReplicationTask 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.StopReplicationTask
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask" target="_top">AWS API
Documentation</a>