public interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
|Modifier and Type||Method and Description|
Invoked after an asynchronous request
Invoked after an asynchronous request has completed successfully.
void onError(Exception exception)
void onSuccess(REQUEST request, RESULT result)
request- The initial request created by the caller
result- The successful result of the executed operation.