ó T!¶\c@sÒddlmZddlmZddlmZddlmZddlmZddl m Z ddl m Z ddl mZdd l mZdd l mZd e fd „ƒYZed „Zed„ZdS(iÿÿÿÿ(t xform_name(tOperationModel(tget_service_module_name(tdocument_model_driven_method(tdocument_custom_method(tBaseDocumenter(t%document_model_driven_resource_method(tget_resource_ignore_params(tget_resource_public_actions(tadd_resource_type_overviewtActionDocumentercBseZd„ZRS(cCs`|jj}i}x|D]}|||j         (t__name__t __module__R.(((s2/tmp/pip-install-usGedi/boto3/boto3/docs/action.pyR sc CsÌ|j|jjƒ}t|jjƒ}d}|jrKt|jjƒ}nt|ƒ} |j|kro|} nd|| |j f} t d|d|j d|d|d|j d| d |d |d |ƒ d S( s¢Documents a resource action :param section: The section to write to :param resource_name: The name of the resource :param event_emitter: The event emitter to use to emit events :param action_model: The model of the action :param service_model: The model of the service :param include_signature: Whether or not to include the signature. It is useful for generating docstrings. tresponses %s = %s.%sR t method_nametoperation_modelRtmethod_descriptiontexample_prefixt exclude_inputtresource_action_modeltinclude_signatureN( R3trequestt operationRtparamstresourceRttypet service_nameRRt documentation( R RRRRR8R3t ignore_paramstexample_return_valuetexample_resource_nameR5((s2/tmp/pip-install-usGedi/boto3/boto3/docs/action.pyR'Ds(    c Cs—dt|ƒt|jjƒ|f}t|ƒ}|j|krI|}nd||f} td|d|dti|ƒd|d|d| d |ƒd S( sýDocuments the resource load action :param section: The section to write to :param action_name: The name of the loading action should be load or reload :param resource_name: The name of the resource :param event_emitter: The event emitter to use to emit events :param load_model: The model of the load action :param service_model: The model of the service :param include_signature: Whether or not to include the signature. It is useful for generating docstrings. s¦Calls :py:meth:`%s.Client.%s` to update the attributes of the %s resource. Note that the load and reload methods are the same method and can be used interchangeably.s%s.%sR R2R3RR4R5R8N(RRR9R:R>RR( R RRRRRR8RRBR5((s2/tmp/pip-install-usGedi/boto3/boto3/docs/action.pyR!ms     N(tbotocoreRtbotocore.modelRtbotocore.utilsRtbotocore.docs.methodRRtboto3.docs.baseRtboto3.docs.methodRtboto3.docs.utilsRRR R tTrueR'R!(((s2/tmp/pip-install-usGedi/boto3/boto3/docs/action.pyt s+ *