class Aws::Rest::Response::Parser

def apply(response)

def apply(response)
  # TODO : remove this unless check once response stubbing is fixed
  if rules = response.context.operation.output
    response.data = rules.shape.struct_class.new
    extract_status_code(rules, response)
    extract_headers(rules, response)
    extract_body(rules, response)
  else
    response.data = EmptyStructure.new
  end
end