ó
    Û°›jƒ  ã                   ót   • S SK r S SKJr  S SKJr  S SKJr  S SKJr  S SK	J
r
  S SKJr   " S S	5      r SS
 jrg)é    N)Ú
xform_name)ÚOrderedDict)ÚDocumentStructure)Údocument_model_driven_method)ÚDocumentedShape)Úget_service_module_namec                   ó,   • \ rS rSrS rS rS rS rSrg)ÚWaiterDocumenteré   c                 óÞ   • Xl         U R                   R                  R                  U l        U R                   R                  R
                  R                  U l        X l        X0l	        SU l
        g )NzChttps://docs.aws.amazon.com/boto3/latest/guide/clients.html#waiters)Ú_clientÚ	__class__Ú__name__Ú_client_class_nameÚmetaÚservice_modelÚservice_nameÚ_service_nameÚ_service_waiter_modelÚ_root_docs_pathÚ_USER_GUIDE_LINK)ÚselfÚclientÚservice_waiter_modelÚroot_docs_paths       ÚQ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/botocore/docs/waiter.pyÚ__init__ÚWaiterDocumenter.__init__   sV   € ØŒØ"&§,¡,×"8Ñ"8×"AÑ"AˆÔØ!Ÿ\™\×.Ñ.×<Ñ<×IÑIˆÔØ%9Ô"Ø-Ôð6ð 	Õó    c                 ó6  • UR                   R                  S5        U R                  U5        UR                   R                  5         UR	                  S5        UR                   R                  5         U R                  R                   HŽ  nUR                   R                  U R                   SU 35        [        USS9nU R                  X25        [        R                  R                  U R                  U R                  S5      nUR!                  XB5        M�     g)zWDocuments the various waiters for a service.

:param section: The section to write to.
ÚWaiterszThe available waiters are:z/waiter/Úhtml)ÚtargetÚwaiterN)ÚstyleÚh2Ú_add_overviewÚnew_lineÚwritelnÚtoctreer   Úwaiter_namesÚtocitemr   r   Ú_add_single_waiterÚosÚpathÚjoinr   Úwrite_to_file)r   ÚsectionÚwaiter_nameÚwaiter_doc_structureÚwaiter_dir_paths        r   Údocument_waitersÚ!WaiterDocumenter.document_waiters#   sä   € ð
 	�‰×Ñ˜Ô#Ø×Ñ˜7Ô#Ø�‰×ÑÔ Ø�‰Ð4Ô5Ø�‰×ÑÔØ×5Ñ5×BÔBˆKØ�M‰M×!Ñ! T×%7Ñ%7Ð$8¸ÀÀÐ"NÔOä#4Ø Fñ$Ð ð ×#Ñ#Ð$8ÔFô !Ÿg™gŸl™lØ×$Ñ$ d×&8Ñ&8¸(óˆOð !×.Ñ.¨ÖLò Cr   c                 óú  • UR                  S5      nUR                  R                  U R                  SU R                   35        UR                  SU 35        UR                  U5        UR                  U5      nUR                  R                  U R                   SU 3S9  UR                  R                  5         UR                  R                  5         UR                  S[        U5       S35        UR                  R                  5         UR                  R                  5         [        UUU R                  R                  R                  U R                  R                  R                   U R"                  S9  g )	NÚ
breadcrumbz../../z / Waiter / z.Waiter.)Ú
class_namezwaiter = client.get_waiter('z'))r2   r3   Úevent_emitterr   r   )Úadd_new_sectionr%   Úrefr   r   ÚwriteÚadd_title_sectionÚstart_sphinx_py_classÚstart_codeblockr(   r   Úend_codeblockÚdocument_wait_methodr   r   Úeventsr   r   )r   r2   r3   Úbreadcrumb_sectionÚwaiter_sections        r   r-   Ú#WaiterDocumenter._add_single_waiter;   sN  € Ø$×4Ñ4°\ÓBÐØ× Ñ ×$Ñ$Ø×#Ñ# v¨d×.@Ñ.@Ð-AÐ%Bô	
ð 	× Ñ  <°¨}Ð!=Ô>Ø×!Ñ! +Ô.Ø ×0Ñ0°Ó=ˆØ×Ñ×2Ñ2Ø×1Ñ1Ð2°(¸;¸-ÐHð 	3ñ 	
ð
 	×Ñ×,Ñ,Ô.Ø×Ñ×%Ñ%Ô'Ø×ÑØ+¬J°{Ó,CÐ+DÀCÐHô	
ð 	×Ñ×*Ñ*Ô,ð 	×Ñ×%Ñ%Ô'ÜØ"Ø#ØŸ,™,×+Ñ+×2Ñ2ØŸ,™,×+Ñ+×9Ñ9Ø!%×!;Ñ!;ó	
r   c                 óø   • UR                   R                  5         UR                  S5        UR                   R                  SU R                  S9  UR                  S5        UR                   R                  5         g )NzŸWaiters are available on a client instance via the ``get_waiter`` method. For more detailed instructions and examples on the usage or waiters, see the waiters z
user guide)ÚtitleÚlinkÚ.)r%   r(   r>   Úexternal_linkr   )r   r2   s     r   r'   ÚWaiterDocumenter._add_overviewY   sf   € Ø�‰×ÑÔ Ø�‰ðô	
ð 	�‰×#Ñ#ØØ×&Ñ&ð 	$ñ 	
ð 	�‰�cÔØ�‰×ÑÕ r   )r   r   r   r   r   r   N)	r   Ú
__module__Ú__qualname__Ú__firstlineno__r   r6   r-   r'   Ú__static_attributes__© r   r   r
   r
      s   † ò	
òMò0
õ<!r   r
   c                 óš  • UR                  U5      nUR                  UR                  5      n[        5       n[	        SSSUR
                   S3S9US'   [	        SSSUR                   S3S9US'   [	        SS	S
US9/n	S[        U5       S[        UR                  5       SUR
                   SUR                   S3	n
[        U SUUU
SU	SUS9	  g)až  Documents a the wait method of a waiter

:param section: The section to write to

:param waiter_name: The name of the waiter

:param event_emitter: The event emitter to use to emit events

:param service_model: The service model

:param service_waiter_model: The waiter model associated to the service

:param include_signature: Whether or not to include the signature.
    It is useful for generating docstrings.
ÚDelayÚintegerzD<p>The amount of time in seconds to wait between attempts. Default: z</p>)ÚnameÚ	type_nameÚdocumentationÚMaxAttemptsz7<p>The maximum number of attempts to be made. Default: ÚWaiterConfigÚ	structurezI<p>A dictionary that provides parameters to control waiting behavior.</p>)rV   rW   rX   ÚmemberszPolls :py:meth:`z.Client.z` every zG seconds until a successful state is reached. An error is raised after z failed checks.Úwaitzwaiter.waitF)r;   Úmethod_descriptionÚexample_prefixÚinclude_inputÚdocument_outputÚinclude_signatureN)
Ú
get_waiterÚoperation_modelÚ	operationr   r   ÚdelayÚmax_attemptsr   r   r   )r2   r3   r;   r   r   rb   Úwaiter_modelrd   Úwaiter_config_membersÚbotocore_waiter_paramsÚwait_descriptions              r   rC   rC   i   s&  € ð. (×2Ñ2°;Ó?€LØ#×3Ñ3°L×4JÑ4JÓK€Oä'›MÐä%4ØØð"Ø".×"4Ñ"4Ð!5°Tð;ñ	&Ð˜'Ñ"ô ,;ØØðØ$×1Ñ1Ð2°$ð8ñ	,Ð˜-Ñ(ô 	ØØ!ð(ð *ñ	
ð
Ðð Ô2°=ÓAÐBÀ(Ü�l×,Ñ,Ó-Ð
.¨h°|×7IÑ7IÐ6Jð Kà$×1Ñ1Ð2°/ð	Cð ô !ØØØØ#Ø+Ø$Ø,ØØ+ó
r   )T)r.   Úbotocorer   Úbotocore.compatr   Úbotocore.docs.bcdoc.restdocr   Úbotocore.docs.methodr   Úbotocore.docs.utilsr   Úbotocore.utilsr   r
   rC   rR   r   r   Ú<module>rr      s4   ðó 
å Ý 'Ý 9Ý =Ý /Ý 2÷O!ñ O!ðp õKr   