stopDbInstanceAutomatedBackupsReplication
inline suspend fun RdsClient.stopDbInstanceAutomatedBackupsReplication(crossinline block: StopDbInstanceAutomatedBackupsReplicationRequest.Builder.() -> Unit): StopDbInstanceAutomatedBackupsReplicationResponse
Stops automated backup replication for a DB instance.
This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL.
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 ends replication of automated backups. Replicated backups are retained
// according to the set backup retention period.
val resp = rdsClient.stopDbInstanceAutomatedBackupsReplication {
sourceDbInstanceArn = "arn:aws:rds:us-east-1:123456789012:db:new-orcl-db"
}
//sampleEnd
}