startDbInstanceAutomatedBackupsReplication
inline suspend fun RdsClient.startDbInstanceAutomatedBackupsReplication(crossinline block: StartDbInstanceAutomatedBackupsReplicationRequest.Builder.() -> Unit): StartDbInstanceAutomatedBackupsReplicationResponse
Enables replication of automated backups to a different Amazon Web Services Region.
This command doesn't apply to RDS Custom.
For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide.
Samples
fun main() {
//sampleStart
// The following example replicates automated backups from a DB instance in the US East (N. Virginia)
// Region. The backup retention period is 14 days.
val resp = rdsClient.startDbInstanceAutomatedBackupsReplication {
sourceDbInstanceArn = "arn:aws:rds:us-east-1:123456789012:db:new-orcl-db"
backupRetentionPeriod = 14
}
//sampleEnd
}