class_docstr: Contains helper methods for managing EventBridge rules for a feature processor.
class_docstr_tok: ["Contains","helper","methods","for","managing","EventBridge","rules","for","a","feature","processor","."]
docstr: Enables an EventBridge Rule of a given pipeline if there is one.
  
  Args:
      rule_name: The name of the EventBridge Rule.
docstr_tok: ["Enables","an","EventBridge","Rule","of","a","given","pipeline","if","there","is","one",".","Args",":","rule_name",":","The","name","of","the","EventBridge","Rule","."]
code: def enable_rule(self, rule_name: str) -> None:
      """Enables an EventBridge Rule of a given pipeline if there is one.
  
      Args:
          rule_name: The name of the EventBridge Rule.
      """
      self.event_bridge_rule_client.enable_rule(Name=rule_name)
      logger.info(
          "Enabled EventBridge Rule for pipeline %s.", rule_name
      )
  
imports: from __future__ import absolute_import
  import json
  import logging
  import re
  from typing import Dict, List, Tuple, Optional, Any
  import attr
  from botocore.exceptions import ClientError
  from botocore.paginate import PageIterator
  from sagemaker import Session
  from sagemaker.feature_store.feature_processor._feature_processor_pipeline_events import FeatureProcessorPipelineEvents
  from sagemaker.feature_store.feature_processor._constants import RESOURCE_NOT_FOUND_EXCEPTION, PIPELINE_ARN_REGEX_PATTERN, BASE_EVENT_PATTERN
  from sagemaker.feature_store.feature_processor._enums import FeatureProcessorPipelineExecutionStatus
  from sagemaker.utils import TagsDict
label_desc: Use image node_id 7 for calling the EventBridgeRuleHelper obj's underlying member method code with example usage: obj.enable_rule(rule_name) without return types