ó U!¶\c@svddlmZddlmZddlmZddlmZddlm Z de fd„ƒYZ e d„Z d S( iÿÿÿÿ(t xform_name(t OrderedDict(tDocumentedShape(tget_service_module_name(tdocument_model_driven_methodtWaiterDocumentercBs#eZd„Zd„Zd„ZRS(cCs+||_|jjjj|_||_dS(N(t_clienttmetat service_modelt service_namet _service_namet_service_waiter_model(tselftclienttservice_waiter_model((s8/tmp/pip-install-usGedi/botocore/botocore/docs/waiter.pyt__init__s cCsx|jjdƒ|jjƒ|jdƒxG|jjD]9}|jjd|jjj |fƒ|j ||ƒq7WdS(sgDocuments the various waiters for a service. :param section: The section to write to. tWaiterssThe available waiters are:s:py:class:`%s.Waiter.%s`N( tstyleth2tnew_linetwritelnR t waiter_namestliRt __class__t__name__t_add_single_waiter(R tsectiont waiter_name((s8/tmp/pip-install-usGedi/botocore/botocore/docs/waiter.pytdocument_waiterss   c Cs¾|j|ƒ}|jjdd|jjj|fƒ|jjƒ|jjƒ|jdt |ƒƒ|jj ƒ|jjƒt d|d|d|jj j d|jj jd|jƒdS( Nt class_names %s.Waiter.%ss waiter = client.get_waiter('%s')RRt event_emitterRR(tadd_new_sectionRtstart_sphinx_py_classRRRtstart_codeblockRtwriteRt end_codeblocktdocument_wait_methodRteventsRR (R RR((s8/tmp/pip-install-usGedi/botocore/botocore/docs/waiter.pyR(s      (Rt __module__RRR(((s8/tmp/pip-install-usGedi/botocore/botocore/docs/waiter.pyRs  c Cs |j|ƒ}|j|jƒ}tƒ}tddddddj|jƒƒ|dThe amount of time in seconds to wait between attempts. Default: {0}

t MaxAttemptss>

The maximum number of attempts to be made. Default: {0}

t WaiterConfigt structuresI

A dictionary that provides parameters to control waiting behavior.

tmemberss„Polls :py:meth:`{0}.Client.{1}` every {2} seconds until a successful state is reached. An error is returned after {3} failed checks.twaitRtmethod_descriptiontexample_prefixs waiter.waitt include_inputtdocument_outputtinclude_signatureN( t get_waitertoperation_modelt operationRRtformattdelayt max_attemptsRRRtFalse( RRRRRR5t waiter_modelR7twaiter_config_memberstbotocore_waiter_paramstwait_description((s8/tmp/pip-install-usGedi/botocore/botocore/docs/waiter.pyR$As8         N(tbotocoreRtbotocore.compatRtbotocore.docs.utilsRtbotocore.utilsRtbotocore.docs.methodRtobjectRtTrueR$(((s8/tmp/pip-install-usGedi/botocore/botocore/docs/waiter.pyt s /