Class RetryPolicyContext

    • Method Detail

      • originalRequest

        public SdkRequest originalRequest()
        Returns:
        The original request passed to the client method for an operation.
      • request

        public software.amazon.awssdk.http.SdkHttpFullRequest request()
        Returns:
        The marshalled request.
      • exception

        public SdkException exception()
        Returns:
        The last seen exception for the request.
      • executionAttributes

        public ExecutionAttributes executionAttributes()
        Returns:
        Mutable execution context.
      • retriesAttempted

        public int retriesAttempted()
        Returns:
        Number of retries attempted thus far.
      • totalRequests

        public int totalRequests()
        Returns:
        The total number of requests made thus far.
      • httpStatusCode

        public Integer httpStatusCode()
        Returns:
        HTTP status code of response. May be null if no response was received from the service.