class Aws::Stubbing::Protocols::Json
def stub_error(error_code)
def stub_error(error_code) http_resp = Seahorse::Client::Http::Response.new http_resp.status_code = 400 http_resp.body = <<-JSON.strip : #{error_code.inspect}, ge": "stubbed-response-error-message" JSON http_resp end