stop_db_instance_automated_backups_replication
async
¶
stop_db_instance_automated_backups_replication(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
source_db_instance_arn: Optional[String] = None,
) -> StopDBInstanceAutomatedBackupsReplicationResult
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.
Parameters:
-
source_db_instance_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating automate backups, for example,
arn:aws:rds:us-west-2:123456789012:db:mydatabase.
Raises:
-
DBInstanceNotFoundFault–DBInstanceIdentifierdoesn't refer to an existing DB instance. -
InvalidDBInstanceStateFault–The DB instance isn't in a valid state.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To stop replicating automated backups The following example ends replication of automated backups. Replicated backups are retained according to the set backup retention period.
>>> await client.stop_db_instance_automated_backups_replication(source_db_instance_arn='arn:aws:rds:us-east-1:123456789012:db:new-orcl-db')
Source code in docs_src/capo_rds/_services/async_rds.py
15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 | |