reload_tables
(**kwargs)¶Reloads the target database table with the source data.
You can only use this operation with a task in the RUNNING
state, otherwise the service will throw an InvalidResourceStateFault
exception.
See also: AWS API Documentation
Request Syntax
response = client.reload_tables(
ReplicationTaskArn='string',
TablesToReload=[
{
'SchemaName': 'string',
'TableName': 'string'
},
],
ReloadOption='data-reload'|'validate-only'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the replication task.
[REQUIRED]
The name and schema of the table to be reloaded.
Provides the name of the schema and table to be reloaded.
The schema name of the table to be reloaded.
The table name of the table to be reloaded.
Options for reload. Specify data-reload
to reload the data and re-validate it if validation is enabled. Specify validate-only
to re-validate the table. This option applies only when validation is enabled for the task.
Valid values: data-reload, validate-only
Default value is data-reload.
dict
Response Syntax
{
'ReplicationTaskArn': 'string'
}
Response Structure
(dict) --
ReplicationTaskArn (string) --
The Amazon Resource Name (ARN) of the replication task.
Exceptions
DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault
DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault