copy_db_parameter_group
async
¶
copy_db_parameter_group(
*,
config_overrides: Optional[AsyncNeptuneClientConfig] = None,
source_db_parameter_group_identifier: Optional[String] = None,
target_db_parameter_group_identifier: Optional[String] = None,
target_db_parameter_group_description: Optional[String] = None,
tags: Optional[TagList] = None,
) -> CopyDBParameterGroupResult
Copies the specified DB parameter group.
Parameters:
-
source_db_parameter_group_identifier(Optional[String], default:None) –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. -
The source DB parameter group must be in the same Amazon Region as the copy. Neptune does not support cross-Region copying of parameter groups.
-
-
target_db_parameter_group_identifier(Optional[String], default:None) –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 -
-
target_db_parameter_group_description(Optional[String], default:None) –A description for the copied DB parameter group.
-
tags(Optional[TagList], default:None) –The tags to be assigned to the copied DB parameter group.
Raises:
-
DBParameterGroupAlreadyExistsFault–A DB parameter group with the same name exists.
-
DBParameterGroupNotFoundFault–DBParameterGroupName does not refer to an existing DB parameter group.
-
DBParameterGroupQuotaExceededFault–Request would result in user exceeding the allowed number of DB parameter groups.
-
UnknownServiceError–The service returned an error code this client does not model.