From a86b02376fc406d626aada803136b4790aca4cb8 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 18 Jun 2026 15:35:23 +0000 Subject: [PATCH] Regenerate client from commit 6eb9bbe of spec repo --- .generator/schemas/v1/openapi.yaml | 12 +++++++---- .../v1/api/aws_logs_integration_api.rb | 20 +++++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 2ba4dbf6d68b..b62ca3eab339 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/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb b/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb index 736a83da3216..d07e2ff07367 100644 --- a/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +++ b/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb @@ -33,7 +33,7 @@ def check_aws_logs_lambda_async(body, opts = {}) # Check that an AWS Lambda Function exists. # - # 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. # @@ -42,10 +42,13 @@ def check_aws_logs_lambda_async(body, opts = {}) # - Returns a status of 'checked and ok' if the Lambda exists. # - Returns a status of 'error' if the Lambda does not exist. # + # @deprecated This API is deprecated. + # # @param body [AWSAccountAndLambdaRequest] Check AWS Log Lambda Async request body. # @param opts [Hash] the optional parameters # @return [Array<(AWSLogsAsyncResponse, Integer, Hash)>] AWSLogsAsyncResponse data, response status code and response headers def check_aws_logs_lambda_async_with_http_info(body, opts = {}) + warn "[DEPRECATION] `CheckAWSLogsLambdaAsync` is deprecated." if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.check_aws_logs_lambda_async ...' @@ -107,7 +110,7 @@ def check_aws_logs_services_async(body, opts = {}) # Check permissions for log services. # - # 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. @@ -118,10 +121,13 @@ def check_aws_logs_services_async(body, opts = {}) # - Returns a status of `checked and ok` if the Lambda exists. # - Returns a status of `error` if the Lambda does not exist. # + # @deprecated This API is deprecated. + # # @param body [AWSLogsServicesRequest] Check AWS Logs Async Services request body. # @param opts [Hash] the optional parameters # @return [Array<(AWSLogsAsyncResponse, Integer, Hash)>] AWSLogsAsyncResponse data, response status code and response headers def check_aws_logs_services_async_with_http_info(body, opts = {}) + warn "[DEPRECATION] `CheckAWSLogsServicesAsync` is deprecated." if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.check_aws_logs_services_async ...' @@ -183,12 +189,15 @@ def create_aws_lambda_arn(body, opts = {}) # Add AWS Log Lambda ARN. # - # 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. + # + # @deprecated This API is deprecated. # # @param body [AWSAccountAndLambdaRequest] AWS Log Lambda Async request body. # @param opts [Hash] the optional parameters # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers def create_aws_lambda_arn_with_http_info(body, opts = {}) + warn "[DEPRECATION] `CreateAWSLambdaARN` is deprecated." if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.create_aws_lambda_arn ...' @@ -250,12 +259,15 @@ def delete_aws_lambda_arn(body, opts = {}) # Delete an AWS Logs integration. # - # 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. + # + # @deprecated This API is deprecated. # # @param body [AWSAccountAndLambdaRequest] Delete AWS Lambda ARN request body. # @param opts [Hash] the optional parameters # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers def delete_aws_lambda_arn_with_http_info(body, opts = {}) + warn "[DEPRECATION] `DeleteAWSLambdaARN` is deprecated." if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: AWSLogsIntegrationAPI.delete_aws_lambda_arn ...'