class Aws::ClientStubs::Stub

def empty_stub(data)

def empty_stub(data)
  if data.empty?
    Structure.new(data)
  else
    msg = 'unable to generate a stubbed response from the given data; '
    msg << 'this operation does not return data'
    raise ArgumentError, msg
  end
end