| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DMS.ReloadTables
Description
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.
Synopsis
- data ReloadTables = ReloadTables' {}
- newReloadTables :: Text -> ReloadTables
- reloadTables_reloadOption :: Lens' ReloadTables (Maybe ReloadOptionValue)
- reloadTables_replicationTaskArn :: Lens' ReloadTables Text
- reloadTables_tablesToReload :: Lens' ReloadTables [TableToReload]
- data ReloadTablesResponse = ReloadTablesResponse' {}
- newReloadTablesResponse :: Int -> ReloadTablesResponse
- reloadTablesResponse_replicationTaskArn :: Lens' ReloadTablesResponse (Maybe Text)
- reloadTablesResponse_httpStatus :: Lens' ReloadTablesResponse Int
Creating a Request
data ReloadTables Source #
See: newReloadTables smart constructor.
Constructors
| ReloadTables' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ReloadTables |
Create a value of ReloadTables with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reloadOption:ReloadTables', reloadTables_reloadOption - 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.
ReloadTables, reloadTables_replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.
$sel:tablesToReload:ReloadTables', reloadTables_tablesToReload - The name and schema of the table to be reloaded.
Request Lenses
reloadTables_reloadOption :: Lens' ReloadTables (Maybe ReloadOptionValue) Source #
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.
reloadTables_replicationTaskArn :: Lens' ReloadTables Text Source #
The Amazon Resource Name (ARN) of the replication task.
reloadTables_tablesToReload :: Lens' ReloadTables [TableToReload] Source #
The name and schema of the table to be reloaded.
Destructuring the Response
data ReloadTablesResponse Source #
See: newReloadTablesResponse smart constructor.
Constructors
| ReloadTablesResponse' | |
Fields
| |
Instances
newReloadTablesResponse Source #
Arguments
| :: Int | |
| -> ReloadTablesResponse |
Create a value of ReloadTablesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ReloadTables, reloadTablesResponse_replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.
$sel:httpStatus:ReloadTablesResponse', reloadTablesResponse_httpStatus - The response's http status code.
Response Lenses
reloadTablesResponse_replicationTaskArn :: Lens' ReloadTablesResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the replication task.
reloadTablesResponse_httpStatus :: Lens' ReloadTablesResponse Int Source #
The response's http status code.