Skip to main content

Module models

Module models 

Source
Expand description

CmdModelFactory — maps dotted model names (iam.users, log.groups, log.group, …) to YAML-backed Vistas, mirroring vantage_aws::models::Factory.

The YAML vistas are bundled with the crate and used as the aws-cli example’s model set. Add a model by dropping a *.yaml in vistas/ and adding it to CmdModelFactory::yaml_for / [known_names].

Structs§

CmdModelFactory
Builds vistas by name off a shared Cmd.

Enums§

FactoryMode
Whether a lookup is naturally a list (plural name) or a single record (singular name).