Skip to content

PlanViolation

Source code in docs_src/capo_amplifygen3/types/plan_violation.py
class PlanViolation(TypedDict, closed=True):
    code: "capo_amplifygen3.types.violation_code.ViolationCode"
    """<p>The code that identifies the type of violation.</p>"""
    message: NotRequired["str"]
    """<p>A human-readable description of the violation.</p>"""
    region_limits: NotRequired[
        "capo_amplifygen3.types.region_limit_list.RegionLimitList"
    ]
    """<p>The per-Region breakdown for a limit that the account exceeds under the target plan.</p>"""
    app_limits: NotRequired["capo_amplifygen3.types.app_limit_list.AppLimitList"]
    """<p>The per-app breakdown for a per-app limit that apps exceed under the target plan.</p>"""
    resources: NotRequired[
        "capo_amplifygen3.types.violation_resource_list.ViolationResourceList"
    ]
    """<p>The resources the target plan does not support.</p>"""

app_limits instance-attribute

app_limits: NotRequired[AppLimitList]

The per-app breakdown for a per-app limit that apps exceed under the target plan.

code instance-attribute

The code that identifies the type of violation.

message instance-attribute

message: NotRequired[str]

A human-readable description of the violation.

region_limits instance-attribute

region_limits: NotRequired[RegionLimitList]

The per-Region breakdown for a limit that the account exceeds under the target plan.

resources instance-attribute

resources: NotRequired[ViolationResourceList]

The resources the target plan does not support.