start_data_migration
async
¶
start_data_migration(
data_migration_identifier: String,
start_type: StartReplicationMigrationTypeValue,
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
) -> StartDataMigrationResponse
Starts the specified data migration.
Parameters:
-
data_migration_identifier(String) –The identifier (name or ARN) of the data migration to start.
-
start_type(StartReplicationMigrationTypeValue) –Specifies the start type for the data migration. Valid values include
start-replication,reload-target, andresume-processing.
Raises:
-
FailedDependencyFault–A dependency threw an exception.
-
InvalidOperationFault–The action or operation requested isn't valid.
-
InvalidResourceStateFault–The resource is in a state that prevents it from being used for database migration.
-
ResourceNotFoundFault–The resource could not be found.
-
ResourceQuotaExceededFault–The quota for this resource quota has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_database_migration_service/_services/async_database_migration_service.py
8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 | |