/usr/lib/rads/venv/lib/python3.13/site-packages/boto3/resources/__pycache__
NameSizeModeActions
action.cpython-313.pyc95400644editdlrm
base.cpython-313.pyc49520644editdlrm
collection.cpython-313.pyc186930644editdlrm
factory.cpython-313.pyc190120644editdlrm
model.cpython-313.pyc217460644editdlrm
params.cpython-313.pyc49810644editdlrm
response.cpython-313.pyc96200644editdlrm
__init__.cpython-313.pyc1720644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/boto3/resources/__pycache__/action.cpython-313.pyc (9540B)
j%SSKrSSKJr SSKJr SSKJr SSKJr SSK J r SSK J r J r \R"\5r"S S 5r"S S \5r"S S5r"SS5rg)N) xform_name)ActionDocstring)inject_attribute)Action)create_request_parameters) RawHandlerResourceHandlerc(\rSrSrSrSSjrSrSrg) ServiceActionau A class representing a callable action on a resource, for example ``sqs.get_queue_by_name(...)`` or ``s3.Bucket('foo').delete()``. The action may construct parameters from existing resource identifiers and may return either a raw response or a new resource instance. :type action_model: :py:class`~boto3.resources.model.Action` :param action_model: The action model. :type factory: ResourceFactory :param factory: The factory that created the resource class to which this action is attached. :type service_context: :py:class:`~boto3.utils.ServiceContext` :param service_context: Context about the AWS service NcXlURnU(a1[URUUUURR S9Ulg[UR5Ulg)N) search_pathfactoryresource_modelservice_contextoperation_name) _action_modelresourcer pathrequest operation_response_handlerr )self action_modelrrresource_response_models I/usr/lib/rads/venv/lib/python3.13/site-packages/boto3/resources/action.py__init__ServiceAction.__init__.s\)#/"7"7 "%43886 /+33== &D "&0 0A0A%BD "c[URRR5n[ XRR5nUR U5 [ RSURRUU5 [URRU5"U0UD6n[ RSU5 URXU5$)a Perform the action's request operation after building operation parameters and build any defined resources from the response. :type parent: :py:class:`~boto3.resources.base.ServiceResource` :param parent: The resource instance to which this action is attached. :rtype: dict or ServiceResource or list(ServiceResource) :return: The response, either as a raw dict or resource instance(s). Calling %s:%s with %r Response: %r) rrrrrupdateloggerdebugmeta service_namegetattrclientr)rparentargskwargsrparamsresponses r__call__ServiceAction.__call__?s$D$6$6$>$>$H$HI +63E3E3M3MN f # KK $ $    6;;--~>OO ^X.%%fh??r )rr)NN__name__ __module__ __qualname____firstlineno____doc__rr0__static_attributes__r rr r s"C"@r r c\rSrSrSrSrSrg) BatchAction_a An action which operates on a batch of items in a collection, typically a single page of results from the collection's underlying service operation call. For example, this allows you to delete up to 999 S3 objects in a single operation rather than calling ``.delete()`` on each one individually. :type action_model: :py:class`~boto3.resources.model.Action` :param action_model: The action model. :type factory: ResourceFactory :param factory: The factory that created the resource class to which this action is attached. :type service_context: :py:class:`~boto3.utils.ServiceContext` :param service_context: Context about the AWS service c VSnSn/n[URRR5nUR 5Hn0n [ U5HWupUcU R RnUcU R Rn[U URRU U S9 MY U (d U$U RU5 [RSXGU 5 [XW5"U0U D6n [RSU 5 URURXU 55 M U$)aI Perform the batch action's operation on every page of results from the collection. :type parent: :py:class:`~boto3.resources.collection.ResourceCollection` :param parent: The collection iterator to which this action is attached. :rtype: list(dict) :return: A list of low-level response dicts from each call. N)r.indexr"r#)rrrrpages enumerater'r(r*rr$r%r&r)appendr) rr+r,r-r(r* responsesrpager.r>rr/s rr0BatchAction.__call__rs  #D$6$6$>$>$H$HI LLNDF#,T? '#+==#=#=L>%]]11F)&&..! $3  MM& ! LL'v v6GGH LL 2   T33FHM NA#Dr r9N)r3r4r5r6r7r0r8r9r rr;r;_s $6r r;c$\rSrSrSrSrSrSrg) WaiterActiona A class representing a callable waiter action on a resource, for example ``s3.Bucket('foo').wait_until_bucket_exists()``. The waiter action may construct parameters from existing resource identifiers. :type waiter_model: :py:class`~boto3.resources.model.Waiter` :param waiter_model: The action waiter. :type waiter_resource_name: string :param waiter_resource_name: The name of the waiter action for the resource. It usually begins with a ``wait_until_`` cXlX lg)N _waiter_model_waiter_resource_name)r waiter_modelwaiter_resource_names rrWaiterAction.__init__s)%9"r c[URR5n[XR5nUR U5 [ R SURRURU5 URRnURU5nUR"S0UD6n[ R SU5 g)z Perform the wait operation after building operation parameters. :type parent: :py:class:`~boto3.resources.base.ServiceResource` :param parent: The resource instance to which this action is attached. r"r#Nr9) rrJ waiter_namerr$r%r&r'r(rKr* get_waiterwait) rr+r,r-client_waiter_namer.r*waiterr/s rr0WaiterAction.__call__s((:(:(F(FG +63E3EF f # KK $ $  & &   ##""#56;;(( ^X.r rINr2r9r rrFrFs :/r rFc$\rSrSrSrSrSrSrg)CustomModeledActionz3A custom, modeled action to inject into a resource.c4XlX lX0lX@lg)a :type action_name: str :param action_name: The name of the action to inject, e.g. 'delete_tags' :type action_model: dict :param action_model: A JSON definition of the action, as if it were part of the resource model. :type function: function :param function: The function to perform when the action is called. The first argument should be 'self', which will be the resource the function is to be called on. :type event_emitter: :py:class:`botocore.hooks.BaseEventHooks` :param event_emitter: The session event emitter. N)namemodelfunctionemitter)r action_namerr\ event_emitters rrCustomModeledAction.__init__s$ !  $ r c DURS5Sn[URUR05nURURl[ UURUURSS9URl [XRUR5 g)N.F) resource_namer_r service_modelinclude_signature) rsplitrrZr[r\r3rr]rer7r)rclass_attributesr event_namer-rdactions rinjectCustomModeledAction.injects|"))#.r2  4::r2!%  /',,)77# !   )99dmmDr )r]r\r[rZN)r3r4r5r6r7rrkr8r9r rrWrWs=%. Er rW)loggingbotocorerboto3.docs.docstringr boto3.utilsrr[rr.rr/r r getLoggerr3r%r r;rFrWr9r rrrsa0(-1   8 $@@@@FI-IX././b%E%Er