ó
    Ú°›j ,  ã                   óž   • S SK r S SKJr  S SKJr  S SKJr  S SKJr  S SK	J
r
  S SKJr  S SKJrJr   " S	 S
\
5      r SS jr SS jr SS jrg)é    N)Ú
xform_name)ÚDocumentStructure)Úget_instance_public_methods)ÚDocumentedShape)ÚNestedDocumenter)Ú%document_model_driven_resource_method)Úadd_resource_type_overviewÚget_resource_ignore_paramsc                   ó    • \ rS rSrS rS rSrg)ÚCollectionDocumenteré   c                 ó  • U R                   R                  R                  R                  n/ n[	        USSSS9  X0R
                  S'   U GH9  nUR                  UR                  5        [        UR                  SS9nUR                  S5      nUR                  R                  U R                  S	5        UR                  S
UR                   35        UR                  UR                  5        UR                  UR                  SU R                   S30S9nU R!                  Xt5        ["        R$                  R'                  U R(                  U R*                   U R,                   5      nUR/                  X„R                  5        GM<     g )NÚCollectionszUCollections provide an interface to iterate over and manipulate groups of resources. Úguide_collections)ÚsectionÚresource_typeÚdescriptionÚ
intro_linkÚcollectionsÚhtml)ÚtargetÚ
breadcrumbÚindexz / Collection / Ú	qualifierÚ.)Úcontext)Ú	_resourceÚmetaÚresource_modelr   r	   Ú
member_mapÚappendÚnamer   Úadd_new_sectionÚstyleÚrefÚ_resource_class_nameÚwriteÚadd_title_sectionÚ
class_nameÚ_document_collectionÚosÚpathÚjoinÚ_root_docs_pathÚ_service_nameÚ_resource_sub_pathÚwrite_to_file)	Úselfr   r   Úcollections_listÚ
collectionÚcollection_docÚbreadcrumb_sectionÚcollection_sectionÚcollections_dir_paths	            ÚR/home/mande/repo/quber/.venv/lib/python3.13/site-packages/boto3/docs/collection.pyÚdocument_collectionsÚ)CollectionDocumenter.document_collections   s]  € Ø—n‘n×)Ñ)×8Ñ8×DÑDˆØÐÜ"ØØ'ð3ð +ò	
ð *:�‰˜Ñ&Ü%ˆJØ×#Ñ# J§O¡OÔ4ä.¨z¯©ÀvÑNˆNØ!/×!?Ñ!?ÀÓ!MÐØ×$Ñ$×(Ñ(¨×)BÑ)BÀGÔLØ×$Ñ$Ð'7¸
¿¹Ð7HÐ%IÔJØ×,Ñ,¨Z¯_©_Ô=Ø!/×!?Ñ!?Ø—‘Ø$¨¯©Ð(9¸Ð&;Ð<ð "@ð "Ðð ×%Ñ%Ð&8ÔEô $&§7¡7§<¡<Ø×$Ñ$Ø×%Ñ%Ð&Ø×*Ñ*Ð+ó$Ð ð
 ×(Ñ(Ð)=¿¹×Oò+ &ó    c           
      óþ  • [        [        U R                  UR                  5      5      n[	        X5        0 nUR
                   H  nXTUR                  '   M     [        U5       GH  nUR                  U5      nXd;   a€  [        UU R                  U R                  R                  R                  R                  R                  XF   UU R                  R                  R                  R                  R                  S9  Mš  [        UU R                  UU R                  R                  R                  R                  R                  UU R                  R                  R                  R                  R                  S9  GM     g )N)r   Úresource_nameÚevent_emitterÚbatch_action_modelÚcollection_modelÚservice_model)r   r>   Úaction_namer?   rA   rB   )r   Úgetattrr   r"   Údocument_collection_objectÚbatch_actionsÚsortedr#   Údocument_batch_actionÚ_resource_namer   ÚclientÚeventsrB   Údocument_collection_method)r2   r   r4   ÚmethodsrF   Úbatch_actionÚmethodÚmethod_sections           r9   r*   Ú)CollectionDocumenter._document_collectionA   s&  € Ü-Ü�D—N‘N J§O¡OÓ4ó
ˆô 	# 7Ô7ØˆØ&×4Ô4ˆLØ/;˜,×+Ñ+Ó,ñ 5ô ˜W—oˆFØ$×4Ñ4°VÓ<ˆNØÓ&Ü%Ø*Ø"&×"5Ñ"5Ø"&§.¡.×"5Ñ"5×"<Ñ"<×"AÑ"A×"HÑ"HØ'4Ñ'<Ø%/Ø"&§.¡.×"5Ñ"5×"<Ñ"<×"AÑ"A×"OÑ"Oôô +Ø*Ø"&×"5Ñ"5Ø &Ø"&§.¡.×"5Ñ"5×"<Ñ"<×"AÑ"A×"HÑ"HØ%/Ø"&§.¡.×"5Ñ"5×"<Ñ"<×"AÑ"A×"OÑ"Oõò &r<   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r:   r*   Ú__static_attributes__rR   r<   r9   r   r      s   † ò"PõHr<   r   c                 ó@  • U(       aE  U R                   R                  SS5       UR                   3nU R                  R	                  U5        U R                  SUR                  R                   S35        U R                  SUR                  R                   S35        g)zöDocuments a collection resource object

:param section: The section to write to

:param collection_model: The model of the collection

:param include_signature: Whether or not to include the signature.
    It is useful for generating docstrings.
r   Ú zA collection of z resources.zA z€ Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.N)r   Úgetr"   r$   Ústart_sphinx_py_attrÚinclude_doc_stringÚresourceÚtype)r   rA   Úinclude_signatureÚfull_collection_names       r9   rE   rE   `   sž   € ö à�‰×"Ñ" ;°Ó3Ð4Ð5E×5JÑ5JÐ4KÐLð 	ð 	�‰×*Ñ*Ð+?Ô@Ø×ÑØ
Ð+×4Ñ4×9Ñ9Ð:¸+ÐFôð ×ÑØ
Ð×&Ñ&×+Ñ+Ð,ð -/ð 	0õr<   c                 ó¶  • UR                  UR                  R                  5      n[        UR                  R                  5      nSn	UR
                  (       a  [        UR
                  R                  5      n	[        U5      n
UR                  U:X  a  Un
U	 SU
 SUR                   SUR                   3n[        U UR                  UUUR                  UUUUS9	  g)a=  Documents a collection's batch action

:param section: The section to write to

:param resource_name: The name of the resource

:param action_name: The name of collection action. Currently only
    can be all, filter, limit, or page_size

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

:param batch_action_model: The model of the batch action

:param collection_model: The model of the collection

:param service_model: The model of the service

:param include_signature: Whether or not to include the signature.
    It is useful for generating docstrings.
Úresponsez = r   )	r   Úmethod_nameÚoperation_modelr?   Úmethod_descriptionÚexample_prefixÚexclude_inputÚresource_action_modelr_   N)rd   ÚrequestÚ	operationr
   Úparamsr]   r   r^   Úservice_namer"   r   Údocumentation)r   r>   r?   r@   rB   rA   r_   rd   Úignore_paramsÚexample_return_valueÚexample_resource_namerf   s               r9   rH   rH   }   så   € ð: $×3Ñ3Ø×"Ñ"×,Ñ,ó€Oô /Ø×"Ñ"×)Ñ)ó€Mð &ÐØ×"×"Ü)Ð*<×*EÑ*E×*JÑ*JÓKÐä& }Ó5ÐØ×!Ñ! ]Ó2Ø -ÐØ,Ð-¨SÐ1FÐ0GÀqÐIY×I^ÑI^ÐH_Ð_`Ðas×axÑaxÐ`yÐz€NÜ)ØØ&×+Ñ+Ø'Ø#Ø*×8Ñ8Ø%Ø#Ø0Ø+ó
r<   c                 ó  • UR                  UR                  R                  5      n/ nUR                  (       a  UR                  R                  n[        U5      n	UR                  U:X  a  Un	SUR                  R                   S3[        UR                  R                  5       SU	 SUR                   S3US.SUR                  R                   SUR                  R                   S3[        UR                  R                  5       SU	 SUR                   S	3[        UR                  R                  5      S.S
UR                  R                   S3[        UR                  R                  5       SU	 SUR                   S3[        SSSS9/US.SUR                  R                   S3[        UR                  R                  5       SU	 SUR                   S3[        SSSS9/US.S.n
X*;   a  X¢   n[        SU UUUUUS.UD6  gg)aû  Documents a collection method

:param section: The section to write to

:param resource_name: The name of the resource

:param action_name: The name of collection action. Currently only
    can be all, filter, limit, or page_size

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

:param collection_model: The model of the collection

:param service_model: The model of the service

:param include_signature: Whether or not to include the signature.
    It is useful for generating docstrings.
zCreates an iterable of all z resources in the collection.z_iterator = r   z.all)re   rf   rg   zD resources in the collection filtered by kwargs passed to method. A z› collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.z.filterz0Creates an iterable up to a specified amount of z.limitÚcountÚintegerz5The limit to the number of resources in the iterable.)r"   Ú	type_namerm   )re   rf   Úinclude_inputrg   zs resources in the collection, but limits the number of items returned by each service call by the specified amount.z
.page_sizez1The number of items returned by each service call)ÚallÚfilterÚlimitÚ	page_size)r   rc   rd   r?   rh   r_   NrR   )rd   ri   rj   Úinput_shapeÚmembersr   rl   r]   r^   r"   r
   rk   r   r   )r   r>   rC   r?   rA   rB   r_   rd   Úunderlying_operation_membersrp   Úcustom_action_info_dictÚaction_infos               r9   rL   rL   ¶   sé  € ð6 $×3Ñ3Ø× Ñ ×*Ñ*ó€Oð $&Ð Ø×"×"Ø'6×'BÑ'B×'JÑ'JÐ$ä& }Ó5ÐØ×!Ñ! ]Ó2Ø -Ðð
 .Ð.>×.GÑ.G×.LÑ.LÐ-Mð N/ð 0ô ",Ð,<×,EÑ,E×,JÑ,JÓ!KÐ LÈLÐYnÐXoÐopð  rB÷  rGñ  rGð  qHð  HLð  MØ9ñ
ð .Ð.>×.GÑ.G×.LÑ.LÐ-Mð Nà-×6Ñ6×;Ñ;Ð<ð =$ð%ô ",Ð,<×,EÑ,E×,JÑ,JÓ!KÐ LÈLÐYnÐXoÐopð  rB÷  rGñ  rGð  qHð  HOð  PÜ7Ø ×(Ñ(×/Ñ/óñ
ð  CØ#×,Ñ,×1Ñ1Ð2Ð2OðQô ",Ð,<×,EÑ,E×,JÑ,JÓ!KÐ LÈLÐYnÐXoÐopð  rB÷  rGñ  rGð  qHð  HNð  OäØ Ø'àOñ	ðð :ñ
ð& .Ð.>×.GÑ.G×.LÑ.LÐ-Mð NOð Pô ",Ð,<×,EÑ,E×,JÑ,JÓ!KÐ LÈLÐYnÐXoÐopð  rB÷  rGñ  rGð  qHð  HRð  SäØ Ø'àKñ	ðð :ñ!
ñQ:Ððv Ó-Ø-Ñ:ˆÜ-ð 	
ØØ#Ø+Ø'Ø"2Ø/ñ	
ð ó	
ð .r<   )T)r+   Úbotocorer   Úbotocore.docs.bcdoc.restdocr   Úbotocore.docs.methodr   Úbotocore.docs.utilsr   Úboto3.docs.baser   Úboto3.docs.methodr   Úboto3.docs.utilsr	   r
   r   rE   rH   rL   rR   r<   r9   Ú<module>r†      sR   ðó 
å Ý 9Ý <Ý /å ,Ý C÷ôAÐ+ô AðN ôðH ô6ð@ õl
r<   