com.amazonaws.handlers

## インタフェース AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>

-     public interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>

  Callback interface for notification on web service requests executed with the asynchronous clients in the AWS SDK for Java.

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `void` | `onError(java.lang.Exception exception)` Invoked after an asynchronous request
    `void` | `onSuccess(REQUEST request, RESULT result)` Invoked after an asynchronous request has completed successfully.

- - ### メソッドの詳細

    - #### onError

          void onError(java.lang.Exception exception)

      Invoked after an asynchronous request
      パラメータ:
        `exception` -

    - #### onSuccess

          void onSuccess(REQUEST request,
                       RESULT result)

      Invoked after an asynchronous request has completed successfully. Callers have access to the original request object and the returned response object.
      パラメータ:
        `request` - The initial request created by the caller
        `result` - The successful result of the executed operation.