
    "hj                     N    d dl Z d dlZd dlmZ d Zd Zd Zd Zd Zd Z		 d
d	Z
y)    N)DocumentModifiedShapec                     g }| D ]]  }t        j                  |j                        }|j                  }|d   r|d   d   }|d   r|d   dk(  sJ|j	                  |d          _ |S )zHelper method to determine which parameters to ignore for actions

    :returns: A list of the parameter names that does not need to be
        included in a resource's method call for documentation purposes.
    childrenr   typefieldvalue)jmespathcompiletargetparsedappend)paramsignore_paramsparamresultcurrents        N/root/.hermes/SkillClaw/.venv/lib/python3.12/site-packages/boto3/docs/utils.pyget_resource_ignore_paramsr      s     M 
3!!%,,/-- j!j)!,G j! 6?g%  !12
3     c                 ,    t        j                  |       S N)inspect
isfunction)action_handles    r   is_resource_actionr   (   s    m,,r   c                     t        j                  |       }i }|D ]N  \  }}|j                  d      r|d   j                         r,|j                  d      r>t	        |      sJ|||<   P |S )N_r   
wait_until)r   
getmembers
startswithisupperr   )resource_classresource_class_membersresource_methodsnamemembers        r   get_resource_public_actionsr'   ,   sm    $//?. 8fs#7??$|4)&117(.8 r   c                 R    dj                  | D cg c]  }d| d
 c}      S c c}w )N,'join)identifier_names
identifiers     r   !get_identifier_values_for_exampler/   8   s)    88;KLZr*R(LMMLs   $c                 $    dj                  |       S )Nr)   r+   )r-   s    r   !get_identifier_args_for_signaturer1   <   s    88$%%r   c                     d|  d| dS )NzThe z's z" identifier. This **must** be set. )resource_nameidentifier_names     r   get_identifier_descriptionr6   @   s    
}oS 1 2  	!r   c                    | j                   j                          | j                   j                  |       | j                   j                          | j                   j                          | j                  |       | j                   j                          |A| j                  d|j	                          d| d       | j                   j                          y y )NzFor more information about z1 refer to the :ref:`Resources Introduction Guide<z>`.)stylenew_lineh3writelower)sectionresource_typedescription
intro_links       r   add_resource_type_overviewrA   G   s     MMMM]#MMMMMM+MM)-*=*=*?)@ A22<SB	
 	  r   r   )r   r	   botocore.docs.utilsr   r   r   r'   r/   r1   r6   rA   r3   r   r   <module>rC      s9      5*-	N& 59!r   