stopDBInstanceAutomatedBackupsReplication method

Future<StopDBInstanceAutomatedBackupsReplicationResult> stopDBInstanceAutomatedBackupsReplication({
  1. required String sourceDBInstanceArn,
})

Stops automated backup replication for a DB instance.

For more information, see Replicating Automated Backups to Another AWS Region in the Amazon RDS User Guide.

May throw DBInstanceNotFoundFault. May throw InvalidDBInstanceStateFault.

Parameter sourceDBInstanceArn : The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

Implementation

Future<StopDBInstanceAutomatedBackupsReplicationResult>
    stopDBInstanceAutomatedBackupsReplication({
  required String sourceDBInstanceArn,
}) async {
  ArgumentError.checkNotNull(sourceDBInstanceArn, 'sourceDBInstanceArn');
  final $request = <String, dynamic>{};
  $request['SourceDBInstanceArn'] = sourceDBInstanceArn;
  final $result = await _protocol.send(
    $request,
    action: 'StopDBInstanceAutomatedBackupsReplication',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['StopDBInstanceAutomatedBackupsReplicationMessage'],
    shapes: shapes,
    resultWrapper: 'StopDBInstanceAutomatedBackupsReplicationResult',
  );
  return StopDBInstanceAutomatedBackupsReplicationResult.fromXml($result);
}