class Aws::Stubbing::EmptyStub

def stub_scalar(ref)

def stub_scalar(ref)
  case ref.shape
  when StringShape then ref.shape.name || 'string'
  when IntegerShape then 0
  when FloatShape then 0.0
  when BooleanShape then false
  when TimestampShape then Time.now
  else nil
  end
end