Skip to main content

Module models

Module models 

Source
Expand description

Ready-made tables to skip the table-name dance.

CloudWatch Logs (JSON-1.1, under logs):

ECS (JSON-1.1, under ecs):

IAM (Query, under iam):

S3 (REST-XML, under s3):

Lambda (REST-JSON, under lambda):

DynamoDB (JSON-1.0, under dynamodb):

§Generic factory (Factory)

Wraps every table above behind dotted-string names (iam.users, log.group, ecs.task_definitions, …) and a single Factory::from_arn entry point. Powers the aws-cli example (which adapts it to vantage_cli_util’s ModelFactory trait); anything else that needs a generic, type-erased AWS table by name can reuse it without dragging in a CLI rendering crate.

let aws = AwsAccount::from_default()?;
let mut groups = groups_table(aws);
groups.add_condition(eq("logGroupNamePrefix", "/aws/lambda/"));

Modules§

dynamodb
Ready-made DynamoDB tables — table-level metadata only.
ecs
Ready-made ECS tables — clusters, services, tasks, task definitions.
iam
Ready-made IAM tables.
lambda
Ready-made Lambda tables — functions, aliases, versions.
logs
Ready-made CloudWatch Logs tables — log groups, log streams, log events. All speak JSON-1.1.
s3
Ready-made S3 tables — buckets, objects.

Structs§

Factory
Generic, type-erased model factory.

Enums§

FactoryMode
Whether a Factory lookup should drop into list mode (returning every matching record) or single-record mode (returning just the first match).