Skip to content

Commit 92d87dc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6eb9bbe of spec repo
1 parent 4116ca1 commit 92d87dc

2 files changed

Lines changed: 20 additions & 12 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32327,8 +32327,9 @@ paths:
3232732327
- aws_configuration_edit
3232832328
/api/v1/integration/aws/logs:
3232932329
delete:
32330+
deprecated: true
3233032331
description: >-
32331-
Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.
32332+
**This endpoint is deprecated.** Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.
3233232333
operationId: DeleteAWSLambdaARN
3233332334
requestBody:
3233432335
content:
@@ -32423,8 +32424,9 @@ paths:
3242332424
permissions:
3242432425
- aws_configuration_read
3242532426
post:
32427+
deprecated: true
3242632428
description: >-
32427-
Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.
32429+
**This endpoint is deprecated.** Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.
3242832430
operationId: CreateAWSLambdaARN
3242932431
requestBody:
3243032432
content:
@@ -32472,8 +32474,9 @@ paths:
3247232474
- aws_configuration_edit
3247332475
/api/v1/integration/aws/logs/check_async:
3247432476
post:
32477+
deprecated: true
3247532478
description: |-
32476-
Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input
32479+
**This endpoint is deprecated.** Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input
3247732480
is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this
3247832481
endpoint can be polled intermittently instead of blocking.
3247932482

@@ -32623,8 +32626,9 @@ paths:
3262332626
- aws_configuration_edit
3262432627
/api/v1/integration/aws/logs/services_async:
3262532628
post:
32629+
deprecated: true
3262632630
description: |-
32627-
Test if permissions are present to add log-forwarding triggers for the
32631+
**This endpoint is deprecated.** Test if permissions are present to add log-forwarding triggers for the
3262832632
given services and AWS account. Input is the same as for `EnableAWSLogServices`.
3262932633
Done async, so can be repeatedly polled in a non-blocking fashion until
3263032634
the async request completes.

src/datadog_api_client/v1/api/aws_logs_integration_api.py

Lines changed: 12 additions & 8 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,15 +207,16 @@ 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(
212214
self,
213215
body: AWSAccountAndLambdaRequest,
214216
) -> dict:
215-
"""Add AWS Log Lambda ARN.
217+
"""Add AWS Log Lambda ARN. **Deprecated**.
216218
217-
Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.
219+
**This endpoint is deprecated.** Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.
218220
219221
:param body: AWS Log Lambda Async request body.
220222
:type body: AWSAccountAndLambdaRequest
@@ -223,15 +225,16 @@ def create_aws_lambda_arn(
223225
kwargs: Dict[str, Any] = {}
224226
kwargs["body"] = body
225227

228+
warnings.warn("create_aws_lambda_arn is deprecated", DeprecationWarning, stacklevel=2)
226229
return self._create_aws_lambda_arn_endpoint.call_with_http_info(**kwargs)
227230

228231
def delete_aws_lambda_arn(
229232
self,
230233
body: AWSAccountAndLambdaRequest,
231234
) -> dict:
232-
"""Delete an AWS Logs integration.
235+
"""Delete an AWS Logs integration. **Deprecated**.
233236
234-
Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.
237+
**This endpoint is deprecated.** Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.
235238
236239
:param body: Delete AWS Lambda ARN request body.
237240
:type body: AWSAccountAndLambdaRequest
@@ -240,6 +243,7 @@ def delete_aws_lambda_arn(
240243
kwargs: Dict[str, Any] = {}
241244
kwargs["body"] = body
242245

246+
warnings.warn("delete_aws_lambda_arn is deprecated", DeprecationWarning, stacklevel=2)
243247
return self._delete_aws_lambda_arn_endpoint.call_with_http_info(**kwargs)
244248

245249
def enable_aws_log_services(

0 commit comments

Comments
 (0)