Struct aws_sdk_dynamodb::client::fluent_builders::RestoreTableFromBackup [−][src]
pub struct RestoreTableFromBackup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to RestoreTableFromBackup
.
Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
You can call RestoreTableFromBackup
at a maximum rate of 10 times per
second.
You must manually set up the following on the restored table:
-
Auto scaling policies
-
IAM policies
-
Amazon CloudWatch metrics and alarms
-
Tags
-
Stream settings
-
Time to Live (TTL) settings
Implementations
impl<C, M, R> RestoreTableFromBackup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RestoreTableFromBackup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RestoreTableFromBackupOutput, SdkError<RestoreTableFromBackupError>> where
R::Policy: SmithyRetryPolicy<RestoreTableFromBackupInputOperationOutputAlias, RestoreTableFromBackupOutput, RestoreTableFromBackupError, RestoreTableFromBackupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RestoreTableFromBackupOutput, SdkError<RestoreTableFromBackupError>> where
R::Policy: SmithyRetryPolicy<RestoreTableFromBackupInputOperationOutputAlias, RestoreTableFromBackupOutput, RestoreTableFromBackupError, RestoreTableFromBackupInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the new table to which the backup must be restored.
The name of the new table to which the backup must be restored.
The Amazon Resource Name (ARN) associated with the backup.
The Amazon Resource Name (ARN) associated with the backup.
The billing mode of the restored table.
The billing mode of the restored table.
Appends an item to GlobalSecondaryIndexOverride
.
To override the contents of this collection use set_global_secondary_index_override
.
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.
pub fn set_global_secondary_index_override(
self,
input: Option<Vec<GlobalSecondaryIndex>>
) -> Self
pub fn set_global_secondary_index_override(
self,
input: Option<Vec<GlobalSecondaryIndex>>
) -> Self
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.
Appends an item to LocalSecondaryIndexOverride
.
To override the contents of this collection use set_local_secondary_index_override
.
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.
pub fn set_local_secondary_index_override(
self,
input: Option<Vec<LocalSecondaryIndex>>
) -> Self
pub fn set_local_secondary_index_override(
self,
input: Option<Vec<LocalSecondaryIndex>>
) -> Self
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.
Provisioned throughput settings for the restored table.
pub fn set_provisioned_throughput_override(
self,
input: Option<ProvisionedThroughput>
) -> Self
pub fn set_provisioned_throughput_override(
self,
input: Option<ProvisionedThroughput>
) -> Self
Provisioned throughput settings for the restored table.
The new server-side encryption settings for the restored table.
The new server-side encryption settings for the restored table.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for RestoreTableFromBackup<C, M, R>
impl<C, M, R> Send for RestoreTableFromBackup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RestoreTableFromBackup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RestoreTableFromBackup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for RestoreTableFromBackup<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more