Skip to content

TopContributor

Source code in docs_src/capo_cloudwatchomni/types/top_contributor.py
class TopContributor(TypedDict, closed=True):
    dimension: NotRequired[
        "capo_cloudwatchomni.types.contributor_dimension.ContributorDimension"
    ]
    """The dimension this contributor is a value of."""
    name: NotRequired["capo_cloudwatchomni.types.contributor_name.ContributorName"]
    """The contributor's name."""
    share: NotRequired["float"]
    """Share attributed to this contributor, from 0.0 to 1.0. The basis differs by dimension: a tool share is a share of the anomalous excess, while an error-class or status-code share is a share of the total. The total is not on the response, so the bases cannot be reconciled — compare shares within a dimension, and do not sum across dimensions."""

dimension instance-attribute

dimension: NotRequired[ContributorDimension]

The dimension this contributor is a value of.

name instance-attribute

name: NotRequired[ContributorName]

The contributor's name.

share instance-attribute

share: NotRequired[float]

Share attributed to this contributor, from 0.0 to 1.0. The basis differs by dimension: a tool share is a share of the anomalous excess, while an error-class or status-code share is a share of the total. The total is not on the response, so the bases cannot be reconciled — compare shares within a dimension, and do not sum across dimensions.