Ë
    —D¹h)  ã                   ó„   — 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mZ  G d„ de«      Z	 dd	„Z	 dd
„Z	 dd„Zy)é    )Ú
xform_name)Úget_instance_public_methods)ÚDocumentedShape)ÚBaseDocumenter)Ú%document_model_driven_resource_method)Úadd_resource_type_overviewÚget_resource_ignore_paramsc                   ó   — e Zd Zd„ Zd„ Zy)ÚCollectionDocumenterc                 ó6  — | j                   j                  j                  j                  }g }t	        |ddd¬«       || j
                  d<   |D ]J  }|j                  |j                  «      }|j                  |j                  «       | j                  ||«       ŒL y )NÚCollectionszUCollections provide an interface to iterate over and manipulate groups of resources. Úguide_collections)ÚsectionÚresource_typeÚdescriptionÚ
intro_linkÚcollections)
Ú	_resourceÚmetaÚresource_modelr   r   Ú
member_mapÚadd_new_sectionÚnameÚappendÚ_document_collection)Úselfr   r   Úcollections_listÚ
collectionÚcollection_sections         úw/var/www/fastuser/data/www/generator.snapmosaic.io/flask_app/venv/lib/python3.12/site-packages/boto3/docs/collection.pyÚdocument_collectionsz)CollectionDocumenter.document_collections   s”   € Ø—n‘n×)Ñ)×8Ñ8×DÑDˆØÐÜ"ØØ'ð3ð +õ	
ð *:ˆ‰˜Ñ&Ø%ò 	FˆJØ!(×!8Ñ!8¸¿¹Ó!IÐØ×#Ñ# J§O¡OÔ4Ø×%Ñ%Ð&8¸*ÕEñ	Fó    c           	      ó  — t        t        | j                  |j                  «      «      }t	        ||«       i }|j
                  D ]  }|||j                  <   Œ t        |«      D ]  }|j                  |«      }||v rƒt        || j                  | j                  j                  j                  j                  j                  ||   || j                  j                  j                  j                  j                  ¬«       Œœt        || j                  || j                  j                  j                  j                  j                  || j                  j                  j                  j                  j                  ¬«       Œ y )N)r   Úresource_nameÚevent_emitterÚbatch_action_modelÚcollection_modelÚservice_model)r   r$   Úaction_namer%   r'   r(   )r   Úgetattrr   r   Údocument_collection_objectÚbatch_actionsÚsortedr   Údocument_batch_actionÚ_resource_namer   ÚclientÚeventsr(   Údocument_collection_method)r   r   r   Úmethodsr,   Úbatch_actionÚmethodÚmethod_sections           r    r   z)CollectionDocumenter._document_collection,   s8  € Ü-ÜD—N‘N J§O¡OÓ4ó
ˆô 	# 7¨JÔ7ØˆØ&×4Ñ4ò 	<ˆLØ/;ˆM˜,×+Ñ+Ò,ð	<ô ˜W“oó 	ˆFØ$×4Ñ4°VÓ<ˆNØ˜Ñ&Ü%Ø*Ø"&×"5Ñ"5Ø"&§.¡.×"5Ñ"5×"<Ñ"<×"AÑ"A×"HÑ"HØ'4°VÑ'<Ø%/Ø"&§.¡.×"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__r!   r   © r"   r    r   r      s   „ òFó$r"   r   c                 óö   — |r%| j                   j                  |j                  «       | j                  d|j                  j
                  › d«       | j                  d|j                  j
                  › d«       y)a
  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.
    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)ÚstyleÚstart_sphinx_py_attrr   Úinclude_doc_stringÚresourceÚtype)r   r'   Úinclude_signatures      r    r+   r+   K   sw   € ñ Ø‰×*Ñ*Ð+;×+@Ñ+@ÔAØ×ÑØ
Ð+×4Ñ4×9Ñ9Ð:¸+ÐFôð ×ÑØ
Ð×&Ñ&×+Ñ+Ð,ð -/ð 	0õr"   c                 ó¾  — |j                  |j                  j                  «      }t        |j                  j                  «      }d}	|j
                  rt        |j
                  j                  «      }	t        |«      }
|j                  |k(  r|}
dj                  |	|
|j                  |j                  «      }t        | |j                  |||j                  ||||¬«	       y)ai  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   Úmethod_nameÚoperation_modelr%   Úmethod_descriptionÚexample_prefixÚexclude_inputÚresource_action_modelrA   N)rE   ÚrequestÚ	operationr	   Úparamsr?   r   r@   Úservice_nameÚformatr   r   Údocumentation)r   r$   r%   r&   r(   r'   rA   rE   Úignore_paramsÚexample_return_valueÚexample_resource_namerG   s               r    r.   r.   c   sß   € ð: $×3Ñ3Ø×"Ñ"×,Ñ,ó€Oô /Ø×"Ñ"×)Ñ)ó€Mð &ÐØ×"Ò"Ü)Ð*<×*EÑ*E×*JÑ*JÓKÐä& }Ó5ÐØ×!Ñ! ]Ò2Ø -ÐØ$×+Ñ+ØØØ×ÑØ×Ñó	€Nô *ØØ&×+Ñ+Ø'Ø#Ø*×8Ñ8Ø%Ø#Ø0Ø+ö
r"   c           
      óT  — |j                  |j                  j                  «      }g }|j                  r|j                  j                  }t        |«      }	|j                  |k(  r|}	d|j                  j                  › ddj                  t        |j                  j                  «      |	|j                  «      |dœd|j                  j                  › d|j                  j                  › ddj                  t        |j                  j                  «      |	|j                  «      t        |j                  j                  «      dœd|j                  j                  › dd	j                  t        |j                  j                  «      |	|j                  «      t        d
dd¬«      g|dœd|j                  j                  › ddj                  t        |j                  j                  «      |	|j                  «      t        d
dd¬«      g|dœdœ}
||
v r|
|   }t        d| |||||dœ|¤Ž yy)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 = {}.{}.all)rF   rG   rH   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{}_iterator = {}.{}.filterz0Creates an iterable up to a specified amount of z{}_iterator = {}.{}.limitÚcountÚintegerz5The limit to the number of resources in the iterable.)r   Ú	type_namerO   )rF   rG   Úinclude_inputrH   zs resources in the collection, but limits the number of items returned by each service call by the specified amount.z{}_iterator = {}.{}.page_sizez1The number of items returned by each service call)ÚallÚfilterÚlimitÚ	page_size)r   rD   rE   r%   rI   rA   Nr:   )rE   rJ   rK   Úinput_shapeÚmembersr   rM   r?   r@   rN   r   r	   rL   r   r   )r   r$   r)   r%   r'   r(   rA   rE   Úunderlying_operation_membersrR   Úcustom_action_info_dictÚaction_infos               r    r2   r2   ¡   s…  € ð6 $×3Ñ3Ø× Ñ ×*Ñ*ó€Oð $&Ð Ø×"Ò"Ø'6×'BÑ'B×'JÑ'JÐ$ä& }Ó5ÐØ×!Ñ! ]Ò2Ø -Ðð
 .Ð.>×.GÑ.G×.LÑ.LÐ-Mð N/ð 0ð 8×>Ñ>ÜÐ+×4Ñ4×9Ñ9Ó:Ø%Ø ×%Ñ%óð
 :ñ
ð .Ð.>×.GÑ.G×.LÑ.LÐ-Mð Nà-×6Ñ6×;Ñ;Ð<ð =$ð%ð ;×AÑAÜÐ+×4Ñ4×9Ñ9Ó:Ø%Ø ×%Ñ%óô
 8Ø ×(Ñ(×/Ñ/óñ
ð( CØ#×,Ñ,×1Ñ1Ð2Ð2OðQð :×@Ñ@ÜÐ+×4Ñ4×9Ñ9Ó:Ø%Ø ×%Ñ%óô  Ø Ø'ð+ô	ð	ð :ñ)
ð0 .Ð.>×.GÑ.G×.LÑ.LÐ-Mð NOð Pð >×DÑDÜÐ+×4Ñ4×9Ñ9Ó:Ø%Ø ×%Ñ%óô  Ø Ø'àNô	ðð :ñ)
ñkKÐðX Ð-Ñ-Ø-¨kÑ:ˆÜ-ð 	
ØØ#Ø+Ø'Ø"2Ø/ñ	
ð ó	
ð .r"   N)T)Úbotocorer   Úbotocore.docs.methodr   Úbotocore.docs.utilsr   Úboto3.docs.baser   Úboto3.docs.methodr   Úboto3.docs.utilsr   r	   r   r+   r.   r2   r:   r"   r    ú<module>rg      sH   ðõ  Ý <Ý /å *Ý C÷ô/˜>ô /ðf 26óð> ó;ðJ ô}
r"   