1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestoreTableToPointInTime`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`source_table_arn(impl Into<String>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::source_table_arn) / [`set_source_table_arn(Option<String>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_source_table_arn):<br>required: **false**<br><p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p><br>
    ///   - [`source_table_name(impl Into<String>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::source_table_name) / [`set_source_table_name(Option<String>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_source_table_name):<br>required: **false**<br><p>Name of the source table that is being restored.</p><br>
    ///   - [`target_table_name(impl Into<String>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::target_table_name) / [`set_target_table_name(Option<String>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_target_table_name):<br>required: **true**<br><p>The name of the new table to which it must be restored to.</p><br>
    ///   - [`use_latest_restorable_time(bool)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::use_latest_restorable_time) / [`set_use_latest_restorable_time(Option<bool>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_use_latest_restorable_time):<br>required: **false**<br><p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.</p><br>
    ///   - [`restore_date_time(DateTime)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::restore_date_time) / [`set_restore_date_time(Option<DateTime>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_restore_date_time):<br>required: **false**<br><p>Time in the past to restore the table to.</p><br>
    ///   - [`billing_mode_override(BillingMode)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::billing_mode_override) / [`set_billing_mode_override(Option<BillingMode>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::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_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::global_secondary_index_override) / [`set_global_secondary_index_override(Option<Vec::<GlobalSecondaryIndex>>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::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_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::local_secondary_index_override) / [`set_local_secondary_index_override(Option<Vec::<LocalSecondaryIndex>>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::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_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::provisioned_throughput_override) / [`set_provisioned_throughput_override(Option<ProvisionedThroughput>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_provisioned_throughput_override):<br>required: **false**<br><p>Provisioned throughput settings for the restored table.</p><br>
    ///   - [`on_demand_throughput_override(OnDemandThroughput)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::on_demand_throughput_override) / [`set_on_demand_throughput_override(Option<OnDemandThroughput>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::set_on_demand_throughput_override):<br>required: **false**<br><p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p><br>
    ///   - [`sse_specification_override(SseSpecification)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::sse_specification_override) / [`set_sse_specification_override(Option<SseSpecification>)`](crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::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 [`RestoreTableToPointInTimeOutput`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeOutput) with field(s):
    ///   - [`table_description(Option<TableDescription>)`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeOutput::table_description): <p>Represents the properties of a table.</p>
    /// - On failure, responds with [`SdkError<RestoreTableToPointInTimeError>`](crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError)
    pub fn restore_table_to_point_in_time(
        &self,
    ) -> crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder {
        crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeFluentBuilder::new(self.handle.clone())
    }
}