U
    ´.¬b®
  ã                	   @   s"   d dl mZ ddd„Zdd„ ZdS )	é    )Údocument_model_driven_methodNTc                 C   sÖ   t | |||||||||	|
|d� |jrÒd| jkr:|  d¡ |jj}|  d¡}d |jj|¡}d|› d�}|› d�}t	|jƒr”d|› d�}d	|› d
�}|j
 ¡  | d|› �¡ |j
 ¡  | d|› �¡ |j
 ¡  d S )N)ÚsectionÚmethod_nameÚoperation_modelÚevent_emitterÚmethod_descriptionÚexample_prefixÚinclude_inputÚinclude_outputÚexclude_inputÚexclude_outputÚdocument_outputÚinclude_signatureÚreturnz{}.{}z:py:class:`ú`z	 resourcezlist(ú)z
A list of z
 resourcesz:rtype: z
:returns: )r   ÚresourceZavailable_sectionsZdelete_sectionÚtypeZadd_new_sectionÚformatZservice_modelZservice_nameÚ_method_returns_resource_listÚstyleÚnew_lineÚwrite)r   r   r   r   r   r   r	   r
   r   r   r   Zresource_action_modelr   Zresource_typeZnew_return_sectionZreturn_resource_typeÚreturn_typeZreturn_description© r   ú5/tmp/pip-unpacked-wheel-7h_bjh9e/boto3/docs/method.pyÚ%document_model_driven_resource_method   sB    ô


 ÿ



r   c                 C   s&   | j D ]}|jrd|jkr dS qdS )Nz[]TF)ZidentifiersÚpath)r   Ú
identifierr   r   r   r   I   s    
r   )	NNNNNNTNT)Zbotocore.docs.methodr   r   r   r   r   r   r   Ú<module>   s            ó
9