ó T!ś\c@s„ddlZddlZddlmZd„Zd„Zd„Zd„Zd„Zd„Z dd „Z d e fd „ƒYZ dS( i˙˙˙˙N(tsixcCsyg}xl|D]d}tj|jƒ}|j}x|drL|dd}q1W|ddkr |j|dƒq q W|S(sŐHelper 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. tchildrenittypetfieldtvalue(tjmespathtcompilettargettparsedtappend(tparamst ignore_paramstparamtresulttcurrent((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pytget_resource_ignore_paramss   cCs'tjrtj|ƒStj|ƒSdS(N(RtPY3tinspectt isfunctiontismethod(t action_handle((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pytis_resource_action)s  cCs€tj|ƒ}i}xd|D]\\}}|jdƒs|djƒsx|jdƒsut|ƒrr|||`.(tstyletnew_linetwritetNonetlower(tsectiont resource_typet descriptiont intro_link((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pytadd_resource_type_overviewJs           tDocumentModifiedShapecBs#eZd„Zd„Zd„ZRS(cCs(||_||_||_||_dS(N(t _shape_namet _new_typet_new_descriptiont_new_example_value(tselft shape_nametnew_typetnew_descriptiontnew_example_value((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pyt__init__]s   cKs“|j|jjdƒkr.|j||ƒnx^|jD]S}|j|ƒ}|j|jjdƒkr{|j||ƒq8|j||ƒq8WdS(Ntshape(R6tcontexttgett_replace_documentationtavailable_sectionst get_sectiont(replace_documentation_for_matching_shape(R:t event_nameR0tkwargst section_namet sub_section((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pyRFdscCs;|jdƒs|jdƒrE|jƒ|jƒ|j|jƒn|jdƒsc|jdƒr7x-|jD]"}|dkrm|j|ƒqmqmW|jdƒ}|jƒ|j|jƒ|jdƒ}|j ƒj d ƒjd ƒr|jƒ|jd |j |j fƒq7|jƒ|j jd |j ƒndS(Nsdocs.request-examplesdocs.response-examplesdocs.request-paramssdocs.response-paramss param-namesparam-documentations end-structures param-types end-paramsutf-8s:types :type %s: %ss(%s) -- (s param-namesparam-documentations end-structures param-types end-param(Rtremove_all_sectionst clear_textR-R9RDtdelete_sectionRER8tgetvaluetdecodeRR7R+titalics(R:RGR0RItdescription_sectiont type_section((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pyRCps,       (t__name__t __module__R?RFRC(((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pyR5\s  (RRtbotocore.compatRRRR R&R'R*R.R4tobjectR5(((s1/tmp/pip-install-usGedi/boto3/boto3/docs/utils.pyt s