docs: func UnmarshalError(req *request.Request) {
  	defer req.HTTPResponse.Body.Close()
  
  	var jsonErr jsonErrorResponse
  	err := json.NewDecoder(req.HTTPResponse.Body).Decode(&jsonErr)
  	if err == io.EOF {
  		req.Error = awserr.NewRequestFailure(
  			awserr.New("SerializationError", req.HTTPResponse.Status, nil),
  			req.HTTPResponse.StatusCode,
  			req.RequestID,
  		)
  		return
  	} else if err != nil {
  		req.Error = awserr.NewRequestFailure(
  			awserr.New("SerializationError", "failed decoding JSON RPC error response", err),
  			req.HTTPResponse.StatusCode,
  			req.RequestID,
  		)
  		return
  	}
  
  	codes := strings.SplitN(jsonErr.Code, "#", 2)
  	req.Error = awserr.NewRequestFailure(
  		awserr.New(codes[len(codes)-1], jsonErr.Message, nil),
  		req.HTTPResponse.StatusCode,
  		req.RequestID,
  	)
  }