Interface Context.FailedExecution

    • Method Detail

      • exception

        Throwable exception()
        The exception associated with the failed execution. This is the reason the execution has failed, and is the exception that will be returned or thrown from the client method call. This will never return null.
      • request

        SdkRequest request()
        The latest version of the SdkRequest available when the execution failed. This will never return null.
      • httpRequest

        Optional<software.amazon.awssdk.http.SdkHttpRequest> httpRequest()
        The latest version of the SdkHttpRequest available when the execution failed. This may be a SdkHttpFullRequest; if so, it can be accessed by casting the returned SdkHttpRequest. If the execution failed before or during request marshalling, this will return Optional.empty().
      • httpResponse

        Optional<software.amazon.awssdk.http.SdkHttpResponse> httpResponse()
        The latest version of the SdkHttpResponse available when the execution failed. This may be a SdkHttpFullResponse; if so, it can be accessed by casting the returned SdkHttpResponse. If the execution failed before or during transmission, this will return Optional.empty().