U wi@s8dZddlmZddlZddlmZGdddeZdS)a InfluxDB OSS API Service. The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://openapi-generator.tech )absolute_importN) _BaseServicecsBeZdZdZdMfdd ZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,Zd-d.Zd/d0Zd1d2Zd3d4Zd5d6Zd7d8Zd9d:Zd;d<Z d=d>Z!d?d@Z"dAdBZ#dCdDZ$dEdFZ%dGdHZ&dIdJZ'dKdLZ(Z)S)NNotificationRulesServicezNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually. Ncst|dS)z:NotificationRulesService - a operation defined in OpenAPI.N)super__init__)self api_client __class__c/opt/alt/python38/lib/python3.8/site-packages/influxdb_client/service/notification_rules_service.pyrsz!NotificationRulesService.__init__cKs6d|d<|dr |j|f|S|j|f|}|SdS)a2Add a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_notification_rule(post_notification_rule, async_req=True) >>> result = thread.get() :param async_req bool :param PostNotificationRule post_notification_rule: Notification rule to create (required) :return: NotificationRule If the method is called asynchronously, returns the request thread. T_return_http_data_only async_reqN)get'create_notification_rule_with_http_info)rpost_notification_rulekwargsdatar r r create_notification_rule s  z1NotificationRulesService.create_notification_rulecKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aAAdd a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.create_notification_rule_with_http_info(post_notification_rule, async_req=True) >>> result = thread.get() :param async_req bool :param PostNotificationRule post_notification_rule: Notification rule to create (required) :return: NotificationRule If the method is called asynchronously, returns the request thread. /api/v2/notificationRulesPOSTNotificationRulerr _preload_contentT_request_timeout urlopen_kwN bodyZ post_paramsfilesZ response_typeZ auth_settingsrr rrZcollection_formatsr!_create_notification_rule_preparercall_apirrrrlocal_var_params path_params query_params header_params body_paramsr r r r5s(   z@NotificationRulesService.create_notification_rule_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) adAdd a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param PostNotificationRule post_notification_rule: Notification rule to create (required) :return: NotificationRule If the method is called asynchronously, returns the request thread. rrrrr rTrrNrrr!r r r create_notification_rule_asyncWs(   z7NotificationRulesService.create_notification_rule_asyncc Kst}dg}|d||d|ks.|ddkr6tdi}g}i}d}d|krV|d}|jdg|d<|jdg|d<|||||fS)Nrrz_Missing the required parameter `post_notification_rule` when calling `create_notification_rule`application/jsonAccept Content-Typelocals_check_operation_params ValueErrorrselect_header_acceptZselect_header_content_type) rrrr" all_paramsr#r$r%r&r r r rvs( z:NotificationRulesService._create_notification_rule_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)a8Delete a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_notification_rules_id(rule_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. Tr rN)r+delete_notification_rules_id_with_http_inforrule_idrrr r r delete_notification_rules_ids  z5NotificationRulesService.delete_notification_rules_idcKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aGDelete a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_notification_rules_id_with_http_info(rule_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. "/api/v2/notificationRules/{ruleID}DELETENrr rTrrr%_delete_notification_rules_id_preparerr rrr3rr"r#r$r%r&r r r r1s(   zDNotificationRulesService.delete_notification_rules_id_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) auDelete a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. r5r6Nrr rTrrrr7r9r r r "delete_notification_rules_id_asyncs(   z;NotificationRulesService.delete_notification_rules_id_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nr3zap_trace_spanr4zTMissing the required parameter `rule_id` when calling `delete_notification_rules_id`ruleIDZap-Trace-Spanr(r)r,r-r.rr/ rr3rr"r0r#r$r%r&r r r r8s&   z>NotificationRulesService._delete_notification_rules_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aDelete label from a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_notification_rules_id_labels_id(rule_id, label_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str label_id: The ID of the label to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. Tr rN)r5delete_notification_rules_id_labels_id_with_http_info)rr3label_idrrr r r &delete_notification_rules_id_labels_ids  z?NotificationRulesService.delete_notification_rules_id_labels_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd S) aDelete label from a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.delete_notification_rules_id_labels_id_with_http_info(rule_id, label_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str label_id: The ID of the label to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. 3/api/v2/notificationRules/{ruleID}/labels/{labelID}r6Nrr rTrrr/_delete_notification_rules_id_labels_id_preparerr r rr3rArr"r#r$r%r&r r r r@s(   zNNotificationRulesService.delete_notification_rules_id_labels_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d dd IdHS) aDelete label from a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param str label_id: The ID of the label to delete. (required) :param str zap_trace_span: OpenTracing span context :return: None If the method is called asynchronously, returns the request thread. rCr6Nrr rTrrrrDrFr r r ,delete_notification_rules_id_labels_id_asyncBs(   zENotificationRulesService.delete_notification_rules_id_labels_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<d|kr|d|d<g}i}d|kr|d|d <d} |jd g|d <||||| fS) Nr3rAr;rBz^Missing the required parameter `rule_id` when calling `delete_notification_rules_id_labels_id`z_Missing the required parameter `label_id` when calling `delete_notification_rules_id_labels_id`r<ZlabelIDr=r(r)r>) rr3rArr"r0r#r$r%r&r r r rEcs2      zHNotificationRulesService._delete_notification_rules_id_labels_id_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)awList all notification rules. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_notification_rules(org_id, async_req=True) >>> result = thread.get() :param async_req bool :param str org_id: Only show notification rules that belong to a specific organization ID. (required) :param str zap_trace_span: OpenTracing span context :param int offset: The offset for pagination. The number of records to skip. For more information about pagination parameters, see [Pagination](https://docs.influxdata.com/influxdb/latest/api/#tag/Pagination). :param int limit: Limits the number of records returned. Default is `20`. :param str check_id: Only show notifications that belong to the specific check ID. :param str tag: Only return notification rules that "would match" statuses which contain the tag key value pairs provided. :return: NotificationRules If the method is called asynchronously, returns the request thread. Tr rN)r%get_notification_rules_with_http_info)rorg_idrrr r r get_notification_ruless  z/NotificationRulesService.get_notification_rulescKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aList all notification rules. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_notification_rules_with_http_info(org_id, async_req=True) >>> result = thread.get() :param async_req bool :param str org_id: Only show notification rules that belong to a specific organization ID. (required) :param str zap_trace_span: OpenTracing span context :param int offset: The offset for pagination. The number of records to skip. For more information about pagination parameters, see [Pagination](https://docs.influxdata.com/influxdb/latest/api/#tag/Pagination). :param int limit: Limits the number of records returned. Default is `20`. :param str check_id: Only show notifications that belong to the specific check ID. :param str tag: Only return notification rules that "would match" statuses which contain the tag key value pairs provided. :return: NotificationRules If the method is called asynchronously, returns the request thread. rGETNotificationRulesrr rTrrNr_get_notification_rules_preparerr rrrIrr"r#r$r%r&r r r rHs(   z>NotificationRulesService.get_notification_rules_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aList all notification rules. This method makes an asynchronous HTTP request. :param async_req bool :param str org_id: Only show notification rules that belong to a specific organization ID. (required) :param str zap_trace_span: OpenTracing span context :param int offset: The offset for pagination. The number of records to skip. For more information about pagination parameters, see [Pagination](https://docs.influxdata.com/influxdb/latest/api/#tag/Pagination). :param int limit: Limits the number of records returned. Default is `20`. :param str check_id: Only show notifications that belong to the specific check ID. :param str tag: Only return notification rules that "would match" statuses which contain the tag key value pairs provided. :return: NotificationRules If the method is called asynchronously, returns the request thread. rrKrLrr rTrrNrrMrOr r r get_notification_rules_asyncs(   z5NotificationRulesService.get_notification_rules_asyncc Kst}ddddddg}|d||d|ks8|ddkr@tdd|kr\|dd kr\td d|krx|dd krxtd d|kr|dd krtdd|krtd|dstdi}g}d|kr|d|dfd|kr|d|dfd|kr |d|dfd|kr(|d|dfd|krD|d|dfi}d|kr^|d|d<d}|jdg|d<|||||fS)NrIr;offsetlimitZcheck_idtagrJzMMissing the required parameter `org_id` when calling `get_notification_rules`rzxInvalid value for parameter `offset` when calling `get_notification_rules`, must be a value greater than or equal to `0`dzvInvalid value for parameter `limit` when calling `get_notification_rules`, must be a value less than or equal to `100`zwInvalid value for parameter `limit` when calling `get_notification_rules`, must be a value greater than or equal to `1`z^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$zInvalid value for parameter `tag` when calling `get_notification_rules`, must conform to the pattern `/^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$/`ZorgIDZcheckIDr=r(r))r,r-r.researchappendrr/) rrIrr"r0r#r$r%r&r r r rNsF      z8NotificationRulesService._get_notification_rules_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)aCRetrieve a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_notification_rules_id(rule_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. Tr rN)r(get_notification_rules_id_with_http_infor2r r r get_notification_rules_ids  z2NotificationRulesService.get_notification_rules_idcKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aRRetrieve a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_notification_rules_id_with_http_info(rule_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. r5rKrrr rTrrNr"_get_notification_rules_id_preparerr rr9r r r rY*s(   zANotificationRulesService.get_notification_rules_id_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aRetrieve a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. r5rKrrr rTrrNrr[r9r r r get_notification_rules_id_asyncMs(   z8NotificationRulesService.get_notification_rules_id_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nr3r;rZzQMissing the required parameter `rule_id` when calling `get_notification_rules_id`r<r=r(r)r>r?r r r r\ms&   z;NotificationRulesService._get_notification_rules_id_preparecKs6d|d<|dr |j|f|S|j|f|}|SdS)aSList all labels for a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_notification_rules_id_labels(rule_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: LabelsResponse If the method is called asynchronously, returns the request thread. Tr rN)r/get_notification_rules_id_labels_with_http_infor2r r r get_notification_rules_id_labelss  z9NotificationRulesService.get_notification_rules_id_labelscKsf|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) abList all labels for a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_notification_rules_id_labels_with_http_info(rule_id, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: LabelsResponse If the method is called asynchronously, returns the request thread. )/api/v2/notificationRules/{ruleID}/labelsrKLabelsResponserr rTrrNr)_get_notification_rules_id_labels_preparerr rr9r r r r^s(   zHNotificationRulesService.get_notification_rules_id_labels_with_http_infocsl|j|f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aList all labels for a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param str zap_trace_span: OpenTracing span context :return: LabelsResponse If the method is called asynchronously, returns the request thread. r`rKrarr rTrrNrrbr9r r r &get_notification_rules_id_labels_asyncs(   z?NotificationRulesService.get_notification_rules_id_labels_asyncc Kst}ddg}|d||d|ks0|ddkr8tdi}d|krP|d|d<g}i}d|krl|d|d<d}|jdg|d<|||||fS) Nr3r;r_zXMissing the required parameter `rule_id` when calling `get_notification_rules_id_labels`r<r=r(r)r>r?r r r rcs&   zBNotificationRulesService._get_notification_rules_id_labels_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aUpdate a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_notification_rules_id(rule_id, notification_rule_update, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param NotificationRuleUpdate notification_rule_update: Notification rule update to apply (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. Tr rN)r*patch_notification_rules_id_with_http_info)rr3notification_rule_updaterrr r r patch_notification_rules_ids  z4NotificationRulesService.patch_notification_rules_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aUpdate a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.patch_notification_rules_id_with_http_info(rule_id, notification_rule_update, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param NotificationRuleUpdate notification_rule_update: Notification rule update to apply (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. r5PATCHrrr rTrrNr$_patch_notification_rules_id_preparerr r rr3rfrr"r#r$r%r&r r r res(   zCNotificationRulesService.patch_notification_rules_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aUpdate a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param NotificationRuleUpdate notification_rule_update: Notification rule update to apply (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. r5rhrrr rTrrNrrirkr r r !patch_notification_rules_id_async7s(   z:NotificationRulesService.patch_notification_rules_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nr3rfr;rgzSMissing the required parameter `rule_id` when calling `patch_notification_rules_id`zdMissing the required parameter `notification_rule_update` when calling `patch_notification_rules_id`r<r=r(r)r*r+) rr3rfrr"r0r#r$r%r&r r r rjXs8     z=NotificationRulesService._patch_notification_rules_id_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aAdd a label to a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_notification_rule_id_labels(rule_id, label_mapping, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param LabelMapping label_mapping: Label to add (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, returns the request thread. Tr rN)r/post_notification_rule_id_labels_with_http_info)rr3 label_mappingrrr r r post_notification_rule_id_labels}s  z9NotificationRulesService.post_notification_rule_id_labelsc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aAdd a label to a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.post_notification_rule_id_labels_with_http_info(rule_id, label_mapping, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param LabelMapping label_mapping: Label to add (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, returns the request thread. r`r LabelResponserr rTrrNr)_post_notification_rule_id_labels_preparerr r rr3rnrr"r#r$r%r&r r r rms(   zHNotificationRulesService.post_notification_rule_id_labels_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aAdd a label to a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param LabelMapping label_mapping: Label to add (required) :param str zap_trace_span: OpenTracing span context :return: LabelResponse If the method is called asynchronously, returns the request thread. r`rrprr rTrrNrrqrsr r r &post_notification_rule_id_labels_asyncs(   z?NotificationRulesService.post_notification_rule_id_labels_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nr3rnr;rozXMissing the required parameter `rule_id` when calling `post_notification_rule_id_labels`z^Missing the required parameter `label_mapping` when calling `post_notification_rule_id_labels`r<r=r(r)r*r+) rr3rnrr"r0r#r$r%r&r r r rrs8     zBNotificationRulesService._post_notification_rule_id_labels_preparecKs:d|d<|dr"|j||f|S|j||f|}|SdS)aUpdate a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_notification_rules_id(rule_id, notification_rule, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param NotificationRule notification_rule: Notification rule update to apply (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. Tr rN)r(put_notification_rules_id_with_http_info)rr3notification_rulerrr r r put_notification_rules_ids  z2NotificationRulesService.put_notification_rules_idc Ksh|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d S) aUpdate a notification rule. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.put_notification_rules_id_with_http_info(rule_id, notification_rule, async_req=True) >>> result = thread.get() :param async_req bool :param str rule_id: The notification rule ID. (required) :param NotificationRule notification_rule: Notification rule update to apply (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. r5PUTrrr rTrrNr"_put_notification_rules_id_preparerr r rr3rvrr"r#r$r%r&r r r rus(   zANotificationRulesService.put_notification_rules_id_with_http_infoc sn|j||f|\}}}}}|jjdd||||gidg|d|d|dd|di|d d d Id HS) aUpdate a notification rule. This method makes an asynchronous HTTP request. :param async_req bool :param str rule_id: The notification rule ID. (required) :param NotificationRule notification_rule: Notification rule update to apply (required) :param str zap_trace_span: OpenTracing span context :return: NotificationRule If the method is called asynchronously, returns the request thread. r5rxrrr rTrrNrryr{r r r put_notification_rules_id_async9s(   z8NotificationRulesService.put_notification_rules_id_asyncc Kst}dddg}|d||d|ks2|ddkr:tdd|ksN|ddkrVtdi}d|krn|d|d<g}i}d|kr|d|d<d} d|kr|d} |jd g|d <|jd g|d <||||| fS) Nr3rvr;rwzQMissing the required parameter `rule_id` when calling `put_notification_rules_id`z[Missing the required parameter `notification_rule` when calling `put_notification_rules_id`r<r=r(r)r*r+) rr3rvrr"r0r#r$r%r&r r r rzZs8     z;NotificationRulesService._put_notification_rules_id_prepare)N)*__name__ __module__ __qualname____doc__rrrr'rr4r1r:r8rBr@rGrErJrHrPrNrZrYr]r\r_r^rdrcrgrerlrjrormrtrrrwrur|rz __classcell__r r r r rsL"# $!!'$+# # $!%$!%$!r)r __future__rrVZ%influxdb_client.service._base_servicerrr r r r s