aws_sdk_databasemigration/client/
reload_tables.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReloadTables`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`replication_task_arn(impl Into<String>)`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::replication_task_arn) / [`set_replication_task_arn(Option<String>)`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::set_replication_task_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the replication task.</p><br>
    ///   - [`tables_to_reload(TableToReload)`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::tables_to_reload) / [`set_tables_to_reload(Option<Vec::<TableToReload>>)`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::set_tables_to_reload):<br>required: **true**<br><p>The name and schema of the table to be reloaded.</p><br>
    ///   - [`reload_option(ReloadOptionValue)`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::reload_option) / [`set_reload_option(Option<ReloadOptionValue>)`](crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::set_reload_option):<br>required: **false**<br><p>Options for reload. Specify <code>data-reload</code> to reload the data and re-validate it if validation is enabled. Specify <code>validate-only</code> to re-validate the table. This option applies only when validation is enabled for the task.</p> <p>Valid values: data-reload, validate-only</p> <p>Default value is data-reload.</p><br>
    /// - On success, responds with [`ReloadTablesOutput`](crate::operation::reload_tables::ReloadTablesOutput) with field(s):
    ///   - [`replication_task_arn(Option<String>)`](crate::operation::reload_tables::ReloadTablesOutput::replication_task_arn): <p>The Amazon Resource Name (ARN) of the replication task.</p>
    /// - On failure, responds with [`SdkError<ReloadTablesError>`](crate::operation::reload_tables::ReloadTablesError)
    pub fn reload_tables(&self) -> crate::operation::reload_tables::builders::ReloadTablesFluentBuilder {
        crate::operation::reload_tables::builders::ReloadTablesFluentBuilder::new(self.handle.clone())
    }
}