Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.
Expand Down
20 changes: 16 additions & 4 deletions lib/datadog_api_client/v1/api/aws_logs_integration_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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 ...'
Expand Down Expand Up @@ -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.
Expand All @@ -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 ...'
Expand Down Expand Up @@ -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 ...'
Expand Down Expand Up @@ -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 ...'
Expand Down
Loading