Skip to content

PutTargetsRequest

Source code in docs_src/capo_eventbridge/types/put_targets_request.py
class PutTargetsRequest(TypedDict, closed=True):
    rule: "capo_eventbridge.types.rule_name.RuleName"
    """<p>The name of the rule.</p>"""
    event_bus_name: NotRequired[
        "capo_eventbridge.types.event_bus_name_or_arn.EventBusNameOrArn"
    ]
    """<p>The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.</p>"""
    targets: "capo_eventbridge.types.target_list.TargetList"
    """<p>The targets to update or add to the rule.</p>"""

event_bus_name instance-attribute

event_bus_name: NotRequired[EventBusNameOrArn]

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

rule instance-attribute

rule: RuleName

The name of the rule.

targets instance-attribute

targets: TargetList

The targets to update or add to the rule.