From 92d87dc37f4872b87e615f68867765af5e26bf08 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 18 Jun 2026 15:35:42 +0000 Subject: [PATCH] Regenerate client from commit 6eb9bbe of spec repo --- .generator/schemas/v1/openapi.yaml | 12 +++++++---- .../v1/api/aws_logs_integration_api.py | 20 +++++++++++-------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 2ba4dbf6d6..b62ca3eab3 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -32327,8 +32327,9 @@ paths: - aws_configuration_edit /api/v1/integration/aws/logs: delete: + deprecated: true description: >- - Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account. + **This endpoint is deprecated.** Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account. operationId: DeleteAWSLambdaARN requestBody: content: @@ -32423,8 +32424,9 @@ paths: permissions: - aws_configuration_read post: + deprecated: true description: >- - Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection. + **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. operationId: CreateAWSLambdaARN requestBody: content: @@ -32472,8 +32474,9 @@ paths: - aws_configuration_edit /api/v1/integration/aws/logs/check_async: post: + deprecated: true description: |- - Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input + **This endpoint is deprecated.** Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking. @@ -32623,8 +32626,9 @@ paths: - aws_configuration_edit /api/v1/integration/aws/logs/services_async: post: + deprecated: true description: |- - Test if permissions are present to add log-forwarding triggers for the + **This endpoint is deprecated.** Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for `EnableAWSLogServices`. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes. diff --git a/src/datadog_api_client/v1/api/aws_logs_integration_api.py b/src/datadog_api_client/v1/api/aws_logs_integration_api.py index 1fac36e4e3..c73e4b4bf0 100644 --- a/src/datadog_api_client/v1/api/aws_logs_integration_api.py +++ b/src/datadog_api_client/v1/api/aws_logs_integration_api.py @@ -162,9 +162,9 @@ def check_aws_logs_lambda_async( self, body: AWSAccountAndLambdaRequest, ) -> AWSLogsAsyncResponse: - """Check that an AWS Lambda Function exists. + """Check that an AWS Lambda Function exists. **Deprecated**. - Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input + **This endpoint is deprecated.** Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking. @@ -180,15 +180,16 @@ def check_aws_logs_lambda_async( kwargs: Dict[str, Any] = {} kwargs["body"] = body + warnings.warn("check_aws_logs_lambda_async is deprecated", DeprecationWarning, stacklevel=2) return self._check_aws_logs_lambda_async_endpoint.call_with_http_info(**kwargs) def check_aws_logs_services_async( self, body: AWSLogsServicesRequest, ) -> AWSLogsAsyncResponse: - """Check permissions for log services. + """Check permissions for log services. **Deprecated**. - Test if permissions are present to add log-forwarding triggers for the + **This endpoint is deprecated.** Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for ``EnableAWSLogServices``. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes. @@ -206,15 +207,16 @@ def check_aws_logs_services_async( kwargs: Dict[str, Any] = {} kwargs["body"] = body + warnings.warn("check_aws_logs_services_async is deprecated", DeprecationWarning, stacklevel=2) return self._check_aws_logs_services_async_endpoint.call_with_http_info(**kwargs) def create_aws_lambda_arn( self, body: AWSAccountAndLambdaRequest, ) -> dict: - """Add AWS Log Lambda ARN. + """Add AWS Log Lambda ARN. **Deprecated**. - Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection. + **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. :param body: AWS Log Lambda Async request body. :type body: AWSAccountAndLambdaRequest @@ -223,15 +225,16 @@ def create_aws_lambda_arn( kwargs: Dict[str, Any] = {} kwargs["body"] = body + warnings.warn("create_aws_lambda_arn is deprecated", DeprecationWarning, stacklevel=2) return self._create_aws_lambda_arn_endpoint.call_with_http_info(**kwargs) def delete_aws_lambda_arn( self, body: AWSAccountAndLambdaRequest, ) -> dict: - """Delete an AWS Logs integration. + """Delete an AWS Logs integration. **Deprecated**. - Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account. + **This endpoint is deprecated.** Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account. :param body: Delete AWS Lambda ARN request body. :type body: AWSAccountAndLambdaRequest @@ -240,6 +243,7 @@ def delete_aws_lambda_arn( kwargs: Dict[str, Any] = {} kwargs["body"] = body + warnings.warn("delete_aws_lambda_arn is deprecated", DeprecationWarning, stacklevel=2) return self._delete_aws_lambda_arn_endpoint.call_with_http_info(**kwargs) def enable_aws_log_services(