code: def create_schema(self, hash_key_name, hash_key_proto_value,
                        range_key_name=None, range_key_proto_value=None):
          
          schema = {}
          hash_key = {}
          hash_key['AttributeName'] = hash_key_name
          hash_key_type = self.get_dynamodb_type(hash_key_proto_value)
          hash_key['AttributeType'] = hash_key_type
          schema['HashKeyElement'] = hash_key
          if range_key_name and range_key_proto_value is not None:
              range_key = {}
              range_key['AttributeName'] = range_key_name
              range_key_type = self.get_dynamodb_type(range_key_proto_value)
              range_key['AttributeType'] = range_key_type
              schema['RangeKeyElement'] = range_key
          return Schema(schema)
docs: Create a Schema object used when creating a Table.
  
          :type hash_key_name: str
          :param hash_key_name: The name of the HashKey for the schema.
  
          :type hash_key_proto_value: int|long|float|str|unicode
          :param hash_key_proto_value: A sample or prototype of the type
              of value you want to use for the HashKey.
              
          :type range_key_name: str
          :param range_key_name: The name of the RangeKey for the schema.
              This parameter is optional.
  
          :type range_key_proto_value: int|long|float|str|unicode
          :param range_key_proto_value: A sample or prototype of the type
              of value you want to use for the RangeKey.  This parameter
              is optional.