z]c@szddlmZddlmZddlmZddlmZddlm Z ddl m Z de fdYZ d S( i(tDataNotFoundError(tget_official_service_name(tClientDocumenter(tWaiterDocumenter(tPaginatorDocumenter(tDocumentStructuretServiceDocumentercBsSeZdZdZdZdZdZdZdZddZ RS( cCsg||_||_|jj|dddddd|_|jjj|_ddd d d g|_dS( Nt region_names us-east-1taws_access_key_idtfootaws_secret_access_keytbarttitlestable-of-contentss client-apis paginator-apis waiter-api(t_sessiont _service_namet create_clientt_clienttmetateventst_event_emittertsections(tselft service_nametsession((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyt__init__s    cCst|jd|jdd}|j|jd|j|jd|j|jd|j|jd|j|jd|j S( siDocuments an entire service. :returns: The reStructured text of the documented service. t section_namesttargetthtmlR stable-of-contentss client-apis paginator-apis waiter-api( RRRR t get_sectionttable_of_contentst client_apit paginator_apit waiter_apitflush_structure(Rt doc_structure((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pytdocument_service's cCs@|jj|jjj|jjdd|jfd|dS(Ns docs.%s.%sR tsection(tstyleth1Rt __class__t__name__RtemitR(RR$((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyR 6s   cCs|jjdddddS(NR sTable of Contentstdepthi(R%R(RR$((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyR>scCsMd}y|j|j}Wntk r/nXt|j|j|dS(N(tNonet get_examplesRRRRtdocument_client(RR$texamples((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyRAs  cCsQy|jj|j}Wntk r-dSXt|j|}|j|dS(N(R tget_paginator_modelRRRRtdocument_paginators(RR$tservice_paginator_modeltpaginator_documenter((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyRJs  cCsG|jjrC|jj|j}t|j|}|j|ndS(N(Rt waiter_namesR tget_waiter_modelRRtdocument_waiters(RR$tservice_waiter_modeltwaiter_documenter((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyR Ts    cCs/|jjd}|j|d|}|dS(Nt data_loaders examples-1R.(R t get_componenttload_service_model(RRt api_versiontloaderR.((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyR,\sN( R(t __module__RR#R RRRR R+R,(((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyRs     N(tbotocore.exceptionsRtbotocore.docs.utilsRtbotocore.docs.clientRtbotocore.docs.waiterRtbotocore.docs.paginatorRtbotocore.docs.bcdoc.restdocRtobjectR(((s7/tmp/pip-build-kBFYxq/botocore/botocore/docs/service.pyt s