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.

Container for the parameters to the CopyDBParameterGroup operation. Copies the specified DB parameter group.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Neptune.AmazonNeptuneRequest
      Amazon.Neptune.Model.CopyDBParameterGroupRequest

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

Syntax

C#
public class CopyDBParameterGroupRequest : AmazonNeptuneRequest
         IAmazonWebServiceRequest

The CopyDBParameterGroupRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property SourceDBParameterGroupIdentifier System.String

Gets and sets the property SourceDBParameterGroupIdentifier.

The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid DB parameter group.

  • Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN.

Public Property Tags System.Collections.Generic.List<Amazon.Neptune.Model.Tag>

Gets and sets the property Tags.

The tags to be assigned to the copied DB parameter group.

Public Property TargetDBParameterGroupDescription System.String

Gets and sets the property TargetDBParameterGroupDescription.

A description for the copied DB parameter group.

Public Property TargetDBParameterGroupIdentifier System.String

Gets and sets the property TargetDBParameterGroupIdentifier.

The identifier for the copied DB parameter group.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

Example: my-db-parameter-group

Examples

This example copies a DB parameter group.

To copy a DB parameter group


var response = client.CopyDBParameterGroup(new CopyDBParameterGroupRequest 
{
    SourceDBParameterGroupIdentifier = "mymysqlparametergroup",
    TargetDBParameterGroupDescription = "My MySQL parameter group copy",
    TargetDBParameterGroupIdentifier = "mymysqlparametergroup-copy"
});

DBParameterGroup dbParameterGroup = response.DBParameterGroup;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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