Class AwsErrorDetails

    • Method Detail

      • serviceName

        public String serviceName()
        Returns the name of the service as defined in the static constant SERVICE_NAME variable of each service's interface.
        Returns:
        The name of the service that sent this error response.
      • errorMessage

        public String errorMessage()
        Returns:
        the human-readable error message provided by the service.
      • errorCode

        public String errorCode()
        Returns the error code associated with the response.
      • rawResponse

        public SdkBytes rawResponse()
        Returns the response payload as bytes.
      • sdkHttpResponse

        public SdkHttpResponse sdkHttpResponse()
        Returns a map of HTTP headers associated with the error response.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object