@@ -162,9 +162,9 @@ def check_aws_logs_lambda_async(
162162 self ,
163163 body : AWSAccountAndLambdaRequest ,
164164 ) -> AWSLogsAsyncResponse :
165- """Check that an AWS Lambda Function exists.
165+ """Check that an AWS Lambda Function exists. **Deprecated**.
166166
167- Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input
167+ **This endpoint is deprecated.** Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input
168168 is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this
169169 endpoint can be polled intermittently instead of blocking.
170170
@@ -180,15 +180,16 @@ def check_aws_logs_lambda_async(
180180 kwargs : Dict [str , Any ] = {}
181181 kwargs ["body" ] = body
182182
183+ warnings .warn ("check_aws_logs_lambda_async is deprecated" , DeprecationWarning , stacklevel = 2 )
183184 return self ._check_aws_logs_lambda_async_endpoint .call_with_http_info (** kwargs )
184185
185186 def check_aws_logs_services_async (
186187 self ,
187188 body : AWSLogsServicesRequest ,
188189 ) -> AWSLogsAsyncResponse :
189- """Check permissions for log services.
190+ """Check permissions for log services. **Deprecated**.
190191
191- Test if permissions are present to add log-forwarding triggers for the
192+ **This endpoint is deprecated.** Test if permissions are present to add log-forwarding triggers for the
192193 given services and AWS account. Input is the same as for ``EnableAWSLogServices``.
193194 Done async, so can be repeatedly polled in a non-blocking fashion until
194195 the async request completes.
@@ -206,6 +207,7 @@ def check_aws_logs_services_async(
206207 kwargs : Dict [str , Any ] = {}
207208 kwargs ["body" ] = body
208209
210+ warnings .warn ("check_aws_logs_services_async is deprecated" , DeprecationWarning , stacklevel = 2 )
209211 return self ._check_aws_logs_services_async_endpoint .call_with_http_info (** kwargs )
210212
211213 def create_aws_lambda_arn (
0 commit comments