pub struct DynamoDbClient<'a> { /* private fields */ }Implementations§
Source§impl DynamoDbClient<'_>
impl DynamoDbClient<'_>
Sourcepub async fn tick_ttl(&self) -> Result<TtlTickResponse, Error>
pub async fn tick_ttl(&self) -> Result<TtlTickResponse, Error>
Tick the DynamoDB TTL processor.
Sourcepub async fn save_snapshot(
&self,
data_path: Option<&str>,
) -> Result<DynamoDbSnapshotSaveResponse, Error>
pub async fn save_snapshot( &self, data_path: Option<&str>, ) -> Result<DynamoDbSnapshotSaveResponse, Error>
Write the current DynamoDB state as a canonical snapshot on demand.
With data_path set, the snapshot is written to
<data_path>/dynamodb/snapshot.json; with None, it is written to the
server’s configured persistent store (an error if none is configured).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DynamoDbClient<'a>
impl<'a> !UnwindSafe for DynamoDbClient<'a>
impl<'a> Freeze for DynamoDbClient<'a>
impl<'a> Send for DynamoDbClient<'a>
impl<'a> Sync for DynamoDbClient<'a>
impl<'a> Unpin for DynamoDbClient<'a>
impl<'a> UnsafeUnpin for DynamoDbClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more