aws_sdk_keyspaces/client/restore_table.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RestoreTable`](crate::operation::restore_table::builders::RestoreTableFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`source_keyspace_name(impl Into<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::source_keyspace_name) / [`set_source_keyspace_name(Option<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_source_keyspace_name):<br>required: **true**<br><p>The keyspace name of the source table.</p><br>
/// - [`source_table_name(impl Into<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::source_table_name) / [`set_source_table_name(Option<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_source_table_name):<br>required: **true**<br><p>The name of the source table.</p><br>
/// - [`target_keyspace_name(impl Into<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::target_keyspace_name) / [`set_target_keyspace_name(Option<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_target_keyspace_name):<br>required: **true**<br><p>The name of the target keyspace.</p><br>
/// - [`target_table_name(impl Into<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::target_table_name) / [`set_target_table_name(Option<String>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_target_table_name):<br>required: **true**<br><p>The name of the target table.</p><br>
/// - [`restore_timestamp(DateTime)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::restore_timestamp) / [`set_restore_timestamp(Option<DateTime>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_restore_timestamp):<br>required: **false**<br><p>The restore timestamp in ISO 8601 format.</p><br>
/// - [`capacity_specification_override(CapacitySpecification)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::capacity_specification_override) / [`set_capacity_specification_override(Option<CapacitySpecification>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_capacity_specification_override):<br>required: **false**<br><p>Specifies the read/write throughput capacity mode for the target table. The options are:</p> <ul> <li> <p><code>throughputMode:PAY_PER_REQUEST</code></p></li> <li> <p><code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p></li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p><br>
/// - [`encryption_specification_override(EncryptionSpecification)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::encryption_specification_override) / [`set_encryption_specification_override(Option<EncryptionSpecification>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_encryption_specification_override):<br>required: **false**<br><p>Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):</p> <ul> <li> <p><code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces.</p></li> <li> <p><code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input.</p></li> </ul> <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p><br>
/// - [`point_in_time_recovery_override(PointInTimeRecovery)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::point_in_time_recovery_override) / [`set_point_in_time_recovery_override(Option<PointInTimeRecovery>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_point_in_time_recovery_override):<br>required: **false**<br><p>Specifies the <code>pointInTimeRecovery</code> settings for the target table. The options are:</p> <ul> <li> <p><code>status=ENABLED</code></p></li> <li> <p><code>status=DISABLED</code></p></li> </ul> <p>If it's not specified, the default is <code>status=DISABLED</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p><br>
/// - [`tags_override(Tag)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::tags_override) / [`set_tags_override(Option<Vec::<Tag>>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_tags_override):<br>required: **false**<br><p>A list of key-value pair tags to be attached to the restored table.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p><br>
/// - [`auto_scaling_specification(AutoScalingSpecification)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::auto_scaling_specification) / [`set_auto_scaling_specification(Option<AutoScalingSpecification>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_auto_scaling_specification):<br>required: **false**<br><p>The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p><br>
/// - [`replica_specifications(ReplicaSpecification)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::replica_specifications) / [`set_replica_specifications(Option<Vec::<ReplicaSpecification>>)`](crate::operation::restore_table::builders::RestoreTableFluentBuilder::set_replica_specifications):<br>required: **false**<br><p>The optional Region specific settings of a multi-Regional table.</p><br>
/// - On success, responds with [`RestoreTableOutput`](crate::operation::restore_table::RestoreTableOutput) with field(s):
/// - [`restored_table_arn(String)`](crate::operation::restore_table::RestoreTableOutput::restored_table_arn): <p>The Amazon Resource Name (ARN) of the restored table.</p>
/// - On failure, responds with [`SdkError<RestoreTableError>`](crate::operation::restore_table::RestoreTableError)
pub fn restore_table(&self) -> crate::operation::restore_table::builders::RestoreTableFluentBuilder {
crate::operation::restore_table::builders::RestoreTableFluentBuilder::new(self.handle.clone())
}
}