class_docstr: Create or update a specified EventBridge rule.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:EventBridgePutRuleOperator`
  
  :param name: name of the rule to create or update (required)
  :param description: description of the rule
  :param event_bus_name: name or ARN of the event bus to associate with this rule
  :param event_pattern: pattern of events to be matched to this rule
  :param role_arn: the Amazon Resource Name of the IAM role associated with the rule
  :param schedule_expression: the scheduling expression (for example, a cron or rate expression)
  :param state: indicates whether rule is set to be "ENABLED" or "DISABLED"
  :param tags: list of key-value pairs to associate with the rule
  :param aws_conn_id: The Airflow connection used for AWS credentials.
      If this is ``None`` or empty then the default boto3 behaviour is used. If
      running Airflow in a distributed manner and aws_conn_id is None or
      empty, then default boto3 configuration would be used (and must be
      maintained on each worker node).
  :param region_name: AWS region_name. If not specified then the default boto3 behaviour is used.
  :param verify: Whether or not to verify SSL certificates. See:
      https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html
  :param botocore_config: Configuration dictionary (key-values) for botocore client. See:
      https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.htmlt
code: def __init__(
      self,
      *,
      name: str,
      description: str | None = None,
      event_bus_name: str | None = None,
      event_pattern: str | None = None,
      role_arn: str | None = None,
      schedule_expression: str | None = None,
      state: str | None = None,
      tags: list | None = None,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.name = name
      self.description = description
      self.event_bus_name = event_bus_name
      self.event_pattern = event_pattern
      self.role_arn = role_arn
      self.schedule_expression = schedule_expression
      self.state = state
      self.tags = tags
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from airflow.exceptions import AirflowException
  from airflow.providers.amazon.aws.hooks.eventbridge import EventBridgeHook
  from airflow.providers.amazon.aws.operators.base_aws import AwsBaseOperator
  from airflow.providers.amazon.aws.utils.mixins import aws_template_fields
  from airflow.utils.helpers import prune_dict
label_desc: Use image node_id 1 to create a new EventBridgePutRuleOperator object from inherited base classes: AwsBaseOperator with example: obj = EventBridgePutRuleOperator()