#[non_exhaustive]pub struct RestoreTableFromBackupInput { /* private fields */ }
Implementations§
source§impl RestoreTableFromBackupInput
impl RestoreTableFromBackupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RestoreTableFromBackup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RestoreTableFromBackup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RestoreTableFromBackup
>
Examples found in repository?
5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RestoreTableFromBackup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RestoreTableFromBackupError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::RestoreTableFromBackupOutput,
aws_smithy_http::result::SdkError<crate::error::RestoreTableFromBackupError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RestoreTableFromBackupInput
.
source§impl RestoreTableFromBackupInput
impl RestoreTableFromBackupInput
sourcepub fn target_table_name(&self) -> Option<&str>
pub fn target_table_name(&self) -> Option<&str>
The name of the new table to which the backup must be restored.
sourcepub fn backup_arn(&self) -> Option<&str>
pub fn backup_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) associated with the backup.
sourcepub fn billing_mode_override(&self) -> Option<&BillingMode>
pub fn billing_mode_override(&self) -> Option<&BillingMode>
The billing mode of the restored table.
sourcepub fn global_secondary_index_override(&self) -> Option<&[GlobalSecondaryIndex]>
pub fn global_secondary_index_override(&self) -> Option<&[GlobalSecondaryIndex]>
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.
sourcepub fn local_secondary_index_override(&self) -> Option<&[LocalSecondaryIndex]>
pub fn local_secondary_index_override(&self) -> Option<&[LocalSecondaryIndex]>
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.
sourcepub fn provisioned_throughput_override(&self) -> Option<&ProvisionedThroughput>
pub fn provisioned_throughput_override(&self) -> Option<&ProvisionedThroughput>
Provisioned throughput settings for the restored table.
sourcepub fn sse_specification_override(&self) -> Option<&SseSpecification>
pub fn sse_specification_override(&self) -> Option<&SseSpecification>
The new server-side encryption settings for the restored table.
Trait Implementations§
source§impl Clone for RestoreTableFromBackupInput
impl Clone for RestoreTableFromBackupInput
source§fn clone(&self) -> RestoreTableFromBackupInput
fn clone(&self) -> RestoreTableFromBackupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more