+
    i`!                     x    ^ RI t ^ RIHt ^ RIHt ^ RIHt ^ RIt^ RI	H
t
 ^ RIHtHt ^ RIHt  ! R R	]4      tR# )
    N)DocumentStructure)ServiceDocumenter)DataNotFoundError)Boto3ClientDocumenter)ResourceDocumenterServiceResourceDocumenter)ServiceContextc                      a a ] tR t^t o]P
                  P                  ]P
                  P                  ]P                  4      R4      t
V 3R ltR tR tR tR tR tR tR	 tR
tVtV ;t# )r   examplesc                X  < \         SV `  VVP                  VR 7       W n        V P                  P	                  V4      V n        RV n        V P                  V P                  P                  4       9   d!   V P                  P                  V4      V n        . ROV n
        W0n        RV n        R# ))service_namesessionroot_docs_pathNzLhttps://boto3.amazonaws.com/v1/documentation/api/latest/guide/resources.html)titleclient
paginatorswaiters	resourcesr   context-params)super__init___session_boto3_sessionr   _client_service_resource_service_nameget_available_resourcesresourcesections_root_docs_path_USER_GUIDE_LINK)selfr   r   r   	__class__s   &&&&4/usr/lib/python3/dist-packages/boto3/docs/service.pyr   ServiceDocumenter.__init__   s    % $$) 	 	
 &**11,?!%!4!4!L!L!NN%)%8%8%A%A,%OD"
  .? 	    c                N   \        V P                  V P                  RR7      pV P                  VP	                  R4      4       V P                  VP	                  R4      4       V P                  VP	                  R4      4       V P                  VP	                  R4      4       V P                  '       d!   V P                  VP	                  R4      4       V P                  VP	                  R4      4       VP	                  R	4      pV P                  V4       VP                  4       # )
zYDocuments an entire service.

:returns: The reStructured text of the documented service.
html)section_namestargetr   r   r   r   r   r   r   )r   r   r   r   get_section
client_apipaginator_api
waiter_apir   resource_section_document_examplesclient_context_paramsflush_structure)r"   doc_structurecontext_params_sections   &  r$   document_service"ServiceDocumenter.document_service9   s    
 *dmmF
 	

=,,W5611(;<=44\BC11)<=!!!!!-";";K"HI 9 9* EF!.!:!:;K!L""#9:,,..r&   c                    R p V P                  V P                  4      p\        V P                  V P
                  V4      P                  V4       R #   \         d     L?i ; i)N)get_examplesr   r   r   r   r    document_client)r"   sectionr   s   && r$   r,   ServiceDocumenter.client_apiM   s[    	((););<H 	LL$..	

/'
" ! 		s   A AAc                8   VP                   P                  R 4       VP                   P                  4        VP                  R4       VP                   P	                  RV P
                  R7       VP                  R4       VP                   P                  4        VP                   P                  4        VP                  R4       VP                   P                  4        VP                   P                  4        V P                  V4       V P                  V4       R# )	ResourceszResources are available in boto3 via the ``resource`` method. For more detailed instructions and examples on the usage of resources, see the resources z
user guide)r   link.zThe available resources are:N)	styleh2new_linewriteexternal_linkr!   toctree_document_service_resource_document_resources)r"   r:   s   &&r$   r/   "ServiceDocumenter.resource_sectionX   s    % 	
 	##&& 	$ 	
 	c  45 ''0  )r&   c                   \        R RR7      pVP                  R4      pVP                  P                  V P                  P
                  P                  RV P                   24       VP                  R4       \        V P                  V P                  V P                  4      P                  V4       V P                  P                  P                  P                   pW@P                  8X  d   R p\"        P$                  P'                  V P                  V P                   VP)                  4        4      pVP+                  VR4       VP                  P-                  V P                   RV R24       R	# )
zservice-resourcer(   r*   
breadcrumb../../z / Resource / ServiceResourceindex//indexN)r   add_new_sectionr@   refr   r#   __name__r   rC   r   r   r   r    document_resourcemetaresource_modelnameospathjoinlowerwrite_to_filetocitem)r"   r:   service_resource_docbreadcrumb_sectionresource_nameservice_resource_dir_paths   &&    r$   rF   ,ServiceDocumenter._document_service_resourcen   s8   0v 
 2AA,O  $$LL""++vd6H6H5I-J	
 	  !@A!""DMM43G3G	


0
1 ..33BBGG....M$&GGLL  !!"""$%%
!
 	**+DgN!3!3 4Am_FKLr&   c                v   R pV P                   P                  R4      pVP                  V P                  R4      pV P                  P
                  P                  P
                  P                  pVR,           EF=  pVR,          V,          pV P                  P                  P                  VV\        V P                  VR,          VRR7      R7      pVP
                  P                  P                  p	. p
V	 F  pV
P                  V4       K  	  V! V
RV P                  / pVP
                  P                  P                   P#                  4       p\%        VRR	7      pVP'                  R
4      pVP(                  P+                  V P                  P,                  P.                  RV P                   24       VP1                  RVP
                  P                  P                    24       \3        WP                   V P4                  4      P7                  VP'                  VP
                  P                  P                   4      4       \8        P:                  P=                  V P4                  V P                   V 4      pVP?                  VR4       VP(                  PA                  V P                   RV R24       EK@  	  R# )foodata_loaderzresources-1r   N)r   resource_json_definitionsservice_modelservice_waiter_model)r_   single_resource_json_definitionservice_contextr   r(   rJ   rK   rL   z / Resource / rM   rN   rO   )!r   get_componentload_service_modelr   r   rT   r   rf   r   resource_factoryload_from_definitionr	   rU   identifiersappendr   rV   rZ   r   rP   r@   rQ   r#   rR   rC   r   r    rS   rW   rX   rY   r[   r\   )r"   r:   temp_identifier_valueloaderjson_resource_modelrf   r_   rU   resource_clsrn   args_r   resource_docr^   r`   s   &&              r$   rG   %ServiceDocumenter._document_resources   s`    %,,];$77
 ..33::??MM0==M0=mLN##44II"/4B$2%)%7%72E'3 '4-1% J   '++::FFKD 12 !#T?$,,?H$MM88==CCEM,]6JL!-!=!=l!K$$((&&//6$:L:L9M1N $$ !=!=!B!B CD --)=)=,,X]]-I-I-N-NO
 )+$$%%& /)%
 &&'@'JMM!!%%&af=Y >r&   c                    \         P                  P                  \         P                  P                  V P                  V P
                  R ,           4      4      # )z.rst)rW   rX   realpathrY   EXAMPLE_PATHr   )r"   s   &r$   _get_example_file#ServiceDocumenter._get_example_file   s<    wwGGLL**D,>,>,GH
 	
r&   c                |   V P                  4       p\        P                  P                  V4      '       ds   VP                  P                  R 4       VP                  P                  4        \        V4      ;_uu_ 4       pVP                  VP                  4       4       RRR4       R# R#   + '       g   i     R# ; i)ExamplesN)
r{   rW   rX   isfiler@   rA   rB   openrC   read)r"   r:   examples_filefs   &&  r$   r0   $ServiceDocumenter._document_examples   s}    ..077>>-((MMZ(MM""$m$$affh' %$ ) %$$s   > B**B;	)r!   r   r   r    r   r   )rR   
__module____qualname____firstlineno__rW   rX   rY   dirnameboto3__file__rz   r   r5   r,   r/   rF   rG   r{   r0   __static_attributes____classdictcell____classcell__)r#   __classdict__s   @@r$   r   r      sY     77<< ?LL
8/(	#*,M45n

( (r&   r   )rW   botocore.docs.bcdoc.restdocr   botocore.docs.servicer   BaseServiceDocumenterbotocore.exceptionsr   r   boto3.docs.clientr   boto3.docs.resourcer   r   boto3.utilsr	    r&   r$   <module>r      s.    
 9 L 1  3 M &q(- q(r&   