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.
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
public abstract CopyDBClusterParameterGroupResponse CopyDBClusterParameterGroup( CopyDBClusterParameterGroupRequest request )
Container for the necessary parameters to execute the CopyDBClusterParameterGroup service method.
Exception | Condition |
---|---|
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. |
This example copies 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;
.NET Framework:
Supported in: 4.5 and newer, 3.5