Skip to content

RevisionWeight

Source code in docs_src/capo_lambda_web/types/revision_weight.py
class RevisionWeight(TypedDict, closed=True):
    revision_id: "capo_lambda_web.types.revision_id.RevisionId"
    """<p>The identifier of the revision.</p>"""
    weight: "int"
    """<p>The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.</p>"""

revision_id instance-attribute

revision_id: RevisionId

The identifier of the revision.

weight instance-attribute

weight: int

The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.