class Aws::Stubbing::DataApplicator
def member_value(ref, value)
def member_value(ref, value) case ref.shape when StructureShape apply_data_to_struct(ref, value, ref.shape.struct_class.new) when ListShape value.inject([]) do |list, v| list << member_value(ref.shape.member, v) end when MapShape value.inject({}) do |map, (k,v)| map[k.to_s] = member_value(ref.shape.value, v) map end else value end end