diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 2ba4dbf6d68..b62ca3eab33 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/api/datadogV1/api_aws_logs_integration.go b/api/datadogV1/api_aws_logs_integration.go index 500e117b51c..f3973b13414 100644 --- a/api/datadogV1/api_aws_logs_integration.go +++ b/api/datadogV1/api_aws_logs_integration.go @@ -16,7 +16,7 @@ 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. // @@ -24,6 +24,8 @@ type AWSLogsIntegrationApi datadog.Service // - 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 @@ -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. @@ -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 @@ -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 @@ -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