Skip to content

RuleState

Source code in docs_src/capo_codepipeline/types/rule_state.py
class RuleState(TypedDict, closed=True):
    rule_name: NotRequired["capo_codepipeline.types.rule_name.RuleName"]
    """<p>The name of the rule.</p>"""
    current_revision: NotRequired["capo_codepipeline.types.rule_revision.RuleRevision"]
    """<p>The ID of the current revision of the artifact successfully worked on by the job.</p>"""
    latest_execution: NotRequired[
        "capo_codepipeline.types.rule_execution.RuleExecution"
    ]
    """<p>Represents information about the latest run of an rule.</p>"""
    entity_url: NotRequired["capo_codepipeline.types.url.Url"]
    """<p>A URL link for more information about the state of the action, such as a details page.</p>"""
    revision_url: NotRequired["capo_codepipeline.types.url.Url"]
    """<p>A URL link for more information about the revision, such as a commit details page.</p>"""

current_revision instance-attribute

current_revision: NotRequired[RuleRevision]

The ID of the current revision of the artifact successfully worked on by the job.

entity_url instance-attribute

entity_url: NotRequired[Url]

A URL link for more information about the state of the action, such as a details page.

latest_execution instance-attribute

latest_execution: NotRequired[RuleExecution]

Represents information about the latest run of an rule.

revision_url instance-attribute

revision_url: NotRequired[Url]

A URL link for more information about the revision, such as a commit details page.

rule_name instance-attribute

rule_name: NotRequired[RuleName]

The name of the rule.