U
    ´.¬bx  ã                   @   sJ   d dl mZ d dlmZ G dd„ deƒZddd„Zddd	„Zdd
d„ZdS )é    )ÚResponseParamsDocumenter)Úget_identifier_descriptionc                   @   s   e Zd ZdZdS )ÚResourceShapeDocumenterzresource-shapeN)Ú__name__Ú
__module__Ú__qualname__Z
EVENT_NAME© r   r   ú3/tmp/pip-unpacked-wheel-7h_bjh9e/boto3/docs/attr.pyr      s   r   Tc                 C   s,   |r| j  |¡ t|||d�j| |d� d S )N)Úservice_nameZoperation_nameÚevent_emitter)ÚsectionÚshape)ÚstyleÚstart_sphinx_py_attrr   Zdocument_params)r   r
   Úresource_nameÚ	attr_namer   Z
attr_modelÚinclude_signaturer   r   r	   Údocument_attribute   s    	ý ür   c                 C   s2   |r| j  |j¡ t||jƒ}|  d|› �¡ d S )Nz*(string)* )r   r   Únamer   Úwrite)r   r   Zidentifier_modelr   Údescriptionr   r   r	   Údocument_identifier,   s     ÿr   c                 C   sD   |r| j  |j¡ d|jj› d�}|  |¡ |  d|j› d�¡ d S )Nz(:py:class:`z`) zThe related z if set, otherwise ``None``.)r   r   r   ÚresourceÚtyper   Zinclude_doc_string)r   Zreference_modelr   Zreference_typer   r   r	   Údocument_reference7   s    
ÿr   N)T)T)T)Zbotocore.docs.paramsr   Zboto3.docs.utilsr   r   r   r   r   r   r   r   r	   Ú<module>   s    ù
 ÿ
