Skip to content

EventBridgeClient.describe_rule

rboto-eventbridge==0.4.0 · Service index · Types

Model summary (excerpt): Describes the specified rule. DescribeRule does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule .

Install and imports

python -m pip install "rboto[eventbridge]==0.4.0"
from rboto import EventBridgeClient
from rboto_eventbridge.types import (
    DescribeRuleOutput,
)

Signature

async def describe_rule(
    *,
    name: str,
    event_bus_name: str | None = None,
) -> DescribeRuleOutput: ...

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)
name Yes The name of the rule.
event_bus_name No The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

Output

DescribeRuleOutput.

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
name str | None Always present —
arn str | None Always present —
event_pattern str | None Always present —
schedule_expression str | None Always present —
state RuleStateOutput | None Always present RuleStateOutput
description str | None Always present —
role_arn str | None Always present —
managed_by str | None Always present —
event_bus_name str | None Always present —
created_by 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.

DescribeRuleOutput

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

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_eventbridge.exceptions:

InternalError, ResourceNotFoundError.

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

Service guide · Pinned model