copyDbParameterGroup
abstract suspend fun copyDbParameterGroup(input: CopyDbParameterGroupRequest): CopyDbParameterGroupResponse
Copies the specified DB parameter group.
You can't copy a default DB parameter group. Instead, create a new custom DB parameter group, which copies the default parameters and values for the specified DB parameter group family.
Samples
fun main() {
//sampleStart
// The following example makes a copy of a DB parameter group.
val resp = rdsClient.copyDbParameterGroup {
sourceDbParameterGroupIdentifier = "mydbpg"
targetDbParameterGroupIdentifier = "mydbpgcopy"
targetDbParameterGroupDescription = "Copy of mydbpg parameter group"
}
//sampleEnd
}