class_docstr: Contains helper methods for scheduling events to EventBridge
class_docstr_tok: ["Contains","helper","methods","for","scheduling","events","to","EventBridge"]
docstr: Describe the EventBridge Schedule ARN corresponding to a sagemaker pipeline
  
  Args:
      schedule_name: The name of the EventBridge Schedule.
  Returns:
      Optional[Dict[str, str]] : Describe EventBridge Schedule response if exists.
docstr_tok: ["Describe","the","EventBridge","Schedule","ARN","corresponding","to","a","sagemaker","pipeline","Args",":","schedule_name",":","The","name","of","the","EventBridge","Schedule",".","Returns",":","Optional","[","Dict","[","str",",","str","]","]",":","Describe","EventBridge","Schedule","response","if","exists","."]
code: def describe_schedule(
      self, schedule_name
  ) -> Optional[Dict[str, Any]]:
      """Describe the EventBridge Schedule ARN corresponding to a sagemaker pipeline
  
      Args:
          schedule_name: The name of the EventBridge Schedule.
      Returns:
          Optional[Dict[str, str]] : Describe EventBridge Schedule response if exists.
      """
      try:
          event_bridge_scheduler_response = (
              self.event_bridge_scheduler_client.get_schedule(
                  Name=schedule_name
              )
          )
          return event_bridge_scheduler_response
      except ClientError as e:
          if (
              RESOURCE_NOT_FOUND_EXCEPTION
              == e.response["Error"]["Code"]
          ):
              logger.info(
                  "No EventBridge Schedule found for pipeline %s.",
                  schedule_name,
              )
              return None
          raise e
  
file_path: sagemaker-python-sdk/src/sagemaker/feature_store/feature_processor/_event_bridge_scheduler_helper.py
imports: from __future__ import absolute_import
  import logging
  from datetime import datetime
  from typing import Dict, Optional, Any
  import attr
  from botocore.exceptions import ClientError
  from sagemaker import Session
  from sagemaker.feature_store.feature_processor._constants import EXECUTION_TIME_PIPELINE_PARAMETER, EVENT_BRIDGE_INVOCATION_TIME, NO_FLEXIBLE_TIME_WINDOW, RESOURCE_NOT_FOUND_EXCEPTION
label_desc: Use image node_id 3 for calling the EventBridgeSchedulerHelper obj's underlying member method code with example usage: obj.describe_schedule(schedule_name) and returns: event_bridge_scheduler_response, None