[][src]Module aws_iam::report

Provides the ability to produce formatted, readable, versions of a policy document.

TBD

Example Usage

This example is not tested
let generator = MarkdownGenerator::default();
report::walk_policy(&policy, &generator, &mut stdout());

Building a new Visitor

TBD

Structs

MarkdownGenerator

This types implements PolicyVisitor, StatementVisitor, and ConditionVisitor to produce Markdown formatted documentation for a Policy.

Traits

ConditionVisitor

Walk the elements of a Condition struct. The implementation of this trait will be called by walk_policy in the following order.

PolicyVisitor

Walk the elements of a Policy struct. The implementation of this trait will be called by walk_policy.

StatementVisitor

Walk the elements of a Statement struct. The implementation of this trait will be called by walk_policy in the following order.

Functions

walk_policy

The entry-point for walking a policy. The visitor implementation will be called in-order with each component of policy and may choose to use the writer.