copy_db_cluster_parameter_group
¶
copy_db_cluster_parameter_group(
*,
config_overrides: Optional[DocDBClientConfig] = None,
source_db_cluster_parameter_group_identifier: Optional[String] = None,
target_db_cluster_parameter_group_identifier: Optional[String] = None,
target_db_cluster_parameter_group_description: Optional[String] = None,
tags: Optional[TagList] = None,
) -> CopyDBClusterParameterGroupResult
Copies the specified cluster parameter group.
Parameters:
-
source_db_cluster_parameter_group_identifier(Optional[String], default:None) –The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
Constraints:
-
Must specify a valid cluster parameter group.
-
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group, or a valid ARN. -
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group.
-
-
target_db_cluster_parameter_group_identifier(Optional[String], default:None) –The identifier for the copied cluster parameter group.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-param-group1 -
-
target_db_cluster_parameter_group_description(Optional[String], default:None) –A description for the copied cluster parameter group.
-
tags(Optional[TagList], default:None) –The tags that are to be assigned to the parameter group.
Raises:
-
DBParameterGroupAlreadyExistsFault–A parameter group with the same name already exists.
-
DBParameterGroupNotFoundFault–DBParameterGroupNamedoesn't refer to an existing parameter group. -
DBParameterGroupQuotaExceededFault–This request would cause you to exceed the allowed number of parameter groups.
-
UnknownServiceError–The service returned an error code this client does not model.