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: 12 additions & 8 deletions src/datadog_api_client/v1/api/aws_logs_integration_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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(
Expand Down
Loading