def parameter(parameterName, value):
    """
    Encode a simple parameter for yaml data.

    :param parameterName: Name of yaml parameter.
    :param value: Parameter value in a format suitable for output to yaml.
    :return: Yaml data structure.
    """
    return {parameterName: value}
