c7n.exceptions module

exception c7n.exceptions.CustodianError[source]

Bases: Exception

Custodian Exception Base Class

exception c7n.exceptions.DeprecationError[source]

Bases: c7n.exceptions.PolicySyntaxError

Policy using deprecated syntax

exception c7n.exceptions.InvalidOutputConfig[source]

Bases: c7n.exceptions.CustodianError

Invalid configuration for an output

exception c7n.exceptions.PolicyExecutionError[source]

Bases: c7n.exceptions.CustodianError

Error running a Policy.

exception c7n.exceptions.PolicySyntaxError[source]

Bases: c7n.exceptions.CustodianError

Policy Syntax Error

exception c7n.exceptions.PolicyValidationError[source]

Bases: c7n.exceptions.PolicySyntaxError

Policy Validation Error

exception c7n.exceptions.PolicyYamlError[source]

Bases: c7n.exceptions.PolicySyntaxError

Policy Yaml Structural Error

exception c7n.exceptions.ResourceLimitExceeded(msg, limit_type, limit, selection_count, population_count)[source]

Bases: c7n.exceptions.PolicyExecutionError

The policy would have affected more resources than its limit.