
    vKg                         S SK r S SKJr  S SKJr  S SKJrJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJr  S S	KJrJrJr  S
rSS\00rSSS/00r " S S\5      r SS jr SS jrg)    N)
xform_name)DocumentStructure)document_custom_methoddocument_model_driven_method)OperationModel)get_service_module_name)NestedDocumenter)%document_model_driven_resource_method)add_resource_type_overviewget_resource_ignore_paramsget_resource_public_actionsa?  
.. warning::
    It is recommended to use the :py:meth:`put_metric_data`
    :doc:`client method <../../cloudwatch/client/put_metric_data>`
    instead. If you would still like to use this resource method,
    please make sure that ``MetricData[].MetricName`` is equal to
    the metric resource's ``name`` attribute.
Metricput_data	Namespacec                       \ rS rSrS rSrg)ActionDocumenter0   c           
      L   U R                   R                  n0 nU H  nXCUR                  '   M     [        U R                  R
                  5      n[        U5      U R                  S'   [        USSSS9  [        R                  U R                  0 5      n[        U5       GH  n[        USS9nUR                  S5      n	U	R                  R                  U R                   S	5        U	R#                  S
U 35        UR%                  U5        UR                  U5      n
U
b   UR                  S5      R#                  U
5        UR                  USU R&                   S30S9nUS;   a  U R                   R(                  (       ai  [+        UUU R                  U R                  R,                  R.                  R,                  R0                  U R                   R(                  U R2                  S9  OiXs;   aV  [5        UU R                  U R                  R,                  R.                  R,                  R0                  X7   U R2                  S9  O[7        XXW   5        [8        R:                  R=                  U R>                  U R@                   U RB                   5      nURE                  X5        GM     g )NactionsActionszActions call operations on resources.  They may automatically handle the passing in of arguments set from identifiers and some attributes.actions_intro)sectionresource_typedescription
intro_linkhtml)target
breadcrumbindexz / Action / warning	qualifier.)context)loadreload)r   action_nameresource_nameevent_emitter
load_modelservice_model)r   r'   r(   action_modelr*   )#_resource_modelr   namer   	_resource	__class__sorted
member_mapr   WARNING_MESSAGESget_resource_namer   add_new_sectionstyleref_resource_class_namewriteadd_title_section
class_namer$   document_load_reload_actionmetaclientevents_service_modeldocument_actionr   ospathjoin_root_docs_path_service_name_resource_sub_pathwrite_to_file)selfr   modeled_actions_listmodeled_actionsmodeled_actionresource_actionsresource_warningsr&   
action_docbreadcrumb_sectionwarning_messageaction_sectionactions_dir_paths                Q/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/boto3/docs/action.pydocument_actions!ActionDocumenter.document_actions1   se   #33;;2N3AN//0 36NN$$
 &,,<%=	""#8 '		
 -001D1DbI!"23K*;vFJ!+!;!;L!I$$(()B)BGL$$|K=%AB((5/33K@O***95;;OL'77$(9&;< 8 N 00T5I5I5N5N+* +"&"5"5"&.."5"5"<"<"A"A"H"H#3388"&"5"5 /*"&"5"5"&.."5"5"<"<"A"A"H"H!0!="&"5"5 '"1A1N
  "ww||$$%%&**+ 
 $$%5CU 4     N)__name__
__module____qualname____firstlineno__rU   __static_attributes__rX   rW   rT   r   r   0   s    >DrW   r   c                 8   UR                  UR                  R                  5      n[        R	                  U0 5      R	                  UR
                  [        UR                  R                  5      5      nSnUR                  (       a  [        UR                  R                  5      n[        U5      n	UR                  U:X  a  Un	U SU	 SUR
                   3n
U R                  R	                  SS5       UR
                   3n[        U UUUUR                  U
UUUS9	  g)a  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.
responsez = r"   r!    )	r   method_nameoperation_modelr(   method_descriptionexample_prefixexclude_inputresource_action_modelinclude_signatureN)rb   request	operationIGNORE_PARAMSr3   r-   r   paramsresourcer   typeservice_namer#   r
   documentation)r   r'   r(   r+   r*   rg   rb   ignore_paramsexample_return_valueexample_resource_namerd   full_action_names               rT   rA   rA   r   s    . $33&&O "%%mR8<<"<#7#7#>#>?M &),*?*?*D*DE&}5!!]2 -
 $9#:!L<M<M;NO  ??{B/
01B1B0CD  *$'#*88%#*+
rW   c           
      "   S[        U5       S[        UR                  R                  5       SU S3n[        U5      nUR                  U:X  a  UnU SU 3n	U R
                  R                  SS5       U 3n
[        U U
[        0 U5      UUU	US9  g	)
a  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.
zCalls :py:meth:`z.Client.z"` to update the attributes of the ze resource. Note that the load and reload methods are the same method and can be used interchangeably.r"   r!   r`   )r   ra   rb   r(   rc   rd   rg   N)	r   r   rh   ri   rn   r#   r3   r   r   )r   r&   r'   r(   r)   r*   rg   r   rr   rd   rs   s              rT   r<   r<      s    6 2=AB(j((223
44V/ ;	;  '}5!!]2 --.a}=N!//--k2>?}M $&r=9#&%+rW   )T)rB   botocorer   botocore.docs.bcdoc.restdocr   botocore.docs.methodr   r   botocore.modelr   botocore.utilsr   boto3.docs.baser	   boto3.docs.methodr
   boto3.docs.utilsr   r   r   PUT_DATA_WARNING_MESSAGEr2   rj   r   rA   r<   rX   rW   rT   <module>r~      s    
  9 * 2 , C   z34  J67?D' ?DP 4| -rW   