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.

Copies the specified DB cluster parameter group.

Note:

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

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

Syntax

C#
public abstract CopyDBClusterParameterGroupResponse CopyDBClusterParameterGroup(
         CopyDBClusterParameterGroupRequest request
)

Parameters

request
Type: Amazon.Neptune.Model.CopyDBClusterParameterGroupRequest

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

Return Value


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

Exceptions

ExceptionCondition
DBParameterGroupAlreadyExistsException A DB parameter group with the same name exists.
DBParameterGroupNotFoundException DBParameterGroupName does not refer to an existing DB parameter group.
DBParameterGroupQuotaExceededException Request would result in user exceeding the allowed number of DB parameter groups.

Examples

This example copies a DB cluster parameter group.

To copy a DB cluster parameter group


var response = client.CopyDBClusterParameterGroup(new CopyDBClusterParameterGroupRequest 
{
    SourceDBClusterParameterGroupIdentifier = "mydbclusterparametergroup",
    TargetDBClusterParameterGroupDescription = "My DB cluster parameter group copy",
    TargetDBClusterParameterGroupIdentifier = "mydbclusterparametergroup-copy"
});

DBClusterParameterGroup dbClusterParameterGroup = response.DBClusterParameterGroup;

            

Version Information

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

See Also