Ë
    rPêjþ"  ã                   ór   — d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ  G d„ d	«      Z	 dd
„Zy)é    N)Ú
xform_name)ÚOrderedDict)ÚDocumentStructure)Údocument_model_driven_method)ÚDocumentedShape)Úget_service_module_namec                   ó$   — e Zd Zd„ Zd„ Zd„ Zd„ Zy)ÚPaginatorDocumenterc                 óä   — || _         | j                   j                  j                  | _        | j                   j                  j
                  j                  | _        || _        || _	        d| _
        y )Nz>https://docs.aws.amazon.com/boto3/latest/guide/paginators.html)Ú_clientÚ	__class__Ú__name__Ú_client_class_nameÚmetaÚservice_modelÚservice_nameÚ_service_nameÚ_service_paginator_modelÚ_root_docs_pathÚ_USER_GUIDE_LINK)ÚselfÚclientÚservice_paginator_modelÚroot_docs_paths       ú\/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/botocore/docs/paginator.pyÚ__init__zPaginatorDocumenter.__init__   sZ   € ØˆŒØ"&§,¡,×"8Ñ"8×"AÑ"AˆÔØ!Ÿ\™\×.Ñ.×<Ñ<×IÑIˆÔØ(?ˆÔ%Ø-ˆÔàLð 	Õó    c                 óR  — |j                   j                  d«       | j                  |«       |j                   j                  «        |j	                  d«       |j                   j                  «        t        | j                  j                  «      }|D ]’  }|j                   j                  | j                  › d|› �«       t        |d¬«      }| j                  ||«       t        j                  j                  | j                   | j                  d«      }|j#                  ||«       Œ” y)zhDocuments the various paginators for a service

        param section: The section to write to.
        Ú
PaginatorszThe available paginators are:z/paginator/Úhtml)ÚtargetÚ	paginatorN)ÚstyleÚh2Ú_add_overviewÚnew_lineÚwritelnÚtoctreeÚsortedr   Ú_paginator_configÚtocitemr   r   Ú_add_paginatorÚosÚpathÚjoinr   Úwrite_to_file)r   ÚsectionÚpaginator_namesÚpaginator_nameÚpaginator_doc_structureÚpaginator_dir_paths         r   Údocument_paginatorsz'PaginatorDocumenter.document_paginators"   s  € ð
 	�‰×Ñ˜Ô&Ø×Ñ˜7Ô#Ø�‰×ÑÔ Ø�‰Ð7Ô8Ø�‰×ÑÔä Ø×)Ñ)×;Ñ;ó
ˆð
 .ò 	ˆNØ�M‰M×!Ñ!Ø×%Ñ%Ð& k°.Ð1AÐBôô '8Ø vô'Ð#ð ×ÑÐ 7¸ÔHô "$§¡§¡Ø×$Ñ$ d×&8Ñ&8¸+ó"Ðð $×1Ñ1Ø" Nõñ	r   c                 ó(  — |j                  d«      }|j                  j                  | j                  d| j                  › �«       |j                  d|› �«       |j                  |«       |j                  |«      }|j                  j                  | j                  › d|› �¬«       |j                  j                  «        |j                  j                  «        |j                  dt        |«      › d�«       |j                  j                  «        |j                  j                  «        | j                  j                  |«      }t        ||| j                  j                   j"                  | j                  j                   j$                  |¬«       y )	NÚ
breadcrumbz../../z / Paginator / z.Paginator.)Ú
class_namez"paginator = client.get_paginator('z'))r1   r3   Úevent_emitterr   Úpaginator_config)Úadd_new_sectionr#   Úrefr   r   ÚwriteÚadd_title_sectionÚstart_sphinx_py_classÚstart_codeblockr&   r   Úend_codeblockr   Úget_paginatorÚdocument_paginate_methodr   r   Úeventsr   )r   r1   r3   Úbreadcrumb_sectionÚpaginator_sectionr;   s         r   r,   z"PaginatorDocumenter._add_paginatorD   si  € Ø$×4Ñ4°\ÓBÐØ× Ñ ×$Ñ$Ø×#Ñ# v¨d×.@Ñ.@Ð-AÐ%Bô	
ð 	× Ñ  ?°>Ð2BÐ!CÔDØ×!Ñ! .Ô1ð $×3Ñ3°NÓCÐØ×Ñ×5Ñ5à×*Ñ*Ð+¨;°~Ð6FÐGð 	6ô 	
ð
 	×Ñ×/Ñ/Ô1Ø×Ñ×(Ñ(Ô*ð 	×ÑØ0´¸NÓ1KÐ0LÈBÐOô	
ð 	×Ñ×-Ñ-Ô/Ø×Ñ×(Ñ(Ô*à×8Ñ8×FÑFØó
Ðô 	!Ø%Ø)ØŸ,™,×+Ñ+×2Ñ2ØŸ,™,×+Ñ+×9Ñ9Ø-ö	
r   c                 óþ   — |j                   j                  «        |j                  d«       |j                   j                  d| j                  ¬«       |j                  d«       |j                   j                  «        y )Nz«Paginators are available on a client instance via the ``get_paginator`` method. For more detailed instructions and examples on the usage of paginators, see the paginators z
user guide)ÚtitleÚlinkú.)r#   r&   r>   Úexternal_linkr   )r   r1   s     r   r%   z!PaginatorDocumenter._add_overviewh   sf   € Ø�‰×ÑÔ Ø�‰ðô	
ð 	�‰×#Ñ#ØØ×&Ñ&ð 	$ô 	
ð 	�‰�cÔØ�‰×ÑÕ r   N)r   Ú
__module__Ú__qualname__r   r6   r,   r%   © r   r   r
   r
      s   „ ò
ò òD"
óH!r   r
   c                 óx  — |j                  |«      }t        «       }t        ddd¬«      |d<   |j                  dd«      rt        ddd¬«      |d<   t        d	d
d¬«      |d	<   t        ddd|¬«      g}t        dd
d¬«      g}	g }
t	        |d   t
        «      r	|
|d   z  }
n|
j                  |d   «       |j                  dd«      r|
j                  |d   «       g }t	        |d   t
        «      r	||d   z  }n|j                  |d   «       dt        |«      › dt        |«      › d�}t        | d|||d||	|
||¬«       y)añ  Documents the paginate method of a paginator

    :param section: The section to write to

    :param paginator_name: The name of the paginator. It is snake cased.

    :param event_emitter: The event emitter to use to emit events

    :param service_model: The service model

    :param paginator_config: The paginator config associated to a particular
        paginator.

    :param include_signature: Whether or not to include the signature.
        It is useful for generating docstrings.
    ÚMaxItemsÚintegerzä<p>The total number of items to return. If the total number of items available is more than the value specified in max-items then a <code>NextToken</code> will be provided in the output that you can use to resume pagination.</p>)ÚnameÚ	type_nameÚdocumentationÚ	limit_keyNÚPageSizez<p>The size of each page.<p>ÚStartingTokenÚstringzq<p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previous response.</p>ÚPaginationConfigÚ	structurezC<p>A dictionary that provides parameters to control pagination.</p>)rS   rT   rU   ÚmembersÚ	NextTokenz$<p>A token to resume pagination.</p>Úinput_tokenÚoutput_tokenzHCreates an iterator that will paginate through responses from :py:meth:`z.Client.z`.Úpaginatez&response_iterator = paginator.paginate)r:   Úmethod_descriptionÚexample_prefixÚinclude_inputÚinclude_outputÚexclude_inputÚexclude_outputÚinclude_signature)
Úoperation_modelr   r   ÚgetÚ
isinstanceÚlistÚappendr   r   r   )r1   r3   r:   r   r;   rg   rh   Úpagination_config_membersÚbotocore_pagination_paramsÚ#botocore_pagination_response_paramsÚservice_pagination_paramsÚ"service_pagination_response_paramsÚpaginate_descriptions                r   rD   rD   x   s¹  € ð2 $×3Ñ3°NÓC€Oô
 !,£Ðä,;ØØð%ô	
-Ð˜jÑ)ð ×Ñ˜K¨Ô.Ü0?ØØØ8ô1
Ð! *Ñ-ô 2AØØðô	2Ð˜oÑ.ô 	Ø#Ø!ð"ð .ô	
ð
"Ðô 	ØØØAô	
ð+Ð'ð !#Ðô Ð" =Ñ1´4Ô8Ø!Ð%5°mÑ%DÑDÑ!à!×(Ñ(Ð)9¸-Ñ)HÔIð ×Ñ˜K¨Ô.Ø!×(Ñ(Ð)9¸+Ñ)FÔGð *,Ð&ÜÐ" >Ñ2´DÔ9Ø*Ð.>¸~Ñ.NÑNÑ*à*×1Ñ1Ø˜^Ñ,ô	
ð
	Ü1°-Ó@ÐAÀÌ*ÐUcÓJdÐIeÐegð	ið ô
 !ØØØØ#Ø/Ø?Ø0Ø:Ø/Ø9Ø+ör   )T)r-   Úbotocorer   Úbotocore.compatr   Úbotocore.docs.bcdoc.restdocr   Úbotocore.docs.methodr   Úbotocore.docs.utilsr   Úbotocore.utilsr   r
   rD   rO   r   r   ú<module>ry      s4   ðó 
å Ý 'Ý 9Ý =Ý /Ý 2÷^!ñ ^!ðN ôxr   