U
    O8c
                  	   @   s"   d dl mZ dddZdd ZdS )	    )document_model_driven_methodNTc                 C   s   t | |||||||||	|
|d |jrd| jkr:| d |jj}| d}d|jj|}d| d}| d}t	|jrd| 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-hml_76kf/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