+
    i"                     `    ^ RI Ht ^ RIHt  ! R R]4      t ! R R]4      t ! R R]4      tR	# )
    )ShapeDocumenter)
py_defaultc                      a  ] tR t^t o RR ltR tRR ltRR ltRR ltRR lt	RR lt
R	 tRR
 ltRR ltR tRtV tR# )BaseExampleDocumenterNc                   . pVP                   P                  4        VP                   P                  4        Ve   VP                  V4       V P	                  VVVVVR7       VP                  R4      pVP                   P                  4        R# )a  Generates an example based on a shape

:param section: The section to write the documentation to.

:param shape: The shape of the operation.

:param prefix: Anything to be included before the example

:type include: Dictionary where keys are parameter names and
    values are the shapes of the parameter names.
:param include: The parameter shapes to include in the documentation.

:type exclude: List of the names of the parameters to exclude.
:param exclude: The names of the parameters to exclude from
    documentation.
N)sectionshapehistoryincludeexcludezfinal-blank-line)stylenew_linestart_codeblockwritetraverse_and_document_shapeadd_new_section)selfr   r	   prefixr   r   r
   final_blank_line_sections   &&&&&&  7/usr/lib/python3/dist-packages/botocore/docs/example.pydocument_example&BaseExampleDocumenter.document_example   s    &  %%'MM&!(( 	) 	
 $+#:#:;M#N  &&//1    c                (    VP                  R 4       R# )z{'... recursive ...'}N)r   )r   r   r	   kwargss   &&&,r   document_recursive_shape.BaseExampleDocumenter.document_recursive_shape4   s    /0r   c                    V P                  V4      pVf   \        VP                  4      pV P                  P	                  R4      V8X  d   RpVP                  V4       R # )Nstreaming_shapezStreamingBody())_get_special_py_defaultr   	type_name_contextgetr   )r   r   r	   r
   r   r   r   py_types   &&&&&&, r   document_shape_default,BaseExampleDocumenter.document_shape_default7   sP     ..u5? 1G==./58'Ggr   c                :   R VP                   9   dx   \        VP                   R ,          4       FU  w  rxVP                  RV R24       V\        VP                   R ,          4      ^,
          8  g   KD  VP                  R4       KW  	  R# V P	                  WV4       R# )enum'|N)metadata	enumerater   lenr%   )	r   r   r	   r
   r   r   r   ir(   s	   &&&&&&,  r   document_shape_type_string0BaseExampleDocumenter.document_shape_type_stringB   sw     U^^#$U^^F%;<4&m,s5>>&12Q66MM#& =
 ''@r   c                R   VP                   pVP                  R 4      pV P                  VR4       VP                  RRVP                  /R7      p	V P	                  WVR7       VP                  R4      p
V
P                  R4       VP                  R4      pV P                  VR	4       R
# )z
list-value[memberr	   contextr   r	   r
   ending-comma,ending-bracket]N)r3   r   _start_nested_paramnamer   r   _end_nested_param)r   r   r	   r
   r   r   r   param_shapelist_sectionparam_sectionending_comma_sectionending_bracket_sections   &&&&&&,     r   document_shape_type_list.BaseExampleDocumenter.document_shape_type_listM   s     ll..|<  s3$44w(8(89 5 
 	((!g 	) 	
  ,;;NK""3'!-!=!=>N!O5s;r   c                   VP                   '       g   VP                  R 4       R# VP                  R4      pV P                  VR4       V P	                  VP                   V4      p\        V4       F  w  rV'       d	   W9   d   K  VP                  V	4      p
V
P                  RV	 R24       Wy,          pV
P                  RRVP                  /R7      pV P                  VVVV	R	7       V\        V4      ^,
          8  g   K  V
P                  R
4      pVP                  R4       VP                  P                  4        K  	  V P                  VRR4       R# )z{}Nstructure-value{r)   z': member-valuer	   r4   r   r	   r
   r<   r7   r8   })membersr   r   r;   _add_members_to_shaper,   r<   r   r-   r   r   _end_structure)r   r   r	   r
   r   r   r   input_membersr.   paramr@   r>   param_value_sectionrA   s   &&&&&&,       r   document_shape_type_structure3BaseExampleDocumenter.document_shape_type_structure^   sD    }}}MM$))*;<  #.225=='J!-0HA5+#33E:M"UG4 01'.K"/"?"?+2B2B(C #@ # ,,+!	 -  3}%))'4'D'D"($ %**3/$**335) 1* 	GS#.r   c                   VP                  R 4      pV P                  VR4       VP                  pVP                  RRVP                  P                  /R7      p	V	P                  R4       VP                  RRVP                  /R7      p
V P                  WVR7       VP                  R4      pV P                  VR	4       R
# )z	map-valuerG   keyr	   r4   z
'string': valuer6   r9   rJ   N)r   r;   rU   rT   r<   r   r   r=   )r   r   r	   r
   r   r   r   map_sectionvalue_shapekey_sectionvalue_sectionend_bracket_sections   &&&&&&,     r   document_shape_type_map-BaseExampleDocumenter.document_shape_type_map   s     --k:  c2kk!11GUYY^^4 2 
 	.)#33g{'7'78 4 
 	((!g 	) 	
 *99:JK2C8r   c                d    V'       d(   VP                  4       pV F  pW1VP                  &   K  	  V# N)copyr<   )r   rK   r   rO   s   &&& r   rL   +BaseExampleDocumenter._add_members_to_shape   s+    llnG &+

# !r   c                    Ve   VP                  V4       VP                  P                  4        VP                  P                  4        VP                  P                  4        R # r^   )r   r   indentr   )r   r   starts   &&&r   r;   )BaseExampleDocumenter._start_nested_param   sD    MM%  r   c                    VP                   P                  4        VP                   P                  4        VP                   P                  4        Ve   VP                  V4       R # R # r^   )r   dedentr   r   )r   r   ends   &&&r   r=   'BaseExampleDocumenter._end_nested_param   sH     ?MM# r   c                    VP                   '       g;   VP                  4        VP                  W#,           4       V P                  V4       R# VP	                  R 4      pV P                  WC4       R# )r9   N)available_sections
clear_textr   r=   r   )r   r   rc   rg   rZ   s   &&&& r   rM   $BaseExampleDocumenter._end_structure   sY     ))) MM%+&""7+")"9"9:J"K""#6<r    )NNNNNr^   )__name__
__module____qualname____firstlineno__r   r   r%   r/   rC   rQ   r[   rL   r;   r=   rM   __static_attributes____classdictcell____classdict__s   @r   r   r      sD      2D1		A<"!/F9&!
= 
=r   r   c                   *   a  ] tR t^t o RtR tRtV tR# )ResponseExampleDocumenterzresponse-examplec                    VP                  R 4       V P                  ! WV3/ VB  VP                  R4      pVP                  R4       R# )zEventStream(zevent-stream-end)N)r   rQ   r   )r   r   r	   r
   r   end_sections   &&&&, r    document_shape_type_event_stream:ResponseExampleDocumenter.document_shape_type_event_stream   sD     	n%**77MfM--.@A#r   rm   N)ro   rp   rq   rr   
EVENT_NAMEr|   rs   rt   ru   s   @r   rx   rx      s     #J r   rx   c                   .   a  ] tR t^t o RtRR ltRtV tR# )RequestExampleDocumenterzrequest-exampleNc                   R pRpRp	Rp
\        V4      ^8:  d	   RpRp	Rp
RpVP                  R4      pV P                  W4       V P                  VP                  V4      p\        V4       F  w  rV'       d	   W9   d   K  VP                  V4      pVP                  W},          4       VP                  V4       W,          pVP                  R	R
VP                  /R7      pV P                  VVVVR7       V\        V4      ^,
          8  g   K  VP                  R4      pVP                  R4       VP                  P                  4        K  	  V P                  WV
4       R# )z'%s'z: rG   rJ   =(rz   z%srF   rH   r	   r4   rI   r7   r8   N)r-   r   r;   rL   rK   r,   r   r<   r   r   r   rM   )r   r   r	   r
   r   r   r   param_formatoperatorrc   rg   rN   r.   rO   r@   r>   rP   rA   s   &&&&&&,           r   rQ   6RequestExampleDocumenter.document_shape_type_structure   sd     w<1HECL))*;<  0225=='J!-0HA5+#33E:M 45)'.K"/"?"?+2B2B(C #@ # ,,+!	 -  3}%))'4'D'D"($ %**3/$**335+ 1, 	GC0r   rm   rn   )ro   rp   rq   rr   r~   rQ   rs   rt   ru   s   @r   r   r      s     "J'1 '1r   r   N)botocore.docs.shaper   botocore.docs.utilsr   r   rx   r   rm   r   r   <module>r      s6    0 *b=O b=J	 5 	*14 *1r   