'The ModifyCacheParameterGroup operation modifies the
parameters of a cache parameter group. You can modify up to 20
parameters in a single request by submitting a list parameter
name and value pairs.
:type cache_parameter_group_name: string
:param cache_parameter_group_name: The name of the cache parameter
group to modify.
:type parameter_name_values: list
:param parameter_name_values: An array of parameter names and values
for the parameter update. You must supply at least one parameter
name and value; subsequent arguments are optional. A maximum of 20
parameters may be modified per request.'

def modify_cache_parameter_group(self, cache_parameter_group_name, parameter_name_values):

    params = {'CacheParameterGroupName': cache_parameter_group_name}
    self.build_complex_list_params(params, parameter_name_values, 'ParameterNameValues.member', ('ParameterName', 'ParameterValue'))
    return self._make_request(action='ModifyCacheParameterGroup', verb='POST', path='/', params=params)
