docs: def encode_list(dynamizer, value):
      """ Encode a list for the DynamoDB format """
      encoded_list = []
      dict(map(dynamizer.raw_encode, value))
      for v in value:
          encoded_type, encoded_value = dynamizer.raw_encode(v)
          encoded_list.append({
              encoded_type: encoded_value,
          })
      return 'L', encoded_list