Skip to main content

vantage_aws/vista/
mod.rs

1//! Vista bridge for the AWS backend.
2//!
3//! Construct a `Vista` from a typed `Table<AwsAccount, E>` via
4//! `AwsAccount::vista_factory().from_table(...)`. AWS is read-only at
5//! this stage — the shell advertises only `can_count`. YAML-driven
6//! construction is stubbed; see [`factory::AwsVistaFactory`].
7
8pub mod factory;
9pub mod source;
10pub mod spec;
11
12pub use factory::AwsVistaFactory;
13pub use source::AwsTableShell;
14pub use spec::{AwsColumnExtras, AwsTableExtras, AwsVistaSpec};
15
16use crate::AwsAccount;
17
18impl AwsAccount {
19    /// Return a Vista factory bound to this AWS account.
20    pub fn vista_factory(&self) -> AwsVistaFactory {
21        AwsVistaFactory::new(self.clone())
22    }
23}