copy_db_parameter_group
(**kwargs)¶Copies the specified DB parameter group.
See also: AWS API Documentation
Request Syntax
response = client.copy_db_parameter_group(
SourceDBParameterGroupIdentifier='string',
TargetDBParameterGroupIdentifier='string',
TargetDBParameterGroupDescription='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
my-db-param-group
, or a valid ARN.[REQUIRED]
The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
[REQUIRED]
A description for the copied DB parameter group.
The tags to be assigned to the copied DB parameter group.
Metadata assigned to an Amazon Neptune resource consisting of a key-value pair.
A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws:
or rds:
. The string can only contain the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").
A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws:
or rds:
. The string can only contain the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").
dict
Response Syntax
{
'DBParameterGroup': {
'DBParameterGroupName': 'string',
'DBParameterGroupFamily': 'string',
'Description': 'string',
'DBParameterGroupArn': 'string'
}
}
Response Structure
(dict) --
DBParameterGroup (dict) --
Contains the details of an Amazon Neptune DB parameter group.
This data type is used as a response element in the DescribeDBParameterGroups action.
DBParameterGroupName (string) --
Provides the name of the DB parameter group.
DBParameterGroupFamily (string) --
Provides the name of the DB parameter group family that this DB parameter group is compatible with.
Description (string) --
Provides the customer-specified description for this DB parameter group.
DBParameterGroupArn (string) --
The Amazon Resource Name (ARN) for the DB parameter group.
Exceptions
Neptune.Client.exceptions.DBParameterGroupNotFoundFault
Neptune.Client.exceptions.DBParameterGroupAlreadyExistsFault
Neptune.Client.exceptions.DBParameterGroupQuotaExceededFault