Class Ec2MetadataClientException

    • Method Detail

      • statusCode

        public int statusCode()
        Returns:
        The HTTP status code returned by the IMDS service.
      • 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.