AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ResetDBParameterGroupAsync.

Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z

Syntax

C#
public abstract ResetDBParameterGroupResponse ResetDBParameterGroup(
         ResetDBParameterGroupRequest request
)

Parameters

request
Type: Amazon.Neptune.Model.ResetDBParameterGroupRequest

Container for the necessary parameters to execute the ResetDBParameterGroup service method.

Return Value


The response from the ResetDBParameterGroup service method, as returned by Neptune.

Exceptions

ExceptionCondition
DBParameterGroupNotFoundException DBParameterGroupName does not refer to an existing DB parameter group.
InvalidDBParameterGroupStateException The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state.

Examples

This example resets all parameters for the specified DB parameter group to their default values.

To reset the values of a DB parameter group


var response = client.ResetDBParameterGroup(new ResetDBParameterGroupRequest 
{
    DBParameterGroupName = "mydbparametergroup",
    ResetAllParameters = true
});


            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also