ElastiCache.Client.reset_cache_parameter_group(**kwargs)¶Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
See also: AWS API Documentation
Request Syntax
response = client.reset_cache_parameter_group(
    CacheParameterGroupName='string',
    ResetAllParameters=True|False,
    ParameterNameValues=[
        {
            'ParameterName': 'string',
            'ParameterValue': 'string'
        },
    ]
)
[REQUIRED]
The name of the cache parameter group to reset.
If true , all parameters in the cache parameter group are reset to their default values. If false , only the parameters listed by ParameterNameValues are reset to their default values.
Valid values: true | false
An array of parameter names to reset to their default values. If ResetAllParameters is true , do not use ParameterNameValues . If ResetAllParameters is false , you must specify the name of at least one parameter to reset.
Describes a name-value pair that is used to update the value of a parameter.
The name of the parameter.
The value of the parameter.
dict
Response Syntax
{
    'CacheParameterGroupName': 'string'
}
Response Structure
(dict) --
Represents the output of one of the following operations:
ModifyCacheParameterGroupResetCacheParameterGroupCacheParameterGroupName (string) --
The name of the cache parameter group.
Exceptions
ElastiCache.Client.exceptions.InvalidCacheParameterGroupStateFaultElastiCache.Client.exceptions.CacheParameterGroupNotFoundFaultElastiCache.Client.exceptions.InvalidParameterValueExceptionElastiCache.Client.exceptions.InvalidParameterCombinationExceptionElastiCache.Client.exceptions.InvalidGlobalReplicationGroupStateFaultExamples
Modifies the parameters of a cache parameter group to the engine or system default value.
response = client.reset_cache_parameter_group(
    CacheParameterGroupName='custom-mem1-4',
    ResetAllParameters=True,
)
print(response)
Expected Output:
{
    'CacheParameterGroupName': 'custom-mem1-4',
    'ResponseMetadata': {
        '...': '...',
    },
}