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
16 changes: 12 additions & 4 deletions api/datadogV1/api_aws_logs_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ import (
type AWSLogsIntegrationApi datadog.Service

// CheckAWSLogsLambdaAsync 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.
//
// - Returns a status of 'created' when it's checking if the Lambda exists in the account.
// - Returns a status of 'waiting' while checking.
// - 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.
func (a *AWSLogsIntegrationApi) CheckAWSLogsLambdaAsync(ctx _context.Context, body AWSAccountAndLambdaRequest) (AWSLogsAsyncResponse, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down Expand Up @@ -103,7 +105,7 @@ func (a *AWSLogsIntegrationApi) CheckAWSLogsLambdaAsync(ctx _context.Context, bo
}

// CheckAWSLogsServicesAsync 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 @@ -113,6 +115,8 @@ func (a *AWSLogsIntegrationApi) CheckAWSLogsLambdaAsync(ctx _context.Context, bo
// - Returns a status of `waiting` while checking.
// - 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.
func (a *AWSLogsIntegrationApi) CheckAWSLogsServicesAsync(ctx _context.Context, body AWSLogsServicesRequest) (AWSLogsAsyncResponse, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down Expand Up @@ -192,7 +196,9 @@ func (a *AWSLogsIntegrationApi) CheckAWSLogsServicesAsync(ctx _context.Context,
}

// CreateAWSLambdaARN 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.
func (a *AWSLogsIntegrationApi) CreateAWSLambdaARN(ctx _context.Context, body AWSAccountAndLambdaRequest) (interface{}, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodPost
Expand Down Expand Up @@ -272,7 +278,9 @@ func (a *AWSLogsIntegrationApi) CreateAWSLambdaARN(ctx _context.Context, body AW
}

// DeleteAWSLambdaARN 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.
func (a *AWSLogsIntegrationApi) DeleteAWSLambdaARN(ctx _context.Context, body AWSAccountAndLambdaRequest) (interface{}, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodDelete
Expand Down
Loading