DatabaseMigrationService / Client / reload_replication_tables
reload_replication_tables#
- DatabaseMigrationService.Client.reload_replication_tables(**kwargs)#
- Reloads the target database table with the source data for a given DMS Serverless replication configuration. - You can only use this operation with a task in the RUNNING state, otherwise the service will throw an - InvalidResourceStateFaultexception.- See also: AWS API Documentation - Request Syntax- response = client.reload_replication_tables( ReplicationConfigArn='string', TablesToReload=[ { 'SchemaName': 'string', 'TableName': 'string' }, ], ReloadOption='data-reload'|'validate-only' ) - Parameters:
- ReplicationConfigArn (string) – - [REQUIRED] - The Amazon Resource Name of the replication config for which to reload tables. 
- TablesToReload (list) – - [REQUIRED] - The list of tables to reload. - (dict) – - Provides the name of the schema and table to be reloaded. - SchemaName (string) – [REQUIRED] - The schema name of the table to be reloaded. 
- TableName (string) – [REQUIRED] - The table name of the table to be reloaded. 
 
 
- ReloadOption (string) – Options for reload. Specify - data-reloadto reload the data and re-validate it if validation is enabled. Specify- validate-onlyto re-validate the table. This option applies only when validation is enabled for the replication.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ReplicationConfigArn': 'string' } - Response Structure- (dict) – - ReplicationConfigArn (string) – - The Amazon Resource Name of the replication config for which to reload tables. 
 
 
 - Exceptions- DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault
- DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault