1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestoreTableFromBackup`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`target_table_name(impl Into<String>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::target_table_name) / [`set_target_table_name(Option<String>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_target_table_name):<br>required: **true**<br><p>The name of the new table to which the backup must be restored.</p><br>
    ///   - [`backup_arn(impl Into<String>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::backup_arn) / [`set_backup_arn(Option<String>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_backup_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) associated with the backup.</p><br>
    ///   - [`billing_mode_override(BillingMode)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::billing_mode_override) / [`set_billing_mode_override(Option<BillingMode>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_billing_mode_override):<br>required: **false**<br><p>The billing mode of the restored table.</p><br>
    ///   - [`global_secondary_index_override(GlobalSecondaryIndex)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::global_secondary_index_override) / [`set_global_secondary_index_override(Option<Vec::<GlobalSecondaryIndex>>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_global_secondary_index_override):<br>required: **false**<br><p>List of global secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p><br>
    ///   - [`local_secondary_index_override(LocalSecondaryIndex)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::local_secondary_index_override) / [`set_local_secondary_index_override(Option<Vec::<LocalSecondaryIndex>>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_local_secondary_index_override):<br>required: **false**<br><p>List of local secondary indexes for the restored table. The indexes provided should match existing secondary indexes. You can choose to exclude some or all of the indexes at the time of restore.</p><br>
    ///   - [`provisioned_throughput_override(ProvisionedThroughput)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::provisioned_throughput_override) / [`set_provisioned_throughput_override(Option<ProvisionedThroughput>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_provisioned_throughput_override):<br>required: **false**<br><p>Provisioned throughput settings for the restored table.</p><br>
    ///   - [`sse_specification_override(SseSpecification)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::sse_specification_override) / [`set_sse_specification_override(Option<SseSpecification>)`](crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::set_sse_specification_override):<br>required: **false**<br><p>The new server-side encryption settings for the restored table.</p><br>
    /// - On success, responds with [`RestoreTableFromBackupOutput`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput) with field(s):
    ///   - [`table_description(Option<TableDescription>)`](crate::operation::restore_table_from_backup::RestoreTableFromBackupOutput::table_description): <p>The description of the table created from an existing backup.</p>
    /// - On failure, responds with [`SdkError<RestoreTableFromBackupError>`](crate::operation::restore_table_from_backup::RestoreTableFromBackupError)
    pub fn restore_table_from_backup(&self) -> crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder {
        crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupFluentBuilder::new(self.handle.clone())
    }
}