44from __future__ import annotations
55
66from typing import Any , Dict
7+ import warnings
78
89from datadog_api_client .api_client import ApiClient , Endpoint as _Endpoint
910from datadog_api_client .configuration import Configuration
@@ -128,9 +129,9 @@ def edit_security_monitoring_signal_assignee(
128129 signal_id : str ,
129130 body : SignalAssigneeUpdateRequest ,
130131 ) -> SuccessfulSignalUpdateResponse :
131- """Modify the triage assignee of a security signal.
132+ """Modify the triage assignee of a security signal. **Deprecated**.
132133
133- Modify the triage assignee of a security signal.
134+ This endpoint is deprecated - Modify the triage assignee of a security signal.
134135
135136 :param signal_id: The ID of the signal.
136137 :type signal_id: str
@@ -143,16 +144,17 @@ def edit_security_monitoring_signal_assignee(
143144
144145 kwargs ["body" ] = body
145146
147+ warnings .warn ("edit_security_monitoring_signal_assignee is deprecated" , DeprecationWarning , stacklevel = 2 )
146148 return self ._edit_security_monitoring_signal_assignee_endpoint .call_with_http_info (** kwargs )
147149
148150 def edit_security_monitoring_signal_state (
149151 self ,
150152 signal_id : str ,
151153 body : SignalStateUpdateRequest ,
152154 ) -> SuccessfulSignalUpdateResponse :
153- """Change the triage state of a security signal.
155+ """Change the triage state of a security signal. **Deprecated**.
154156
155- Change the triage state of a security signal.
157+ This endpoint is deprecated - Change the triage state of a security signal.
156158
157159 :param signal_id: The ID of the signal.
158160 :type signal_id: str
@@ -165,4 +167,5 @@ def edit_security_monitoring_signal_state(
165167
166168 kwargs ["body" ] = body
167169
170+ warnings .warn ("edit_security_monitoring_signal_state is deprecated" , DeprecationWarning , stacklevel = 2 )
168171 return self ._edit_security_monitoring_signal_state_endpoint .call_with_http_info (** kwargs )
0 commit comments