Trait DynamoClient

Source
pub trait DynamoClient {
    // Required method
    fn client(&self) -> &Client;

    // Provided method
    fn table_name(&self) -> Option<&str> { ... }
}
Expand description

DynamoClient is a trait that provides a DynamoDB client and table name

Required Methods§

Source

fn client(&self) -> &Client

return the DynamoDB client

Provided Methods§

Source

fn table_name(&self) -> Option<&str>

for non-local client, this method returns None

Implementations on Foreign Types§

Source§

impl DynamoClient for Client

Source§

fn client(&self) -> &Client

Implementors§