Skip to content

CloudWatchClient.describe_alarm_contributors

rboto-cloudwatch==0.4.0 · Service index · Types

Model summary (excerpt): Returns the information of the current alarm contributors that are in ALARM state. This operation returns details about the individual time series that contribute to the alarm's state.

Install and imports

python -m pip install "rboto[cloudwatch]==0.4.0"
from rboto import CloudWatchClient
from rboto_cloudwatch.types import (
    DescribeAlarmContributorsOutput,
)

Signature

async def describe_alarm_contributors(
    *,
    alarm_name: str,
    next_token: str | None = None,
) -> DescribeAlarmContributorsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
alarm_name Yes The name of the alarm for which to retrieve contributor information.
next_token No The token returned by a previous call to indicate that there is more data available.

Output

DescribeAlarmContributorsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
alarm_contributors list[AlarmContributorOutput] | None Always present AlarmContributorOutput
next_token str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

DescribeAlarmContributorsOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.describe_alarm_contributors(...) accepts the same arguments and returns AsyncIterator[DescribeAlarmContributorsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: next_token. Page-size argument: not exposed.

No output stream.

Errors

Import from rboto_cloudwatch.exceptions:

InvalidNextTokenError, ResourceNotFoundExceptionError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model