+
     Ii  c                   sd    ^ RI t Rs] P                  ! ]4      t ! R R4      t ! R R4      tR tR# )i    Nc                   s&   a  ] tR t^t o R tRtV tR# )BaseHistoryHandlerc                s    \        R 4      h)zemit())ZNotImplementedError)self
event_typepayloadsources   &&&&5/usr/lib/python3.14/site-packages/botocore/history.pyemitZBaseHistoryHandler.emit   s    !(++     N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell__Z__classdict__   @r   r    r       s     , ,r   r    c                   sB   a  ] tR t^t o R tR tR tR tRR ltRt	V t
R# )	HistoryRecorderc                s"    R V n         . V n        R# FN_enabled	_handlersr      &r   __init__ZHistoryRecorder.__init__   s    r   c                    R V n         R# )TNr   r   r   r   enableZHistoryRecorder.enable   s	    r   c                r   r   r   r   r   r   disableZHistoryRecorder.disable    s	    r   c                s<    V P                   P                  V4       R # N)r   Zappend)r   handlers   &&r   add_handlerZHistoryRecorder.add_handler#   s    g&r   c                s    V P                   '       d=   V P                  '       d)   V P                   F  p VP                  WV4       K  	  R# R# R#   \         d    \        P                  R TRR7        KF  i ; i)zException raised in %s.T)Zexc_infoN)r   r   r   Z	ExceptionloggerZdebug)r   r   r   r   r   s   &&&& r   recordZHistoryRecorder.record&   sf    ===T^^^>>LLf= * ,= !  LL17T ! s   A#A87A8r   N)ZBOTOCORE)r	   r
   r   r   r   r   r   r   r!   r   r   r   r   r   r   r      s#     '
 
r   r   c                  s2    \         f   \        4       s \         # r   )HISTORY_RECORDERr   r   r   r   get_global_history_recorderr#   3   s    *,r   )Zloggingr"   Z	getLoggerr	   r    r    r   r#   r   r   r   <module>r$      s9     			8	$, ,
 6r   