Struct aws_sdk_keyspaces::input::RestoreTableInput
source · [−]#[non_exhaustive]pub struct RestoreTableInput {
pub source_keyspace_name: Option<String>,
pub source_table_name: Option<String>,
pub target_keyspace_name: Option<String>,
pub target_table_name: Option<String>,
pub restore_timestamp: Option<DateTime>,
pub capacity_specification_override: Option<CapacitySpecification>,
pub encryption_specification_override: Option<EncryptionSpecification>,
pub point_in_time_recovery_override: Option<PointInTimeRecovery>,
pub tags_override: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_keyspace_name: Option<String>
The keyspace name of the source table.
source_table_name: Option<String>
The name of the source table.
target_keyspace_name: Option<String>
The name of the target keyspace.
target_table_name: Option<String>
The name of the target table.
restore_timestamp: Option<DateTime>
The restore timestamp in ISO 8601 format.
capacity_specification_override: Option<CapacitySpecification>
Specifies the read/write throughput capacity mode for the target table. The options are:
• throughputMode:PAY_PER_REQUEST
• throughputMode:PROVISIONED
- Provisioned capacity mode requires readCapacityUnits
and writeCapacityUnits
as input.
The default is throughput_mode:PAY_PER_REQUEST
.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
encryption_specification_override: Option<EncryptionSpecification>
Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):
• type:AWS_OWNED_KMS_KEY
- This key is owned by Amazon Keyspaces.
• type:CUSTOMER_MANAGED_KMS_KEY
- This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier
of the KMS key in Amazon Resource Name (ARN) format as input.
The default is type:AWS_OWNED_KMS_KEY
.
For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
point_in_time_recovery_override: Option<PointInTimeRecovery>
Specifies the pointInTimeRecovery
settings for the target table. The options are:
• ENABLED
• DISABLED
If it's not specified, the default is DISABLED
.
For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
A list of key-value pair tags to be attached to the restored table.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
Implementations
sourceimpl RestoreTableInput
impl RestoreTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RestoreTable, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RestoreTable, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RestoreTable
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RestoreTableInput
sourceimpl RestoreTableInput
impl RestoreTableInput
sourcepub fn source_keyspace_name(&self) -> Option<&str>
pub fn source_keyspace_name(&self) -> Option<&str>
The keyspace name of the source table.
sourcepub fn source_table_name(&self) -> Option<&str>
pub fn source_table_name(&self) -> Option<&str>
The name of the source table.
sourcepub fn target_keyspace_name(&self) -> Option<&str>
pub fn target_keyspace_name(&self) -> Option<&str>
The name of the target keyspace.
sourcepub fn target_table_name(&self) -> Option<&str>
pub fn target_table_name(&self) -> Option<&str>
The name of the target table.
sourcepub fn restore_timestamp(&self) -> Option<&DateTime>
pub fn restore_timestamp(&self) -> Option<&DateTime>
The restore timestamp in ISO 8601 format.
sourcepub fn capacity_specification_override(&self) -> Option<&CapacitySpecification>
pub fn capacity_specification_override(&self) -> Option<&CapacitySpecification>
Specifies the read/write throughput capacity mode for the target table. The options are:
• throughputMode:PAY_PER_REQUEST
• throughputMode:PROVISIONED
- Provisioned capacity mode requires readCapacityUnits
and writeCapacityUnits
as input.
The default is throughput_mode:PAY_PER_REQUEST
.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
sourcepub fn encryption_specification_override(
&self
) -> Option<&EncryptionSpecification>
pub fn encryption_specification_override(
&self
) -> Option<&EncryptionSpecification>
Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):
• type:AWS_OWNED_KMS_KEY
- This key is owned by Amazon Keyspaces.
• type:CUSTOMER_MANAGED_KMS_KEY
- This key is stored in your account and is created, owned, and managed by you. This option requires the kms_key_identifier
of the KMS key in Amazon Resource Name (ARN) format as input.
The default is type:AWS_OWNED_KMS_KEY
.
For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
sourcepub fn point_in_time_recovery_override(&self) -> Option<&PointInTimeRecovery>
pub fn point_in_time_recovery_override(&self) -> Option<&PointInTimeRecovery>
Specifies the pointInTimeRecovery
settings for the target table. The options are:
• ENABLED
• DISABLED
If it's not specified, the default is DISABLED
.
For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
A list of key-value pair tags to be attached to the restored table.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
Trait Implementations
sourceimpl Clone for RestoreTableInput
impl Clone for RestoreTableInput
sourcefn clone(&self) -> RestoreTableInput
fn clone(&self) -> RestoreTableInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RestoreTableInput
impl Debug for RestoreTableInput
sourceimpl PartialEq<RestoreTableInput> for RestoreTableInput
impl PartialEq<RestoreTableInput> for RestoreTableInput
sourcefn eq(&self, other: &RestoreTableInput) -> bool
fn eq(&self, other: &RestoreTableInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RestoreTableInput) -> bool
fn ne(&self, other: &RestoreTableInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for RestoreTableInput
Auto Trait Implementations
impl RefUnwindSafe for RestoreTableInput
impl Send for RestoreTableInput
impl Sync for RestoreTableInput
impl Unpin for RestoreTableInput
impl UnwindSafe for RestoreTableInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more