File: //opt/alt/python311/lib/python3.11/site-packages/botocore/docs/__pycache__/service.cpython-311.pyc
�
/�;f~ � �d � d dl mZ d dlmZmZmZ d dlmZ d dlm Z d dl
mZ G d� d� � ZdS ) � )�DocumentStructure)�ClientContextParamsDocumenter�ClientDocumenter�ClientExceptionsDocumenter)�PaginatorDocumenter)�WaiterDocumenter)�DataNotFoundErrorc �L � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
dd
�Zd� Zd S )
�ServiceDocumenterc � � || _ || _ || _ | j � |ddd�� � | _ | j j j | _ g d�| _ d S )Nz us-east-1�foo�bar)�region_name�aws_access_key_id�aws_secret_access_key)�title�
client-api�client-exceptions�
paginator-api�
waiter-api�client-context-params) �_session�
_service_name�_root_docs_path�
create_client�_client�meta�events�_event_emitter�sections)�self�service_name�session�root_docs_paths �H/opt/alt/python311/lib/python3.11/site-packages/botocore/docs/service.py�__init__zServiceDocumenter.__init__ sl � ���
�)���-����}�2�2��#�#�"'� 3�
�
��� #�l�/�6���
�
�
��
�
�
� c �F � t | j | j d�� � }| � |� d� � � � | � |� d� � � � | � |� d� � � � | � |� d� � � � | � |� d� � � � |� d� � }| � |� � |�
� � S ) ziDocuments an entire service.
:returns: The reStructured text of the documented service.
�html)�
section_names�targetr r r r r r )r r r r �get_section�
client_api�client_exceptions�
paginator_api�
waiter_api�client_context_params�flush_structure)r! �
doc_structure�context_params_sections r% �document_servicez"ServiceDocumenter.document_service/ s
� �
*���d�m�F�
�
�
�
�
�
�
�=�,�,�W�5�5�6�6�6����
�1�1�,�?�?�@�@�@����}�8�8�9L�M�M�N�N�N����=�4�4�_�E�E�F�F�F����
�1�1�,�?�?�@�@�@�!.�!:�!:�#�"
� "
��
�"�"�#9�:�:�:��,�,�.�.�.r'