reboot_replication_instance
async
¶
reboot_replication_instance(
replication_instance_arn: String,
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
force_failover: Optional[BooleanOptional] = None,
force_planned_failover: Optional[BooleanOptional] = None,
) -> RebootReplicationInstanceResponse
Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.
Parameters:
-
replication_instance_arn(String) –The Amazon Resource Name (ARN) of the replication instance.
-
force_failover(Optional[BooleanOptional], default:None) –If this parameter is
true, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specifytrue. (--force-planned-failoverand--force-failovercan't both be set totrue.) -
force_planned_failover(Optional[BooleanOptional], default:None) –If this parameter is
true, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specifytrue. (--force-planned-failoverand--force-failovercan't both be set totrue.)
Raises:
-
InvalidResourceStateFault–The resource is in a state that prevents it from being used for database migration.
-
ResourceNotFoundFault–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.