ó U!¶\c@svddlZddlmZddlmZddlmZddlmZddlmZde fd„ƒYZ dS( iÿÿÿÿN(tget_official_service_name(tdocument_custom_method(tdocument_model_driven_method(tget_instance_public_methods(tdocument_shared_examplestClientDocumentercBsneZd d„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d „Z RS( cCsF||_||_|jdkr-i|_n|jjjj|_dS(N(t_clientt_shared_examplestNonetmetat service_modelt service_namet _service_name(tselftclienttshared_examples((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyt__init__s    cCsM|j|ƒ|j|ƒt|jƒ}|j||ƒ|j||ƒdS(s]Documents a client and its methods :param section: The section to write to. N(t _add_titlet_add_class_signatureRRt_add_client_introt_add_client_methods(R tsectiontclient_methods((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pytdocument_clients   cCs|jjdƒdS(NtClient(tstyleth2(R R((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR)scCs­|jdƒ}t|jjjƒ}|jd|ƒ|j|ƒ|jjƒ|jdƒ|jjƒ|jj j }x.t |ƒD] }|jj d||fƒq…WdS(Ntintros"A low-level client representing %ss These are the available methods:s:py:meth:`~%s.Client.%s`( tadd_new_sectionRRR R twritet_add_client_creation_exampleRtnew_linet __class__t__name__tsortedtli(R RRtofficial_service_namet class_namet method_name((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR,s      cCs$|jjdd|jjjƒdS(NR%s %s.Client(Rtstart_sphinx_py_classRR R!(R R((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR@s cCsG|jjƒ|jjƒ|jdjd|jƒƒ|jjƒdS(Ns+client = session.create_client('{service}')tservice(Rtstart_codeblockRRtformatR t end_codeblock(R R((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyRDs     cCsA|jdƒ}x+t|ƒD]}|j||||ƒqWdS(Ntmethods(RR"t_add_client_method(R RRR&((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyRMscCsH|j|ƒ}|j|ƒr4|j|||ƒn|j||ƒdS(N(Rt_is_custom_methodt_add_custom_methodt_add_model_driven_method(R RR&tmethod((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR-SscCs||jjjkS(N(RR tmethod_to_api_mapping(R R&((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR.ZscCst|||ƒdS(N(R(R RR&R1((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR/]sc Cs›|jjj}|jjj|}|j|ƒ}d|}t|||d|jjjd|jd|ƒ|jj |ƒ}|r—t ||||ƒndS(Nsresponse = client.%st event_emittertmethod_descriptiontexample_prefix( RR R R2toperation_modelRteventst documentationRtgetR(R RR&R toperation_nameR6R5R((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyR0`s   N(R!t __module__RRRRRRRRR-R.R/R0(((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyRs        ( tinspecttbotocore.docs.utilsRtbotocore.docs.methodRRRtbotocore.docs.sharedexampleRtobjectR(((s8/tmp/pip-install-usGedi/botocore/botocore/docs/client.pyt s