Skip to content

Commit 8d4a539

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 12d9c26 of spec repo
1 parent 4116ca1 commit 8d4a539

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32472,8 +32472,9 @@ paths:
3247232472
- aws_configuration_edit
3247332473
/api/v1/integration/aws/logs/check_async:
3247432474
post:
32475+
deprecated: true
3247532476
description: |-
32476-
Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input
32477+
**This endpoint is deprecated.** Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input
3247732478
is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this
3247832479
endpoint can be polled intermittently instead of blocking.
3247932480

@@ -32623,8 +32624,9 @@ paths:
3262332624
- aws_configuration_edit
3262432625
/api/v1/integration/aws/logs/services_async:
3262532626
post:
32627+
deprecated: true
3262632628
description: |-
32627-
Test if permissions are present to add log-forwarding triggers for the
32629+
**This endpoint is deprecated.** Test if permissions are present to add log-forwarding triggers for the
3262832630
given services and AWS account. Input is the same as for `EnableAWSLogServices`.
3262932631
Done async, so can be repeatedly polled in a non-blocking fashion until
3263032632
the async request completes.

src/datadog_api_client/v1/api/aws_logs_integration_api.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)