in lib/aws-record/record/marshalers/list_marshaler.rb [27:38]
def serialize(raw_value)
list = type_cast(raw_value)
if list.is_a?(Array)
list
elsif list.nil?
nil
else
msg = "expected an Array value or nil, got #{list.class}"
raise ArgumentError, msg
end
end