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 cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect.

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon Neptune to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon Neptune console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.

Note:

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

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

Syntax

C#
public abstract ModifyDBClusterParameterGroupResponse ModifyDBClusterParameterGroup(
         ModifyDBClusterParameterGroupRequest request
)
Parameters
request
Type: Amazon.Neptune.Model.ModifyDBClusterParameterGroupRequest

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

Return Value
The response from the ModifyDBClusterParameterGroup 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 immediately changes the specified setting for the specified DB cluster parameter group.

To change DB cluster parameter group settings


var response = client.ModifyDBClusterParameterGroup(new ModifyDBClusterParameterGroupRequest 
{
    DBClusterParameterGroupName = "mydbclusterparametergroup",
    Parameters = new List<Parameter> {
        new Parameter {
            ApplyMethod = "immediate",
            ParameterName = "time_zone",
            ParameterValue = "America/Phoenix"
        }
    }
});


            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also