
    vKg<                     X    S SK r S SKrS rS rS rS rS rS r SS jr " S	 S
5      r	g)    Nc                     / nU  Hl  n[         R                  " UR                  5      nUR                  nUS   (       a  US   S   nUS   (       a  M  US   S:X  d  MX  UR	                  US   5        Mn     U$ )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        P/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/boto3/docs/utils.pyget_resource_ignore_paramsr      s     M!!%,,/-- j!j)!,G j!! 6?g%  !12      c                 .    [         R                  " U 5      $ N)inspect
isfunction)action_handles    r   is_resource_actionr   '   s    m,,r   c                    [         R                  " U 5      n0 nU He  u  p4UR                  S5      (       a  M  US   R                  5       (       a  M7  UR                  S5      (       a  MO  [	        U5      (       d  Ma  XBU'   Mg     U$ )N_r   
wait_until)r   
getmembers
startswithisupperr   )resource_classresource_class_membersresource_methodsnamemembers        r   get_resource_public_actionsr&   +   so    $//?.s##7??$$|44)&1117. / r   c                 V    SR                  U  Vs/ sH	  nSU S3PM     sn5      $ s  snf )N,'join)identifier_names
identifiers     r   !get_identifier_values_for_exampler.   7   s/    88;KL;KZr*R(;KLMMLs   &c                 $    SR                  U 5      $ )Nr(   r*   )r,   s    r   !get_identifier_args_for_signaturer0   ;   s    88$%%r   c                     SU  SU S3$ )NzThe z's z" identifier. This **must** be set. )resource_nameidentifier_names     r   get_identifier_descriptionr5   ?   s    
}oS 1 2  	!r   c                    U R                   R                  5         U R                   R                  U5        U R                   R                  5         U R                   R                  5         U R                  U5        U R                   R                  5         UbA  U R                  SUR	                  5        SU S35        U R                   R                  5         g g )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_overviewr@   F   s     MMMM]#MMMMMM+MM)-*=*=*?)@ A22<SB	
 	  r   c                   &    \ rS rSrS rS rS rSrg)DocumentModifiedShapeW   c                 4    Xl         X l        X0l        X@l        g r   )_shape_name	_new_type_new_description_new_example_value)self
shape_namenew_typenew_descriptionnew_example_values        r   __init__DocumentModifiedShape.__init__X   s     &! /"3r   c                 Z   U R                   UR                  R                  S5      :X  a  U R                  X5        UR                   Ha  nUR                  U5      nU R                   UR                  R                  S5      :X  a  U R                  X5        MP  U R                  X5        Mc     g )Nshape)rE   contextget_replace_documentationavailable_sectionsget_section(replace_documentation_for_matching_shape)rI   
event_namer<   kwargssection_namesub_sections         r   rW   >DocumentModifiedShape.replace_documentation_for_matching_shape`   s     w227;;''
<#66L!--l;K;#6#6#:#:7#CC++JD== 7r   c                 r   UR                  S5      (       d  UR                  S5      (       a;  UR                  5         UR                  5         UR                  U R                  5        UR                  S5      (       d  UR                  S5      (       Ga#  SnUR
                   H  nXC;  d  M
  UR                  U5        M     UR                  S5      nUR                  5         UR                  U R                  5        UR                  S5      nUR                  5       R                  S5      R                  S	5      (       a<  UR                  5         UR                  S
UR                   SU R                   35        g UR                  5         UR                  R                  SU R                   S35        g g )Nzdocs.request-examplezdocs.response-examplezdocs.request-paramszdocs.response-params)z
param-nameparam-documentationzend-structure
param-typez	end-paramr^   r_   zutf-8z:typez:type z: (z) -- )r   remove_all_sections
clear_textr:   rH   rU   delete_sectionrV   rG   getvaluedecoder$   rF   r7   italics)rI   rX   r<   allowed_sectionsrZ   description_sectiontype_sections          r   rT   ,DocumentModifiedShape._replace_documentationn   sz     "
 
""#:;;'') MM$112  !
 
""#9::  !( : :  7**<8	 !; #*"5"56K"L**,%%d&;&;< #..|<L$$&--g6AA'JJ'')""VGLL>DNN;K#LM'')""**Qt~~.>e+DE5 ;r   )rG   rH   rF   rE   N)__name__
__module____qualname____firstlineno__rN   rW   rT   __static_attributes__r2   r   r   rB   rB   W   s    4$Fr   rB   r   )
r   r   r   r   r&   r.   r0   r5   r@   rB   r2   r   r   <module>rp      sB     *-	N& 59!";F ;Fr   